Re: Can anyone explain this: duplicate dbs.

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема Re: Can anyone explain this: duplicate dbs.
Дата
Msg-id 4293EA66.3070401@familyhealth.com.au
обсуждение исходный текст
Ответ на Re: Can anyone explain this: duplicate dbs.  ("SpaceBallOne" <space_ball_one@hotmail.com>)
Список pgsql-performance
> Would CLUSTER / REINDEX still have an effect if our queries were done
> via sequential scan?

SELECTS don't write to the database, so they have no effect at all on
vacuuming/analyzing.  You only need to worry about that with writes.

> This is a old database (as in built by me when i
> was just starting to learn unix / postgres) so the database design is
> pretty horrible (little normalisation, no indexes).

No indexes?  Bloody hell :D

Use EXPLAIN ANALYZE SELECT ... ; on all of your selects to see where
they are slow and where you can add indexes...

Chris

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

Предыдущее
От: "SpaceBallOne"
Дата:
Сообщение: Re: Can anyone explain this: duplicate dbs.
Следующее
От: John A Meinel
Дата:
Сообщение: Re: Can anyone explain this: duplicate dbs.