Re: Slow update SQL

Поиск
Список
Период
Сортировка
От Markus Schaber
Тема Re: Slow update SQL
Дата
Msg-id 43F207A7.1030303@logix-tt.com
обсуждение исходный текст
Ответ на Re: Slow update SQL  (Ken Hill <ken@scottshill.com>)
Список pgsql-sql
Hi, Ken,

Ken Hill wrote:

> Removing the indexes, running the update SQL, and then adding back the
> indexes worked much faster. Thank you for you help.

It might be a good idea to run VACUUM FULL between updating and reindexing.

If you want to CLUSTER on an index, it will be best to create this index
first, then CLUSTER the table, and then recreate the other indices.

HTH,
Markus

-- 
Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf.     | Software Development GIS

Fight against software patents in EU! www.ffii.org www.nosoftwarepatents.org


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

Предыдущее
От: Ken Hill
Дата:
Сообщение: Re: Slow update SQL
Следующее
От: Ken Hill
Дата:
Сообщение: Re: Non Matching Records in Two Tables