0% found this document useful (0 votes)
97 views1 page

Mini How To Find The Locked Statistics in Oracle

Locked statistics in Oracle database could be found with the following SQL. There are three views you could use depends on your desire: DBA_TAB_STATISTICS displays optimizer statistics for all tables in the database.

Uploaded by

Detelin Nedev
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
97 views1 page

Mini How To Find The Locked Statistics in Oracle

Locked statistics in Oracle database could be found with the following SQL. There are three views you could use depends on your desire: DBA_TAB_STATISTICS displays optimizer statistics for all tables in the database.

Uploaded by

Detelin Nedev
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 1

Mini How-to: Find the locked statistics in Oracle Task You would like to find 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.

From SAP it could be checked with transaction DB20.

You might also like