Search
 
SCRIPT & CODE EXAMPLE
 

SQL

oracle table statistics

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 :: list mysql users 
Sql :: create table sql server 
Sql :: linux command line import mysql database 
Sql :: mariadb get column names from table 
Sql :: mysql delete row 
Sql :: mysql history command 
Sql :: start mysql server 
Sql :: mysql remove foreign key constraint 
Sql :: how to update date add hours in postgresql 
Sql :: postgres delete database 
Sql :: netstat -tln mysql 
Sql :: grant schema permissions postgres 
Sql :: import mysql dump command line windows 
Sql :: check all sequences oracle sql 
Sql :: psql: error: connection to server on socket "/tmp/.s.PGSQL.5432" f 
Sql :: ORACLE RIGHT TWO DIGITS 
Sql :: mysql show column data types 
Sql :: postgresql reset auto_increment index 
Sql :: postgres remove foreign key constraint 
Sql :: postgres update column with value from another table 
Sql :: oracle sql two left digits 
Sql :: encoding UTF8 has no equivalent in encoding WIN1252 
Sql :: grant all privileges mysql 8.0.21 
Sql :: mysql drop column 
Sql :: delete all entries postgres 
Sql :: oracle apex who is connected 
Sql :: insert into table from another table mysql 
Sql :: sql server count all tables rows 
Sql :: oracle list service names 
Sql :: how to find the most occuring in SQL 
ADD CONTENT
Topic
Content
Source link
Name
4+6 =