2021
01-08
01-08
查询PostgreSQL占多大内存的操作
我就废话不多说了,大家还是直接看代码吧~selectpg_size_pretty(pg_relation_size('cuiyonghua.top_iqiyi_info'));selectpg_size_pretty(pg_relation_size('cuiyonghua.top_mgtv_info'));selectpg_size_pretty(pg_relation_size('cuiyonghua.top_tencent_info'));selectpg_size_pretty(pg_relation_size('cuiyonghua.top_zhihu_info'));补充:PostgreSQL配置内存参数对于任何数据库软件,内存配置项都是很重要的配置项。在Po...
继续阅读 >