Re: A particular database to move to other drive - Mailing list pgsql-admin

From Abhishek Gautam
Subject Re: A particular database to move to other drive
Date
Msg-id C3081A36-59E7-486A-B207-E5BD0927CBE2@gmail.com
Whole thread Raw
In response to Re: A particular database to move to other drive  (Shreeyansh Dba <shreeyansh2014@gmail.com>)
Responses Re: A particular database to move to other drive  (nikhil raj <nikhilraj474@gmail.com>)
List pgsql-admin
Hi, May be creating new tablespace on new drives and then changing db tablespace from default to new one. Beware there would be physical movement of data. Haven’t done this for whole db but should work. Sent from iPhone Cheers, Abhishek Gautam > On 27-Nov-2017, at 2:35 PM, Shreeyansh Dba wrote: > > > >> On Sun, Nov 26, 2017 at 1:08 AM, nikhil raj wrote: >> Hi, >> Any one can please help me out >> >> I want to move a database to 'Y drive' because the size of that database is large about so can I move only that database to because I got an alert of low space is there any way >> Currently it is on F drive I want to move to Y drive . >> >> Thanks > > If we want to move a particular database from one drive to another drive for this requires downtime. There are multiple options to move a database like pg_dump & pg_restore or taking a physical copy, we may pick anyone from these options depending on the size of the database. > > -- >

pgsql-admin by date:

Previous
From: Stéphane KANSCHINE
Date:
Subject: Re: A particular database to move to other drive
Next
From: Thomas Kellerer
Date:
Subject: Re: A particular database to move to other drive