Skip to content

Document tuple:info() #3840

Closed
Closed
@TarantoolBot

Description

@TarantoolBot

Related dev. issue(s): tarantool/tarantool#6762
Related doc. issue(s): #3841

Product: Tarantool
Since: 3.0
Root document: https://www.tarantool.io/en/doc/latest/reference/reference_lua/box_tuple/
SME: @ Gumix

Details

tuple_object:info() - Get information about the tuple

Returns a table with the following fields:

  • data_size - Size of the MessagePack data in the tuple.
    This number equals to number returned by tuple_object:bsize().
  • header_size - Size of the internal tuple header.
  • field_map_size - Size of the field map.
    Field map is used to speed up access to indexed fields of the tuple.
  • waste_size - The amount of excess memory used to store the tuple
    in mempool.
  • arena - Type of the arena where the tuple is allocated.
    Possible values are: "memtx", "malloc", "runtime".
    Requested by @ Gumix in tarantool/tarantool@ab24dfb.

Metadata

Metadata

Assignees

Labels

3.0reference[location] Tarantool manual, Reference part

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions