Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Altering Memory allocation for Databases 1

Status
Not open for further replies.

TalentedFool

Programmer
Jul 23, 2001
214
GB

Hi all

not quite sure of what I need to do here. Basically sombody has created a database on one of our servers and left a whole load of documentation as to how he created it.

In it, he specified that he allocated 80% of the memory to the database instead of a fixed amount.

How do I go about changing that? Can I just alter the pfile memory values and stop/restart the instance?

Cheers

~ Remember - Nothing is Fool Proof to a Talented Fool ~
 
What OS is this? Isn't 80% a 'fixed amount' anyway? Sorry, I'm a little confused.
 

Hi Ken

Its under a Solaris environment.

And yes you are quite right in that 80% is a fixed amount but my plan is to load another database on the machine but with the first database already taking so much resource I can't get the second databse up without taking away some resouce from the first and giving it to the second.

Make sense now?

~ Remember - Nothing is Fool Proof to a Talented Fool ~
 
Yes, thanks. Differing OS require different tweaking (or none at all). In Solaris, the necessary details or set in /etc/system as far as I know. For one of our systems with 4Gb memory, the /etc/system settings are as follows:

set shmsys:shminfo_shmmax=4294967295
set shmsys:shminfo_shmmin=1
set shmsys:shminfo_shmmni=100
set shmsys:shminfo_shmseg=10
set semsys:seminfo_semmns=2000
set semsys:seminfo_semmsl=1000
set semsys:seminfo_semmni=100
set semsys:seminfo_semopm=100
set semsys:seminfo_semvmx=32767

Note that this is a machine with four databases using the same Oracle siftware and the above kernel setup appears to serve them all adequately. Hope this helps.
 

Ken

We've got those set and they are correct.

The parameters I'm talking about are things like the SGA Large pool size etc which can be set against each individual database.

Does that make sense?

~ Remember - Nothing is Fool Proof to a Talented Fool ~
 
Right, yes. All you should need to do is amend the entries in your init<SID>.ora and stop and restart the database for them to become active.
 

Thanks Ken

Do you have any ideas about the SGA though? I've been reading that it shouldn't be more than 50% of the total amount?

How do I set the SGA?

~ Remember - Nothing is Fool Proof to a Talented Fool ~
 

Ken

Thanks for that. Funnily enough I've just been reading a few docs from AskTom. First time I've seent hat site and it looks pretty helpfull.

Onec again - thanks for the help! Star awarded



~ Remember - Nothing is Fool Proof to a Talented Fool ~
 
Many thanks. You'll probably find that site very useful in a number of ways, but TT tends to be more useful if it's a quick answer you want, so don't be a stranger!
 

No worries Ken - I've been on TT for some years now and do find it extremely usefull

~ Remember - Nothing is Fool Proof to a Talented Fool ~
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top