Re: how to store data file in Postgres

From: Shreeyansh Dba <shreeyansh2014(at)gmail(dot)com>
To: Pepe TD Vo <pepevo(at)yahoo(dot)com>
Cc: Pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: Re: how to store data file in Postgres
Date: 2019-01-17 13:54:06
Message-ID: CAGDYbUMf0Ohkz2qdE8=JmphXoN440u0B3Kc8ng6K_GBpw6jbgw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

PostgreSQL comes with default tablespaces: pg_default tablespace stores all
data. You can create multi tablespaces as per your requirement.

Thanks & Regards,
*Shreeyansh DBA Team*
www.shreeyansh.com

On Thu, Jan 17, 2019 at 6:55 PM Pepe TD Vo <pepevo(at)yahoo(dot)com> wrote:

> thank you so much for input. Can Postgresql database have multi
> tablespaces or just one?
>
> v/r,
>
>
>
> *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
>
>
> On Thursday, January 17, 2019 3:50 AM, Shreeyansh Dba <
> shreeyansh2014(at)gmail(dot)com> wrote:
>
>
> You can create a new tablespace to the new partition and alter your
> database CIDR set to new tablespace.
>
> Thanks & Regards,
> *Shreeyansh DBA Team*
> www.shreeyansh.com
>
>
> On Wed, Jan 16, 2019 at 11:45 PM Pepe TD Vo <pepevo(at)yahoo(dot)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
>
>
>
>

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message mallikarjun t 2019-01-17 14:42:56 Re: archive command failed with exit code 1
Previous Message marcelo zen 2019-01-17 13:33:03 Re: Copying Data from Oracle to PostgreSQL