Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1emj6X-0007XF-2O for pgsql-general@arkaria.postgresql.org; Fri, 16 Feb 2018 16:43:21 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1emj6V-0005Bh-T4 for pgsql-general@arkaria.postgresql.org; Fri, 16 Feb 2018 16:43:19 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1emj6V-00059Y-I9 for pgsql-general@lists.postgresql.org; Fri, 16 Feb 2018 16:43:19 +0000 Received: from [195.159.176.226] (helo=blaine.gmane.org) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1emj6S-0005c9-B8 for pgsql-general@postgresql.org; Fri, 16 Feb 2018 16:43:18 +0000 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1emj3r-0003Ik-GU for pgsql-general@postgresql.org; Fri, 16 Feb 2018 17:40:35 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: pgsql-general@postgresql.org From: Thomas Kellerer Subject: Re: Database health check/auditing Date: Fri, 16 Feb 2018 17:42:27 +0100 Lines: 14 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@blaine.gmane.org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.21) Gecko/20090302 Thunderbird/2.0.0.21 Mnenhy/0.7.5.666 In-Reply-To: Content-Language: de-DE X-Host-Lookup-Failed: Reverse DNS lookup failed for 195.159.176.226 (failed) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk > situation: I have just commenced a DBA and developer role for an > organisation with a number of Postgres databases (9.4 and 9.6 > versions). There has been no dedicated DBA and a number of the databases > were setup by people with little to know Postgres or database > experience. I need to get an overview on what I'm dealing with and start > prioritising what to address first. > > It has been some years since I've done any real work with Postgres. Most > of my technical work over the last 10 years has been with Oracle. I > prefer to use scripts over GUI tools like pgAdmin and suspect that there > is probably some good resources out there with existing scripts I can > use as a starting point. You might want to have a look at OPM: http://opm.io/