Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id B7B5F476C3C for ; Thu, 16 Jan 2003 13:56:34 -0500 (EST) Received: from web12907.mail.yahoo.com (web12907.mail.yahoo.com [216.136.174.74]) by postgresql.org (Postfix) with SMTP id 416BB4770CD for ; Thu, 16 Jan 2003 13:53:26 -0500 (EST) Message-ID: <20030116185326.56917.qmail@web12907.mail.yahoo.com> Received: from [67.95.85.66] by web12907.mail.yahoo.com via HTTP; Thu, 16 Jan 2003 10:53:26 PST Date: Thu, 16 Jan 2003 10:53:26 -0800 (PST) From: "King_Henree@yahoo.com" Subject: Determining DML is used most??? To: pgsql-admin@postgresql.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200301/175 X-Sequence-Number: 7017 Hello All, I am using Java J2EE with CMP 2.0 with finders and selectors with a JBoss 3.0.4 application server and would like to determine which queries and other DML are being executed the most. I have thought about setting up triggers to execute and populate a table with that information every time a DML statement is ran, but that does not solve the problem of determining which SELECT statements are being run most. Does anyone have any solutions for this? Thanks. __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com