Re: Running update in chunks?
Tim Uckun <timuckun@gmail.com>
From: Tim Uckun <timuckun@gmail.com>
To: Richard Huxton <dev@archonet.com>
Cc: Jeff Janes <jeff.janes@gmail.com>, Kevin Grittner <kgrittn@mail.com>, "pgsql-general@postgresql.org" <pgsql-general@postgresql.org>
Date: 2013-01-25T11:38:53Z
Lists: 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.