pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joshua D. Drake <jd@commandprompt.com>
To: Karthikeyan Sundaram <skarthi98@hotmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Question relating to database space and adding partition
Date: Mon, 05 Feb 2007 10:54:23 -0800
Message-ID: <45C77D5F.8080905@commandprompt.com> (raw)
In-Reply-To: <BAY131-F324B78FC3F8C804FF6260B0980@phx.gbl>
References: <BAY131-F324B78FC3F8C804FF6260B0980@phx.gbl>

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/




view thread (2+ messages)

Message-ID: <45C77D5F.8080905@commandprompt.com>
Permalink:  ../45C77D5F.8080905@commandprompt.com/
Also on:    postgresql.org/message-id/45C77D5F.8080905@commandprompt.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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: jd@commandprompt.com, skarthi98@hotmail.com
  Subject: Re: Question relating to database space and adding partition
  In-Reply-To: <45C77D5F.8080905@commandprompt.com>
  References: <BAY131-F324B78FC3F8C804FF6260B0980@phx.gbl> <45C77D5F.8080905@commandprompt.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