Module cartridge.lua-api.compression | Tarantool
Документация на русском языке
поддерживается сообществом
Tarantool Cartridge Table of contents Module cartridge.lua-api.compression

Module cartridge.lua-api.compression

Compression API.

This function gets compression info on cluster aggregated by instances. Function surfs by replicates to find master storages and calls on them __cartridgeGetStorageCompressionInfo() func.

Returns:

(table) {{instance_id, instance_compression_info},…}

Or

(nil)

(table) Error description

This function finds all user spaces with correct schema and index and calculates compression for their fields.

Returns:

(table) {{space_name, fields_be_compressed},…}

Or

(nil)

(table) Error description

This function creates temporary space.

Parameters:

Returns:

(table)

Нашли ответ на свой вопрос?
Обратная связь