摘要:
SELECT pg_size_pretty(pg_total_relation_size(c.oid)) AS total_size, pg_size_pretty(pg_indexes_size(c.oid)) AS index_size, pg_size_pretty(pg_total_rela 阅读全文
摘要:
从库 对表做truncate 时报1209 - The MySQL server is running with the--read-only option so it cannot execute this statement 处理: select @@read_only; set global 阅读全文
摘要:
查看统计信息 SELECT object_id , OBJECT_NAME(object_id) AS TableName , name AS StatisticsName , auto_created FROM sys.stats where objectproperty(object_id,'I 阅读全文