Re: Running update in chunks?

Поиск
Список
Период
Сортировка
От Tim Uckun
Тема Re: Running update in chunks?
Дата
Msg-id CAGuHJrMHd+EACfUzbUuhHZs=wQzNbiQYyTLMBi8yQ=JAW4wLHQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Running update in chunks?  (Richard Huxton <dev@archonet.com>)
Ответы Re: Running update in chunks?
Re: Running update in chunks?
Re: Running update in chunks?
Re: Running update in chunks?
Re: Running update in chunks?
Список pgsql-general
>
> That suggests (to me, at least) that it is related to index updating. Again,
> your GIN index seems primary candidate.
>
> Try running iostat (I think that's available on a Mac) with/without the
> fillfactor and with/without the GIN index while you do the updates. It's
> possible your SSD is just behaving oddly under stress.
>


I dropped the index and the numbers shot up tenfold or more.  I don't
know why postgres feels the need to update the GIN index on the hstore
field when I am only updating an integer field but it looks like I
need to split the hstore into a different table.


--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


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

Предыдущее
От: Jan Strube
Дата:
Сообщение: Prevent out of memory errors by reducing work_mem?
Следующее
От: Scott Marlowe
Дата:
Сообщение: Re: seeking SQL book recommendation