What does the max_sga_size have to do with reducing the allocated memory. Plus, if I can do this dynamically, why do I have to mess with max_sga_size, which is static ?
Here is another example:
SQL>show sga
Total System Global Area 3157237096 bytes
Fixed Size 736616 bytes
Variable Size 2097152000 bytes
Database Buffers 1056964608 bytes
Redo Buffers 2383872 bytes
SQL>alter system set shared_pool_size=268435456 scope=both sid='dbx1';
System altered.
SQL>show sga
Total System Global Area 3157237096 bytes
Fixed Size 736616 bytes
Variable Size 2097152000 bytes
Database Buffers 1056964608 bytes
Redo Buffers 2383872 bytes
I had shared_pool sizing problems with 9i when using what used to be a good value for sga_max_size on an 8i database. I did all kinds of alter system this and that for sga components (different pool parameters). show sga didn't reflect any changes. Looking at v$sgastat should show your change.
Bookmarks