Search
 
SCRIPT & CODE EXAMPLE
 

SQL

oracle table statistics last analyzed

SELECT ST.TABLE_NAME, ST.PARTITION_NAME, HIGH_VALUE, ST.NUM_ROWS, 
	   ST.BLOCKS, ST.LAST_ANALYZED
FROM DBA_TAB_STATISTICS ST
LEFT JOIN DBA_TAB_PARTITIONS PAR
ON PAR.TABLE_NAME = ST.TABLE_NAME AND PAR.PARTITION_NAME = ST.PARTITION_NAME
WHERE ST.OWNER = 'MY_OWNER'
  AND ST.TABLE_NAME = 'MY_TABLE'
ORDER BY PARTITION_NAME;
Comment

PREVIOUS NEXT
Code Example
Sql :: see all users mysql 
Sql :: oracle user last connected 
Sql :: set database timezone mysql 
Sql :: add primary key constraint in oracle 
Sql :: drop a row in mysql 
Sql :: postgresql print variable 
Sql :: oracle sql first day of month 
Sql :: InnoDB: page_cleaner: 1000ms intended loop took 7742ms. The settings might not be optimal 
Sql :: postgresql drop primary key constraint 
Sql :: mysql text type max length 
Sql :: sql server cast date dd/mm/yyyy 
Sql :: sqlite insert row 
Sql :: mysql import sql file 
Sql :: how to give user privelege to create dblink in oracle 
Sql :: mysql drop primary key 
Sql :: oracle list next running jobs 
Sql :: what is meant by trigger in dbms 
Sql :: mssql remove column 
Sql :: sql reset auto increment 
Sql :: starting mysql service from mac 
Sql :: oracle aleter trigger ora-01031 
Sql :: postgres truncate with cascade 
Sql :: Aqua Data studio postgresql ssl 
Sql :: mysql add comment to column 
Sql :: mssql get all table names 
Sql :: oracle apex list connected users 
Sql :: mysql trigger after update 
Sql :: mysql order by desc limit 
Sql :: oracle search columns in schema 
Sql :: find most frequent value in sql column 
ADD CONTENT
Topic
Content
Source link
Name
9+5 =