|
|
Question : Memory Allocation
|
|
Can we pin entire database into memory at startup (we have sufficient memory which can fit 10 times the database we have) and all the Oracle related processes and make sure that there is no disk activity after that. Is it possible? If possible how can we configure that?
Thanks,
Sreeram
|
Answer : Memory Allocation
|
|
If you have enough memory and allocated enough SGA. Then when you startup the instance and the database starts accessing the data, the data is brought in to the sga. As time goes on and new data is needed more data is brought into the memory. If you have enough memory the you will not swap out old data. So, as time goes on you will literally have the whole database in memory. Oracle, algorithm is very good and efficient. What you want will automatically happen if you have enough memory.
Ofcourse, this is not going to eliminate disk I/O because, you still have to write changed data and redo logs to disk
|
|
|
|
|