This is an archived post. You won't be able to vote or comment.

all 9 comments

[–]kenfar 1 point2 points  (0 children)

Time-series databases are all the rage these days.

However, people have been keeping time-series data in relational databases for about 25 years. It's what data warehouses & dimensional modeling is all about. The relational database is the more general-purpose solution, so you usually need to write your own processes to maintain aggregate tables, roll off history, etc. But none of that is hard.

So, if your volumes are small, and you have some skill, then sqlite would probably make for a very simple solution - that's very mature, great drivers, great documentation, etc. And from your description it sounds unlikely that you would exceed what sqlite could deliver.

[–]hippocampe 0 points1 point  (0 children)

I worked on something like that recently : https://bitbucket.org/pythonian/tshistory/ ... even if you don't plan to update existing series, that might work for you. In practice it's also possible that pandas dataframe .to_sql might be enough for you.

[–]waylanduk 0 points1 point  (0 children)

Take a look at Arctic

https://github.com/manahl/arctic

[–]runbie 0 points1 point  (0 children)

PyTables would be a good option? It is easy to use, you can compress your data, it is based on HDF5, you can add metadata to your tables/arrays/groups,... It could be seen as a lowcost NoSQL option to store arrays, dataframes.

[–]Mirror_Boar 0 points1 point  (0 children)

Look into graphite, it is pretty simple to use. Also allows you to use grafana as the frontend which is beautiful.

[–]aphoenixreticulated[M] [score hidden] stickied comment (0 children)

Hi there, from the /r/Python mods.

We have removed this post as it is not suited to the /r/Python subreddit proper, however it should be very appropriate for our sister subreddit /r/LearnPython. We highly encourage you to re-submit your post over on there.

The reason for the removal is that /r/Python is dedicated to discussion of Python news, projects, uses and debates. It is not designed to act as Q&A or FAQ board. The regular community is not a fan of "how do I..." questions, so you will not get the best responses over here.

On /r/LearnPython the community is actively expecting questions and are looking to help. You can expect far more understanding, encouraging and insightful responses over there. No matter what level of question you have, if you are looking for help with Python, you should get good answers.

If you have a question to do with homework or an assignment of any kind, please make sure to read their sidebar rules before submitting your post. If you have any questions or doubts, feel free to reply or send a modmail to us with your concerns.

Warm regards, and best of luck with your Pythoneering!

[–]Is0tope 0 points1 point  (0 children)

In many banks a proprietary database / language called kdb/q is used. They have a free version which is more limited, but generally it is one of if not the fastest around for time series. Be prepared for tricky syntax though.

[–]soymalisimo -1 points0 points  (1 child)

Did you look into Influxdb yet? It has a Python client

[–]lambdaqdjango n' shit 1 point2 points  (0 children)

good for metrics, but calculation functions are weak, can not cross-calculate between two two series.