Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 039C99FB45E for ; Fri, 20 Jul 2007 15:56:39 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 01017-10 for ; Fri, 20 Jul 2007 15:56:35 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from brmea-mail-2.sun.com (brmea-mail-2.Sun.COM [192.18.98.43]) by postgresql.org (Postfix) with ESMTP id B996F9FB460 for ; Fri, 20 Jul 2007 15:56:34 -0300 (ADT) Received: from fe-amer-03.sun.com ([192.18.108.177]) by brmea-mail-2.sun.com (8.13.6+Sun/8.12.9) with ESMTP id l6KIuXNC012799 for ; Fri, 20 Jul 2007 18:56:33 GMT Received: from conversion-daemon.mail-amer.sun.com by mail-amer.sun.com (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) id <0JLH00I01R4QNB00@mail-amer.sun.com> (original mail from J.K.Shah@Sun.COM) for pgsql-performance@postgresql.org; Fri, 20 Jul 2007 12:56:33 -0600 (MDT) Received: from [129.148.9.17] by mail-amer.sun.com (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPSA id <0JLH00IS2RA7C6W0@mail-amer.sun.com>; Fri, 20 Jul 2007 12:56:33 -0600 (MDT) Date: Fri, 20 Jul 2007 14:56:31 -0400 From: "Jignesh K. Shah" Subject: Re: User concurrency thresholding: where do I look? In-reply-to: <12002.1184955831@sss.pgh.pa.us> To: Tom Lane Cc: Josh Berkus , pgsql-performance@postgresql.org, Alvaro Herrera Message-id: <46A1055F.9010304@sun.com> Organization: Sun Microsystems MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7BIT References: <200707190828.59088.josh@agliodbs.com> <200707191819.13899.josh@agliodbs.com> <15685.1184895926@sss.pgh.pa.us> <200707192138.39679.josh@agliodbs.com> <46A0FA31.2080208@sun.com> <12002.1184955831@sss.pgh.pa.us> User-Agent: Thunderbird 1.5.0.8 (X11/20061110) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200707/271 X-Sequence-Number: 25955 Yes I did see increase in context switches and CPU migrations at that point using mpstat. Regards, Jignesh Tom Lane wrote: > "Jignesh K. Shah" writes: > >> There are no hard failures reported anywhere. Log min durations does >> show that queries are now slowing down and taking longer. >> OS is not swapping and also eliminated IO by putting the whole database >> on /tmp >> > > Hmm. Do you see any evidence of a context swap storm (ie, a drastic > increase in the context swaps/second reading reported by vmstat)? > > regards, tom lane > > ---------------------------(end of broadcast)--------------------------- > TIP 9: In versions below 8.0, the planner will ignore your desire to > choose an index scan if your joining column's datatypes do not > match >