X-Original-To: pgsql-sql@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 7E3A1475FB9 for ; Fri, 31 Jan 2003 06:34:01 -0500 (EST) Received: from goatelecom.com (unknown [61.1.72.28]) by postgresql.org (Postfix) with ESMTP id 7F9F2475F4F for ; Fri, 31 Jan 2003 06:33:59 -0500 (EST) Received: from email.philnet (dialup-73-123.goatelecom.com [61.1.73.123]) by goatelecom.com (8.11.0/8.11.0) with ESMTP id h0VBjqj04281 for ; Fri, 31 Jan 2003 17:15:53 +0530 (IST) Received: from minxserver.philnet (minxserver.philnet [172.16.1.250]) by email.philnet (8.11.6/8.11.2) with ESMTP id h0VBTjt17769 for ; Fri, 31 Jan 2003 16:59:45 +0530 Received: from localhost (pragati@localhost) by minxserver.philnet (8.11.6/8.11.6) with ESMTP id h0VBTUH15884 for ; Fri, 31 Jan 2003 16:59:33 +0530 Date: Fri, 31 Jan 2003 16:59:29 +0530 (IST) From: PRAGATI SAVAIKAR To: Subject: Index File growing big. Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200302/22 X-Sequence-Number: 11420 Hi !! We have "PostgreSQL 7.2.1 on i686-pc-linux-gnu, compiled by GCC 2.96" installed on Linux (RedHat 7.2) Our database size is 15 GB. Since the database size was increasing and was about to cross the actual Hard Disk parttion Size, we moved the datafiles (also the index files) to another partition and created link to them from the data directory. This was working fine. But what we found was , the index files(2 files) were not getting updated in the new partition, instead postgres had created another index file with name "tableID".1 in the original data directory. The size of this file was 356MB, The actual size of the data table is 1GB. and there were 2 indexes for the table. which were of size approximately=150MB. But after we created link, those 2 index files were not getting updated, instead the new file with ".1" extension got created in the data directory (old parttion) and the same is getting updated everyday. We dropped the table but the file with ".1" extension was not getting removed from data directory. We manually had to remove it. Can U please suggest some way to avoid the file getting created when we move the data file (along with the index files) to another partition. Thanks in Advance. Regards, Pragati.