Skip to content

Commit

Permalink
Optimize segmentwise recompression
Browse files Browse the repository at this point in the history
With the recent change to compression schema, we can optimize
segmentwise recompression and target only batches which are
affected to be recompressed or compress tuples which don't
belong to any batch without any decompression. This means
narrowing down the amount of that we need to decompress
and recompress, ultimately speeding up the operation and
generating less bloat in the compressed chunk.
  • Loading branch information
antekresic committed Nov 25, 2024
1 parent 24ecdee commit 79b16f5
Show file tree
Hide file tree
Showing 9 changed files with 767 additions and 589 deletions.
1 change: 1 addition & 0 deletions tsl/src/compression/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ set(SOURCES
${CMAKE_CURRENT_SOURCE_DIR}/compression_scankey.c
${CMAKE_CURRENT_SOURCE_DIR}/compression_storage.c
${CMAKE_CURRENT_SOURCE_DIR}/create.c
${CMAKE_CURRENT_SOURCE_DIR}/recompress.c
${CMAKE_CURRENT_SOURCE_DIR}/segment_meta.c)
target_sources(${TSL_LIBRARY_NAME} PRIVATE ${SOURCES})

Expand Down
Loading

0 comments on commit 79b16f5

Please sign in to comment.