route_target_replica_type

2025-03-21 09:20:28  Updated

route_target_replica_type specifies the replica type for routing weak-consistency read requests. This parameter takes effect only when proxy_route_policy is set to a value starting with TARGET_REPLICA_TYPE_.

Note

This parameter is introduced in OceanBase Database Proxy (ODP) V4.3.2.

Attribute Description
Parameter type String
Default value Full;Readonly
Value range
  • Full: Read requests are routed only to followers.
  • Readonly: Read requests are routed only to read-only replicas.
  • ColumnStore: Read requests are routed only to columnstore replicas.
  • Full;Readonly: Read requests are routed to followers and read-only replicas.

Note

If proxy_route_policy is set to a value starting with TARGET_REPLICA_TYPE_ and route_target_replica_type is set to ColumnStore, read requests are routed only to columnstore replicas instead of the leader.

Effective upon ODP restart No

References

Contact Us