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 1gSIfd-0006A6-EU for pgsql-general@arkaria.postgresql.org; Thu, 29 Nov 2018 09:31:42 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gSIfc-0007fe-7H for pgsql-general@arkaria.postgresql.org; Thu, 29 Nov 2018 09:31:40 +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 1gSIfb-0007fX-SC for pgsql-general@lists.postgresql.org; Thu, 29 Nov 2018 09:31:40 +0000 Received: from stz-bg.com ([2a02:6800:0:99::2] helo=mail.stzbg.com) by magus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gSIfZ-0008VQ-FB for pgsql-general@postgresql.org; Thu, 29 Nov 2018 09:31:39 +0000 Received: from www.stz-bg.com (stz-bg.com [IPv6:2a02:6800:0:99::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: condor@stz-bg.com) by mail.stzbg.com (Postfix) with ESMTPSA id 10FCF2E14D2; Thu, 29 Nov 2018 11:31:35 +0200 (EET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=stz-bg.com; s=mail; t=1543483895; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=iEujbLWBLMa5oWWWqSmumJGr4RJ2wxizB6jKS2wdziI=; b=vcuJVgNVl6GMQZ/4SwSbKgP7jOymcmhQCwssnj7/LpMdpjq8ZyU4no4RYFpG+kldbS8tKA 4VQacdQ3OuZx1uTzIF66kkrLKfWI7h5or5klXmmqKR6JwrBMBDUf9hsiMyuK24Qw27YZaG cntTehBZ7p9wgwE9F0tSU83seYZ2muc= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 29 Nov 2018 11:31:34 +0200 From: Condor To: "R.R. PRAVEEN RAJA" Cc: pgsql-general@postgresql.org Subject: Re: Reg: Query for DB growth size In-Reply-To: References: Message-ID: <1fb270efde04e3fabc67a33c292d7767@stz-bg.com> X-Sender: condor@stz-bg.com User-Agent: Roundcube Webmail/1.3.8 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 29-11-2018 08:41, R.R. PRAVEEN RAJA wrote: > Hi All, > > Can i get the query or steps for how to check the Database growth in > postgres. Thanks in advance. > > Regards, > Praveen No official thing that can do the job. You need to DIY, start collecting data (database size, connections count, index sizes or so) every day, hour, min or so and then make software to analyze it after a while. Regards, HS