Re: Disabling WAL for bulk data loads

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



William Yu <wyu@xxxxxxxxxxx> writes:
> If you have enough memory, you can always make a ramdisk to store the 
> WAL temporarily while you bulk load data. I also temporarily alter the 
> config to set checkpoint_segments = 1 to use as few pg_xlog files as 
> possible.

Really?  That seems pretty counterproductive to me.  I've never seen
a case where reducing checkpoint_segments increased performance.
Checkpoints are expensive, and usually you want 'em far apart.

			regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

               http://archives.postgresql.org

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux