Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UQ2mf-0000l7-Im for pgsql-performance@arkaria.postgresql.org; Wed, 10 Apr 2013 21:42:25 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UQ2mf-0005uu-2n for pgsql-performance@arkaria.postgresql.org; Wed, 10 Apr 2013 21:42:25 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UQ2md-0005tx-LL for pgsql-performance@postgresql.org; Wed, 10 Apr 2013 21:42:23 +0000 Received: from smtp2.peak6.com ([38.98.137.9]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UQ2mY-0006qD-Dy for pgsql-performance@postgresql.org; Wed, 10 Apr 2013 21:42:23 +0000 X-AuditID: 0a02cb20-b7f676d000005340-2d-5165dcb7c77a Received: from sswchi5pcas1.peak6.net (Unknown_Domain [10.100.13.22]) by smtp2.peak6.com (Symantec Messaging Gateway) with SMTP id A6.B3.21312.7BCD5615; Wed, 10 Apr 2013 16:42:16 -0500 (CDT) Received: from [10.10.201.64] (10.10.201.64) by sswchi5pcas1.peak6.net (10.100.13.25) with Microsoft SMTP Server (TLS) id 14.2.247.3; Wed, 10 Apr 2013 16:42:15 -0500 Message-ID: <5165DCB6.9000705@optionshouse.com> Date: Wed, 10 Apr 2013 16:42:14 -0500 From: Shaun Thomas Reply-To: Organization: Peak6 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130308 Thunderbird/17.0.4 MIME-Version: 1.0 To: Tory M Blue CC: "pgsql-performance@postgresql.org" Subject: Re: Postgresql.conf file from like 7.x to 9.2 References: In-Reply-To: Content-Type: text/plain; charset="ISO-8859-1"; format=flowed content-transfer-encoding: 7bit X-Originating-IP: [10.10.201.64] X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupnleLIzCtJLcpLzFFi42LhSuEV091xJzXQYNcSLovrM88xW2ycv5/F gclj56y77B4X9k1jD2CKamC0SczLyy9JLElVSEktTrZV8i8oyczPK/bILy1OVXDJLE7OSczM TS1SUshMsVUyVlIoyElMTs1NzSuxVUosKEjNS1Gy41LAADZAZZl5Cql5yfkpmXnptkqewf66 FhamlrqGSnbxyCChkyVj5f3XTAVd/BX/Z39hbWCcydPFyMkhIWAicePEWkYIW0ziwr31bCC2 kMABRomjXeVdjFxA9kpGiVsT1jKBJHgF9CUOTp0BZrMIqEr8v3USrJlNQFdiUv8KqGYVib6z N8Bq+AWEJfZ9aGIGsUUFwiT2XpjGBjFHUOLkzCcsILaIgJLEm1VPWUFsZgFPiY5Tq8BmCgs4 SGzsusAOMTNAYteZBrBeToFAidOTz7NB1NtKXJhznQXClpfY/nYOM0S9qsSK5olsEI8pSPy/ 8o5pAqPILCSrZyFpn4WkfQEj8ypG8eKyxOSMTLOC4tySAiO9gtTEbDO9vNSSTYygWGc6rbCD cXOP1SFGAQ5GJR7ewrrUQCHWxLLiytxDjBIczEoivFw7gUK8KYmVValF+fFFpTmpxYcYfYBh NpFZSjQ5H5iG8kriDY1NDUwtTQ1NzU0NjXAIK4nzGi6ODBQSSAcmn+zU1ILUIphxTBycUg2M M5bHzJjRN0Prs9o8d6ctx05bL8oIZbhy4F/a9Z28i7ynZ4WtUNvVoiYqF51aW3QtLPWgtGZo suq/5l/dYcwvnE9aLLwb+emds5HT7SMX3XQfCTwUOuNh3Dv53hUFA5aGy/bMPf2iezJ3mHAs Ce79sG9+aGHCmXPHMuvLE8tCE5iCT7Eu/8SjxFKckWioxVxUnAgAcwRsgCIDAAA= X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-performance Precedence: bulk Sender: pgsql-performance-owner@postgresql.org On 04/10/2013 04:25 PM, Tory M Blue wrote: > Is there an easy/clean way to adapt my old config file to the new stuff, > I'm not sure what all has changed, so wondering if I just have to go > line by line and somehow consolidate old to new, area there any tools or > mechanism to do so? Ehhh, at that point, it's probably best to just start over. we took the annotated postgresql.conf and reevaluated each setting and compared it to similar/same settings in our old config. Then we made a file of *just* the stuff we changed, and made that the postgresql.conf, and keep the annotated version around as defaults.conf to use as a reference. That makes it a lot easier to copy between versions or incorporate new/modified settings. Of course, all this will probably be moot when 9.3 comes out, as I believe it has the ability to include configuration fragments. Probably another good opportunity to clean up your configs. We jumped from 8.2 to 9.1 in a single upgrade, so while not quite as wide as going from 7.x to 9.2, you could probably benefit from a reeval. The fundamental settings are pretty much the same, so far as I know. Settings we always change: shared_buffers work_mem maintenance_work_mem default_statistics_target effective_cache_size random_page_cost archive_mode archive_command archive_timeout log_checkpoints log_min_duration_statement Settings we usually tweak: autovacuum_vacuum_scale_factor autovacuum_analyze_scale_factor autovacuum_freeze_max_age Settings that are new, and could assist in setting up streaming or backups: wal_level max_wal_senders People are getting more and more vocal about increasing cpu_tuple_cost, as the default is apparently too low in practice. Everything else? Salt to taste. -- Shaun Thomas OptionsHouse | 141 W. Jackson Blvd. | Suite 500 | Chicago IL, 60604 312-676-8870 sthomas@optionshouse.com ______________________________________________ See http://www.peak6.com/email_disclaimer/ for terms and conditions related to this email -- Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance