X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id EC4E29FA255 for ; Mon, 1 May 2006 05:13:42 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 49941-02 for ; Mon, 1 May 2006 05:13:13 -0300 (ADT) X-Greylist: delayed 00:06:40.757305 by SQLgrey- Received: from relay02.pair.com (relay02.pair.com [209.68.5.16]) by postgresql.org (Postfix) with SMTP id 247759FB1BF for ; Mon, 1 May 2006 05:12:30 -0300 (ADT) Received: (qmail 28062 invoked from network); 1 May 2006 08:05:47 -0000 Received: from unknown (HELO ?192.168.1.100?) (unknown) by unknown with SMTP; 1 May 2006 08:05:47 -0000 X-pair-Authenticated: 68.79.13.249 Mime-Version: 1.0 (Apple Message framework v749.3) Content-Transfer-Encoding: 7bit Message-Id: <92F10BE1-B193-4EEA-877A-9260B55C2844@mindspring.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: pgsql-performance@postgresql.org From: Scott Sipe Subject: Super-smack? Date: Mon, 1 May 2006 03:05:54 -0500 X-Mailer: Apple Mail (2.749.3) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200605/1 X-Sequence-Number: 18788 I've been attempting to tweak performance on a FreeBSD 6 server I'm running that has both Postgresql 8.1 and Mysql 4.1 running simultaneously. To attempt to gauge performance I was directed to the super-smack (http://vegan.net/tony/supersmack/) benchmark. Testing gave results that showed mysql far outperforming postgresql in select and update tests, in factors of roughly 6-7x in terms of queries per second (running stock configurations--I was able to improve mysql performance a good amount with playing with the config file settings, though I couldn't make any change in postgresql performance. I DID increase shmmin shmmax and semmap during the course of testing). So, my question is, before I do any further digging, is super-smack flawed? It's very possibile I'm doing something stupid with the execution of the benchmark too, but as I said, I just wanted to see if anyone else had used super-smack, or had comments? I'm glad to post system specs, configs, etc, if anyone is interested. Alternatively, would anyone recommend any other benchmarks to run? thanks much, Scott I also wanted to make clear I didn't want to turn this into a mysql vs postgresql discussion, as I much prefer postgresql.