X-Original-To: pgsql-performance-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 260589FB256 for ; Tue, 29 Aug 2006 12:11:19 -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 90120-10 for ; Tue, 29 Aug 2006 12:11:05 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from brmea-mail-4.sun.com (brmea-mail-4.Sun.COM [192.18.98.36]) by postgresql.org (Postfix) with ESMTP id 3A8BC9FB25A for ; Tue, 29 Aug 2006 12:10:58 -0300 (ADT) Received: from fe-amer-06.sun.com ([192.18.108.180]) by brmea-mail-4.sun.com (8.13.6+Sun/8.12.9) with ESMTP id k7TFAwru020923 for ; Tue, 29 Aug 2006 09:10:58 -0600 (MDT) Received: from conversion-daemon.mail-amer.sun.com by mail-amer.sun.com (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) id <0J4R00D01LQRCN00@mail-amer.sun.com> (original mail from J.K.Shah@Sun.COM) for pgsql-performance@postgresql.org; Tue, 29 Aug 2006 09:10:58 -0600 (MDT) Received: from [129.156.85.92] by mail-amer.sun.com (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPSA id <0J4R001CUM68HQC3@mail-amer.sun.com>; Tue, 29 Aug 2006 09:10:58 -0600 (MDT) Date: Tue, 29 Aug 2006 16:10:56 +0100 From: "Jignesh K. Shah" Subject: Re: slow i/o In-reply-to: <8d04ce990608281606r153ed796xcf5d9d3a44d8e632@mail.gmail.com> To: Junaili Lie Cc: pgsql-performance@postgresql.org Message-id: <44F45900.4000702@sun.com> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7BIT X-Accept-Language: en-us, en References: <8d04ce990608281606r153ed796xcf5d9d3a44d8e632@mail.gmail.com> User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050322) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.051 tagged_above=0 required=5 tests=AWL, UNPARSEABLE_RELAY X-Spam-Level: X-Archive-Number: 200608/458 X-Sequence-Number: 20643 Also to answer your real question: DTrace On Solaris 10: # dtrace -s /usr/demo/dtrace/whoio.d It will tell you the pids doing the io activity and on which devices. There are more scripts in that directory like iosnoop.d, iotime.d and others which also will give other details like file accessed, time it took for the io etc. Hope this helps. Regards, Jignesh Junaili Lie wrote: > Hi everyone, > We have a postgresql 8.1 installed on Solaris 10. It is running fine. > However, for the past couple days, we have seen the i/o reports > indicating that the i/o is busy most of the time. Before this, we only > saw i/o being busy occasionally (very rare). So far, there has been no > performance complaints by customers, and the slow query reports doesn't > indicate anything out of the ordinary. > There's no code changes on the applications layer and no database > configuration changes. > I am wondering if there's a tool out there on Solaris to tell which > process is doing most of the i/o activity? > Thank you in advance. > > J >