Re: Question relating to database space and adding partition

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Karthikeyan Sundaram <skarthi98(at)hotmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Question relating to database space and adding partition
Date: 2007-02-05 18:54:23
Message-ID: 45C77D5F.8080905@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Karthikeyan Sundaram wrote:
> Hi all,
>
> We are using postgres 8.0.1 on our production and 8.2 on our
> development. The linuix partition is getting full where the database
> resides. In few weeks our partition will ran out of space so the
> database will also run out of space. We are added another partition of
> 300GB. Now my question is, how will I point the database to the new
> partition along with the old one.
>
> In oracle when we add a datafile, we can tell the location. I don't
> know how to do this in postgres.
>
> Can somebody help me?

The easiest way would be to create a new tablespace:

http://www.postgresql.org/docs/8.1/static/manage-ag-tablespaces.html

>
> Regards
> skarthi
>
> _________________________________________________________________
> From predictions to trailers, check out the MSN Entertainment Guide to
> the Academy Awards®
> http://movies.msn.com/movies/oscars2007/?icid=ncoscartagline1
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/docs/faq
>

--

=== The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
Providing the most comprehensive PostgreSQL solutions since 1997
http://www.commandprompt.com/

Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate
PostgreSQL Replication: http://www.commandprompt.com/products/

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Ezequiel Luis Pellettieri 2007-02-05 19:41:49 Moving a table to another directory
Previous Message Karthikeyan Sundaram 2007-02-05 18:49:15 Question relating to database space and adding partition