Re: Poor Performance on Postgres 8.0

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Poor Performance on Postgres 8.0
Дата
Msg-id 8990.1106931750@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Poor Performance on Postgres 8.0  (Pallav Kalva <pkalva@deg.cc>)
Ответы Re: Poor Performance on Postgres 8.0  (Pallav Kalva <pkalva@deg.cc>)
Список pgsql-performance
Pallav Kalva <pkalva@deg.cc> writes:
>> begin;
>> alter table common.string drop constraint pk_string_stringid;
>> explain analyze ... same query ...
>> rollback;
>>
>        what do u mean by rollback exactly ? i can drop the pk constraint
> and run explain analyze and see how it behaves.

The point of the rollback is that you don't really make the pk
constraint go away.  It is gone from the perspective of the EXPLAIN,
but after you rollback it's back again.  Easier than rebuilding it...

            regards, tom lane

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

Предыдущее
От: Pallav Kalva
Дата:
Сообщение: Re: Poor Performance on Postgres 8.0
Следующее
От: PFC
Дата:
Сообщение: Re: Bitmap indexes