beautypg.com

HP Integrity NonStop J-Series User Manual

Page 115

background image

NonStop AutoTMF Commands

HP NonStop AutoTMF Software User’s Guide429952-017

6-39

ALTER GLOBAL

commits automatic transactions after n updates and inserts, if the process is
not holding locks on any of the participating records. This is an advisory setting
for performance, not one that precisely controls management of automatic
transactions.

The value of n should be a power of 2 (1,2,4,8,16,32,...) in the range of 1 to
4096. If the value specified is not a power of 2, the value will be rounded to a
power of 2.

The default value is 32 updates and inserts.

MAXUPDATES can also be set for separate transactions and for selected
programs. See

ADD ATMFFILESET

and

ADD ATMFPROGRAMS

for details

ATMFNOWAIT { ON | OFF }

returns control to the application without waiting for the transaction to be fully
committed. Automatic transactions are committed in nowait mode. The status
of a nowait transaction is checked by the runtime when the next transaction for
the file is started or when the process terminates.

The default is OFF.

NOWAIT can also be set for separate transactions and for selected programs.
See

ADD ATMFFILESET

and

ADD ATMFPROGRAMS

for details.

ATMFOPTIMIZEUNL[OCKS] | ATMFOPTMZUNL[OCKS] { ON | OFF }

eliminates UNLOCKFILE operations performed on audited files. AutoTMF
considers all locks on the file released and attempts to commit the transaction,
subject to the usual protocol for committing automatic transactions.

This optimization only applies to files that are enabled for automatic
transactions.

The default is OFF and can be overridden for specific programs by using

ADD

ATMFPROGRAMS

or

ALTER ATMFPROGRAMS

.

ATMFREADTHRULOCK { ON | OFF }

enables or disables read-thru-lock mode on audited files that use automatic
transactions.

The default is ON.

The value can be overridden for a program file set using the

ADD

ATMFPROGRAMS

or

ALTER ATMFPROGRAMS

and for a file set using the

ADD ATMFFILESET

or

ALTER ATMFFILESET

.

ATMFSEPARATETX

generates a separate parallel transaction for every file managed by AutoTMF.

ATMFSEPARATETX should be used with caution as it might have a
measurable negative impact on performance.

This manual is related to the following products: