update on a large table

Поиск
Список
Период
Сортировка
От Aaron Held
Тема update on a large table
Дата
Msg-id 1633.66.108.80.175.1029013291.squirrel@metrony.com
обсуждение исходный текст
Ответ на Re: Table Sorting and Limit Question  (Dawn Hollingsworth <dmh@airdefense.net>)
Список pgsql-sql
I need to do an UPDATE on a large (100 million record) table.  Is there
any way to speed up the process (Like turning off the transaction log)?

So far postgres has been handling the large database exceptionally well
(large \copy imports and WHERE clauses w/ multiple params) but it is
killing me on UPDATES.  It takes about 4 hours to run an UPDATE (the WHERE
clause is against an INDEX) but about 50 sec for a similar SELECT.

Thank You,
-Aaron Held




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

Предыдущее
От: "Josh Berkus"
Дата:
Сообщение: Re: getting ILIKE or ~* to use indexes....
Следующее
От:
Дата:
Сообщение: Re: getting ILIKE or ~* to use indexes....