5 ms·
How are cross-shard joins and transactions handled? Are there query patterns that would require application changes despite using the same drivers and ORM?
by eile23 6d ago
How are cross-shard joins and transactions handled? Are there query patterns that would require application changes despite using the same drivers and ORM?
- imjosh-dev 5d agocross shard joins break down into single shard selects, and are joined in the routers. There are some query patterns that are currently unsupported, but we are working on adding support for them. The biggest thing to keep in mind when running on a sharded database of any kind is decreasing the number of cross shard queries.