X-Original-To: pgsql-admin@postgresql.org Received: from localhost (unknown [64.117.224.193]) by developer.postgresql.org (Postfix) with ESMTP id 0D5BD924E39 for ; Mon, 19 May 2003 18:23:11 -0400 (EDT) Received: from developer.postgresql.org ([64.117.224.193]) by localhost (developer.postgresql.org [64.117.224.193:10024]) (amavisd-new) with ESMTP id 40500-02 for ; Mon, 19 May 2003 18:23:07 -0400 (EDT) Received: from shield.nordlb.lv (shield.pirmabanka.lv [195.114.57.4]) by developer.postgresql.org (Postfix) with ESMTP id B3EFA924F71 for ; Sun, 18 May 2003 02:45:06 -0400 (EDT) Received: from wall2.pirmabanka.lv (wall2-pub.nordlb.lv [195.114.57.14]) by shield.nordlb.lv (8.12.9/8.12.9) with SMTP id h4I6j5bg025807 for ; Sun, 18 May 2003 09:45:05 +0300 Received: from share.nordlb.lv ([10.0.0.10]) by wall2.pirmabanka.lv; Sun, 18 May 2003 09:45:04 +0300 (EET DST) Received: from pc311x1.nordlb.lv (localhost.localdomain [127.0.0.1]) by nordlb.lv (8.11.6/8.11.6) with SMTP id h4I6j3Z09491 for ; Sun, 18 May 2003 09:45:04 +0300 Received: (qmail 3505 invoked by uid 100); 18 May 2003 06:47:48 -0000 Date: Sun, 18 May 2003 09:47:48 +0300 From: "Victor Yegorov" To: "Postgres Admin" Subject: data files management (tablespaces) Message-ID: <20030518064748.GA3241@nordlb.lv> Mail-Followup-To: "Postgres Admin" Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new X-Archive-Number: 200305/257 X-Sequence-Number: 8819 Hello. I wonder, is it possible in PostgreSQL to manage data files, stored on disks? I mean, I'd like to tell DB where store this or that object. Now I have a server running a DB and a small application that uses it. At the time, when project started, there were enough space on HD (4Gb). Now it seems, that soon I'm going to have problems. At now, I'm daily backuping and then deleting all "expired" records. But that is not the solution I want. Is it possible to add one (or more) disks and tell Postgres to store, say, indicies or big tables on them? Such things in ORACLE are called tablespaces. I've searched the docs, but found nothing apropriate, may be I've missed the point. I know, I can just upgrade hardware and move my stuff to the new server. But still - is it possible to manage objects? Thanks. -- Victor Yegorov