Skip to content

Commit ac1f9b7

Browse files
authored
Fix a few inconsistencies in the documentation (#7)
1 parent 6dae610 commit ac1f9b7

4 files changed

Lines changed: 26 additions & 9 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
[![Zig Version](https://img.shields.io/badge/Zig-0.15.2-orange?logo=zig&labelColor=282c34)](https://ziglang.org/download/)
1010
[![Release](https://img.shields.io/github/release/CogitatorTech/vizier.svg?label=release&style=flat&labelColor=282c34&logo=github)](https://github.com/CogitatorTech/vizier/releases/latest)
1111

12-
A database advisor and finetuner for DuckDB
12+
A physical design advisor for DuckDB
1313

1414
</div>
1515

@@ -28,8 +28,8 @@ When you have a DuckDB database, you are typically on your own to figure out thi
2828

2929
There are tools like [pg_qualstats](https://github.com/powa-team/pg_qualstats) (for PostgreSQL) and
3030
[Database Engine Tuning Advisor](https://learn.microsoft.com/en-us/sql/relational-databases/performance/database-engine-tuning-advisor?view=sql-server-ver17)
31-
(for SQL Server) that try to solve these problems, but nothing equivalent exists for DuckDB.
32-
Vizier aims to fill that gap.
31+
(for SQL Server) that try to solve these kinds of problems, but nothing equivalent exists for DuckDB.
32+
Vizier is a step towards filling that gap.
3333

3434
### Features
3535

ROADMAP.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ This document outlines the features implemented in Vizier and the future goals f
103103
- [x] SQL-based benchmarks against real-world datasets (`benches/` and `make bench`)
104104
- [x] TPC-H correctness validation (`benches/tpch_correctness.sql`)
105105
- [x] Cross-platform build support (Linux, macOS, Windows, and FreeBSD)
106-
- [x] CI pipeline with 9-platform cross-compile
106+
- [x] CI pipeline with 8-platform cross-compile
107107
- [x] Schema migration support for upgrades (`ALTER TABLE ADD COLUMN IF NOT EXISTS`)
108108
- [x] Cross-version state load/save compatibility (`INSERT BY NAME`)
109109

@@ -115,7 +115,7 @@ to accumulate over days and weeks.
115115
- [x] `vizier_init(path)` persistent state file initialization
116116
- [x] Autoload state on extension init if `state_path` setting is configured
117117
- [x] Auto-save metadata tables on `vizier_flush()` when `state_path` is configured
118-
- [x] `vizier_export(path)` and `vizier_import(path)` for state transfer across environments
118+
- [x] `vizier_save(path)` and `vizier_load(path)` for state transfer across environments
119119
- [ ] Attach-based persistence using `ATTACH ':vizier_state:' AS vizier` to a file-backed database
120120

121121
### Automatic Query Capture

docs/index.md

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Vizier
22

3-
**A database advisor and finetuner for DuckDB.**
3+
**A physical design advisor for DuckDB.**
44

55
---
66

@@ -18,8 +18,8 @@ When you have a DuckDB database, you are typically on your own to figure out thi
1818

1919
There are tools like [pg_qualstats](https://github.com/powa-team/pg_qualstats) (for PostgreSQL) and
2020
[Database Engine Tuning Advisor](https://learn.microsoft.com/en-us/sql/relational-databases/performance/database-engine-tuning-advisor?view=sql-server-ver17)
21-
(for SQL Server) that try to solve these problems, but nothing equivalent exists for DuckDB.
22-
Vizier aims to fill that gap.
21+
(for SQL Server) that try to solve these kinds of problems, but nothing equivalent exists for DuckDB.
22+
Vizier is a step towards filling that gap.
2323

2424
## How It Works?
2525

@@ -46,6 +46,23 @@ select * from vizier_apply(1);
4646
select * from vizier_benchmark('select * from events where account_id = 42', 10);
4747
```
4848

49+
## When to Use Vizier?
50+
51+
Vizier is most useful for:
52+
53+
- Analyzing your query patterns and recommends the sort order and partitioning strategy for Parquet exports. Getting the
54+
sort order wrong means 10-100x worse row-group pruning.
55+
- Optimizing persistent DuckDB tables. If you have tables that get scanned repeatedly with the same filter patterns, Vizier identifies which columns
56+
to sort by for scan pruning.
57+
- Understanding workload patterns. `vizier.workload_summary`, `vizier.inspect_table()`, and `vizier.overview()` give you a quick picture of which
58+
tables and columns are under the most pressure. This can be useful when inheriting a database you did not build.
59+
60+
Vizier is less useful for:
61+
62+
- Ad-hoc notebook analysis (no repeating patterns).
63+
- Tiny datasets (DuckDB is already fast).
64+
- Read-only Parquet scans like reading Parquet files on an S3 bucket.
65+
4966
## What Vizier Is Not
5067

5168
Vizier is not an auto-tuner.

src/vizier/dashboard.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ pub const template_before: [*:0]const u8 =
7070
\\ <div id="replay" class="tab"></div>
7171
\\ <div id="overview" class="tab"></div>
7272
\\</div>
73-
\\<footer>Generated by Vizier — physical design advisor for DuckDB</footer>
73+
\\<footer>Generated by Vizier</footer>
7474
\\<script>
7575
\\const D=
7676
;

0 commit comments

Comments
 (0)