How to Find Total, Free & Utilized values of PROCESSES, SESSIONS & TRANSACTIONS in Oracle

October 20, 2020
()

Find Total, Free & Utilized values of PROCESSES, SESSIONS & TRANSACTIONS


SQL command for standalone database. Click here to get sample output.

SET LINES 222
COL RESOURCE_NAME FOR A15
COL LIMIT_VALUE FOR A15
SELECT RESOURCE_NAME,CURRENT_UTILIZATION, LIMIT_VALUE - CURRENT_UTILIZATION as FREE_VALUE, LIMIT_VALUE
FROM V$RESOURCE_LIMIT 
WHERE RESOURCE_NAME IN ('sessions','processes') ORDER BY RESOURCE_NAME;
prompt$$$$$$$**Welcome to DBsGuru!**Share Learn Grow**$$$$$$$

OR

SELECT RESOURCE_NAME,CURRENT_UTILIZATION, LIMIT_VALUE 
FROM V$RESOURCE_LIMIT 
WHERE RESOURCE_NAME IN ('sessions','processes','transactions') ORDER BY RESOURCE_NAME;
prompt$$$$$$$**Welcome to DBsGuru!**Share Learn Grow**$$$$$$$


SQL command for RAC database. Click here to get sample output.

SET LINES 222
COL RESOURCE_NAME FOR A15
COL LIMIT_VALUE FOR A15
SELECT INST_ID,RESOURCE_NAME,CURRENT_UTILIZATION, LIMIT_VALUE - CURRENT_UTILIZATION as FREE_VALUE, LIMIT_VALUE
FROM GV$RESOURCE_LIMIT 
WHERE RESOURCE_NAME IN ('sessions','processes') ORDER BY INST_ID,RESOURCE_NAME;
prompt$$$$$$$**Welcome to DBsGuru!**Share Learn Grow**$$$$$$$

OR

SELECT INST_ID,RESOURCE_NAME,CURRENT_UTILIZATION, LIMIT_VALUE 
FROM GV$RESOURCE_LIMIT 
WHERE RESOURCE_NAME IN ('sessions','processes','transactions') ORDER BY INST_ID,RESOURCE_NAME;
prompt$$$$$$$**Welcome to DBsGuru!**Share Learn Grow**$$$$$$$


Click here for “How to increase Processes, Sessions and Transactions Initialization Parameters”


We always encourage the technical person to visit section SCRIPTS to get more daily usage SQL commands.

Hope so you like this SCRIPT
!

Please share your valuable feedback/comments/subscribe and follow us below and don’t forget to click on the bell icon to get the most recent update. Click here to know more about our pursuit.



Loading

How useful was this post?

Click on a star to rate it!

Average rating / 5. Vote count:

No votes so far! Be the first to rate this post.

As you found this post useful...

Follow us on social media!

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?

<strong>Hello and welcome to DBsGuru,</strong>DBsGuru is a group of experienced DBA professionals and serves databases and their related community by providing technical blogs, projects, training. Technical blogs are the source of vast information not about databases but its related product like middleware, PL/SQL, replication methodology, and so on.Thanks for the visits!<strong>Share Learn Grow!</strong>

Leave a Reply

Your email address will not be published. Required fields are marked *