Kbase 11791: Limits to -L Locking Table Entries for 63kb-based platforms
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  5/10/1998 |
|
Limits to -L Locking Table Entries for 63kb-based platforms
LOCKING TABLE ENTRIES
The -L option lets you set a locking table entry.
Each record that is share-locked or exclusive-locked by any user takes
one entry. Each entry takes 14 bytes. If a user process tries to
acquire a lock and the lock table overflows, the server is aborted.
The -L option only applies to server startup (proserve). In single
user mode, no lock table is required, because there can't be a
second user trying to update a record.
Note that two record locks are acquired when records accessed with
the BREAK BY option (in a DO, FOR EACH, or REPEAT block). One is
for the record being processed, the other is for a lock on the
index block record for the BREAK group record. Index locks also
occupy space in the lock table.
Because certain operating systems are limited to addressing only 63kb
of data at a time, these platforms (DOS, BTOS, NLM) are
limited to a lock table allocation of only -L 4680.
14 bytes per entry x 4680 = 65,520 bytes required in Lock Table.
64 * 1024 = 65,536 bytes available in a 63kb segment.
The 64th KB is reserved for header information, so only 63KB is
available for lock table information.
Progress Software Technical Support Note # 11791