vitess.io/vitess@v0.16.2/go/test/endtoend/vtgate/queries/dml/vschema.json (about) 1 { 2 "sharded": true, 3 "vindexes": { 4 "hash": { 5 "type": "hash" 6 }, 7 "num_vdx": { 8 "type": "consistent_lookup_unique", 9 "params": { 10 "table": "num_vdx_tbl", 11 "from": "num", 12 "to": "keyspace_id" 13 }, 14 "owner": "s_tbl" 15 }, 16 "oid_vdx": { 17 "type": "consistent_lookup_unique", 18 "params": { 19 "table": "oid_vdx_tbl", 20 "from": "oid", 21 "to": "keyspace_id" 22 }, 23 "owner": "order_tbl" 24 }, 25 "unq_vdx": { 26 "type": "consistent_lookup_unique", 27 "params": { 28 "table": "unq_idx", 29 "from": "unq_col", 30 "to": "keyspace_id", 31 "ignore_nulls": "true" 32 }, 33 "owner": "auto_tbl" 34 }, 35 "nonunq_vdx": { 36 "type": "consistent_lookup", 37 "params": { 38 "table": "nonunq_idx", 39 "from": "nonunq_col,id", 40 "to": "keyspace_id", 41 "ignore_nulls": "true" 42 }, 43 "owner": "auto_tbl" 44 } 45 }, 46 "tables": { 47 "s_tbl": { 48 "column_vindexes": [ 49 { 50 "column": "id", 51 "name": "hash" 52 }, 53 { 54 "column": "num", 55 "name": "num_vdx" 56 } 57 ] 58 }, 59 "num_vdx_tbl": { 60 "column_vindexes": [ 61 { 62 "column": "num", 63 "name": "hash" 64 } 65 ] 66 }, 67 "user_tbl": { 68 "auto_increment": { 69 "column": "id", 70 "sequence": "uks.user_seq" 71 }, 72 "column_vindexes": [ 73 { 74 "column": "region_id", 75 "name": "hash" 76 } 77 ] 78 }, 79 "order_tbl": { 80 "column_vindexes": [ 81 { 82 "column": "region_id", 83 "name": "hash" 84 }, 85 { 86 "column": "oid", 87 "name": "oid_vdx" 88 } 89 ] 90 }, 91 "oid_vdx_tbl": { 92 "column_vindexes": [ 93 { 94 "column": "oid", 95 "name": "hash" 96 } 97 ] 98 }, 99 "oevent_tbl": { 100 "column_vindexes": [ 101 { 102 "column": "oid", 103 "name": "oid_vdx" 104 } 105 ] 106 }, 107 "oextra_tbl": { 108 "column_vindexes": [ 109 { 110 "column": "id", 111 "name": "hash" 112 }, 113 { 114 "column": "oid", 115 "name": "oid_vdx" 116 } 117 ] 118 }, 119 "auto_tbl": { 120 "auto_increment": { 121 "column": "id", 122 "sequence": "uks.auto_seq" 123 }, 124 "column_vindexes": [ 125 { 126 "column": "id", 127 "name": "hash" 128 }, 129 { 130 "column": "unq_col", 131 "name": "unq_vdx" 132 }, 133 { 134 "columns": [ 135 "nonunq_col", 136 "id" 137 ], 138 "name": "nonunq_vdx" 139 } 140 ] 141 }, 142 "unq_idx": { 143 "column_vindexes": [ 144 { 145 "column": "unq_col", 146 "name": "hash" 147 } 148 ] 149 }, 150 "nonunq_idx": { 151 "column_vindexes": [ 152 { 153 "column": "nonunq_col", 154 "name": "hash" 155 } 156 ] 157 } 158 } 159 }