Subject | Re: [firebird-support] Re: Active transactions (benchmark results - updated) |
---|---|
Author | Ann W. Harrison |
Post date | 2005-10-18T19:00:24Z |
k_smith_000 wrote:
version is that the Firebird lock manager locates resources through a
hash lookup on the object name. The name is transformed through a hash
function into one of n values, where n is the number of hash slots. The
object is then added to a linked list called a hash chain for that slot
values. If you have m objects, the average length of a chain is m/n.
configuration parameter, not until it fills all of memory.
Regards,
Ann
> #Ah. Check here: www.ibdeveloper.com for a full explanation. The short
> # Tune lock hash list; more hash slots mean shorter hash chains.
> I don't get this :(
version is that the Firebird lock manager locates resources through a
hash lookup on the object name. The name is transformed through a hash
function into one of n values, where n is the number of hash slots. The
object is then added to a linked list called a hash chain for that slot
values. If you have m objects, the average length of a chain is m/n.
> #LockHashSlots = 101Often, and with considerable effect.
> Has anyone played with this parameter?
> "In Classic mode, the size given is used for the initial allocation.That's misleading. The table expands up to the limit set by the
> The table expands dynamically up to the limit of memory."
> I'm using CS so this one is not for me;)
configuration parameter, not until it fills all of memory.
Regards,
Ann