Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TimescaleDB support #103

Open
nhedger opened this issue Dec 14, 2024 · 3 comments
Open

TimescaleDB support #103

nhedger opened this issue Dec 14, 2024 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@nhedger
Copy link

nhedger commented Dec 14, 2024

Hi 👋,

I was thinking of creating a new database driver for TimescaleDB, but I stumbled upon your package and thought I could contribute the features to your package instead of reinventing the wheel.

Here are a couple ideas:

  • Creating hypertables
  • Introduce popular timescale functions

If that is something you'd be down with, please let me know, and if you'd instead not introduce Timescale features in there, no hard feelings, and I'll roll my own!

Cheers

@tpetry
Copy link
Owner

tpetry commented Dec 14, 2024

That would be awesome. I would like to work you on Timescale support!

I did an experiment long ago but ditched it as I believed there was no interest in it. You can start a PR anytime you like and we refine it. Or discuss the API here first.

But I would like to set Timescale 2.13 as minimum version. Some defaults are changed and the create_hypertable function is easier (less options). Starting by supporting an old version is in my opinion not a good option.

My idea would be to support the main features of Timescale:

  • creation of hypertables
  • adding a reorder policy
  • activate/deactivate/change chunk skipping
  • activate/deactivate compression
  • create continous aggregates

@tpetry tpetry added the enhancement New feature or request label Dec 14, 2024
@tpetry
Copy link
Owner

tpetry commented Dec 14, 2024

By using the official Timescale images there would also be more extensions available which would simplify further development in the future. And the GitHub CI test matrix can be extended to run with different PG versions.

This also kind of solves #70. But not exactly. In the future not the official image would be used (as requested) but one which also supports many more extensions to e.g. build support for PostGis etc.

https://github.com/timescale/timescaledb-docker-ha/

@nhedger
Copy link
Author

nhedger commented Dec 15, 2024

Awesome, I'll circle back in a couple of days!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants