Re: Identical Queries

Поиск
Список
Период
Сортировка
От Rob Schall
Тема Re: Identical Queries
Дата
Msg-id 45E73DA5.40808@callone.net
обсуждение исходный текст
Ответ на Re: Identical Queries  (Stephan Szabo <sszabo@megazone.bigpanda.com>)
Ответы Re: Identical Queries  ("Chad Wagner" <chad.wagner@gmail.com>)
Re: Identical Queries  (Stephan Szabo <sszabo@megazone.bigpanda.com>)
Re: Identical Queries  ("Craig A. James" <cjames@modgraph-usa.com>)
Список pgsql-performance
There are 4 entries (wanted to make the playing field level for this
test). There are 2 with true for istf and 2 with false.

Rob


Stephan Szabo wrote:
> On Thu, 1 Mar 2007, Rob Schall wrote:
>
>
>> Question for anyone...
>>
>> I tried posting to the bugs, and they said this is a better question for here.
>> I have to queries. One runs in about 2 seconds. The other takes upwards
>> of 2 minutes. I have a temp table that is created with 2 columns. This
>> table is joined with the larger database of call detail records.
>> However, these 2 queries are handled very differently.
>>
>
> How many rows are there in anitmp and how many rows in anitmp have
> istf=true and how many have istf=false? If you don't currently analyze the
> temp table after adding the rows, you might find that doing an analyze
> helps, or at least makes the row estimates better.
>


В списке pgsql-performance по дате отправления:

Предыдущее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: strange performance regression between 7.4 and 8.1
Следующее
От: Jeff Frost
Дата:
Сообщение: Re: strange performance regression between 7.4 and 8.1