Check total size of Ram/Memory For Each Database :
select decode( grouping(nm), 1, ‘total’, nm ) nm, round(sum(val/1024/1024)) mb
from
(
select ‘sga’ nm, sum(value) val
from v$sga
union all
select ‘pga’, sum(value)
from v$sysstat
where name = ‘session pga memory’
)
group by rollup(nm)
The Orginial Post from Tom Kyte.
Thank you
Osama Mustafa
Like this:
Like Loading...
Related
Published by Osama Mustafa
Osama considered as one of the leaders in Cloud technology, DevOps and database in the Middle-East. I have more than ten years of experience within the industry. moreover, certfied 4x AWS , 4x Azure and 6x OCI, have also obtained database certifications for multiple providers.
In addition to having experience with Oracle database and Oracle products, such as middle-ware, OID, OAM and OIM, I have gained substantial knowledge with different databases.
Currently, I am architecting and implementing Cloud and DevOps. On top of that, I'm providing solutions for companies that allow them to implement the solutions and to follow the best practices.
View all posts by Osama Mustafa
The topic is remarkable. I actually never think I could have an excellent read by this time until I find out this website. I am thankful for the information. Thank you for being so kind enough to have shared your information with us.Oracle SQL
LikeLike
Thank you 🙂 you can follow me on Twitter or follow my blog 🙂
LikeLike