From ganesh@magnusquest.com Tue Oct 7 08:43:08 2003 X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id EC27BD1B50D for ; Tue, 7 Oct 2003 08:43:08 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 59870-09 for ; Tue, 7 Oct 2003 05:42:21 -0300 (ADT) Received: from mqsporttec.com (evilgods.net [128.121.126.6]) by svr1.postgresql.org (Postfix) with ESMTP id 6DCDFD1B516 for ; Tue, 7 Oct 2003 05:42:18 -0300 (ADT) Received: from ganesh ([219.93.76.2]) by mqsporttec.com (8.12.9p1/8.11.6) with ESMTP id h978gHIR079170 for ; Tue, 7 Oct 2003 16:42:18 +0800 (MYT) From: "Ganesan Kanavathy" To: Subject: Checking Postgres Database Date: Tue, 7 Oct 2003 16:42:46 +0800 Message-ID: <000201c38cae$ffc059e0$2300a8c0@ganesh> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0003_01C38CF2.0DE399E0" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=1.2 tagged_above=0.0 required=5.0 tests=HTML_60_70, RCVD_IN_RFCI X-Spam-Level: * X-Archive-Number: 200310/73 X-Sequence-Number: 10634 This is a multi-part message in MIME format. ------=_NextPart_000_0003_01C38CF2.0DE399E0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Dear all, How to check database size for Posgresql db. I need give hardisk utilization of the database on daily basis. Regards, ganesh ------=_NextPart_000_0003_01C38CF2.0DE399E0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message
Dear=20 all,
 
How to ch= eck=20 database size for Posgresql db. I need give hardisk utilization of the= =20 database on daily basis.
 
Regards,
ganesh
------=_NextPart_000_0003_01C38CF2.0DE399E0-- From scott.marlowe@ihs.com Tue Oct 7 14:40:59 2003 X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id C8266D1B4EC for ; Tue, 7 Oct 2003 14:40:59 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 25337-04 for ; Tue, 7 Oct 2003 11:40:13 -0300 (ADT) Received: from mail1.ihs.com (mail1.ihs.com [170.207.70.222]) by svr1.postgresql.org (Postfix) with ESMTP id 747EDD1B4E9 for ; Tue, 7 Oct 2003 11:40:05 -0300 (ADT) Received: from css120.ihs.com (css120.ihs.com [170.207.105.120]) by mail1.ihs.com (8.12.10/8.12.10) with ESMTP id h97EbuGQ018564; Tue, 7 Oct 2003 08:37:56 -0600 (MDT) Date: Tue, 7 Oct 2003 08:29:39 -0600 (MDT) From: "scott.marlowe" To: Ganesan Kanavathy Cc: Subject: Re: Checking Postgres Database In-Reply-To: <000201c38cae$ffc059e0$2300a8c0@ganesh> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-IHS-MailScanner: Found to be clean X-IHS-MailScanner-SpamCheck: X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/76 X-Sequence-Number: 10637 On Tue, 7 Oct 2003, Ganesan Kanavathy wrote: > Dear all, > > How to check database size for Posgresql db. I need give hardisk > utilization of the database on daily basis. Here's how I do it: su - postgres cd $PGDATA du -s base From nospam@sap.com Tue Oct 7 14:51:09 2003 X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id B7816D1B4E9 for ; Tue, 7 Oct 2003 14:51:09 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 27059-07 for ; Tue, 7 Oct 2003 11:50:24 -0300 (ADT) Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by svr1.postgresql.org (Postfix) with ESMTP id 7ECABD1B4FC for ; Tue, 7 Oct 2003 11:50:19 -0300 (ADT) Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1A6tAI-0001R9-00 for ; Tue, 07 Oct 2003 16:50:18 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: pgsql-admin@postgresql.org Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A6szx-0001J0-00 for ; Tue, 07 Oct 2003 16:39:37 +0200 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1A6szx-0001x8-00 for ; Tue, 07 Oct 2003 16:39:37 +0200 From: Harald Fuchs Subject: Re: Checking Postgres Database Date: 07 Oct 2003 16:40:21 +0200 Organization: Linux Private Site Lines: 8 Message-ID: References: <000201c38cae$ffc059e0$2300a8c0@ganesh> Reply-To: hf99@protecting.net Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Complaints-To: usenet@sea.gmane.org X-No-Archive: yes User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/78 X-Sequence-Number: 10639 In article <000201c38cae$ffc059e0$2300a8c0@ganesh>, "Ganesan Kanavathy" writes: > How to check database size for Posgresql db. I need give=A0hardisk utiliz= ation > of the database on daily basis. contrib/dbsize is your friend.