Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I really like Postgres as an allround database, and putting monitoring data into Postgres is an attractive idea to me. One thing I'm wondering is how well you can mix a regular Postgres database with timeseries data using TimescaleDB? If I have a regular application using Postgres, can I just add timeseries in there with TimescaleDB in the same database? Or is that either not possible, or simply a bad idea?


You definitely can mix the two, and we actually find it a very useful thing so you can have your metadata available to query alongside the time series data. TimescaleDB will only make a table a hypertable if you tell it too, otherwise regular tables should work as you'd expect. And since we appear as a table in the contexts that it matters (JOINs, querying, inserting, etc), you shouldn't have any issues mixing the two.


I do this, and it works just fine - no caveats, it's actually one of the selling points of TimescaleDB.


Yes you can, and I think this is one of the main selling points of TimescaleDB.


it's perfectly fine to use TimescaleDB alongside any regular tables.


It is encouraged! :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: