X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 251F0D1B4F1 for ; Mon, 15 Sep 2003 17:31:03 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 17106-04 for ; Mon, 15 Sep 2003 14:30:31 -0300 (ADT) Received: from wight.ymogen.net (unknown [217.27.240.153]) by svr1.postgresql.org (Postfix) with SMTP id 929D8D1B4E5 for ; Mon, 15 Sep 2003 14:30:29 -0300 (ADT) Received: (qmail 18986 invoked from network); 15 Sep 2003 17:30:13 -0000 Received: from host213-123-217-162.in-addr.btopenworld.com (HELO solent) (213.123.217.162) by wight.ymogen.net with SMTP; 15 Sep 2003 17:30:13 -0000 From: "Matt Clark" To: "Gaetano Mendola" , Subject: Re: Report Generator Proposal Date: Mon, 15 Sep 2003 18:30:18 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal In-Reply-To: <003d01c37b9d$85c1fa30$32add6c2@mm.eutelsat.org> X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200309/255 X-Sequence-Number: 10343 I rather like it actually. Cisco equipment has a 'show tech-support' command that does exactly that, dumps all the config, HW/SW versions, current state, you name it. If you have a problem you run that, attach the output to yr support email, and 99% of the time there's enough info there to solve the problem. It'd be easy to automate all except the explain, a script that did everything else could then emit "If your preoblem relates to a specific query, then run 'explain analyze ' and attach it to your message as well". > -----Original Message----- > From: pgsql-admin-owner@postgresql.org > [mailto:pgsql-admin-owner@postgresql.org]On Behalf Of Gaetano Mendola > Sent: 15 September 2003 16:25 > To: pgsql-admin@postgresql.org > Subject: Re: [ADMIN] Report Generator Proposal > > > Must I suppose that the idea rejected ? > > ----- Original Message ----- > From: ""Gaetano Mendola"" > Newsgroups: comp.databases.postgresql.admin > Sent: Thursday, September 11, 2003 11:52 PM > Subject: Re: Report Generator Proposal > > > > Nobody entusiastic ? I'm wrong about my feeling ? > > I think that have the psql able to generate a report > > will increase the our better response to a user novice > > or not ? > > > > > > Regards > > Gaetano Mendola > > > > ----- Original Message ----- > > From: ""Gaetano Mendola"" > > Newsgroups: comp.databases.postgresql.admin > > Sent: Wednesday, September 10, 2003 4:10 AM > > Subject: Report Generator Proposal > > > > > > > Hi all, > > > each time that someone say: this query is slow, this query take forever, > > bla > > > bla bla > > > all our request are: > > > > > > 1) Which version are you running ? > > > 2) May I see your table definition? > > > 3) May I see you configuration file? > > > 4) May I see the explain ? > > > 5) ....... > > > > > > sometimes a beginner is scared about all these questions and even > > > he/she don't know how do collect these informations and we lose > > > important data about: "why that damn query is too slow"? > > > > > > > > > may be is usefull generate an automatic report that take charge > > > of collect all these informations and send it to a file or directly to > > > pgsql-performance@postgresql.org , may be something like: > > > > > > > > > > BEGIN REPORT TO FILE > > > > SELECT ...... > > > > END REPORT; > > > > > > > > > or > > > > > > > > > > BEGIN REPORT TO EMAIL
> > > > SELECT ...... > > > > END REPORT; > > > > > > > > > > > > Regards > > > Gaetano Mendola > > > > > > > > > > > > > > > > > > ---------------------------(end of broadcast)--------------------------- > > > TIP 8: explain analyze is your friend > > > > > > > > > ---------------------------(end of broadcast)--------------------------- > > TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org > > > > > ---------------------------(end of broadcast)--------------------------- > TIP 8: explain analyze is your friend >