Re: slow query performance

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: slow query performance
Дата
Msg-id 20031103031211.GI20819@dcc.uchile.cl
обсуждение исходный текст
Ответ на Re: slow query performance  (Mark Kirkwood <markir@paradise.net.nz>)
Список pgsql-general
On Sat, Nov 01, 2003 at 10:18:14AM +1300, Mark Kirkwood wrote:
>
> Dave Weaver wrote:
>
> >>- clustering the "obs" table on "station"
> >
> >Sorry, I don't understand what you mean by this - can you explain?

> Supposing obs_pkey is on (station, valid_time):
>
> cluster obs_pkey on obs

Be aware that doing this on the 7.1.3 version you are running will drop
the other indexes on the table, and some other metadata about it (grants,
inheritance, foreign key relationships IIRC).

--
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"Coge la flor que hoy nace alegre, ufana. ¿Quién sabe si nacera otra mañana?"

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

Предыдущее
От: Ron St-Pierre
Дата:
Сообщение: Re: Constraint Problem
Следующее
От: CY
Дата:
Сообщение: Please help