在查看oracle database reference(oracle 10.2)的时候,总是能看到一些视图中,有类似EVENT#(number of the wait event)和EVENT_ID(Identifier of the wait event)这样类似的字段存在,还有比如wait_class_id和wait_class#。实在没能理解他们的区别。可否指点迷津?
SQL> desc v$event_name
Name Null? Type
----------------------------------------- -------- ----------------------------
EVENT# NUMBER
EVENT_ID NUMBER
NAME VARCHAR2(64)
PARAMETER1 VARCHAR2(64)
PARAMETER2 VARCHAR2(64)
PARAMETER3 VARCHAR2(64)
WAIT_CLASS_ID NUMBER
WAIT_CLASS# NUMBER
WAIT_CLASS VARCHAR2(64)
EVENT# NUMBER Number of the wait event
EVENT_ID NUMBER Identifier of the wait event
NAME VARCHAR2(64) Name of the wait event
PARAMETER1 VARCHAR2(64) Description of the first parameter for the wait event
PARAMETER2 VARCHAR2(64) Description of the second parameter for the wait event
PARAMETER3 VARCHAR2(64) Description of the third parameter for the wait event
WAIT_CLASS_ID NUMBER Identifier of the class of the wait event
WAIT_CLASS# NUMBER Number of the class of the wait event
WAIT_CLASS VARCHAR2(64) Name of the class of the wait event