Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id C545A9FBD46 for ; Thu, 19 Jul 2007 22:45:33 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 24557-03 for ; Thu, 19 Jul 2007 22:45:24 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 7ECB29FBB5E for ; Thu, 19 Jul 2007 22:45:30 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.1/8.14.1) with ESMTP id l6K1jQ2B015686; Thu, 19 Jul 2007 21:45:26 -0400 (EDT) To: Josh Berkus cc: pgsql-performance@postgresql.org, Alvaro Herrera Subject: Re: User concurrency thresholding: where do I look? In-reply-to: <200707191819.13899.josh@agliodbs.com> References: <200707190828.59088.josh@agliodbs.com> <20070719173704.GA12084@alvh.no-ip.org> <14009.1184867115@sss.pgh.pa.us> <200707191819.13899.josh@agliodbs.com> Comments: In-reply-to Josh Berkus message dated "Thu, 19 Jul 2007 18:19:13 -0700" Date: Thu, 19 Jul 2007 21:45:26 -0400 Message-ID: <15685.1184895926@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200707/255 X-Sequence-Number: 25939 Josh Berkus writes: >> Josh, what sort of workload is being tested here --- read-mostly, >> write-mostly, a mixture? > It's a TPCC-like workload, so heavy single-row updates, and the > updates/inserts are what's being measured. For that matter, when I've seen > this before it was with heavy-write workloads and we were measuring the > number of updates/inserts and not the number of reads. Well, if the load is a lot of short writing transactions then you'd expect the throughput to depend on how fast stuff can be pushed down to WAL. What have you got wal_buffers set to? Are you using a commit delay? What's the I/O system anyway (any BB write cache on the WAL disk?) and what wal sync method are you using? While I'm asking questions, exactly what were the data columns you presented? Txn/User doesn't make much sense to me, and I'm not sure what "response time" you were measuring either. regards, tom lane