Skip to content

Commit 6792424

Browse files
committed
doc: index usage statistics
1 parent 1596ade commit 6792424

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

.claude/rules/development.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@
1818

1919
2. Add or update a test in `pkg/export/exporter_test.go`.
2020

21-
3. Build and verify:
21+
3. Update the "What Data is Collected" section in `README.md` to list the new CSV file.
22+
23+
4. Build and verify:
2224
```bash
2325
go build -o workload-exporter .
2426
./workload-exporter export --help

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ The export creates a **zip file** containing the following files:
205205
- **`crdb_internal.gossip_nodes.csv`** - Node information and topology
206206
- **`crdb_internal.node_cpu_mem.csv`** - Per-node vCPU count and total memory (derived from `kv_node_status`)
207207
- **`crdb_internal.table_indexes.csv`** - Table and index descriptor IDs across all databases
208+
- **`crdb_internal.index_usage_statistics.csv`** - Index usage counters across all databases
208209
- **`system.table_statistics.csv`** - Optimizer table statistics (column-level stats used by the query planner)
209210

210211
*Statistics files only include data within the specified time range*

0 commit comments

Comments
 (0)