From: | Vivek Khera <khera(at)kcilink(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: State of Beta 2 |
Date: | 2003-09-23 17:39:00 |
Message-ID: | 16240.34100.24870.649713@yertle.int.kciLink.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
>>>>> "TL" == Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:
TL> Vivek Khera <khera(at)kcilink(dot)com> writes:
>> Well, for me the create index part of the restore is what takes about
>> 3x the time for the data load. Total about 4 hours. The dump takes 1
>> hour.
TL> What sort_mem do you use for the restore? Have you tried increasing it?
All tests have these non-default settings:
vacuum_mem = 131702
max_fsm_pages = 1000000
random_page_cost = 2
effective_cache_size = 12760 # `sysctl -n vfs.hibufspace` / BLKSZ
16k pages
30000 shared buffers
The four tests I've run so far are:
checkpoint_segments default
sort_mem 8192
restore time: 15344.57 seconds
checkpoint_segments default
sort_mem 131702
restore time: 15042.00 seconds
checkpoint_segments 50
sort_mem 8192
restore time: 11511.24 seconds
checkpoint_segments 50
sort_mem 131702
restore time: 11287.94 seconds
I have also enabled the extra query/timing logging you requested last
week, and just need to sanitize the table names to prevent any
confidential information from leaking out of the office. I'll send
those along shortly to you directly, as they are pretty large. I
wasn't able to do much work since the 'storm' hit on thursday,
knocking out power to the house until sunday...
Right now I'm running the same above tests with fsync=false to see if
that improves anything. Next test will be Marc's test to disable the
WAL entirely.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D. Khera Communications, Inc.
Internet: khera(at)kciLink(dot)com Rockville, MD +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera http://www.khera.org/~vivek/
From | Date | Subject | |
---|---|---|---|
Next Message | Vivek Khera | 2003-09-23 17:42:25 | Re: State of Beta 2 |
Previous Message | Marten G Mickos | 2003-09-23 17:33:15 | Re: About GPL and proprietary software |