ISOLATION_LEVEL Option

Controls the locking isolation level for catalog store tables.

Allowed Values

  • 0 – Allow dirty reads, nonrepeatable reads, and phantom rows.

  • 1 – Prevent dirty reads. Allow nonrepeatable reads and phantom rows.

  • 2 – Prevent dirty reads and guarantee repeatable reads. Allow phantom rows.

  • 3 – Serializable. Do not allow dirty reads, guarantee repeatable reads, and do not allow phantom rows.

Default

0

1 for Open Client and JDBC connections

Scope

Option can be set at the database (PUBLIC) or user level. When set at the database level, the value becomes the default for any new user, but has no impact on existing users. When set at the user level, overrides the PUBLIC value for that user only. No system privilege is required to set option for self. System privilege is required to set at database level or at user level for any user other than self.

Requires the SET ANY PUBLIC OPTION system privilege to set this option. Can be set temporary for an individual connection or for the PUBLIC role. Takes effect immediately.

Description

ISOLATION_LEVEL determines the isolation level for tables in the catalog store. SAP Sybase IQ always enforces level 3 for tables in the IQ store. Level 3 is equivalent to ANSI level 4.