Re: Raid Controller Write Cache setting for WAL and Data
В списке pgsql-general по дате отправления:
| От | Andrew Sullivan |
|---|---|
| Тема | Re: Raid Controller Write Cache setting for WAL and Data |
| Дата | |
| Msg-id | 20110216163321.GV96213@shinkuro.com обсуждение исходный текст |
| Ответ на | Raid Controller Write Cache setting for WAL and Data (Piotr Gasidło <quaker@barbara.eu.org>) |
| Список | pgsql-general |
On Wed, Feb 16, 2011 at 04:40:43PM +0100, Piotr Gasidło wrote: > Is it safe, to have RAID controller (not BBC) write cache _enabled_ > for disks where data are stored and write cache _disabled_ for disks > where WAL segments are stored? No. > I _can_ afford of loosing some data in case of power failure. But I'm > afraid of having database in unrecoverable state after crash. It could be. Suppose you had the crash at the exact moment when the the WAL was getting flushed. Now you'll have a corrupt table. It will likely start up, but some time later when someone goes to get that data, you'll run into a problem. A battery is one of the simplest and cheapest things you can do to make your database system more reliable and faster at the same time. A -- Andrew Sullivan ajs@crankycanuck.ca
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера