Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id BD3FC9FB328 for ; Mon, 5 Feb 2007 14:51:02 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-new, port 10024) with ESMTP id 48930-04 for ; Mon, 5 Feb 2007 14:50:57 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from lists.commandprompt.com (host-254.commandprompt.net [207.173.203.254]) by postgresql.org (Postfix) with ESMTP id A8C529FB31B for ; Mon, 5 Feb 2007 14:50:58 -0400 (AST) Received: from [192.168.1.50] (or-67-76-146-141.sta.embarqhsd.net [67.76.146.141]) (authenticated bits=0) by lists.commandprompt.com (8.13.7/8.13.6) with ESMTP id l15IowdJ017642 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 5 Feb 2007 10:50:59 -0800 Message-ID: <45C77D5F.8080905@commandprompt.com> Date: Mon, 05 Feb 2007 10:54:23 -0800 From: "Joshua D. Drake" Organization: Command Prompt, Inc. User-Agent: Thunderbird 1.5.0.9 (X11/20070103) MIME-Version: 1.0 To: Karthikeyan Sundaram CC: pgsql-admin@postgresql.org Subject: Re: Question relating to database space and adding partition References: In-Reply-To: X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV version 0.88.5, clamav-milter version 0.88.5 on projects.commandprompt.com X-Virus-Status: Clean X-Greylist: Sender succeded SMTP AUTH authentication, not delayed by milter-greylist-1.6 (lists.commandprompt.com [192.168.2.159]); Mon, 05 Feb 2007 10:51:00 -0800 (PST) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200702/58 X-Sequence-Number: 24523 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/