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:
space_object(space_object) — an object reference
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: 145data_size: 235header_size: 36field_map_size: 24malloc:waste_size: 0data_size: 0header_size: 0field_map_size: 0...