VMS 7.3 No Query Record Locking
Chris Sharman
Chris.Sharman@ccagroup.co.uk
Fri, 18 May 2001 14:55:48 +0100
VMS, so those disinterested please skip now.
VMS V7.3 (shipping) includes various RMS performance enhancements, which I
believe could give us significant performance improvements.
One interesting one is 'No query locking' which can "be enabled externally,
potentially without any application change".
To be specific: if the application (eg Quiz) uses both of the existing RMS
flags RAB$V_NLK (no lock) and RAB$V_RRL (read regardless of lock), it will
now be possible to avoid record locking altogether, on either a per-process
or system-wide basis. Earlier versions of VMS probe the lock in order to
appropriately return either normal success or 'OK_RRL' (or OK_RLK). This lock
probe carries overhead comparable to locking. This overhead may be avoided
under VMS 7.3 (and it won't know to return OK_RRL or OK_RLK).
My question therefore is:
Do Quiz (& Quick & QTP for readonly files) use either or both of the NLK &
RRL flags ? As far as I can tell, 7.10G3 Quiz just uses read-ahead (& write
behind, which is meaningless). Is 8.30 (due July??) the same ?
If not, could a patch be released ? (ideally back to PH 7.10 or earlier, of
course). Or perhaps select one or other behaviour via a logical, program
parameter, or sitehook.
Setting the new NQL bits would obviously be incompatible with VMS 7.2 &
earlier, and is therefore a non-starter, but setting NLK+RRL which have been
there forever, afaik, would create no compatibility issues.
My Quiz reports presently spend a lot of time in kernel mode, which I can
only put down to locking, and which would therefore be eliminated by this.
Regards,
Chris
_______________________________________________________________________
Chris.Sharman@CCAgroup.co.uk http://www.ccagroup.co.uk/
CCA Stationery Ltd, Eastway, Fulwood, Preston, Lancashire, PR2 9WS.
-----------------------------------------------------------------------
Any views expressed in this message are those of the sender and not
necessarily those of CCA Group. The unauthorized use, disclosure,
copying or alteration of this message is forbidden. The contents of
this message may be confidential and/or privileged, copyright CCA Group
and are intended solely for the use of the individual or entity to whom
they are addressed. Whilst this message has been scanned, CCA Group
cannot guarantee that it is virus free or compatible with your systems
and accepts no responsibility for any loss or damage arising from its
use. The recipient is advised to run their own anti-virus software. If
you receive this message in error please contact
postmaster@ccagroup.co.uk immediately, destroy any copies and delete it
from your computer systems.