Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 70545 invoked from network); 21 Apr 2009 15:06:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Apr 2009 15:06:35 -0000 Received: (qmail 27676 invoked by uid 500); 21 Apr 2009 15:06:33 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 27639 invoked by uid 500); 21 Apr 2009 15:06:33 -0000 Mailing-List: contact jmeter-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "JMeter Users List" Reply-To: "JMeter Users List" Delivered-To: mailing list jmeter-user@jakarta.apache.org Received: (qmail 27613 invoked by uid 99); 21 Apr 2009 15:06:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Apr 2009 15:06:33 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [87.198.172.198] (HELO mail.newbay.com) (87.198.172.198) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Apr 2009 15:06:27 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.newbay.com (Postfix) with ESMTP id 74C911003F4C4; Tue, 21 Apr 2009 16:06:02 +0100 (IST) X-Virus-Scanned: amavisd-new at newbay.com Received: from mail.newbay.com ([127.0.0.1]) by localhost (mail.newbay.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jhPyVMrz2bOK; Tue, 21 Apr 2009 16:06:01 +0100 (IST) Received: from mail01.newbay.com (mail01.newbay.com [192.168.12.25]) by mail.newbay.com (Postfix) with ESMTP id 0A40F1003F4A6; Tue, 21 Apr 2009 16:06:01 +0100 (IST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail01.newbay.com (Postfix) with ESMTP id 0142D7C315; Tue, 21 Apr 2009 16:06:01 +0100 (IST) X-Virus-Scanned: amavisd-new at newbay.com Received: from mail01.newbay.com ([127.0.0.1]) by localhost (mail01.newbay.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jtTSi5EPD1Ov; Tue, 21 Apr 2009 16:06:00 +0100 (IST) Received: from olympia.localnet (unknown [192.168.3.8]) by mail01.newbay.com (Postfix) with ESMTP id 6B1F07C306; Tue, 21 Apr 2009 16:06:00 +0100 (IST) From: "Noel O'Brien" Organization: Newbay Software To: jmeter-user@jakarta.apache.org Subject: Re: Replace JDBC Pool Date: Tue, 21 Apr 2009 16:05:55 +0100 User-Agent: KMail/1.10.4 (Linux/2.6.27-11-generic; KDE/4.1.4; i686; ; ) Cc: sebb References: <200904211541.40692.nobrien@newbay.com> <25aac9fc0904210747w14885a24l552e9d9bc044da22@mail.gmail.com> In-Reply-To: <25aac9fc0904210747w14885a24l552e9d9bc044da22@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="Boundary-00=_UDe7J/eKPOYOy8c" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200904211605.56034.nobrien@newbay.com> X-Virus-Checked: Checked by ClamAV on apache.org --Boundary-00=_UDe7J/eKPOYOy8c Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit On Tuesday 21 April 2009 15:47:16 sebb wrote: > On 21/04/2009, Noel O'Brien wrote: > > Hi All, > > > > I'm seeing some issues with slow INSERT/COMMIT times (about 4sec!) to > > MySQL from our product and would like to recreate the same setup with > > JMeter to rule out certain components (hibernate, DBCP, etc.) > > > > Our product uses DBCP for connection pooling but JMeter uses Avalon if > > I'm not mistaken. Is it an easy task to replace Avalon with DBCP in > > JMeter? > > No, but if you set the JDBC Config Max Number of Connections to 0, it > will use a connection per thread, i.e. no pooling. Interesting, I'll try this to see what the effect is. > I'd like to remove connection pooling altogether from JMeter. > JMeter threads are supposed to be independent users, and users don't > share DB pools. That's a shame, as it pooling was useful in my case to simulate how our product works and to help point towards the DB as a bottleneck. I can see your point thought, from an end-user point of view there's no sharing of DB pools. Maybe it could be left an an option? > > Regards, > > > > Noel > > --------------------------------------------------------------------- > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org --Boundary-00=_UDe7J/eKPOYOy8c--