【发布时间】:2020-10-02 05:24:41
【问题描述】:
相对于我的真实数据库存储,我的 PostgreSQL 数据库存储扩展了太多。我假设它正在为针对数据库的每个操作制作日志。如果是这样,我该如何关闭它?
数据库中所有表的存储大小:
table_name | pg_size_pretty
-----------------+----------------
matches | 3442 MB
temp_matches | 3016 MB
rankings | 262 MB
atp_matches | 41 MB
players | 11 MB
injuries | 4648 kB
tournaments | 1936 kB
temp_prematches | 112 kB
locations | 104 kB
countries | 16 kB
(10 rows)
我的存储使用量应该在 10GB 左右。
【问题讨论】:
标签: postgresql google-cloud-platform google-cloud-sql