Re: Problem with collector statistic

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Marco Aurélio V(dot) da Silva <marcoprodata(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Problem with collector statistic
Date: 2007-12-19 17:09:27
Message-ID: 24358.1198084167@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"=?iso-8859-1?Q?Marco_Aur=E9lio_V._da_Silva?=" <marcoprodata(at)gmail(dot)com> writes:
> Running a query on 2 database-equal, with the same indices, but with
> slightly different data, I have a very different result of performance. In
> one the index is used to make the join, in another it is seqscan.

The fact that one explain includes a Limit step, and the other does not,
says that you are not really issuing the same query in both cases.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Sean Z. 2007-12-19 17:12:34 Deploy postgres - upgrade strategy
Previous Message Tom Lane 2007-12-19 17:01:17 Re: Getting char * from timestamp in a composite type