Re: Very Very Slow Database Restore - Mailing list pgsql-admin

From Federico
Subject Re: Very Very Slow Database Restore
Date
Msg-id a3e8e2210612220208je485189ne9077f9d95f4c979@mail.gmail.com
Whole thread Raw
In response to Re: Very Very Slow Database Restore  (Joseph McClintock <joe.mcclintock@antics.com>)
List pgsql-admin
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

pgsql-admin by date:

Previous
From: "Sandy Spence"
Date:
Subject: Re: Trigger trouble
Next
From: "Rajesh Kumar Mallah"
Date:
Subject: Re: Trigger trouble