Contents Index ON_TSQL_ERROR option [compatibility] OPTIMIZATION_GOAL option [database]

ASA Database Administration Guide
  Database Options
    Alphabetical list of options

OPTIMISTIC_WAIT_FOR_COMMIT


Function 

Controls locking behavior for WAIT_FOR_COMMIT option.

Allowed values 

ON, OFF

Default 

OFF

Description 

By default, OPTIMISTIC_WAIT_FOR_COMMIT is OFF.

Locking behavior is changed as follows when both OPTIMISTIC_WAIT_FOR_COMMIT and WAIT_FOR_COMMIT are ON:

This feature is for use in migrating 5.x applications to 8.x by mimicking 5.x locking behavior when transactions add foreign rows before primary rows (as long as no two transactions concurrently add foreign rows with the same key value).

Note that this option is not recommended for general use as there are a number of situations in which transactions will not be allowed to commit, including:


Contents Index ON_TSQL_ERROR option [compatibility] OPTIMIZATION_GOAL option [database]