- 博客(4)
- 资源 (1)
- 问答 (3)
- 收藏
- 关注
原创 postgresql启用归档
To enable WAL archiving, set the wal_level configuration parameter to archive or higher, archive_mode to on, and specify the shell command to use in the archive_command configuration paramete
2016-02-05 15:49:50 1821
翻译 postgresql中的冻结
pg会进行常规的清理老的事务标识符活动,也是就是冻结,来延迟事务wrapround,在pg中一行有2个途径,行版本死亡需要被vacuum清除,或是一个行的版本足够老需要被冻结,对一个数据库进行vacuum操作psql -c "VACUUM" postgrespg使用4字节长度来表示标识符,所以事务的个数是有限的,分配标识符是通过循环的方式进行的,当出啊先wrapround的时候,可
2016-02-01 20:10:28 1355
转载 postgresql关于auto vacuum
If autovacuum is set, then autovacuum will wake up every autovacuum_naptime seconds, anddecide whether to run VACUUM and/or ANALYZE commands.There will never be more than autovacuum_max_workers ma
2016-02-01 19:38:12 2003
原创 postgresql中使用dblink
CREATE FOREIGN DATA WRAPPER postgresql VALIDATOR postgresql_fdw_validator;CREATE SERVER otherdb FOREIGN DATA WRAPPER postgresql OPTIONS (host 'localhost', dbname 'postgres', port '5432');C
2016-02-01 17:12:32 1676
TA创建的收藏夹 TA关注的收藏夹
TA关注的人