Received: from localhost (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 83DEA64FC2F for ; Thu, 6 Nov 2008 07:04:35 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 03737-03 for ; Thu, 6 Nov 2008 07:04:35 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from ptb-relay01.plus.net (ptb-relay01.plus.net [212.159.14.145]) by mail.postgresql.org (Postfix) with ESMTP id 19A1B64FC2D for ; Thu, 6 Nov 2008 07:04:34 -0400 (AST) Received: from [84.51.143.99] (helo=server3.office.archonet.com) by ptb-relay01.plus.net with esmtp (Exim) id 1Ky2f9-0006xU-6q; Thu, 06 Nov 2008 11:04:31 +0000 Received: from [192.168.1.36] (dell36.office.archonet.com [192.168.1.36]) by server3.office.archonet.com (Postfix) with ESMTP id E5E20274051; Thu, 6 Nov 2008 11:04:30 +0000 (GMT) Message-ID: <4912CF3E.90801@archonet.com> Date: Thu, 06 Nov 2008 11:04:30 +0000 From: Richard Huxton User-Agent: Thunderbird 2.0.0.17 (X11/20080914) MIME-Version: 1.0 To: prakashr2n5@yahoo.com CC: pgsql-performance@postgresql.org Subject: Re: server space increasing very fast but transaction are very low References: <551154.82667.qm@web8405.mail.in.yahoo.com> In-Reply-To: <551154.82667.qm@web8405.mail.in.yahoo.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Plusnet-Relay: df13b0dae287275519deda0caa4784bc X-Archive-Number: 200811/24 X-Sequence-Number: 31755 1. Don't email people directly to start a new thread (unless you have a support contract with them of course). 2. Not much point in sending to two mailing lists simultaneously. You'll just split your responses. brahma tiwari wrote: > Hi all > > My database server db01 is on linux environment and size of base > folder increasing very fast unexpectedly(creating renamed files of 1 > GB in base folder like 1667234568.10) details as below These are the files containing your tables / indexes. When a file gets larger than 1GB the file gets split and you get .1, .2 etc on the end) > what is significance of these files and how can i avoid it.can i > delete these renamed files from base folder or any thing else. Please > help NEVER delete any files in .../data/base. Since these files all seem to have the same number they are all the same object (table or index). You can see which by looking in pg_class. You'll want to use the number 1662209326 of course. => SELECT relname,relpages,reltuples,relfilenode FROM pg_class WHERE relfilenode=2336591; relname | relpages | reltuples | relfilenode ---------+----------+-----------+------------- outputs | 3 | 220 | 2336591 (1 row) This is the table outputs on mine which occupies 3 pages on disk and has about 220 rows. You can find out the reverse (size of any table by name) with some useful functions: select pg_size_pretty(pg_total_relation_size('my_table_name')); I'm guessing what you've got is a table that's not being vacuumed because you've had a transaction that's been open for weeks. -- Richard Huxton Archonet Ltd