stonedb icon indicating copy to clipboard operation
stonedb copied to clipboard

feature: Supprot DELETE Statement

Open konghaiya opened this issue 1 year ago • 3 comments

We need to support delete statement to improve capabilities

Functional decomposition

  • #344
  • #345
  • #347
  • #348

konghaiya avatar Aug 03 '22 08:08 konghaiya

Current industry status

Database types that support column storage Whether delete is supported remarks
MariaDB ColumnStore Yes
SQL Server Yes
Oracle In-Memory Column Store Yes
MySQL HeatWave No It is mainly used as an auxiliary engine and supports DML synchronization
TiFlash No It is mainly used as an auxiliary engine and supports DML synchronization
PolarDBIn-Memory Column Index Yes
openGauss Yes
ClickHouse Yes Nonstandard delete operation

konghaiya avatar Aug 09 '22 02:08 konghaiya

Summary of delete schemes for column storage

Database types that support column storage Underlying storage structure Delete policy
MariaDB ColumnStore Fixed size data block + Metadata Mark delete
SQL Server Column storage index + row group + column segment Mark delete
PolarDB In-Memory Column Index Column storage index + RowGroup+DataPack+ metadata Mark delete
openGauss DataPack + Metadata Mark delete
ClickHouse Orderly storage + partitioned packets New partition replace

konghaiya avatar Aug 09 '22 02:08 konghaiya

Implementation flowchart of delete function of Tianmu engine

image

konghaiya avatar Aug 09 '22 02:08 konghaiya

  • #451

konghaiya avatar Aug 30 '22 13:08 konghaiya