Re: Fwd: [HACKERS] How does the partitioned lock manager works?

2007-04-27 Thread rancpine cui
2007/4/27, Alvaro Herrera <[EMAIL PROTECTED]>: Which hash is used depends on the partition number. So the method of calculating the bucket number can promise that all items in the bucket link list belong to ONE partition?

Fwd: [HACKERS] How does the partitioned lock manager works?

2007-04-27 Thread rancpine cui
-- Forwarded message -- From: rancpine cui <[EMAIL PROTECTED]> Date: 2007-4-27 下午9:22 Subject: Re: [HACKERS] How does the partitioned lock manager works? To: Heikki Linnakangas <[EMAIL PROTECTED]> Thanks for your reply. :-) I've seen from the README that "

[HACKERS] How does the partitioned lock manager works?

2007-04-27 Thread rancpine cui
Hi, When the lock manager's data structures were split into "partitions", how many such data structures can one partition control? Since we use LOCKTAG's hash value to decide the partition which the lock should in, can all locks be split into ONE partition? Regards, ranc.

pgsql-hackers@postgresql.org

2007-04-22 Thread rancpine cui
Hello I am confused about the ideas of "session"&"backend"&"process" when I read the lmgr part of source code. What's the difference among them? Thanks, Ranc.