From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | dev(at)archonet(dot)com |
Cc: | Orion Henry <orion(at)trustcommerce(dot)com>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: Fast Inserts and Hardware Questions |
Date: | 2001-03-15 02:18:21 |
Message-ID: | 200103150218.VAA22193@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Willis, Ian (Ento, Canberra) | 2001-03-15 02:19:25 | RE: Re: Fast Inserts and Hardware Questions |
Previous Message | Alex Howansky | 2001-03-15 02:14:51 | Re: Fast Inserts and Hardware Questions |