Re: Fast Inserts and Hardware Questions
От | Bruce Momjian |
---|---|
Тема | Re: Fast Inserts and Hardware Questions |
Дата | |
Msg-id | 200103150218.VAA22193@candle.pha.pa.us обсуждение исходный текст |
Ответ на | Re: Fast Inserts and Hardware Questions (Richard H <dev@archonet.com>) |
Список | pgsql-general |
> > * Since most of what I am doing is inserts I will assume that the disk > > will be my bottleneck over anything else. Is this correct? > > Yes. > > > * Will the 7.1 WAL save me, when it comes to insert times? > > * I read something about disabling fsync() to speed up inserts. How > > much will this speed things up? I would consider it as I COULD rebuild > > lost data from my logs in the event of a system crash and one night a > > year of panic on my part is worth saving $100,000 in drive arrays. > > Turning fsync off gave about a factor of 10 increase (!) before 7.1 - the > WAL stuff means you can do so safely. Basically PG should rebuild itself > from the WAL file in the event of system failure. Have to admit I've not > tried it myself yet. No. You should get good performance in 7.1 without using -F. Using -F in 7.1 makes the system unreliable in case of an OS crash. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026
В списке pgsql-general по дате отправления: