Re: raid10 write performance

Поиск
Список
Период
Сортировка
Искать
От
Scott Carey
Тема
Re: raid10 write performance
Дата
Msg-id
D3D01921-FBEB-4F10-9B2F-61FDBCE87034@richrelevance.com
Ответ на
Список
Дерево обсуждения
raid10 write performance Grzegorz Jaśkiewicz <gryzman@gmail.com>
Re: raid10 write performance Justin Graf <justin@magwerks.com>
Re: raid10 write performance Karl Denninger <karl@denninger.net>
Re: raid10 write performance Dave Crooke <dcrooke@gmail.com>
Re: raid10 write performance Scott Carey <scott@richrelevance.com>
Re: raid10 write performance Greg Smith <greg@2ndquadrant.com>
Re: raid10 write performance Ivan Voras <ivoras@freebsd.org>
Re: raid10 write performance Florian Weimer <fweimer@bfk.de>
Re: raid10 write performance Ivan Voras <ivoras@freebsd.org>
Re: raid10 write performance Scott Marlowe <scott.marlowe@gmail.com>
Re: raid10 write performance Matthew Wakeling <matthew@flymine.org>
Re: raid10 write performance Scott Marlowe <scott.marlowe@gmail.com>

On Jun 22, 2010, at 7:29 AM, Karl Denninger wrote:

> Justin Graf wrote:
>> 
>> On 6/22/2010 4:31 AM, Grzegorz Jaśkiewicz wrote:
>>   
>>> Would moving WAL dir to separate disk help potentially ?
>>>    
>>>     
>> 
>> Yes it can have a big impact.
> WAL on a separate spindle will make a HUGE difference in performance.  TPS rates frequently double OR BETTER with WAL on a dedicated spindle.
> 
> Strongly recommended.
> 

Most of the performance increase on Linux, if your RAID card has a data-safe write-back cache (battery or solid state cache persistence in case of power failure), is a separate file system, not separate spindle.   Especially if ext3 is used with the default "ordered" journal, it is absolutely caustic to performance to have WAL and data on the same file system.  

The whole 'separate spindle' thing is important if you don't have a good caching raid card, otherwise it doesn't matter that much.


> Be aware that you must pay CLOSE ATTENTION to your backup strategy if WAL is on a different physical disk.  Snapshotting the data disk where WAL is on a separate spindle and backing it up **WILL NOT WORK** and **WILL** result in an non-restoreable backup.
> 
> The manual discusses this but it's easy to miss.... don't or you'll get a NASTY surprise if something goes wrong.....
> 
> -- Karl
> 

В списке pgsql-performance по дате отправления
От: Dave Crooke
Дата:
Сообщение: Re: raid10 write performance
От: Scott Carey
Дата:
FAQ