pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: chris <yuanzefuwater@126.com>
To: Pepe TD Vo <pepevo@yahoo.com>
Cc: Pgsql-admin <pgsql-admin@lists.postgresql.org>
Subject: Re:how to store data file in Postgres
Date: Thu, 17 Jan 2019 08:36:05 +0800 (GMT+08:00)
Message-ID: <74f92648.415f.168593c8539.Coremail.yuanzefuwater@126.com> (raw)
In-Reply-To: <557751313.670161.1547662500240@mail.yahoo.com>
References: <557751313.670161.1547662500240.ref@mail.yahoo.com>
	<557751313.670161.1547662500240@mail.yahoo.com>

Hello there, 


I don’t know your actual level of the transformation, you can create a new tablespace to the new partition and then moving some of the tables to the new location, or shutdown the pg and create a softlink for base dir to the new location then start it again. There are solutions, choose a good one for you current situation. 


Thanks,
| |
Chris
|
|
yuanzefuwater@126.com
|
签名由网易邮箱大师定制


On 01/17/2019 02:15,Pepe TD Vo<pepevo@yahoo.com> wrote:
Hello Experts,


I created a database named "CIDR" using pg_default tablespace.  Now if I am moving the data/schemas/triggers/functions from Oracle into Postgres but the spacing is an issue.  From Oracle total datafile/tablespaces are 18G but in postgres where the pg_default tablespace has only 5G left.  I am asking for more disk spaces, SA is willing to give me another partition.  How do I move the CIDR database data file from where it is now to a new partition?


thank you.
 
Bach-Nga

No one in this world is pure and perfect.  If you avoid people for their mistakes you will be alone. So judge less, love and forgive more.
To call him a dog hardly seems to do him justice though in as much as he had four legs, a tail, and barked, I admit he was, to all outward appearances. But to those who knew him well, he was a perfect gentleman (Hermione Gingold)

**Live simply **Love generously **Care deeply **Speak kindly.
*** Genuinely rich *** Faithful talent *** Sharing success

view thread (5+ messages)  latest in thread

Message-ID: <74f92648.415f.168593c8539.Coremail.yuanzefuwater@126.com>
Permalink:  ../74f92648.415f.168593c8539.Coremail.yuanzefuwater@126.com/
Also on:    postgresql.org/message-id/74f92648.415f.168593c8539.Coremail.yuanzefuwater@126.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: yuanzefuwater@126.com, pepevo@yahoo.com, pgsql-admin@lists.postgresql.org
  Subject: Re:how to store data file in Postgres
  In-Reply-To: <74f92648.415f.168593c8539.Coremail.yuanzefuwater@126.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox