From: Gaetano Mendola <mendola@bigfoot.com>
To: pgsql-admin@postgresql.org
Cc: \"Matt Clark\" <matt@ymogen.net>
Subject: Re: Report Generator Proposal
Date: Mon, 15 Sep 2003 23:06:13 +0200
Message-ID: <005a01c37bcd$32c131e0$32add6c2@mm.eutelsat.org> (raw)
References: <003d01c37b9d$85c1fa30$32add6c2@mm.eutelsat.org>
<OAEAKHEHCMLBLIDGAFELMEBGDKAA.matt@ymogen.net>
""Matt Clark"" <matt@ymogen.net> wrote:
> 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".
Well, must be charge of psql store somewhere all selects performed
between the BEGIN REPORT and END REPORT and perform
the explain command of that selects with the explain; may be the really
difficult here is that psql
shall know all tables involved in a select and insert in the report the
descriptions of that tables.
Before to work on it I want be sure that is a good idea.
Regards
Gaetano Mendola
> > -----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
>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: mendola@bigfoot.com, matt@ymogen.net
Subject: Re: Report Generator Proposal
In-Reply-To: <005a01c37bcd$32c131e0$32add6c2@mm.eutelsat.org>
References: <003d01c37b9d$85c1fa30$32add6c2@mm.eutelsat.org> <OAEAKHEHCMLBLIDGAFELMEBGDKAA.matt@ymogen.net> <005a01c37bcd$32c131e0$32add6c2@mm.eutelsat.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox