Re: SSDs with Postgresql?

Поиск
Список
Период
Сортировка
Искать
От
Greg Smith
Тема
Re: SSDs with Postgresql?
Дата
Msg-id
4DB043F8.7070000@2ndQuadrant.com
Ответ на
Re: SSDs with Postgresql? (Toby Corkindale)
Список
Дерево обсуждения
SSDs with Postgresql? Benjamin Smith <lists@benjamindsmith.com>
Re: SSDs with Postgresql? John R Pierce <pierce@hogranch.com>
Re: SSDs with Postgresql? "Henry C." <henka@cityweb.co.za>
Re: SSDs with Postgresql? Craig Ringer <craig@postnewspapers.com.au>
Re: SSDs with Postgresql? "Henry C." <henka@cityweb.co.za>
Re: SSDs with Postgresql? Arnaud Lesauvage <arnaud.listes@codata.eu>
Re: SSDs with Postgresql? Craig Ringer <craig@postnewspapers.com.au>
Re: SSDs with Postgresql? Scott Marlowe <scott.marlowe@gmail.com>
Re: SSDs with Postgresql? Andrew Sullivan <ajs@crankycanuck.ca>
Re: SSDs with Postgresql? "Henry C." <henka@cityweb.co.za>
Re: SSDs with Postgresql? Vick Khera <vivek@khera.org>
Re: SSDs with Postgresql? John R Pierce <pierce@hogranch.com>
Re: SSDs with Postgresql? Arnaud Lesauvage <arnaud.listes@codata.eu>
Re: SSDs with Postgresql? Leonardo Francalanci <m_lists@yahoo.it>
Re: SSDs with Postgresql? Benjamin Smith <lists@benjamindsmith.com>
Re: SSDs with Postgresql? "Henry C." <henka@cityweb.co.za>
Re: SSDs with Postgresql? Benjamin Smith <lists@benjamindsmith.com>
Re: SSDs with Postgresql? Yeb Havinga <yebhavinga@gmail.com>
Re: SSDs with Postgresql? Toby Corkindale <toby.corkindale@strategicdata.com.au>
Re: SSDs with Postgresql? Greg Smith <greg@2ndQuadrant.com>
Re: SSDs with Postgresql? Toby Corkindale <toby.corkindale@strategicdata.com.au>
Re: SSDs with Postgresql? Greg Smith <greg@2ndQuadrant.com>
Re: SSDs with Postgresql? Toby Corkindale <toby.corkindale@strategicdata.com.au>
Re: SSDs with Postgresql? Scott Marlowe <scott.marlowe@gmail.com>
Re: SSDs with Postgresql? Greg Smith <greg@2ndQuadrant.com>
Re: SSDs with Postgresql? Florian Weimer <fweimer@bfk.de>
Re: SSDs with Postgresql? Adrian Klaver <adrian.klaver@gmail.com>
Re: SSDs with Postgresql? Florian Weimer <fweimer@bfk.de>
Re: SSDs with Postgresql? Tom Lane <tgl@sss.pgh.pa.us>
Re: SSDs with Postgresql? Scott Marlowe <scott.marlowe@gmail.com>
Re: SSDs with Postgresql? Scott Ribe <scott_ribe@elevated-dev.com>
Re: SSDs with Postgresql? Greg Smith <greg@2ndQuadrant.com>
Re: SSDs with Postgresql? Florian Weimer <fweimer@bfk.de>
Re: SSDs with Postgresql? Robert Treat <rob@xzilla.net>
Re: SSDs with Postgresql? Yeb Havinga <yebhavinga@gmail.com>
Re: SSDs with Postgresql? Basil Bourque <basil.list@me.com>
Re: SSDs with Postgresql? "Mark Felder" <feld@feld.me>
Re: SSDs with Postgresql? Robert Treat <rob@xzilla.net>
Re: SSDs with Postgresql? Toby Corkindale <toby.corkindale@strategicdata.com.au>
Re: SSDs with Postgresql? Michael Nolan <htfoot@gmail.com>
Re: SSDs with Postgresql? Florian Weimer <fweimer@bfk.de>
Re: SSDs with Postgresql? David Boreham <david_list@boreham.org>
Re: SSDs with Postgresql? Scott Ribe <scott_ribe@elevated-dev.com>
Re: SSDs with Postgresql? David Boreham <david_list@boreham.org>
Re: SSDs with Postgresql? Scott Ribe <scott_ribe@elevated-dev.com>
Re: SSDs with Postgresql? "Henry C." <henka@cityweb.co.za>
Re: SSDs with Postgresql? Greg Smith <greg@2ndquadrant.com>
Re: SSDs with Postgresql? Scott Marlowe <scott.marlowe@gmail.com>
Re: SSDs with Postgresql? Leonardo Francalanci <m_lists@yahoo.it>
Re: SSDs with Postgresql? Radosław Smogura <rsmogura@softperience.eu>
Re: SSDs with Postgresql? Lincoln Yeoh <lyeoh@pop.jaring.my>
Re: SSDs with Postgresql? Vick Khera <vivek@khera.org>
Re: SSDs with Postgresql? Toby Corkindale <toby.corkindale@strategicdata.com.au>
On 04/20/2011 01:50 AM, Toby Corkindale wrote:
> Also, the number of erase cycles you can get, over the whole disk, is 
> quite large on modern disks!
>
> So large that you'll probably go decades before you wear the disk out, 
> even with continual writes.
>
> Don't buy into the SSD FUD myths..

There is no FUD being spread here.  Particularly given the PostgreSQL 
WAL write pattern, it's not impossible to wear out a SSD placed there in 
a small number of years.  A system with a trivial but not completely 
idle workload will generate one 16MB WAL segment every 5 minutes, which 
works out to 4.5GB/day of writes.  That's the baseline--the reality is 
much, much higher than that on most systems.  The fact that every row 
update can temporarily use more than 8K means that actual write 
throughput on the WAL can be shockingly large.  The smallest customer I 
work with regularly has a 50GB database, yet they write 20GB of WAL 
every day.  You can imagine how much WAL is generated daily on systems 
with terabyte databases.

As for what this translates into in the real world, go read 
http://archives.postgresql.org/message-id/BANLkTi=GsyBfq+ApWPR_qCA7AN+NqT=zww@mail.gmail.com 
as one worked out sample.  Anyone deploying PostgreSQL onto MLC can't 
necessarily ignore this issue.

-- 
Greg Smith   2ndQuadrant US    greg@2ndQuadrant.com   Baltimore, MD
PostgreSQL Training, Services, and 24x7 Support  www.2ndQuadrant.us
"PostgreSQL 9.0 High Performance": http://www.2ndQuadrant.com/books

В списке pgsql-general по дате отправления
От: Tom Lane
Дата:
От: Adrian Klaver
Дата:
FAQ