Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WCWWz-0006Gg-J4 for pgsql-performance@arkaria.postgresql.org; Sun, 09 Feb 2014 15:42:53 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WCWWx-0000Ho-Kv for pgsql-performance@arkaria.postgresql.org; Sun, 09 Feb 2014 15:42:51 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WCWWw-0000Hf-Gj for pgsql-performance@postgresql.org; Sun, 09 Feb 2014 15:42:50 +0000 Received: from mail.gransy.com ([2001:1528:137::f1]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WCWWo-000883-Iq for pgsql-performance@postgresql.org; Sun, 09 Feb 2014 15:42:49 +0000 Received: from antispam.gransy.com (antispam.gransy.com [77.78.104.124]) by mail.gransy.com (Postfix) with ESMTP id 2FDBA508D58 for ; Sun, 9 Feb 2014 16:42:38 +0100 (CET) X-Virus-Scanned: G-Hosting.cz + Station.cz + Klenot.cz + Subreg.cz amavisd-new at antispam.gransy.com Received: from mail.gransy.com ([82.208.29.194]) by antispam.gransy.com (antispam.gransy.com [77.78.104.124]) (amavisd-new, port 10024) with ESMTP id 63cJIx2a3YzR for ; Sun, 9 Feb 2014 16:42:47 +0100 (CET) Received: from [192.168.1.227] (ip-78-45-139-138.net.upcbroadband.cz [78.45.139.138]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: tv@fuzzy.cz) by mail.gransy.com (Postfix) with ESMTPSA id 9F0BF508D52 for ; Sun, 9 Feb 2014 16:42:37 +0100 (CET) Message-ID: <52F7A1ED.1050701@fuzzy.cz> Date: Sun, 09 Feb 2014 16:42:37 +0100 From: Tomas Vondra User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.1 MIME-Version: 1.0 To: pgsql-performance@postgresql.org Subject: Re: Performance Benchmarking for data-warehousing instance? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 Hi, On 8.2.2014 07:41, Huy Nguyen wrote: > Do you happen to have a link to it? Though I think different machine > specs should yield different optimal postgresql.conf. An optimal configuration is not just about machine specs, it's about the workload and application configuration too. So there's no benchmark that would give you the best config for your application. > I'm looking for a hand-crafted set of data + queries tailored for OLAP > so that I can try to manually tweak one config at a time and run against > the benchmark. I think using pgtune is the best starting point you can get, and you may tweak it based on your actual workload. If you can prepare a sample of the workload (i.e. a representative amount of data) and run a set of actual queries (generated by the application), that'd be an excellent situation. > I might considering creating one if no one has done it before. So how exactly is that going to work? There's an benchmark for this, called TPC-H [1], but again - this is just a model of how a DWH/DSS application may look like. I've spent a lot of time working with it a while ago (see [2]), and IMHO the values recommended by pgtune are quite fine. [1] http://www.tpc.org/tpch/default.asp [2] http://www.fuzzy.cz/en/articles/dss-tpc-h-benchmark-with-postgresql/ regards Tomas -- Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance