if you have 1gb of data - you might need 100gb of ram to "cache" it.
Kasseria, May 02, 2008 - 3:18 am UTC
Hi Tom,
You said: " if you have 1gb of data - you might need 100gb of ram to "cache" it".
Is it possible or is it a usual situation when database grows ten times because of multiversioning?
Do we have to consider ten times bigger space of complete datafile size for disks?
May 02, 2008 - 7:17 am UTC
the database does not grow at all.
multiversioning is a function of undo
Sinan Topuz, May 02, 2008 - 10:12 am UTC
Tom, thank you for your time again. You stated that "if you have plenty of ram, it'll stay cached." I have let Oracle know that I have plenty of ram in the server, correct? Let's say I have 3GB ram and want to allocate 2/3 of it to Oracle, so it uses it as it wishes. On this version of DB (I know that it is not possible to set it to a one-fits-all value, and it depends on the actual data and many other aspects of the application), how would I allocate this memory to Oracle? In the task manager, is it expected to see the total allocated memory value next to "oracle process" or that reaches to it when it needs it? I hope the question is clear :)
Thank you for sharing your expertise with us.
May 02, 2008 - 10:37 am UTC
if you are using task manager, you are windows.
if you are windows, you might be 32 bit
if you are 32bit, you probably are not going to be able to use 2/3 of 3gb - maybe 1.8gb of ram.
Of which you have to fit both PGA and SGA.
How to size that will depend on your concurrent users - lots of sessions - larger PGA needs. Fewer sessions - lesser PGA needs.
You'll take part of that 1.8 gb and give it to the SGA target and the rest and give it to the pga aggregate target.
If you are 64bit, you can in fact give 2gb to the sga and 3/4 of a gb or so to the PGA.
Thanks for explaining PGA, and SGA on 32-bit
Satya, May 02, 2008 - 11:37 am UTC
Thanks for explaining PGA, and SGA on 32-bit windows. I am sure most of development servers, servers created by budding DBAs and students are on Windows 32-bit. Many of these DBAs (me including) are learning/practicing on these databses. Your brief answer would indeed help lot of them.
I appreciate you in taking all questions equally.
Robert C, May 03, 2008 - 7:08 am UTC
A reviewer to this thread said earlier:
"Is it possible or is it a usual situation when database grows ten times because of multiversioning? "
Well it cannot be a usual situation, if it is not possible can it?
Keep the jokes coming!