Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions documentation/architecture/storage-engine.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,10 @@ Older partitions (any partition other than the most recent one) can be converted
Partitions in Parquet format remain fully available for queries. Users don't need to know whether a partition is in QuestDB
binary format or Parquet format. All the data types available in QuestDB can be converted to Parquet.

When using QuestDB Enterprise, tables can be configured to convert to Parquet automatically and to send the Parquet
files to object storage (Amazon S3, Microsoft Blob Storage, Google Cloud Storage, NFS...). This can help reduce the
cost of storing historical data while keeping it fully available for queries.
When using QuestDB Enterprise, tables can be configured to convert to Parquet automatically using
[storage policies](/docs/concepts/storage-policy/). This can help reduce local disk usage
while keeping historical data fully available for queries. Support for automatic upload
of Parquet files to object storage will be added in a future release.



Expand Down
13 changes: 13 additions & 0 deletions documentation/concepts/materialized-views.md
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,16 @@ CREATE MATERIALIZED VIEW trades_hourly AS (

The view's TTL is independent of the base table's TTL.

:::note

In QuestDB Enterprise, TTL is superseded by
[storage policies](/docs/concepts/storage-policy/). Use
[`STORAGE POLICY(...)`](/docs/query/sql/alter-mat-view-set-storage-policy/) on
a materialized view instead of `TTL` for graduated lifecycle management
(convert to Parquet, then drop).

:::

### Initial refresh

When created, materialized views start an **asynchronous full refresh**:
Expand Down Expand Up @@ -592,6 +602,9 @@ the replica's view was not fully up-to-date.
Sets the time limit for incremental refresh on a materialized view
- [`ALTER MATERIALIZED VIEW SET TTL`](/docs/query/sql/alter-mat-view-set-ttl/):
Sets the time-to-live (TTL) period on a materialized view
- [`ALTER MATERIALIZED VIEW SET STORAGE POLICY`](/docs/query/sql/alter-mat-view-set-storage-policy/):
Attaches a [storage policy](/docs/concepts/storage-policy/) to a
materialized view (QuestDB Enterprise)

- **Configuration**
- [Materialized views configs](/docs/configuration/overview/#materialized-views):
Expand Down
2 changes: 2 additions & 0 deletions documentation/concepts/partitions.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,3 +189,5 @@ partition as a single unit.
- [DETACH PARTITION](/docs/query/sql/alter-table-detach-partition/) — Move to cold storage
- [ATTACH PARTITION](/docs/query/sql/alter-table-attach-partition/) — Restore detached data
- [TTL](/docs/concepts/ttl/) — Automatic partition cleanup by age
- [Storage Policy](/docs/concepts/storage-policy/) — Graduated partition
lifecycle (convert to Parquet, then drop) in QuestDB Enterprise
Loading
Loading