Skip to content

fft_approximate

FFT-based approximate aggregate range queries over time-series data.

fft_approximate · FFT-based approximate aggregate range queries over time-series data.

Overview

IDExtensionPackageVersionCategoryLicenseLanguage
101885fft_approximatefft_approximate1.0FUNCMITC

Usage

Sources:

fft_approximate FFT-based approximate aggregate range queries over time-series data.

Enablement

Install the files for the intended server, then create fft_approximate in the target database:

CREATE EXTENSION fft_approximate;

Core Workflow

The following example is taken from the reviewed upstream documentation. Adapt object names, paths, credentials, and workload values before use.

SELECT approximate_avg(c, 0, 10, 10 ORDER BY k) FROM coeffs;

Main Objects

The reviewed install surface includes these prominent objects:

ObjectKindOperational role
reFUNCTIONCallable function from the reviewed install surface.
approximate_avgAGGREGATEAggregate exposed by the extension.
complexTYPEUser-facing data type created by the extension.
imFUNCTIONCallable function from the reviewed install surface.
complex_addFUNCTIONCallable function from the reviewed install surface.
complex_avgFUNCTIONCallable function from the reviewed install surface.
complex_avg_accumFUNCTIONCallable function from the reviewed install surface.
complex_inFUNCTIONCallable function from the reviewed install surface.

Operations and Boundaries

  • Treat extension upgrades as database changes: review the upstream upgrade path, privileges, locks, and backup/restore behavior first.

Table reader