mirror of
https://github.com/postgresml/pgcat.git
synced 2026-03-23 01:16:30 +00:00
Automatic sharding for SELECT v2 (#337)
* More comprehensive read sharding support * A few fixes * fq * comment * wildcard
This commit is contained in:
@@ -102,7 +102,7 @@ primary_reads_enabled = true
|
||||
sharding_function = "pg_bigint_hash"
|
||||
|
||||
# Automatically parse this from queries and route queries to the right shard!
|
||||
automatic_sharding_key = "id"
|
||||
automatic_sharding_key = "data.id"
|
||||
|
||||
# Idle timeout can be overwritten in the pool
|
||||
idle_timeout = 40000
|
||||
|
||||
Reference in New Issue
Block a user