今天在建索引的时候,出现等待事件enq: TO - contention,到网上找不到对应的等待事件。可以通过这种方式找,
SQL> select KSQSTTYP,KSQSTEXPL from x$ksqst where KSQSTTYP='TO';
KS KSQSTEXPL
-- ------------------------------------------------------------
TO Synchronizes DDL and DML operations on a temp object