1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257
|
box.internal.bootstrap()
---
...
box.space._schema:select{}
---
- - ['max_id', 511]
- ['version', 2, 3, 1]
...
box.space._cluster:select{}
---
- []
...
box.space._space:select{}
---
- - [257, 1, '_vinyl_deferred_delete', 'blackhole', 0, {'group_id': 1}, [{'name': 'space_id',
'type': 'unsigned'}, {'name': 'lsn', 'type': 'unsigned'}, {'name': 'tuple',
'type': 'array'}]]
- [272, 1, '_schema', 'memtx', 0, {}, [{'type': 'string', 'name': 'key'}, {'type': 'any',
'name': 'value', 'is_nullable': true}]]
- [276, 1, '_collation', 'memtx', 0, {}, [{'name': 'id', 'type': 'unsigned'}, {
'name': 'name', 'type': 'string'}, {'name': 'owner', 'type': 'unsigned'},
{'name': 'type', 'type': 'string'}, {'name': 'locale', 'type': 'string'}, {
'name': 'opts', 'type': 'map'}]]
- [277, 1, '_vcollation', 'sysview', 0, {}, [{'name': 'id', 'type': 'unsigned'},
{'name': 'name', 'type': 'string'}, {'name': 'owner', 'type': 'unsigned'}, {
'name': 'type', 'type': 'string'}, {'name': 'locale', 'type': 'string'}, {
'name': 'opts', 'type': 'map'}]]
- [280, 1, '_space', 'memtx', 0, {}, [{'name': 'id', 'type': 'unsigned'}, {'name': 'owner',
'type': 'unsigned'}, {'name': 'name', 'type': 'string'}, {'name': 'engine',
'type': 'string'}, {'name': 'field_count', 'type': 'unsigned'}, {'name': 'flags',
'type': 'map'}, {'name': 'format', 'type': 'array'}]]
- [281, 1, '_vspace', 'sysview', 0, {}, [{'name': 'id', 'type': 'unsigned'}, {'name': 'owner',
'type': 'unsigned'}, {'name': 'name', 'type': 'string'}, {'name': 'engine',
'type': 'string'}, {'name': 'field_count', 'type': 'unsigned'}, {'name': 'flags',
'type': 'map'}, {'name': 'format', 'type': 'array'}]]
- [284, 1, '_sequence', 'memtx', 0, {}, [{'name': 'id', 'type': 'unsigned'}, {'name': 'owner',
'type': 'unsigned'}, {'name': 'name', 'type': 'string'}, {'name': 'step',
'type': 'integer'}, {'name': 'min', 'type': 'integer'}, {'name': 'max', 'type': 'integer'},
{'name': 'start', 'type': 'integer'}, {'name': 'cache', 'type': 'integer'},
{'name': 'cycle', 'type': 'boolean'}]]
- [285, 1, '_sequence_data', 'memtx', 0, {}, [{'name': 'id', 'type': 'unsigned'},
{'name': 'value', 'type': 'integer'}]]
- [286, 1, '_vsequence', 'sysview', 0, {}, [{'name': 'id', 'type': 'unsigned'},
{'name': 'owner', 'type': 'unsigned'}, {'name': 'name', 'type': 'string'}, {
'name': 'step', 'type': 'integer'}, {'name': 'min', 'type': 'integer'}, {
'name': 'max', 'type': 'integer'}, {'name': 'start', 'type': 'integer'}, {
'name': 'cache', 'type': 'integer'}, {'name': 'cycle', 'type': 'boolean'}]]
- [288, 1, '_index', 'memtx', 0, {}, [{'name': 'id', 'type': 'unsigned'}, {'name': 'iid',
'type': 'unsigned'}, {'name': 'name', 'type': 'string'}, {'name': 'type',
'type': 'string'}, {'name': 'opts', 'type': 'map'}, {'name': 'parts', 'type': 'array'}]]
- [289, 1, '_vindex', 'sysview', 0, {}, [{'name': 'id', 'type': 'unsigned'}, {'name': 'iid',
'type': 'unsigned'}, {'name': 'name', 'type': 'string'}, {'name': 'type',
'type': 'string'}, {'name': 'opts', 'type': 'map'}, {'name': 'parts', 'type': 'array'}]]
- [296, 1, '_func', 'memtx', 0, {}, [{'name': 'id', 'type': 'unsigned'}, {'name': 'owner',
'type': 'unsigned'}, {'name': 'name', 'type': 'string'}, {'name': 'setuid',
'type': 'unsigned'}, {'name': 'language', 'type': 'string'}, {'name': 'body',
'type': 'string'}, {'name': 'routine_type', 'type': 'string'}, {'name': 'param_list',
'type': 'array'}, {'name': 'returns', 'type': 'string'}, {'name': 'aggregate',
'type': 'string'}, {'name': 'sql_data_access', 'type': 'string'}, {'name': 'is_deterministic',
'type': 'boolean'}, {'name': 'is_sandboxed', 'type': 'boolean'}, {'name': 'is_null_call',
'type': 'boolean'}, {'name': 'exports', 'type': 'array'}, {'name': 'opts',
'type': 'map'}, {'name': 'comment', 'type': 'string'}, {'name': 'created',
'type': 'string'}, {'name': 'last_altered', 'type': 'string'}]]
- [297, 1, '_vfunc', 'sysview', 0, {}, [{'name': 'id', 'type': 'unsigned'}, {'name': 'owner',
'type': 'unsigned'}, {'name': 'name', 'type': 'string'}, {'name': 'setuid',
'type': 'unsigned'}]]
- [304, 1, '_user', 'memtx', 0, {}, [{'name': 'id', 'type': 'unsigned'}, {'name': 'owner',
'type': 'unsigned'}, {'name': 'name', 'type': 'string'}, {'name': 'type',
'type': 'string'}, {'name': 'auth', 'type': 'map'}]]
- [305, 1, '_vuser', 'sysview', 0, {}, [{'name': 'id', 'type': 'unsigned'}, {'name': 'owner',
'type': 'unsigned'}, {'name': 'name', 'type': 'string'}, {'name': 'type',
'type': 'string'}, {'name': 'auth', 'type': 'map'}]]
- [312, 1, '_priv', 'memtx', 0, {}, [{'name': 'grantor', 'type': 'unsigned'}, {
'name': 'grantee', 'type': 'unsigned'}, {'name': 'object_type', 'type': 'string'},
{'name': 'object_id', 'type': 'scalar'}, {'name': 'privilege', 'type': 'unsigned'}]]
- [313, 1, '_vpriv', 'sysview', 0, {}, [{'name': 'grantor', 'type': 'unsigned'},
{'name': 'grantee', 'type': 'unsigned'}, {'name': 'object_type', 'type': 'string'},
{'name': 'object_id', 'type': 'scalar'}, {'name': 'privilege', 'type': 'unsigned'}]]
- [320, 1, '_cluster', 'memtx', 0, {}, [{'name': 'id', 'type': 'unsigned'}, {'name': 'uuid',
'type': 'string'}]]
- [328, 1, '_trigger', 'memtx', 0, {}, [{'name': 'name', 'type': 'string'}, {'name': 'space_id',
'type': 'unsigned'}, {'name': 'opts', 'type': 'map'}]]
- [330, 1, '_truncate', 'memtx', 0, {}, [{'name': 'id', 'type': 'unsigned'}, {'name': 'count',
'type': 'unsigned'}]]
- [340, 1, '_space_sequence', 'memtx', 0, {}, [{'name': 'id', 'type': 'unsigned'},
{'name': 'sequence_id', 'type': 'unsigned'}, {'name': 'is_generated', 'type': 'boolean'},
{'name': 'field', 'type': 'unsigned'}, {'name': 'path', 'type': 'string'}]]
- [356, 1, '_fk_constraint', 'memtx', 0, {}, [{'name': 'name', 'type': 'string'},
{'name': 'child_id', 'type': 'unsigned'}, {'name': 'parent_id', 'type': 'unsigned'},
{'name': 'is_deferred', 'type': 'boolean'}, {'name': 'match', 'type': 'string'},
{'name': 'on_delete', 'type': 'string'}, {'name': 'on_update', 'type': 'string'},
{'name': 'child_cols', 'type': 'array'}, {'name': 'parent_cols', 'type': 'array'}]]
- [364, 1, '_ck_constraint', 'memtx', 0, {}, [{'name': 'space_id', 'type': 'unsigned'},
{'name': 'name', 'type': 'string'}, {'name': 'is_deferred', 'type': 'boolean'},
{'name': 'language', 'type': 'str'}, {'name': 'code', 'type': 'str'}, {'name': 'is_enabled',
'type': 'boolean'}]]
- [372, 1, '_func_index', 'memtx', 0, {}, [{'name': 'space_id', 'type': 'unsigned'},
{'name': 'index_id', 'type': 'unsigned'}, {'name': 'func_id', 'type': 'unsigned'}]]
- [380, 1, '_session_settings', 'service', 2, {'temporary': true}, [{'name': 'name',
'type': 'string'}, {'name': 'value', 'type': 'any'}]]
...
box.space._index:select{}
---
- - [272, 0, 'primary', 'tree', {'unique': true}, [[0, 'string']]]
- [276, 0, 'primary', 'tree', {'unique': true}, [[0, 'unsigned']]]
- [276, 1, 'name', 'tree', {'unique': true}, [[1, 'string']]]
- [277, 0, 'primary', 'tree', {'unique': true}, [[0, 'unsigned']]]
- [277, 1, 'name', 'tree', {'unique': true}, [[1, 'string']]]
- [280, 0, 'primary', 'tree', {'unique': true}, [[0, 'unsigned']]]
- [280, 1, 'owner', 'tree', {'unique': false}, [[1, 'unsigned']]]
- [280, 2, 'name', 'tree', {'unique': true}, [[2, 'string']]]
- [281, 0, 'primary', 'tree', {'unique': true}, [[0, 'unsigned']]]
- [281, 1, 'owner', 'tree', {'unique': false}, [[1, 'unsigned']]]
- [281, 2, 'name', 'tree', {'unique': true}, [[2, 'string']]]
- [284, 0, 'primary', 'tree', {'unique': true}, [[0, 'unsigned']]]
- [284, 1, 'owner', 'tree', {'unique': false}, [[1, 'unsigned']]]
- [284, 2, 'name', 'tree', {'unique': true}, [[2, 'string']]]
- [285, 0, 'primary', 'hash', {'unique': true}, [[0, 'unsigned']]]
- [286, 0, 'primary', 'tree', {'unique': true}, [[0, 'unsigned']]]
- [286, 1, 'owner', 'tree', {'unique': false}, [[1, 'unsigned']]]
- [286, 2, 'name', 'tree', {'unique': true}, [[2, 'string']]]
- [288, 0, 'primary', 'tree', {'unique': true}, [[0, 'unsigned'], [1, 'unsigned']]]
- [288, 2, 'name', 'tree', {'unique': true}, [[0, 'unsigned'], [2, 'string']]]
- [289, 0, 'primary', 'tree', {'unique': true}, [[0, 'unsigned'], [1, 'unsigned']]]
- [289, 2, 'name', 'tree', {'unique': true}, [[0, 'unsigned'], [2, 'string']]]
- [296, 0, 'primary', 'tree', {'unique': true}, [[0, 'unsigned']]]
- [296, 1, 'owner', 'tree', {'unique': false}, [[1, 'unsigned']]]
- [296, 2, 'name', 'tree', {'unique': true}, [[2, 'string']]]
- [297, 0, 'primary', 'tree', {'unique': true}, [[0, 'unsigned']]]
- [297, 1, 'owner', 'tree', {'unique': false}, [[1, 'unsigned']]]
- [297, 2, 'name', 'tree', {'unique': true}, [[2, 'string']]]
- [304, 0, 'primary', 'tree', {'unique': true}, [[0, 'unsigned']]]
- [304, 1, 'owner', 'tree', {'unique': false}, [[1, 'unsigned']]]
- [304, 2, 'name', 'tree', {'unique': true}, [[2, 'string']]]
- [305, 0, 'primary', 'tree', {'unique': true}, [[0, 'unsigned']]]
- [305, 1, 'owner', 'tree', {'unique': false}, [[1, 'unsigned']]]
- [305, 2, 'name', 'tree', {'unique': true}, [[2, 'string']]]
- [312, 0, 'primary', 'tree', {'unique': true}, [[1, 'unsigned'], [2, 'string'],
[3, 'scalar']]]
- [312, 1, 'owner', 'tree', {'unique': false}, [[0, 'unsigned']]]
- [312, 2, 'object', 'tree', {'unique': false}, [[2, 'string'], [3, 'scalar']]]
- [313, 0, 'primary', 'tree', {'unique': true}, [[1, 'unsigned'], [2, 'string'],
[3, 'scalar']]]
- [313, 1, 'owner', 'tree', {'unique': false}, [[0, 'unsigned']]]
- [313, 2, 'object', 'tree', {'unique': false}, [[2, 'string'], [3, 'scalar']]]
- [320, 0, 'primary', 'tree', {'unique': true}, [[0, 'unsigned']]]
- [320, 1, 'uuid', 'tree', {'unique': true}, [[1, 'string']]]
- [328, 0, 'primary', 'tree', {'unique': true}, [[0, 'string']]]
- [328, 1, 'space_id', 'tree', {'unique': false}, [[1, 'unsigned']]]
- [330, 0, 'primary', 'tree', {'unique': true}, [[0, 'unsigned']]]
- [340, 0, 'primary', 'tree', {'unique': true}, [[0, 'unsigned']]]
- [340, 1, 'sequence', 'tree', {'unique': false}, [[1, 'unsigned']]]
- [356, 0, 'primary', 'tree', {'unique': true}, [[0, 'string'], [1, 'unsigned']]]
- [356, 1, 'child_id', 'tree', {'unique': false}, [[1, 'unsigned']]]
- [364, 0, 'primary', 'tree', {'unique': true}, [[0, 'unsigned'], [1, 'string']]]
- [372, 0, 'primary', 'tree', {'unique': true}, [[0, 'unsigned'], [1, 'unsigned']]]
- [372, 1, 'fid', 'tree', {'unique': false}, [[2, 'unsigned']]]
- [380, 0, 'primary', 'tree', {'unique': true}, [[0, 'string']]]
...
box.space._user:select{}
---
- - [0, 1, 'guest', 'user', {'chap-sha1': 'vhvewKp0tNyweZQ+cFKAlsyphfg='}]
- [1, 1, 'admin', 'user', {}]
- [2, 1, 'public', 'role', {}]
- [3, 1, 'replication', 'role', {}]
- [31, 1, 'super', 'role', {}]
...
for _, v in box.space._func:pairs{} do r = {} table.insert(r, v:update({{"=", 18, ""}, {"=", 19, ""}})) return r end
---
- - [1, 1, 'box.schema.user.info', 1, 'LUA', '', 'function', [], 'any', 'none', 'none',
false, false, true, ['LUA'], {}, '', '', '']
...
box.space._priv:select{}
---
- - [1, 0, 'role', 2, 4]
- [1, 0, 'universe', 0, 24]
- [1, 1, 'universe', 0, 4294967295]
- [1, 2, 'function', 1, 4]
- [1, 2, 'function', 2, 4]
- [1, 2, 'function', 3, 4]
- [1, 2, 'function', 4, 4]
- [1, 2, 'function', 5, 4]
- [1, 2, 'function', 6, 4]
- [1, 2, 'function', 7, 4]
- [1, 2, 'function', 8, 4]
- [1, 2, 'function', 9, 4]
- [1, 2, 'function', 10, 4]
- [1, 2, 'function', 11, 4]
- [1, 2, 'function', 12, 4]
- [1, 2, 'function', 13, 4]
- [1, 2, 'function', 14, 4]
- [1, 2, 'function', 15, 4]
- [1, 2, 'function', 16, 4]
- [1, 2, 'function', 17, 4]
- [1, 2, 'function', 18, 4]
- [1, 2, 'function', 19, 4]
- [1, 2, 'function', 20, 4]
- [1, 2, 'function', 21, 4]
- [1, 2, 'function', 22, 4]
- [1, 2, 'function', 23, 4]
- [1, 2, 'function', 24, 4]
- [1, 2, 'function', 25, 4]
- [1, 2, 'function', 26, 4]
- [1, 2, 'function', 27, 4]
- [1, 2, 'function', 28, 4]
- [1, 2, 'function', 29, 4]
- [1, 2, 'function', 30, 4]
- [1, 2, 'function', 31, 4]
- [1, 2, 'function', 32, 4]
- [1, 2, 'function', 33, 4]
- [1, 2, 'function', 34, 4]
- [1, 2, 'function', 35, 4]
- [1, 2, 'function', 36, 4]
- [1, 2, 'function', 37, 4]
- [1, 2, 'function', 38, 4]
- [1, 2, 'function', 39, 4]
- [1, 2, 'function', 40, 4]
- [1, 2, 'function', 41, 4]
- [1, 2, 'function', 42, 4]
- [1, 2, 'function', 43, 4]
- [1, 2, 'function', 44, 4]
- [1, 2, 'function', 45, 4]
- [1, 2, 'function', 46, 4]
- [1, 2, 'function', 47, 4]
- [1, 2, 'function', 48, 4]
- [1, 2, 'function', 49, 4]
- [1, 2, 'function', 50, 4]
- [1, 2, 'function', 51, 4]
- [1, 2, 'function', 52, 4]
- [1, 2, 'function', 53, 4]
- [1, 2, 'function', 54, 4]
- [1, 2, 'function', 55, 4]
- [1, 2, 'function', 56, 4]
- [1, 2, 'function', 57, 4]
- [1, 2, 'function', 58, 4]
- [1, 2, 'function', 59, 4]
- [1, 2, 'function', 60, 4]
- [1, 2, 'function', 61, 4]
- [1, 2, 'function', 62, 4]
- [1, 2, 'function', 63, 4]
- [1, 2, 'function', 64, 4]
- [1, 2, 'function', 65, 4]
- [1, 2, 'function', 66, 4]
- [1, 2, 'function', 67, 4]
- [1, 2, 'space', 276, 2]
- [1, 2, 'space', 277, 1]
- [1, 2, 'space', 281, 1]
- [1, 2, 'space', 286, 1]
- [1, 2, 'space', 289, 1]
- [1, 2, 'space', 297, 1]
- [1, 2, 'space', 305, 1]
- [1, 2, 'space', 313, 1]
- [1, 2, 'space', 330, 2]
- [1, 3, 'space', 320, 2]
- [1, 3, 'universe', 0, 1]
- [1, 31, 'universe', 0, 4294967295]
...
|