X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id E17D352BA4 for ; Tue, 12 Jul 2005 18:15:51 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 95953-03 for ; Tue, 12 Jul 2005 21:15:40 +0000 (GMT) Received: from svr2.postgresql.org (svr2.postgresql.org [65.19.161.25]) by svr1.postgresql.org (Postfix) with ESMTP id E9DCF52BD2 for ; Tue, 12 Jul 2005 18:07:47 -0300 (ADT) Received: from web33902.mail.mud.yahoo.com (web33902.mail.mud.yahoo.com [66.163.178.66]) by svr2.postgresql.org (Postfix) with SMTP id C91E1F1178 for ; Tue, 12 Jul 2005 07:19:54 +0100 (BST) Received: (qmail 37245 invoked by uid 60001); 12 Jul 2005 06:22:47 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=uL5maoKeM37Pkbe400pZ+/EUX/fumpdAJmRhtvmRL9BuZCujG1RTNMW9SeSa53aI1c9Ilfi7dhr3rNuTvUDKzgGp4Df/sOea9j2N5GGnxhuLeoP82evkGryU9K7GIcDeySPxnmz0aCR4c2FR1/xHTOR8DX77U5JuF5aSxjWqEts= ; Message-ID: <20050712062247.37243.qmail@web33902.mail.mud.yahoo.com> Received: from [67.106.37.5] by web33902.mail.mud.yahoo.com via HTTP; Mon, 11 Jul 2005 23:22:47 PDT Date: Mon, 11 Jul 2005 23:22:47 -0700 (PDT) From: Brent Henry Subject: General DB Tuning To: pgsql-performance@postgresql.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=2.174 tagged_above=0 required=5 tests=FORGED_YAHOO_RCVD X-Spam-Level: ** X-Archive-Number: 200507/125 X-Sequence-Number: 13366 Help! After recently migrating to Postgres 8, I've discovered to my horror that I can't determine which queries are poorly performing anymore because the logging has drastically changed and no longer shows durations for anything done through JDBC. So I'm desperately trying to do performance tuning on my servers and have no way to sort out which statements are the slowest. Does anyone have any suggestions? How do you determine what queries are behaving badly when you can't get durations out of the logs? I have a perl script that analyzes the output from Postgres 7 logs and it works great! But it relies on the duration being there. I did some searches on postgresql.org mailing lists and have seen a few people discussing this problem, but noone seems to be too worried about it. Is there a simple work-around? Sincerely, Brent ____________________________________________________ Sell on Yahoo! Auctions – no fees. Bid on great items. http://auctions.yahoo.com/