Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eJG6q-00060M-Fp for pgsql-admin@arkaria.postgresql.org; Mon, 27 Nov 2017 09:53:52 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eJG6q-0001Xs-3K for pgsql-admin@arkaria.postgresql.org; Mon, 27 Nov 2017 09:53:52 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eJG6p-0001Xi-NI for pgsql-admin@lists.postgresql.org; Mon, 27 Nov 2017 09:53:51 +0000 Received: from mail-io0-x22c.google.com ([2607:f8b0:4001:c06::22c]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1eJG6m-00035V-Q2 for pgsql-admin@postgresql.org; Mon, 27 Nov 2017 09:53:50 +0000 Received: by mail-io0-x22c.google.com with SMTP id v21so35708278ioi.4 for ; Mon, 27 Nov 2017 01:53:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=6EOw8MrJOQPoEKtcM+3N64bSBlXdC+0xiB41+0SQSWk=; b=XQz63/UD6el8fbq0kyrlygmHFGzo/fbmjyG374wUOB0Frk1fiLJk2yOkqPXqP+0Z+K CwQT7zBs3uTbpC4IEWh3x+AicFkaWWkRFNhmE8Hjhf0eRC9i+7R3aAp7F3HJRjjbLdXb V2BdwTDuq0OPvKSVVpoeFcM16+EgZcTw5y2jrMe1TBnF+6jYQC4Z9f6KrQT8OUKrBrgx awg72nSOethdSdOIisn2+RbpbzybMBuVr02LaUxLPcZ4t8nlsJj2Je47Sbv8jg41RXEZ 0Z1c8iUdZ9ZCBmHFYWXr9ppYhujsbxwyMq/e01iiHyhOk5oDi+Xf+MuMvS6f4lfIFcdP u2SA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=6EOw8MrJOQPoEKtcM+3N64bSBlXdC+0xiB41+0SQSWk=; b=mO1LvzWpj5+uO+CrOynOcECo5I+XYIcKEABv/v1C8rSa2dFPClsqYcoL4fQFDJr/Md BsFk9EcdFNfNDGC87iqzCCclf1P6iBG31kyJcFUppEhVy3M4aRXhq1dMTQu/DxPdKsoG RAVaqj0PlQHAtmiJapFhphhFKVT5vp1UxILYSx/M+Qt/4GBzeWgDLUlzSLa2AyaCsajp 6N1xI6rJuLt7Q8Ltl3lA53gmSC0Wys89Ke1D2UAjmv02RB9sG1n1Yhnqr9nLGA+JR7Q2 XjbP2W/HygL4aB4r37DoTH713iM3HuYreZuuv43fdhJRhAwQQIktJLFkZWLoNZudVYa9 lokQ== X-Gm-Message-State: AJaThX6JQsx5RoUv3xBw2Qbw49YGIXMehRILYf5BSVRFd/aik/cOgXof v0T8wt4/4FUJdBazGbqk5g5Sj2lw X-Google-Smtp-Source: AGs4zMZldOpnpkflOOCgjIQAVGOkzfodJXXBj5FaFJX9k18BoupcoeiYWeRHIVkpAXlL5IIIPe3nWA== X-Received: by 10.107.141.77 with SMTP id p74mr44384790iod.40.1511776427395; Mon, 27 Nov 2017 01:53:47 -0800 (PST) Received: from [100.113.53.100] ([49.38.1.146]) by smtp.gmail.com with ESMTPSA id x124sm1773173iod.86.2017.11.27.01.53.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Nov 2017 01:53:46 -0800 (PST) Content-Type: multipart/alternative; boundary=Apple-Mail-DA7B8871-C5A2-4C80-A23E-585C10362560 Mime-Version: 1.0 (1.0) Subject: Re: A particular database to move to other drive From: Abhishek Gautam X-Mailer: iPhone Mail (15B202) In-Reply-To: Date: Mon, 27 Nov 2017 15:23:45 +0530 Cc: nikhil raj , "pgsql-admin@postgresql.org" Content-Transfer-Encoding: 7bit Message-Id: References: To: Shreeyansh Dba List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --Apple-Mail-DA7B8871-C5A2-4C80-A23E-585C10362560 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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=E2=80=99t done this for whole db but should work. Sent from iPhone Cheers, Abhishek Gautam > On 27-Nov-2017, at 2:35 PM, Shreeyansh Dba wrot= e: >=20 >=20 >=20 >> On Sun, Nov 26, 2017 at 1:08 AM, nikhil raj wrot= e: >> Hi, >> Any one can please help me out=20 >>=20 >> I want to move a database to 'Y drive' because the size of that database i= s large about so can I move only that database to because I got an alert of l= ow space is there any way=20 >> Currently it is on F drive I want to move to Y drive . >>=20 >> Thanks >=20 > If we want to move a particular database from one drive to another drive f= or this requires downtime. There are multiple options to move a database lik= e pg_dump & pg_restore or taking a physical copy, we may pick anyone from th= ese options depending on the size of the database. >=20 > --=20 >=20 --Apple-Mail-DA7B8871-C5A2-4C80-A23E-585C10362560 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Hi,

May be creating new tablespace on new drives and then changing db tabl= espace from default to new one.

Beware there would b= e physical movement of data.

Haven=E2=80=99t done t= his for whole db but should work.

Sent from iPhone

Cheers,
Abhishek Gautam

On 27-Nov-2017, a= t 2:35 PM, Shreeyansh Dba <sh= reeyansh2014@gmail.com> wrote:



On Sun, Nov 26, 2017 at 1:08 AM, nikhil raj <<= a href=3D"mailto:nikhilraj474@gmail.com" target=3D"_blank">nikhilraj474@gmai= l.com> wrote:
Hi,
Any one can please help me out 

I want to m= ove 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 t= here any way 
Currently it is on F drive I want t= o move to Y drive .

Thank= s

If we want to move a particular database from one dri= ve to another drive for this requires downtime. There are multiple options t= o move a database like pg_dump & pg_restore or taking a physical copy, w= e may pick anyone from these options depending on the size of the database.<= br clear=3D"all">

--
=
3D"http://www.shreeyansh.com=
<= /div>
= --Apple-Mail-DA7B8871-C5A2-4C80-A23E-585C10362560--