Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gSGtM-00089d-TU for pgsql-general@arkaria.postgresql.org; Thu, 29 Nov 2018 07:37:45 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gSGtL-0008H6-KL for pgsql-general@arkaria.postgresql.org; Thu, 29 Nov 2018 07:37:43 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gSGtL-0008Gz-9C for pgsql-general@lists.postgresql.org; Thu, 29 Nov 2018 07:37:43 +0000 Received: from post.visena.com ([46.226.10.50]) by magus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gSGtJ-0005u6-Fq for pgsql-general@lists.postgresql.org; Thu, 29 Nov 2018 07:37:42 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=visena.com; s=20141101.wh; h=Content-Type:MIME-Version:Subject:In-Reply-To:Message-ID:To:From:Date; bh=Z7ZF49qSYoWXn5UBEwVOew2cqMtpv9aT8qPwXvcwOrM=; b=KBX82gywnIwyYAqaaQjy3ss7NlyCNBEFsO3nkj1dbLNcER5j1BTBtMxNOlSO3GgZTqfC1mWgMwVg32jDL/QBgHQVayGnDAVzoDO6hqfE7k53ueBmcItu88ObEFyUfP48NWkXdsrWKI3HjSc34FtQqaBGNO3acZ2cfiyezRSX6A4=; Received: from [10.0.1.10] (helo=tc7-visena.wh.internal.visena.com) by post.visena.com with esmtp (Exim 4.82) (envelope-from ) id 1gSGtH-00035Q-6N for pgsql-general@lists.postgresql.org; Thu, 29 Nov 2018 08:37:40 +0100 Received: from localhost ([127.0.0.1] helo=tc7-visena.wh.internal.visena.com) by tc7-visena.wh.internal.visena.com with esmtp (Exim 4.86_2) (envelope-from ) id 1gSGvt-0000Zr-6X for pgsql-general@lists.postgresql.org; Thu, 29 Nov 2018 08:40:21 +0100 Date: Thu, 29 Nov 2018 08:40:21 +0100 (CET) From: Andreas Joseph Krogh To: pgsql-general@lists.postgresql.org Message-ID: In-Reply-To: Subject: Sv: Reg: Query for DB growth size MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_40_416424107.1543477221143" X-Mailer: Visena Mail 2.1.191 X-Spam-Score: -1.0 X-Spam-Report: SpamAssasin (score=-1.0, required 5.0 ALL_TRUSTED=-1,HTML_MESSAGE=0.001) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk ------=_Part_40_416424107.1543477221143 Content-Type: multipart/related; boundary="----=_Part_41_1037999737.1543477221145" ------=_Part_41_1037999737.1543477221145 Content-Type: multipart/alternative; boundary="----=_Part_42_1363118553.1543477221154" ------=_Part_42_1363118553.1543477221154 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable P=C3=A5 torsdag 29. november 2018 kl. 07:41:24, skrev R.R. PRAVEEN RAJA < rrpraveenraja@live.com >: Hi All, =C2=A0 Can i get the query or steps for how to check the Database growth in postgr= es.=20 Thanks in advance. =C2=A0 select pg_size_pretty(pg_database_size(current_database())); =C2=A0 -- Andreas Joseph Krogh ------=_Part_42_1363118553.1543477221154 Content-Type: text/html;charset=UTF-8 Content-Transfer-Encoding: quoted-printable
P=C3=A5 torsdag 29. november 2018 kl. 07:41:24, skrev R.R. PRAVEEN RAJ= A <rrpraveenraja@live.com&= gt;:
Hi All,
=C2=A0
Can i get the query or steps for how to check the Da= tabase growth in postgres. Thanks in advance.
=C2=A0
select pg_size_pretty(pg_database_size(current_database()));
=C2=A0
">
--
Andrea= s Joseph Krogh
------=_Part_42_1363118553.1543477221154-- ------=_Part_41_1037999737.1543477221145-- ------=_Part_40_416424107.1543477221143--