Guides to optimizing performance in Firebolt.
Query lifecycle flowchart
Query Routing
Query Parsing
Metadata Lookup
Query Planning
Query Execution
Storage Access
FACT
or DIMENSION
table.
In addition, you can define a PARTITION BY
clause.
Rows with different partition values go into different data files (tablets).
The PRIMARY INDEX
defines the sort order within each tablet.
Firebolt can prune data using sparse indices on your partitioning and sorting keys.
INSERT
query.
This gives you fine-grained control over whether you want fast inserts that produce smaller tablets, or longer-running inserts that give you very large tablets.
MATERIALIZED
CTEs.
These give you control over how exactly a CTE is treated by our optimizer and runtime.