vacuum
Dump postgres data with indexes
I\'ve got a Postgres 9.0 database which frequently I took data dumps of it. This database has a lot of indexes and everytime I restore a dump postgres starts background task vacuum cleaner (is that r[详细]
2023-04-09 07:45 分类:问答How do I know if the statistics of a Postgres table are up to date?
In pgAdmin, whenever a table\'s statistics are out-of-date, it prompts: Running VACUUM recommended The estimated rowcount on the table schema.table deviates[详细]
2023-03-25 16:42 分类:问答PostgreSQL: DELETE won't free memory
I use PostgreSQL on an embedded system with limited drive space. Now the DB-drive is full. When I delete data, it doesn\'t seem to free up any space. I tried to VACUUM FULL, but that requires space. S[详细]
2023-03-03 08:37 分类:问答Postgresql-8.4 auto vacuum is enabled to get the best performance [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.[详细]
2023-03-01 01:31 分类:问答debugging postgres 9.0.1 table corruption
I have a 9.0.1 database with two corrupted tables (one table has 20 rows, the other 140).The tables seem fine for read/select operations, but updating certain rows in the table produce error messages:[详细]
2023-02-25 05:31 分类:问答Postgres 8.4.4 (x32 on Win7 x64) very slow UPDATE on small table
I have a very simple update statement: UPDATE W SET state=\'thing\' WHERE state NOT IN (\'this\',\'that\') AND losttime < CURRENT_TIMESTAMP;[详细]
2023-01-31 22:18 分类:问答Is it possible to issue a "VACUUM ANALYZE <tablename>" from psycopg2 or sqlalchemy for PostgreSQL?
Well, the question pretty much summarises it. My db activ开发者_如何转开发ity is very update intensive, and I want to programmatically issue a Vacuum Analyze. However I get an error that says that the[详细]
2023-01-19 19:42 分类:问答What is the effect on record size of reordering columns in PostgreSQL?
Since Postgres can only add columns at the end of tables, I end up re-ordering by adding new columns at the end of the table, setting them equal to existing columns, and then dropping the original col[详细]
2022-12-25 21:57 分类:问答What does it mean to vacuum a database?
As referenced by this Firefox bug, what does the act of vacuuming a database accomplish?Is t开发者_StackOverflow社区his operation supported by all modern database software, or only certain ones?Databa[详细]
2022-12-18 03:53 分类:问答PostgreSQL 如何查找需要收集的vacuum 表信息
前言 通常,在PostgreSQL中,由于经常需要对表进行 UPDATE 和 DELETE,因此表会产生碎片空间。[详细]
2022-12-10 09:46 分类:数据库