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 C30AED1B4F2 for ; Tue, 16 Sep 2003 06:15:08 +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 22472-09 for ; Tue, 16 Sep 2003 03:14:37 -0300 (ADT) Received: from capitular.tissat.es (capitular.tissat.es [195.77.30.34]) by svr1.postgresql.org (Postfix) with ESMTP id 7D2CFD1B4EB for ; Tue, 16 Sep 2003 03:14:34 -0300 (ADT) Received: from tissat.es ([62.22.156.122]) by capitular.tissat.es (Netscape Messaging Server 3.6) with ESMTP id AAAD5F for ; Tue, 16 Sep 2003 08:14:32 +0200 Message-ID: <3F66AA3C.4060502@tissat.es> Date: Tue, 16 Sep 2003 08:14:20 +0200 From: "skennedy" Reply-To: skennedy@tissat.es Organization: Tissat User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: Re: Report Generator Proposal References: Content-Type: multipart/alternative; boundary="------------000108020000030608030604" X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200309/259 X-Sequence-Number: 10347 --------------000108020000030608030604 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Oracle have something similar: RDA which generates HTML reports for the hardware, SO, and database. It doesn't do explains but does show which SQLs are the most expensive, etc. It could be worth having a look at that for ideas on what and how to report it. Stephen. Somasekhar Bangalore wrote: >Sounds good ...it will save lot of emails floating around and time.. > >Regards, >Somasekhar Bangalore >Principal Software Engineer >ZenSutra Software Technologies Pvt. Ltd. >Suite 601, HM Geneva House >#14, Cunningham Road >Bangalore 560-052, India > >Ph:+91-80-235-0481 >Fax:+91-80-235-0486 >Email: sbangalore@zensutra.com > >Weaving the knowledge tapestry' > > >-----Original Message----- >From: Matt Clark [mailto:matt@ymogen.net] >Sent: Monday, September 15, 2003 11:00 PM >To: Gaetano Mendola; pgsql-admin@postgresql.org >Subject: Re: [ADMIN] Report Generator Proposal > > >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 >> >> >> > > > >---------------------------(end of broadcast)--------------------------- >TIP 9: the planner will ignore your desire to choose an index scan if your > joining column's datatypes do not match > > >---------------------------(end of broadcast)--------------------------- >TIP 6: Have you searched our list archives? > > http://archives.postgresql.org > > > --------------000108020000030608030604 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Oracle have something similar: RDA which generates  HTML reports for the hardware, SO, and database.
It doesn't do explains but does show which SQLs are the most expensive, etc.

It could be worth having a look at that for ideas on what and how to report it.

Stephen.

Somasekhar Bangalore wrote:
Sounds good ...it will save lot of emails floating around and time..

Regards, 
Somasekhar Bangalore
Principal Software Engineer 
ZenSutra Software Technologies Pvt. Ltd.
Suite 601, HM Geneva House
#14, Cunningham Road 
Bangalore 560-052, India

Ph:+91-80-235-0481
Fax:+91-80-235-0486
Email: sbangalore@zensutra.com 

Weaving the knowledge tapestry' 


-----Original Message-----
From: Matt Clark [mailto:matt@ymogen.net]
Sent: Monday, September 15, 2003 11:00 PM
To: Gaetano Mendola; pgsql-admin@postgresql.org
Subject: Re: [ADMIN] Report Generator Proposal


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 <query>' 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"" <mendola@bigfoot.com>
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"" <mendola@bigfoot.com>
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 <file_name>
SELECT ......
END REPORT;
          
or


        
BEGIN REPORT TO EMAIL <address>
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

    



---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
      joining column's datatypes do not match


---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

               http://archives.postgresql.org

  

--------------000108020000030608030604--