DuckDB Export Database

Exporting Firecache for import into DuckDB.

The underlying DuckDB database behind Firecache can be exported and downloaded via the /firecache/export API, which can be useful for local analysis and debugging.

Warning: Running export on a high-load Firecache can significantly affect its performance during the export and should be used with caution.

POST to the API to download the archive as Parquet. E.g.

curl --request POST \
  --url \
  --header 'X-API-Key: <Your API Key>'

Then unzip the archive and import into DuckDB.

// Run in DuckDB
IMPORT DATABASE 'firecache';

Options can be passed via the body E.g.

curl --request POST \
  --url \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <Your API Key>'
  --data '{
	"format": "csv"

See the DuckDB import/export documentation for all format/compression options and more information on importing to DuckDB.

Firecache Export Database


Export the underlying DuckDB Database as CSV or Parquet for import into DuckDB.

Request Body




The export format. Valid values are csv or parquet. Defaults to parquet.



Compression option for Parquet exports. Valid values are uncompressed, snappy, gzip or zstd. Defaults to zstd.

Last updated