Cui Shijun wrote:
> As the insertion algorithm described, a specific partition lock manage some
> items, but these items can be stored in anywhere of the hash table,not
> necessarily in a bucket chain.
> So there are some problems with "different partitions use different hash
> a partition can use different hash chains,too. Am I right?
No, you're still confused. Each bucket in the hash table is a chain.
Each chain can have 0, 1, or more items.
I'd suggest that you study how the normal non-partitioned hash tables
work first. The partitioning is a straightforward extension of that.
In response to
pgsql-hackers by date
|Next:||From: Simon Riggs||Date: 2007-04-28 10:13:19|
|Subject: Re: Avoiding unnecessary reads in recovery|
|Previous:||From: Cui Shijun||Date: 2007-04-28 09:25:18|
|Subject: Re: Fwd: How does the partitioned lock manager works?|