Oracle – How to Gather Stats for Table where stats of that table is locked.
Check Stats of Table : –example : ‘DEPT’,’EMP’,’SALGRADE’ set linesize 300 set pagesize 100 col owner for a15 col LAST_ANALYZED for a30 col table_name for a40 select OWNER,TABLE_NAME , NUM_ROWS , BLOCKS , EMPTY_BLOCKS , CHAIN_CNT, AVG_ROW_LEN CACHE, to_char(LAST_ANALYZED,’DD-MON-YYYY HH24:MI:SS’) LAST_ANALYZED from dba_tables where table_name… Read More