My Oracle Diary
Search This Blog
Tuesday, December 20, 2011
analyze table
ANALYZE TABLE schemaname.tablename ESTIMATE STATISTICS
/
find whether a table is analyzed or not
SELECT OWNER, TABLE_NAME, NUM_ROWS, LAST_ANALYZED FROM DBA_TABLES WHERE TABLE_NAME='tablename' AND OWNER='ownername'
/
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment