pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Federico <rotellaro@gmail.com>
To: pgsql-admin@postgresql.org
Subject: Re: Very Very Slow Database Restore
Date: Fri, 22 Dec 2006 11:08:12 +0100
Message-ID: <a3e8e2210612220208je485189ne9077f9d95f4c979@mail.gmail.com> (raw)
In-Reply-To: <1166723003.4208.6.camel@mcclintock.anticsoffline.com>
References: <1166646860.3941.4.camel@mcclintock.anticsoffline.com>
	<14149.1166680064@sss.pgh.pa.us>
	<1166723003.4208.6.camel@mcclintock.anticsoffline.com>

On 12/21/06, Joseph McClintock <joe.mcclintock@antics.com> wrote:
> Thanks for the feed back.  Doubling the work_men from 10240 to 20480
> seemed to make the process faster but then I ran out of disk space.
> Shared buffers are at 2000 which I can try increasing.
>
> I now need to move the database off the system partition to my working
> partition which has more space.  I hope don't have to re-install
> Postges, that would be a real bummer.
>

Hi Joseph, to move the database cluster to another partition is very
simple with postgresql.

You need to shutdown the postmaster, after this copy your database
cluster directory
preserving user and permissions to the new location, update the
$PGDATA variable  for the user postgres with the  value of the new
location , startup the postmaster, enjoy ;)

Best Regards and Merry Christmas

Federico Campoli



view thread (4+ messages)

Message-ID: <a3e8e2210612220208je485189ne9077f9d95f4c979@mail.gmail.com>
Permalink:  ../a3e8e2210612220208je485189ne9077f9d95f4c979@mail.gmail.com/
Also on:    postgresql.org/message-id/a3e8e2210612220208je485189ne9077f9d95f4c979@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: rotellaro@gmail.com
  Subject: Re: Very Very Slow Database Restore
  In-Reply-To: <a3e8e2210612220208je485189ne9077f9d95f4c979@mail.gmail.com>
  References: <1166646860.3941.4.camel@mcclintock.anticsoffline.com> <14149.1166680064@sss.pgh.pa.us> <1166723003.4208.6.camel@mcclintock.anticsoffline.com> <a3e8e2210612220208je485189ne9077f9d95f4c979@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox