Contents Index COOPERATIVE_COMMIT_TIMEOUT option [database] DATE_FORMAT option [compatibility]

ASA Database Administration Guide
  Database Options
    Alphabetical list of options

COOPERATIVE_COMMITS option [database]


Function 

Controls when commits are written to disk.

Allowed values 

ON or OFF

Scope 

Can be set for an individual connection or for the PUBLIC group. Takes effect immediately.

Default 

ON

Description 

If COOPERATIVE_COMMITS is set to OFF, a COMMIT is written to disk as soon as the database server receives it, and the application is then allowed to continue.

If COOPERATIVE_COMMITS is set to ON (the default) and if there are other active connections, the database server does not immediately write the COMMIT to the disk. Instead, the application waits for up to the maximum length set by the COOPERATIVE_COMMIT_TIMEOUT option for something else to put on the pages before they are written to disk.

Setting COOPERATIVE_COMMITS to ON, and increasing the COOPERATIVE_COMMIT_TIMEOUT setting, increases overall database server throughput by cutting down the number of disk I/Os, but at the expense of a longer turnaround time for each individual connection.

If both COOPERATIVE_COMMITS and DELAYED_COMMITS are set to ON, and the COOPERATIVE_COMMIT_TIMEOUT interval passes without the pages getting written, the application is resumed (as if the commit had worked), and the remaining interval (DELAYED_COMMIT_TIMEOUT - COOPERATIVE_COMMIT_TIMEOUT) is used as a DELAYED_COMMIT interval. The pages will then be written, even if they are not full.


Contents Index COOPERATIVE_COMMIT_TIMEOUT option [database] DATE_FORMAT option [compatibility]