[MCOL-5022] Implement an auxiliary (hidden) column to improve DELETE performance. Created: 2022-03-21  Updated: 2022-03-21  Resolved: 2022-03-21

Status: Closed
Project: MariaDB ColumnStore
Component/s: N/A
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major
Reporter: Gagan Goel (Inactive) Assignee: Gagan Goel (Inactive)
Resolution: Duplicate Votes: 0
Labels: None


 Description   

This task is to implement an auxiliary (AUX) column in ColumnStore to improve the performance of DELETE operations.

This will be accomplished by implementing a hidden 1-byte boolean column with 0 indicating the column value is disabled (deleted) and 1 indicating the column value is enabled (active). Idea is to improve the performance of DELETE operation by simply toggling the AUX column value from 1 to 0, instead of the current implementation which writes empty magic values for all columns in the table for all the impacted rows. Empty magics are the current method in ColumnStore to detect if a given row is deleted or not. So for a wide table, the current method would lead to significant performance slowdown when performing DELETEs.



 Comments   
Comment by Gagan Goel (Inactive) [ 2022-03-21 ]

Closing as duplicate of MCOL-5021.

Generated at Thu Feb 08 02:54:46 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.