You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current implementation of TidesDB Python bindings (core.py and __init__.py) lacks support for SSTable compaction operations, which is a critical feature for database maintenance and performance optimization.
Current Status
Basic database operations are implemented (put/get/delete)
Cursor operations for data iteration are available
Transaction support is provided.
Missing Functionality
The compact_sstables operation needs to be implemented to enable:
Reduction of SSTable count through pairing and merging
Multi-threaded compaction support for performance
Proposed Solution
Add compaction functionality to core.py
Create a new sample file samples/compaction_operations.py
Add corresponding tests in tests/test_compaction.py
Update documentation
The text was updated successfully, but these errors were encountered:
- Added background SSTable compaction functionality to core.py, including the `start_background_partial_merge` method.
- Introduced a monitoring script for background compaction in `samples/compaction_operations.py`.
- Added unit tests for background compaction in `tests/test_compaction.py`.
- Added functions for compacting SSTables and starting background compaction, along with error handling.
- Still pending: Manual Compaction Support.
#19
Overview
The current implementation of TidesDB Python bindings (
core.py
and__init__.py
) lacks support for SSTable compaction operations, which is a critical feature for database maintenance and performance optimization.Current Status
Missing Functionality
The
compact_sstables
operation needs to be implemented to enable:Proposed Solution
core.py
samples/compaction_operations.py
tests/test_compaction.py
The text was updated successfully, but these errors were encountered: