Read and write Rerun .rrd recording files, including live recordings
Maintainer(s):
rozgo
Installing and Loading
INSTALL rrd FROM community;
LOAD rrd;
Example
-- Scan a Rerun recording (works while it is still being written)
SELECT * FROM read_rrd('recording.rrd', entity => '/metrics/**', timeline => 'frame');
-- What is inside?
SELECT * FROM rrd_schema('recording.rrd');
-- Export query results as a new Rerun recording
COPY (SELECT frame, loss FROM training_metrics)
TO 'metrics.rrd' (FORMAT rrd, ENTITY '/metrics', TIMELINE 'frame', COLUMNS 'frame,loss');
About rrd
Query Rerun .rrd recordings with SQL: one row per
time point, one column per entity/component, with real DuckDB types
(nested lists, structs, blobs). Scans tolerate a partially-written tail,
so live recordings can be polled while another process appends to them.
COPY ... TO (FORMAT rrd) writes query results back out as recordings
the Rerun viewer opens natively.
Added Functions
| function_name | function_type | description | comment | examples |
|---|---|---|---|---|
| read_rrd | table | NULL | NULL | |
| rrd_entities | table | NULL | NULL | |
| rrd_recordings | table | NULL | NULL | |
| rrd_schema | table | NULL | NULL |
Overloaded Functions
This extension does not add any function overloads.
Added Types
This extension does not add any types.
Added Settings
This extension does not add any settings.