Unix Technical Forum

Help! Tue SGA_MAX too large! Database cannot start!

This is a discussion on Help! Tue SGA_MAX too large! Database cannot start! within the Oracle Database forums, part of the Database Server Software category; --> Hi!, I tuned the SGA_MAX to 3G. Then, the database could not startup! How can I do now! Help! ...


Go Back   Unix Technical Forum > Database Server Software > Oracle Database

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-14-2008, 06:45 PM
leo@tech-trans.com
 
Posts: n/a
Default Help! Tue SGA_MAX too large! Database cannot start!

Hi!,

I tuned the SGA_MAX to 3G. Then, the database could not startup!
How can I do now! Help!

Ming
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 07-14-2008, 06:45 PM
bdbafh
 
Posts: n/a
Default Re: Help! Tue SGA_MAX too large! Database cannot start!

On Jul 14, 11:57 am, l...@tech-trans.com wrote:
> Hi!,
>
> I tuned the SGA_MAX to 3G. Then, the database could not startup!
> How can I do now! Help!
>
> Ming


If that is Oracle XE (you have posted regarding that edition on other
posts) that value is not permitted.
Its covered in the docs.

You might want to post OS and database server software environment
information if you want an answer that is other than an uninformed
guess.

-bdbafh
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 07-14-2008, 06:45 PM
leo@tech-trans.com
 
Posts: n/a
Default Re: Help! Tue SGA_MAX too large! Database cannot start!

On 7$B7n(B15$BF|(B, $B>e8a(B12$B;~(B07$BJ,(B, bdbafh <bdb...@gmail.com> wrote:
> On Jul 14, 11:57 am, l...@tech-trans.com wrote:
>
> > Hi!,

>
> > I tuned the SGA_MAX to 3G. Then, the database could not startup!
> > How can I do now! Help!

>
> > Ming

>
> If that is Oracle XE (you have posted regarding that edition on other
> posts) that value is not permitted.
> Its covered in the docs.
>
> You might want to post OS and database server software environment
> information if you want an answer that is other than an uninformed
> guess.
>
> -bdbafh


It is Oracle 10g database server with patch 10.2.0.2.0 under Windows
envrionment. I have learned create spfile from pfile. However, it
did not work! Thx!

Ming
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 07-14-2008, 06:45 PM
fitzjarrell@cox.net
 
Posts: n/a
Default Re: Help! Tue SGA_MAX too large! Database cannot start!

Comments embedded.

On Jul 14, 10:57*am, l...@tech-trans.com wrote:
> Hi!,
>
> * I tuned the SGA_MAX to 3G. *


No, you've set sga_max_size to 3G. Had you actually tuned this value
your database would have started, I expect.

> Then, the database could not startup!


How much RAM do you have installed on that Windows server? Is this a
64-bit version of Windows? And, if so, are you starting that Windows
operating system with the proper switches to allow access to memory
beyond 2G?

http://www.mydatabasesupport.com/for...ws-32-bit.html

http://www.brianmadden.com/content/a...t-really-mean-

> How can I do now! *Help!
>


Stop expecting a 32-bit operating system to behave as though it were
64-bit?

> Ming



David Fitzjarrell
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 07-18-2008, 10:46 AM
Charles Hooper
 
Posts: n/a
Default Re: Help! Tue SGA_MAX too large! Database cannot start!

On Jul 14, 12:34 pm, l...@tech-trans.com wrote:
> On 7$B7n(B15$BF|(B, $B>e8a(B12$B;~(B07$BJ,(B, bdbafh <bdb...@gmail.com> wrote:
> > On Jul 14, 11:57 am, l...@tech-trans.com wrote:

>
> > > Hi!,

>
> > > I tuned the SGA_MAX to 3G. Then, the database could not startup!
> > > How can I do now! Help!

>
> > > Ming

>
> > If that is Oracle XE (you have posted regarding that edition on other
> > posts) that value is not permitted.
> > Its covered in the docs.

>
> > You might want to post OS and database server software environment
> > information if you want an answer that is other than an uninformed
> > guess.

>
> > -bdbafh

>
> It is Oracle 10g database server with patch 10.2.0.2.0 under Windows
> envrionment. I have learned create spfile from pfile. However, it
> did not work! Thx!
>
> Ming


If you have a good copy of the init.ora (pfile) file (named correctly
of course), place the file in the same folder location as the spfile.
Fix the init.ora file so that it does not specify memory settings that
when combined exceed 2GB, then rename the current spfile to something
else. The database instance will automatically read the init.ora if
the spfile is not found where expected, when it is started. Once the
database is up, execute a command to create a new spfile from the
pfile.

Always keep a good up to date init.ora (pfile).

Charles Hooper
IT Manager/Oracle DBA
K&M Machine-Fabricating, Inc.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 07-18-2008, 10:46 AM
Maxim Demenko
 
Posts: n/a
Default Re: Help! Tue SGA_MAX too large! Database cannot start!

Charles Hooper schrieb:
> On Jul 14, 12:34 pm, l...@tech-trans.com wrote:
> Once the
> database is up, execute a command to create a new spfile from the
> pfile.


> Charles Hooper
> IT Manager/Oracle DBA
> K&M Machine-Fabricating, Inc.


Iirc, instance doesn't have to be started for create pfile from spfile
(at least on newer oracle versions).

Best regards

Maxim
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 07-18-2008, 10:46 AM
sybrandb@hccnet.nl
 
Posts: n/a
Default Re: Help! Tue SGA_MAX too large! Database cannot start!

On Mon, 14 Jul 2008 20:41:53 +0200, Maxim Demenko <mdemenko@gmail.com>
wrote:

>Charles Hooper schrieb:
>> On Jul 14, 12:34 pm, l...@tech-trans.com wrote:
>> Once the
>> database is up, execute a command to create a new spfile from the
>> pfile.

>
>> Charles Hooper
>> IT Manager/Oracle DBA
>> K&M Machine-Fabricating, Inc.

>
>Iirc, instance doesn't have to be started for create pfile from spfile
>(at least on newer oracle versions).
>
>Best regards
>
>Maxim



In 9i, startup nomount is sufficient.

--
Sybrand Bakker
Senior Oracle DBA
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 07-18-2008, 10:46 AM
Maxim Demenko
 
Posts: n/a
Default Re: Help! Tue SGA_MAX too large! Database cannot start!

sybrandb@hccnet.nl schrieb:
> On Mon, 14 Jul 2008 20:41:53 +0200, Maxim Demenko <mdemenko@gmail.com>
> wrote:
>
>> Charles Hooper schrieb:
>>> On Jul 14, 12:34 pm, l...@tech-trans.com wrote:
>>> Once the
>>> database is up, execute a command to create a new spfile from the
>>> pfile.
>>> Charles Hooper
>>> IT Manager/Oracle DBA
>>> K&M Machine-Fabricating, Inc.

>> Iirc, instance doesn't have to be started for create pfile from spfile
>> (at least on newer oracle versions).
>>
>> Best regards
>>
>> Maxim

>
>
> In 9i, startup nomount is sufficient.
>


Thank you for pointer, i neither have an oracle on windows to test, nor
any earlier version than 9.2.0.8, but with latter on linux that seems to
work:

sqlplus "/ as sysdba"

SQL*Plus: Release 9.2.0.8.0 - Production on Mon Jul 14 21:27:05 2008

Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.

Connected to an idle instance.

SQL> !echo $ORACLE_SID
ORA92

SQL> !ls -l *ORA92.ora
-rw-r----- 1 oracle dba 3584 Feb 4 23:20 spfileORA92.ora

SQL> create pfile from spfile;

File created.

SQL> !ls -l *ORA92.ora
-rw-r--r-- 1 oracle dba 1347 Jul 14 21:27 initORA92.ora
-rw-r----- 1 oracle dba 3584 Feb 4 23:20 spfileORA92.ora

SQL> startup
ORACLE instance started.

Total System Global Area 253301172 bytes
Fixed Size 450996 bytes
Variable Size 100663296 bytes
Database Buffers 150994944 bytes
Redo Buffers 1191936 bytes
Database mounted.
Database opened.
SQL> select * from v$version where rownum=1;

BANNER
----------------------------------------------------------------
Oracle9i Enterprise Edition Release 9.2.0.8.0 - Production



Best regards

Maxim
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 07-18-2008, 10:46 AM
Charles Hooper
 
Posts: n/a
Default Re: Help! Tue SGA_MAX too large! Database cannot start!

On Jul 14, 2:41*pm, Maxim Demenko <mdeme...@gmail.com> wrote:
> Charles Hooper schrieb:
>
> > On Jul 14, 12:34 pm, l...@tech-trans.com wrote:
> > Once the
> > database is up, execute a command to create a new spfile from the
> > pfile.

>
> Iirc, instance doesn't have to be started for create pfile from spfile
> (at least on newer oracle versions).
>
> Best regards
>
> Maxim


Maxim and Sybrand, thanks for the additional information.

Charles Hooper
IT Manager/Oracle DBA
K&M Machine-Fabricating, Inc.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 06:57 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com