Re: Ways to speed up dump&reload

From: Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>
To: Markus Wollny <Markus(dot)Wollny(at)computec(dot)de>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Ways to speed up dump&reload
Date: 2005-02-21 10:15:59
Message-ID: Pine.GSO.4.62.0502211314250.8169@ra.sai.msu.su
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Markus,

have you read updated http://www.sai.msu.su/~megera/postgres/gist/tsearch/V2/docs/tsearch-V2-intro.html
about regprocedure_7.4.patch.gz and regprocedure_update.sql ?

Oleg
On Mon, 21 Feb 2005, Markus Wollny wrote:

> Hello!
>
> Finally the time has come for us to upgrade our PostgreSQL 7.4.5-servers to 8.0.1 - and though I'm very much looking forward to some of the new features, the dump&reload process is worrying me a bit this time. I've got one cluster in particular which is roughly 9GB in size and features some dreadfully large indices of the GiST-type for Tsearch2.
>
> I have already scheduled a nightshift for this upgrade, but I'm not all too certain that I'll be up and running again in the morning, so I wondered if there might be some preparations that would allow for some speed-up during the reload process? What kind of tuning could be done in postgresql.conf in respect to just this particular workload (COPY and finally the CREATE INDEX stuff) with no other concurrent access going on?
>
> The machine in question features a RAID10 disk array which hosts the DB-cluster, some 2GB RAM and four processors and I've tuned postgresql.conf for our ordinary everyday workload with lots and lots of concurrent reads and writes, but I've got the feeling that this configuration might not be the optimum for dump&reload, so it might make some sense to use some sort of "maintenance"-configuration. What kind of tuning would you recommend?
>
> Thank you very much for your advice and lots of cheers to the developers for 8.0!
>
> Kind regards
>
> Markus
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/docs/faq
>

Regards,
Oleg
_____________________________________________________________
Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
Sternberg Astronomical Institute, Moscow University (Russia)
Internet: oleg(at)sai(dot)msu(dot)su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Marco Colombo 2005-02-21 10:29:58 Re: Scalability with large numbers of tables
Previous Message Clodoaldo Pinto 2005-02-21 10:11:41 Re: 7.4.6 FC2 MUCH slower from 2.6.9-1.11 to 2.6.10-1.8