Professional Documents
Culture Documents
Mini How To Find The Locked Statistics in Oracle
Mini How To Find The Locked Statistics in Oracle
Mini How To Find The Locked Statistics in Oracle
database. Solution You could find this with the following SQL:
SELECT * FROM DBA_TAB_STATISTICS WHERE TABLE_NAME = ' My_Table_Name ';
My_Table_Name is the name of the table which you would like to check whether the statistics are locked. There are three views you could use depends on your desire:
DBA_TAB_STATISTICS displays optimizer statistics for all tables in the database. USER_TAB_STATISTICS displays optimizer statistics for the tables owned by the current user. This view does not display the OWNER column. ALL_TAB_STATISTICS displays optimizer statistics for the tables accessible to the current
user. In an SAP system you can use the report RSORADJV for this purpose or use SQL*Plus at OS level.