Re: GIN fast insert - Mailing list pgsql-hackers

From Teodor Sigaev
Subject Re: GIN fast insert
Date
Msg-id 49931D32.5090101@sigaev.ru
Whole thread Raw
In response to Re: GIN fast insert  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: GIN fast insert  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Robert Haas wrote:
>> I believe that user could get GIN's error about work_mem only intentionally:
>> - turn off autovacuum
> Meanwhile, in the other thread, we're having a discussion about people
> wanting to do exactly this on a database-wide basis during peak load
> hours...
>> - decrease work_mem for at least ten times
>> - execute query
> Why would the new work_mem need to be 10x smaller than the old work mem?

That is is way to get GIN's error emitted. Work_mem should be decreased 
to catch a chance to get lossy tidbitmap.


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: A deprecation policy
Next
From: Gianni Ciolli
Date:
Subject: Re: HotStandby vs. flatfile updates