Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eJGRi-0007xS-5C for pgsql-admin@arkaria.postgresql.org; Mon, 27 Nov 2017 10:15:26 +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 1eJGRg-0001tY-VN for pgsql-admin@arkaria.postgresql.org; Mon, 27 Nov 2017 10:15:24 +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 1eJGRg-0001tO-OG for pgsql-admin@lists.postgresql.org; Mon, 27 Nov 2017 10:15:24 +0000 Received: from [195.159.176.226] (helo=blaine.gmane.org) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1eJGRa-00083z-0o for pgsql-admin@postgresql.org; Mon, 27 Nov 2017 10:15:24 +0000 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1eJGRP-0008Tw-Qz for pgsql-admin@postgresql.org; Mon, 27 Nov 2017 11:15:07 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: pgsql-admin@postgresql.org From: Thomas Kellerer Subject: Re: A particular database to move to other drive Date: Mon, 27 Nov 2017 11:15:05 +0100 Lines: 17 Message-ID: References: <20171127093544.lgap7swy2zcpykvx@office.hexack.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@blaine.gmane.org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666 In-Reply-To: <20171127093544.lgap7swy2zcpykvx@office.hexack.fr> Content-Language: de-DE X-Host-Lookup-Failed: Reverse DNS lookup failed for 195.159.176.226 (failed) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Stéphane KANSCHINE schrieb am 27.11.2017 um 10:35: >> 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. Note that this moves all databases to the new drive, not just one.