小编kis*_*rgy的帖子

如果打开了 autovacuum,我应该手动 VACUUM 我的 PostgreSQL 数据库吗?

我使用的软件,这使得一个很大的PostgreSQL数据库(有一个表中有一个百万行)和开发商说我应该VACUUMANALYZE周期性。但是 PostgreSQL 数据库默认是autovacuum开启的。

我应该抽真空/分析吗?有什么好处?自动抽真空和手动抽真空有什么区别

例如,在 Pgadmin3 中,我有这个:
在此处输入图片说明

postgresql maintenance vacuum

17
推荐指数
2
解决办法
3万
查看次数

如何更改 pg_dump 的临时目录?

I'm running out of space from my hard drive which has a 18GB PostgreSQL database.
When I try pg_dump to a different drive, PostgreSQL creates temporary files on the disk it's dumping from, so I run out of space and the dump fails.

I tried this from Stackoverflow and a small file is created in the new directory, but nothing else, and pg_dump still writes to the original disk.

How do I change temp directory for pg_dump?

Note: My …

postgresql dump

7
推荐指数
1
解决办法
5280
查看次数

标签 统计

postgresql ×2

dump ×1

maintenance ×1

vacuum ×1