Re: BUG #12834: Avoiding Disk Control Writes for better Laptop / SSD compatibility. pgstats

Поиск
Список
Период
Сортировка
От Bryce Nesbitt
Тема Re: BUG #12834: Avoiding Disk Control Writes for better Laptop / SSD compatibility. pgstats
Дата
Msg-id CAC9LFPd_XJ2kJsww6sZkpFeGFrrcyZ9Dtb0U0Vz1SpkxhpRsqA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: BUG #12834: Avoiding Disk Control Writes for better Laptop / SSD compatibility. pgstats  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Ответы Re: BUG #12834: Avoiding Disk Control Writes for better Laptop / SSD compatibility. pgstats  (Kevin Grittner <kgrittn@ymail.com>)
Список pgsql-bugs
On Fri, Mar 6, 2015 at 6:19 AM, Alvaro Herrera <alvherre@2ndquadrant.com>
wrote:

> Use "SHOW autovacuum" in psql to avoid being confounded by
> mind-controlling superpowers.
>

Indeed.  My mistake. Autovac *was* the droid I was looking for. On orders
of the Empire, that droid has been eliminated on twenty five laptops.
Millions more exist however, each chewing through the write cycles on SSD's
in a futile attempt to bring down the social order.

--
More seriously: I've been cataloguing what churns the SSD at idle.  The top
two are Google Chrome's constant rewriting of HTML5 Local Storage elements,
and PostgreSQL.  This is true both in terms of raw writes and blocks
written.  It's a significant fraction of the SSD's life (some 40% in the
first laptop analyzed above).

This will never show up in a PostgreSQL benchmark, and never cause a
problem for the PSQL team.  But it's eating through SSD's wherever default
mode Postgres is installed but not heavily used.

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: BUG #12834: Avoiding Disk Control Writes for better Laptop / SSD compatibility. pgstats
Следующее
От: Elena Fernandez Carmona
Дата:
Сообщение: compatibilty postgres 9.2 RHEL 6.4