Re: bitmap AM design - Mailing list pgsql-hackers

From Tom Lane
Subject Re: bitmap AM design
Date
Msg-id 27279.1109948394@sss.pgh.pa.us
Whole thread Raw
In response to Re: bitmap AM design  (Neil Conway <neilc@samurai.com>)
List pgsql-hackers
Neil Conway <neilc@samurai.com> writes:
> (BTW, is poor concurrency really the biggest issue with hash indexes? If 
> so, there is some low-hanging fruit that I noticed a few years ago, but 
> never got around to fixing: _hash_doinsert() write-locks the hash 
> metapage on every insertion merely to increment a tuple counter. 

Given the short amount of time that lock is held, this wouldn't
win anything worth noticing.  Also, it's not "merely" to increment a
counter --- the counter drives decisions about whether to split buckets,
so any decrease in accuracy would lead directly to losses in overall
performance.

The lack of WAL support is a much bigger issue.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Solving hash table overrun problems
Next
From: Bostjan Potocnik
Date:
Subject: db cluster ?