Postgres 管理
来源:互联网 发布:虚拟机安装ubuntu 编辑:程序博客网 时间:2024/05/16 09:07
查看表空间的大小
select spcname,pg_size_pretty(pg_tablespace_size(spcname)),pg_tablespace_size(spcname) as size
from pg_tablespace order by size desc;
查看所有数据库的大小
select datname,pg_size_pretty(pg_database_size(datname)) ,pg_database_size(datname) as size
from pg_databaseorder by size desc
查看表的大小
select relname, pg_size_pretty(pg_relation_size(relid)),pg_relation_size(relid) as size
from pg_stat_user_tables order by size desc;
- Postgres 管理
- postgres
- postgres
- postgres
- postgres
- Postgres
- Postgres 权限管理,指定IP访问,禁止public下创建新表
- postgres performance
- Postgres 常用命令
- Postgres触发器
- postgres简介
- postgres commands
- postgres 数组
- Postgres 指南
- postgres-xc
- Metasploit - postgres
- postgres笔记
- Postgres 技巧
- Sip 响应状态码 对照 详解
- Spring AOP 详解
- 查询采购接收信息服务& 查询付款信息服务
- 一。ext4.0 树菜单链接类似选项卡 demo[非MVC模式]
- javacc lookahead 全面解析
- Postgres 管理
- EAS F7多选属性控制
- cocos2d 动画效果
- 使用代理对类的属性赋值或者是抽象类私有类
- System.Drawing.Drawing2D 命名空间
- 试用下GDataXML
- 关于c++多重继承下的函数调用注意的问题
- FileManager
- 巴比伦塔的管理教训