Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eJG67-0005wR-Nj for pgsql-admin@arkaria.postgresql.org; Mon, 27 Nov 2017 09:53:08 +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 1eJG66-00066a-6F for pgsql-admin@arkaria.postgresql.org; Mon, 27 Nov 2017 09:53:06 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eJG65-00066P-U9 for pgsql-admin@lists.postgresql.org; Mon, 27 Nov 2017 09:53:06 +0000 Received: from r0.smtpout1.paris1.alwaysdata.com ([2a00:b6e0:1:40:1:0:10:1]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1eJG61-0007ZX-7T for pgsql-admin@postgresql.org; Mon, 27 Nov 2017 09:53:05 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alwaysdata.net; s=hexack; h=In-Reply-To:Content-Transfer-Encoding: Content-Type:MIME-Version:References:Message-ID:Subject:To:From:Date:Sender: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=xwcEZ47xdjco6dLuxEwEeUyOEH8VPV2rFG7YOLj1Aeo=; b=EGlIfD9Ytwsge8CwsJxpQYB3TM C8xY3b1bG+mK5PI+Hv0f6uJ0nVAY9qOJc2YWue14sdcinkWnkp8Iw3xwcc5onjxWFBSc5bSHq6YP4 qfIWqK6hq8iyZY9Ubzp4U4WB34k2hv1k2KRlGLCYy67DdVQcVPNCG0bPwpq7hkxIKpsk=; Received: from [78.193.183.71] (helo=office.hexack.fr) by smtpout1.paris1.alwaysdata.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1eJFkK-00066K-3S; Mon, 27 Nov 2017 10:30:36 +0100 Date: Mon, 27 Nov 2017 10:35:44 +0100 From: =?utf-8?B?U3TDqXBoYW5l?= KANSCHINE To: nikhil raj , pgsql-admin@postgresql.org Subject: Re: A particular database to move to other drive Message-ID: <20171127093544.lgap7swy2zcpykvx@office.hexack.fr> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Organization: HexACK User-Agent: NeoMutt/20170113 (1.7.2) X-alwaysdata-ID: 286668941 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Le dim. 26 nov., vers 01:08, nikhil raj exprimait : > Hi, Hey ! > 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 . Just : - shutdown your instance - move data_directory to its new location - upgrade data_directory to its new location in postgresql.conf - restart your instance Done. Regards, -- Stéphane KANSCHINE - http://www.hexack.fr./ - http://www.nuajik.com./ @ stephane@hexack.fr  +33 6 64 31 72 52