How to determine sga for new database?
When I issued top, I got 8192M phys mem and 3359M free mem.
There are already four databases on this box with sga setting as follows:
database 1: total sga 541065216 bytes
database 2: total sga 411041792 bytes
database 3: total sga 339738624 bytes
database 4: total sga 415236096 bytes
Right now I need to create a database on this box. How can I determine the max sga the new database can be without having to adjust the shmmax setting? Is it just as simple as subtract the sum of the total sga from each of the four databases from current shmmax? Please advise. Thanks.