MULTISHARD_QUERY_DATA_CONSISTENCY

MULTISHARD_QUERY_DATA_CONSISTENCY enables you to specify a data consistency setting for multi-shard queries.

Property Description
Parameter type String
Syntax MULTISHARD_QUERY_DATA_CONSISTENCY = { STRONG | SHARD_LOCAL | DELAYED_STANDBY_ALLOWED | STANDBY_ONLY | STANDBY_PREFERRED | LOCAL_STANDBY_ONLY | LOCAL_STANDBY_PREFERRED }
Default value STRONG
Modifiable ALTER SESSION, ALTER SYSTEM
Modifiable in a PDB Yes
Basic No
Oracle RAC Different instances can use different values.

You can use MULTISHARD_QUERY_DATA_CONSISTENCY to avoid the cost of SCN synchronization when executing multi-shard queries across shards, which can be globally distributed.

MULTISHARD_QUERY_DATA_CONSISTENCY can be set at the system level or the session level.

The values that can be set for MULTISHARD_QUERY_DATA_CONSISTENCY are:

Note: The LOCAL_STANDBY_ONLY and LOCAL_STANDBY_PREFERRED settings are available starting with Oracle AI Database 26ai, Release Update 23.9.

See Also: Oracle Globally Distributed AI Database for more information about specifying consistency levels in a multi-shard query