FAQ - What happens to existing records when compression is switched off?

FAQ - What happens to existing records when compression is switched off?

Detail

Compression is a feature that is unlocked via a feature key. What happens to exisrting compressed records if the compression feature is removed from the license and the server restarted with a new feature file.

Answer

Records on the disk that were compressed when the feature was being used will remain compressed. When these records are re-written they will be written uncompressed. As an update is a read of the record followed by a subsequent re-write into a fresh block, an update will also cause the data to be re-written uncompressed.

Notes

Refer to the Configure Compression documentation for further details.

Keywords

COMPRESSION REMOVE WRITE DATA COMPRESSED

Timestamp

June 2020

© 2015 Copyright Aerospike, Inc. | All rights reserved. Creators of the Aerospike Database.