forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
systemschema: support rbr system.sql_instances
The sql_instances table now supports an index format compatible with regional by row tables. This is building on the work from cockroachdb#90408. ``` $ COCKROACH_MR_SYSTEM_DATABASE=true ./cockroach-short demo [email protected]:26257/movr> SELECT * FROM system.sql_instances LIMIT 2; id | addr | session_id | locality | crdb_region -----+-----------------+------------------------------------------+-----------------------------------+-------------- 1 | 127.0.0.1:26257 | \x0101800c678f05d4114b3aa17bcd61d336308a | {"Tiers": "region=us-east1,az=b"} | \x80 2 | NULL | NULL | NULL | \x80 (2 rows) $ COCKROACH_MR_SYSTEM_DATABASE=false ./cockroach-short demo [email protected]:26257/movr> SELECT * FROM system.sql_instances LIMIT 2; id | addr | session_id | locality -----+-----------------+------------------------------------------+------------------------------------ 1 | 127.0.0.1:26257 | \x010180fb9227b38ca9445ba27ac8b1f5a2204d | {"Tiers": "region=us-east1,az=b"} 2 | NULL | NULL | NULL (2 rows) ``` Part of cockroachdb#85736
- Loading branch information
1 parent
0755afa
commit 5aa0a18
Showing
21 changed files
with
984 additions
and
515 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.