Re: Too many .history file in pg_xlog takes lots of space

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Too many .history file in pg_xlog takes lots of space
Дата
Msg-id 20180314134958.yzp2pze2s2yajf7k@alvherre.pgsql
обсуждение исходный текст
Ответ на Too many .history file in pg_xlog takes lots of space  (彭昱傑 <k872892@gmail.com>)
Ответы Re: Too many .history file in pg_xlog takes lots of space  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-performance
彭昱傑 wrote:

> My postgre version is 9.4.9, and I face a space issue.

Latest in 9.4 is 9.4.17, so you're missing about two years of bug fixes.

> Every time I restart postgre server, it generates a new history file:

That's strange -- it shouldn't happen ... sounds like you're causing a
crash each time you restart.  Are you using immediate mode in shutdown
maybe?  If so, don't; use fast mode instead.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


В списке pgsql-performance по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: Too many .history file in pg_xlog takes lots of space
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Too many .history file in pg_xlog takes lots of space