Status
Current state: [One of "Under Discussion", "Accepted", "Rejected"]Released
Discussion thread:
JIRA or Github Issue:
Released: <Doris Version>1.2.0
Google Doc: DSIP-018: Support Merge-On-Write implementation for UNIQUE KEY data model
...
As shown in the figure below, compaction selects three rowsets [0-5], [6-6], [7-7]. During the compactio, the load job of version8 is finished successfully. In the compaction commit stage, it is necessary to process the bitmap generated by version8 load job.
Scheduling
Index
Add an index for primary key (leverage the
...
`IndexedColumnWriter/Reader`)
Add Bloom filter support
- Add a lookup interface, to integrate bloom filter and primary key index
- Delete Bitmap
- Delete Bitmap
- Add a versioned delete bitmap, as well as it's serialization code
- Add LRU cache
- Used in read process
- Update bitmap at the publish stage of a load job
- Lookup interface
- Add a Interval-Tree structure
- Add tablet lookup interface, as well as a structure `RowLocation`
...
- Add min/max key for segment
- Add a structure for rowset tree
- Lookup interface implementation, leverage the rowset-tree and segment readers
- Optimizations on lookup interface
- Compaction
- Support rowid conversion
- Compaction update bitmap
- Some compaction policy optimization
- Process range deletion
- Other Supports
- Add the table option at BE side first
- UniqueKey index options on create table
- Process cases that duplicate key may be contained in multiple segment in one load job
- Performance optimization
- Add cuckoo filter support