摘要:
binlog 和 redolog 的持久化问题 对于 MySQL 来说,只要 binlog 和 redolog 都能正确持久化到磁盘上,就可以保证数据不丢失了。 binlog binlog cache >page cache > disk cache 到 cache 是write的过程,page c 阅读全文
posted @ 2022-04-30 13:34
y_dou
阅读(194)
评论(0)
推荐(0)
摘要:
pg_wait_sampling 安装 # su - postgres $ git clone https://github.com/postgrespro/pg_wait_sampling.git $ cd pg_wait_sampling $ make USE_PGXS=1 $ sudo mak 阅读全文
posted @ 2022-04-24 16:36
y_dou
阅读(254)
评论(0)
推荐(0)
摘要:
TCP KEEPALIVE FOR A BETTER POSTGRESQL EXPERIENCE【译】 如果您听说过 TCP keepalive 但不确定那是什么,请继续阅读。如果您曾经对以下错误消息感到惊讶: server closed the connection unexpectedly SS 阅读全文
posted @ 2022-04-20 11:37
y_dou
阅读(4952)
评论(0)
推荐(1)
摘要:
识别/回收索引碎片 create extension pgstattuple; postgres=# SELECT * FROM pgstatindex('idx_fragmented'); -[ RECORD 1 ] + version | 4 tree_level | 2 index_size 阅读全文
posted @ 2022-04-13 15:00
y_dou
阅读(911)
评论(0)
推荐(1)