TimescaleDB Support within Marten
Read OriginalMarten, a .NET document- and event-store on PostgreSQL, now supports TimescaleDB as an opt-in feature. Developers can enable it with UseTimescaleDB() to automatically create the timescaledb extension. The feature allows converting flat table projections and append-heavy document tables into hypertables, which are time-partitioned with columnar compression, retention policies, and continuous aggregates. It integrates with Marten's schema migration system, ensuring idempotent creation and no drift. The article explains usage, requirements (shared_preload_libraries), and provides code examples for configuration and projection setup.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser