About user-defined actions
With user-defined actions, you can write custom functions and procedures, and schedule them to run periodically. TimescaleDB natively includes some job-scheduling policies, such as:
- Continuous aggregate policies to automatically refresh continuous aggregates
- Compression policies to compress historical data
- Retention policies to drop historical data
- Reordering policies to reorder data within chunks
If these don't cover your use case, or if you want to expand upon the native policy features, you can write a user-defined action. Actions can be written in the language of your choice.
Found an issue on this page?Report an issue!