iceberg: Reduce Storage Footprint for Append-only Use Cases · Issue #21586 · risingwavelabs/risingwave · GitHub
More Web Proxy on the site http://driver.im/
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
flowchart TB
subgraph Iceberg
IT[Iceberg Table]
end
subgraph "Iceberg Table Engine"
direction TB
subgraph HT[Hummock Table]
direction LR
SM[Materialize]
SR[RowIdGen]
SU[Union]
SS1["Source(connector)"]
SD[Source+Dml]
SS1 -->|exchange| SU
SD -->|exchange| SU
SU --> SR --> SM
end
ISnk[Iceberg Sink]
ISrc[Iceberg Source]
HT -->|events| ISnk
ISnk -->|periodic commit| IT
ISrc -.->|scan| IT
end
subgraph Producer
Con[Connector]
Dml[INSERT]
end
Con --> SS1
Dml --> SD
HT -->|events from dispatcher| MV[Downstream MV]
Query[Ad-hoc Query] -.->|scan| ISrc
classDef component fill:#f9f,stroke:#333,stroke-width:2px;
classDef external fill:#bbf,stroke:#333,stroke-width:1px;
classDef highlight fill:#5CE1E6,stroke:#333,stroke-width:1px;
classDef muted fill:#D9D9D9,stroke:#333,stroke-width:1px;
class HT,ISnk,IT,ISrc component;
class MV,Query external;
class IT highlight;
class ISrc muted;
Loading
With streaming iceberg source
flowchart TB
subgraph Iceberg
IT[Iceberg Table]
end
subgraph "Iceberg Table Engine"
direction TB
subgraph HT["Hummock Table(ingestion only)"]
direction LR
SR[RowIdGen]
SU[Union]
SS1["Source(connector)"]
SD[Source+Dml]
SS1 -->|exchange| SU
SD -->|exchange| SU
SU --> SR
end
ISnk[Iceberg Sink]
ISrc[Iceberg Source]
HT -->|events| ISnk
ISnk -->|periodic commit| IT
ISrc -.->|scan| IT
end
subgraph Producer
Con[Connector]
Dml[INSERT]
end
Con --> SS1
Dml --> SD
subgraph MV["Downstream MV"]
subgraph StreamingSource["Iceberg streaming source"]
IcebergList --> IcebergFetch
end
StreamingSource --> Nodes
end
ISrc -.-> |instantiated as| StreamingSource
StreamingSource -.->|snapshot+incremental scan| IT
Query[Ad-hoc Query] -.->|scan| ISrc
classDef component fill:#f9f,stroke:#333,stroke-width:2px;
classDef external fill:#bbf,stroke:#333,stroke-width:1px;
classDef highlight fill:#5CE1E6,stroke:#333,stroke-width:1px;
classDef muted fill:#D9D9D9,stroke:#333,stroke-width:1px;
class HT,ISnk,IT,ISrc component;
class MV,Query external;
class IT highlight;
class ISrc muted;
Loading
Alternative solution: Backfill + forward
flowchart TB
subgraph Iceberg
IT[Iceberg Table]
end
subgraph "Iceberg Table Engine"
direction TB
subgraph HT["Hummock Table(ingestion+dispatch)"]
direction LR
SR[RowIdGen]
SU[Union]
SS1["Source(connector)"]
SD[Source+Dml]
SS1 -->|exchange| SU
SD -->|exchange| SU
SU --> SR
end
ISnk["Iceberg Sink (w/ logstore)"]
ISrc[Iceberg Source]
HT -->|events| ISnk
ISnk -->|periodic commit| IT
ISrc -.->|scan| IT
logstore
end
subgraph Producer
Con[Connector]
Dml[INSERT]
end
Con --> SS1
Dml --> SD
subgraph MV["Downstream MV"]
IcebergBackfill["IcebergBackfill(may need to read logstore in backfill stage)"]
HT -->|events| logstore --> IcebergBackfill --> Nodes
end
IcebergBackfill -.->|snapshot scan| IT
Query[Ad-hoc Query] -.->|scan| ISrc
classDef component fill:#f9f,stroke:#333,stroke-width:2px;
classDef external fill:#bbf,stroke:#333,stroke-width:1px;
classDef highlight fill:#5CE1E6,stroke:#333,stroke-width:1px;
classDef muted fill:#D9D9D9,stroke:#333,stroke-width:1px;
class HT,ISnk,IT,ISrc component;
class MV,Query external;
class IT highlight;
class ISrc muted;
Loading
The text was updated successfully, but these errors were encountered:
BugenZhao
changed the title
Reduce Storage Footprint for Append-only Use Cases
iceberg: Reduce Storage Footprint for Append-only Use Cases
Apr 29, 2025
Uh oh!
There was an error while loading. Please reload this page.
with the help of iceberg streaming source #20955
current architecture
With streaming iceberg source
Alternative solution: Backfill + forward
The text was updated successfully, but these errors were encountered: