Skip site navigation (1) Skip section navigation (2)

Re: Fwd: How does the partitioned lock manager works?

From: Heikki Linnakangas <heikki(at)enterprisedb(dot)com>
To: Cui Shijun <rancpine(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Fwd: How does the partitioned lock manager works?
Date: 2007-04-28 09:37:32
Message-ID: 463315DC.50108@enterprisedb.com (view raw or flat)
Thread:
Lists: pgsql-hackers
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
> chains",
> 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.

-- 
   Heikki Linnakangas
   EnterpriseDB   http://www.enterprisedb.com

In response to

pgsql-hackers by date

Next:From: Simon RiggsDate: 2007-04-28 10:13:19
Subject: Re: Avoiding unnecessary reads in recovery
Previous:From: Cui ShijunDate: 2007-04-28 09:25:18
Subject: Re: Fwd: How does the partitioned lock manager works?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group