Tarantool CE/EE Documentation portal logo
Support
Updated at July 17, 2026   02:08 PM

space_object:stat()

space_object method stat()

Get statistics on memory usage by the space.

Returns a table with the cumulative statistics on the memory usage by tuples in the space. Statistics are grouped by arena types: memtx or malloc. For each arena type, the return table includes tuple memory usage statistics listed in the box_tuple-info reference.

Parameters:

Returns

space memory usage statistics

Return type

table

Possible errors: space_object does not exist.

Example:

tarantool> box.space.tester:stat()---- tuple:    memtx:      waste_size: 145      data_size: 235      header_size: 36      field_map_size: 24    malloc:      waste_size: 0      data_size: 0      header_size: 0      field_map_size: 0...