pg.ddx.io pgsql-admin@postgresql.org mailing list archivehelp / color / mirror / Atom feed
From: Suresh Borse <s.borse@direction.biz>
To: Julius Tuskenis <julius@nsoft.lt>
Cc: pgsql-admin@postgresql.org
Subject: Re: query optimization
Date: Thu, 10 Jul 2008 15:15:44 +0530
Message-ID: <1215683144.2113.35.camel@dss-052.dsslp.com> (raw)
In-Reply-To: <4875D589.1030107@nsoft.lt>
References: <1215680493.2113.26.camel@dss-052.dsslp.com>
<4875D589.1030107@nsoft.lt>
Good Afternoon !!!
The view executes very faster for the first time.
When I execute the view again and again suddenly it gets slow or it gets
hang.
I have also traced the query plan but it changes for each execution.Can
we fix the query plan.
I have also tested the view on my test machine but the result was same.
The view contains multi-table joins.
Warm Regards,
Suresh Borse
On Thu, 2008-07-10 at 12:25 +0300, Julius Tuskenis wrote:
> Hello, Suresh
>
> Maybe its taking long for the first time, and then its faster? Did you
> noticed any circumstances under witch your query takes longer to execute?
>
>
> Suresh Borse rašė:
> > Dear All,
> >
> > I am facing very strange problem in postgres while executing the view.
> >
> > When I execute the view some times it takes few milliseconds,
> > sometimes it take several seconds and some times doesn't execute.
> >
> > I tried to troubleshoot using the explain plan method. But explain
> > plan also changes for each execution.
> >
> > Can anybody help me for troubleshooting and for resolving the
> > performance issue.
> >
> >
> > Thanks & Regards,
> > Suresh Borse
> >
> >
>
>
view thread (6+ messages) latest in thread
Message-ID: <1215683144.2113.35.camel@dss-052.dsslp.com> Permalink: ../1215683144.2113.35.camel@dss-052.dsslp.com/ Also on: postgresql.org/message-id/1215683144.2113.35.camel@dss-052.dsslp.com ·
reply
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 using the --to and --cc options: reply via email To: pgsql-admin@postgresql.org Cc: s.borse@direction.biz, julius@nsoft.lt Subject: Re: query optimization In-Reply-To: <1215683144.2113.35.camel@dss-052.dsslp.com> * 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