X-Original-To: pgsql-jdbc-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id B84A39FB2D4 for ; Thu, 24 Aug 2006 00:03:47 -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 12180-07 for ; Thu, 24 Aug 2006 00:03:44 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from web32003.mail.mud.yahoo.com (web32003.mail.mud.yahoo.com [68.142.207.100]) by postgresql.org (Postfix) with SMTP id 3D27B9FB285 for ; Thu, 24 Aug 2006 00:03:43 -0300 (ADT) Received: (qmail 82520 invoked by uid 60001); 24 Aug 2006 03:03:42 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=IXL5nW8sd5EB3Y4rr6A47TeLNWEuAvA5uDhb3/+M1wKfxU1tb7mqi4RkAVMzBlXtNtv3AfcM/tQd9ZVd2LwVUA5lZlbcfOOp7/P6Zc0MsGMvCr+OlYRoBmkTVj1FYF4UKJ4aWEytvd6yR+FqdxtgI2mZ+wZCLui7RT+73Gf+hn4= ; Message-ID: <20060824030342.82518.qmail@web32003.mail.mud.yahoo.com> Received: from [70.110.240.244] by web32003.mail.mud.yahoo.com via HTTP; Wed, 23 Aug 2006 20:03:42 PDT Date: Wed, 23 Aug 2006 20:03:42 -0700 (PDT) From: "j.random.programmer" Subject: Re: Some more profiling hotspots To: Oliver Jowett Cc: pgsql-jdbc@postgresql.org In-Reply-To: <44ECD22D.8080407@opencloud.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=3.355 tagged_above=0 required=5 tests=DNS_FROM_RFC_ABUSE, DNS_FROM_RFC_POST, DNS_FROM_RFC_WHOIS X-Spam-Level: *** X-Archive-Number: 200608/111 X-Sequence-Number: 15638 Oliver: > j.random.programmer wrote: > > As per my previous email, the biggest JDBC driver > > bottleneck is in: > Just some PreparedStatements to get data from the databa, run under JProfiler. JProfiler really rocks (I have no financial interest in the company, just a very satisfied user, its waaay better than JProbe/OptimizeIt used to be, many years ago). At the core, the code simply uses connections are pooled. I consistently get very high usage, via new string creation in the: org.postgresql.core.Encoding.decode method. If you don't have JProfiler yourself, I'd be happy to profile any other code you want to send my way. Of course, I should try to grok the driver code and post a patch but that's probably beyond my ability... :-) Best regards, --j __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com