
postgresql10 一些常用的查询
查询索引的有效性 select d.tablename,a.relname,(case c.indisvalid when true then '有效' else '无效' end) isvalid ...
查询索引的有效性 select d.tablename,a.relname,(case c.indisvalid when true then '有效' else '无效' end) isvalid ...
1.初始化配置 1).pubdb postgres=# create database pubdb; postgres=# \c pubdb You are now connected to database “pu...