Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id E700E475AA8 for ; Sun, 7 Jul 2002 09:25:43 -0400 (EDT) Mailbox-Line: From mallah@trade-india.com Sun Jul 7 09:25:43 2002 Received: from mail-relay.trade-india.com (mail-relay.trade-india.com [203.196.129.235]) by postgresql.org (Postfix) with SMTP id 2F99A475A5F for ; Sun, 7 Jul 2002 09:25:40 -0400 (EDT) Received: (qmail 5745 invoked from network); 7 Jul 2002 13:18:40 -0000 Received: from system67.trade-india-local.com (192.168.0.67) by infocom-236-129-del.trade-india.com with SMTP; 7 Jul 2002 13:18:40 -0000 Content-Type: text/plain; charset="iso-8859-1" From: "Rajesh Kumar Mallah." Organization: Infocom Network Limited. To: Gary Stainburn , pgsql-admin@postgresql.org Subject: Re: Which DB is using space. Date: Sun, 7 Jul 2002 18:59:01 +0530 User-Agent: KMail/1.4.1 References: <200207041425.14911.gary.stainburn@ringways.co.uk> In-Reply-To: <200207041425.14911.gary.stainburn@ringways.co.uk> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200207071859.01667.mallah@trade-india.com> X-Spam-Status: No, hits=-5.3 required=5.0 tests=IN_REP_TO,X_NOT_PRESENT version=2.30 X-Spam-Level: X-Archive-Number: 200207/105 X-Sequence-Number: 4791 tradein_clients=3D# SELECT oid,datname from pg_database; oid | datname ----------+----------------- 27856881 | test 7865515 | sysstat 8990396 | access_log 16555 | template0 378968 | tradein_clients 378969 | rt2 1 | template1 (7 rows) also gives the same info. is it reliable? regds mallah. On Thursday 04 July 2002 18:55, Gary Stainburn wrote: > Hi all, > > Below is the output from 'du -kx /|sort -rn|head'. It's showing that > /var/lib/pgsql/data/base/46169 is using a big chunk of my disk. > > How can I tell which DB this is? > What suggestions can people make to reduce the amount of disk space used = by > this DB? > > __BEGIN__ > 361365 / > 282030 /var > 232427 /var/lib > 186879 /var/lib/pgsql > 186874 /var/lib/pgsql/data > 153866 /var/lib/pgsql/data/base > 122399 /var/lib/pgsql/data/base/46169 > 40675 /lib > __END__ > > Ta --=20 Rajesh Kumar Mallah, Project Manager (Development) Infocom Network Limited, New Delhi phone: +91(11)6152172 (221) (L) ,9811255597 (M) Visit http://www.trade-india.com , India's Leading B2B eMarketplace.