Tarantool CE/EE Documentation portal logo
Помощь
Обновлена 15 сентября 2026 г. в 08:55

index

index

  • id (= идентификатор спейса),
  • iid (= номер индекса в спейсе),
  • name,
  • type,
  • opts (например, параметр unique), [tuple-field-no, tuple-field-type ...].

Вот что при обычной установке включает в себя спейс _index:

tarantool> box.space._index:select{}---- - [272, 0, 'primary', 'tree', {'unique': true}, [[0, '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']]]  - [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']]]---...