Oracl-- 一个查询慢的sql例子select count(1) from dba_objects inner join user_objects b on 1=inner join use ... 阅读全文
查询当前库的前10张大表SELECT TOP 1t.NAME AS TableNames.Name AS SchemaNamep.rows AS RowCountsCAST(ROUND(((S ... 阅读全文
前50张大表,根据行数倒序排序SELECt.table_catalog as dbn.nspname AS schemanamec.relnamec.reltuples::numeric as ... 阅读全文
12c之前查询前几张大表col OLD_SEGMENT_NAME format a3col segment_name format a3select * from SELECT b.ownerb.segment_name ... 阅读全文
SELECt.table_catalog as dbn.nspname AS schemanamec.relnamec.reltuples::numeric as rowcountpg_si ... 阅读全文
SELECtable_schema AS 'table_name AS a.TABLE_TYPEa.ENGINEa.CREATE_TIMEa.UPDATE_TIMEa.TABLE_COLLATION ... 阅读全文