Re: [GENERAL] Slow GIN indexes after bulk insert

2016-03-21 Thread Chris Spencer
Thanks for the tips. What constitutes a "large" work_mem? My server has 61GB of memory and my work_mem is currently set to include all of that. What percent of my total memory should I lower that to so it won't impact GIN updates? On Mon, Mar 21, 2016 at 2:27 PM, Tom Lane w

[GENERAL] Slow GIN indexes after bulk insert

2016-03-21 Thread Chris Spencer
I have 5 GIN indexes on a PG 9.3 table containing about 50 million records. Each index covers a "group" of common records like billing address, shipping address, contact names, etc. When first created, the indexes works miracles in speeding up the full text search of these fields. However, I'm run