Re: Can anyone explain this: duplicate dbs.

Поиск
Список
Период
Сортировка
Искать
От
Christopher Kings-Lynne
Тема
Re: Can anyone explain this: duplicate dbs.
Дата
в 00:00:25
Msg-id
4293EA66.3070401@familyhealth.com.au
Ответ на
Список
Дерево обсуждения
Can anyone explain this: duplicate dbs. "SpaceBallOne" <space_ball_one@hotmail.com>
Re: Can anyone explain this: duplicate dbs. Christopher Kings-Lynne <chriskl@familyhealth.com.au>
Re: Can anyone explain this: duplicate dbs. Christopher Kings-Lynne <chriskl@familyhealth.com.au>
Re: Can anyone explain this: duplicate dbs. Tom Lane <tgl@sss.pgh.pa.us>
Re: Can anyone explain this: duplicate dbs. John A Meinel <john@arbash-meinel.com>
Re: Can anyone explain this: duplicate dbs. Bruno Wolff III <bruno@wolff.to>
Re: Can anyone explain this: duplicate dbs. Tom Lane <tgl@sss.pgh.pa.us>
> 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
Дата:
От: John A Meinel
Дата:
FAQ