Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Which user or session is consuming most processes in database

User_U42KENov 1 2017 — edited Nov 2 2017

Hi All,

We got an ORA-00020: maximum number of processes (800) exceeded error in one of our database. This is the first time we encountered this and I am trying to investigate further in order to determine what could have caused the issue. I was able to see the spike in the number of processes during the time it happened but is there a way to know what was consuming all the processes or the most number of processes during the time frame it happened and what SQL statement was being run?

Please see below. The last row shows 690 processes were used but is there a way to know what was using the most processes during that time and what SQL was being run by that process?Appreciate your help!

INSTANCE_NUMBER| PROCESSES|BEGIN_TIME

---------------|----------|--------------------

              1|       185|01-NOV-2017 08:59:35

              1|       323|01-NOV-2017 07:59:35

              1|       172|01-NOV-2017 07:00:35

              1|       147|01-NOV-2017 06:00:35

              1|       126|01-NOV-2017 04:59:35

              1|        93|01-NOV-2017 03:59:35

              1|        96|01-NOV-2017 02:59:35

              1|        87|01-NOV-2017 02:00:36

              1|       183|01-NOV-2017 00:59:35

              1|       129|31-OCT-2017 23:59:35

              1|       126|31-OCT-2017 22:59:35

              1|       112|31-OCT-2017 22:00:35

              1|        73|31-OCT-2017 21:00:35

              1|        73|31-OCT-2017 19:59:35

              1|        76|31-OCT-2017 18:59:35

              1|       189|31-OCT-2017 18:00:36

              1|       175|31-OCT-2017 17:00:36

              1|       190|31-OCT-2017 15:59:35

              1|       365|31-OCT-2017 14:59:36

              1|       182|31-OCT-2017 13:59:36

              1|       200|31-OCT-2017 13:00:36

              1|       132|31-OCT-2017 12:00:36

              1|       204|31-OCT-2017 10:59:35

              1|       187|31-OCT-2017 09:59:36

              1|       690|31-OCT-2017 09:00:36

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 30 2017
Added on Nov 1 2017
9 comments
3,768 views