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!

how to fix gc current request in oracle 12.2 and X7-2L exadata

knowledgespringApr 22 2020 — edited Apr 24 2020

DB : 12.2

X7-2L exadata

Query:

delete from TAB_NAME                    where COLUMN_NAME=:1;

explain plan:

------------------------------------------------------------------------------------

| Id  | Operation          | Name         | E-Rows |E-Bytes| Cost (%CPU)| E-Time   |

------------------------------------------------------------------------------------

|   0 | DELETE STATEMENT   |              |        |       |     2 (100)|          |

|   1 |  DELETE            | table_name   |        |       |            |          |

|*  2 |   INDEX UNIQUE SCAN| index_name   |      1 |    85 |     2   (0)| 00:00:01 |

------------------------------------------------------------------------------------

There are 90 sessions running same delete with bind variables and all of them are with same wait event gc current request. All the sessions running more 20000+  seconds, still running and seems to be hang with wait event - cluster waits.

there are no other sqls running in PDB, 1 hour ASH shows this one delete dml.

Looked at ASH and AWRs , its major contributor.

Event% EventRemote Instance#% Activity
gc current request97.0497.04
gc buffer busy acquire1.211.12


How to find exact cause and get these gc current request and gc buffer busy acquire  fixed.  

Please help. thanks.

Comments
Post Details
Added on Apr 22 2020
14 comments
5,170 views