TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

First release candidate for TimescaleDB 1.0

107 pointsby iamd3vilover 6 years ago

8 comments

welderover 6 years ago
Funny timing... just installed 1.0 rc1 this week. Dual-writing and experimenting reading from TimescaleDB in prod currently.<p>So far it&#x27;s been perfect... besides a small config issue[1] causing a crash that should have been detected when Postgres starts up, TimescaleDB gives me reliability and durability of Postgres without having to manually create partition tables.<p>What will happen when Postgres supports auto creating partition tables for declarative partitioning[2]? Will TimescaleDB still be necessary?<p>Feature request 1: when all rows of a chunk&#x2F;partition table are deleted can that chunk be automatically dropped instead of having to manually run drop_chunks[3]?<p>Feature request 2: for the getting started docs, add an option to install with <a href="https:&#x2F;&#x2F;nixos.org" rel="nofollow">https:&#x2F;&#x2F;nixos.org</a><p>[1]: <a href="https:&#x2F;&#x2F;github.com&#x2F;timescale&#x2F;timescaledb&#x2F;issues&#x2F;733" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;timescale&#x2F;timescaledb&#x2F;issues&#x2F;733</a><p>[2]: <a href="https:&#x2F;&#x2F;www.postgresql.org&#x2F;docs&#x2F;11&#x2F;static&#x2F;ddl-partitioning.html#DDL-PARTITIONING-DECLARATIVE" rel="nofollow">https:&#x2F;&#x2F;www.postgresql.org&#x2F;docs&#x2F;11&#x2F;static&#x2F;ddl-partitioning.h...</a><p>[3]: <a href="https:&#x2F;&#x2F;docs.timescale.com&#x2F;v1.0&#x2F;api#drop_chunks" rel="nofollow">https:&#x2F;&#x2F;docs.timescale.com&#x2F;v1.0&#x2F;api#drop_chunks</a>
评论 #18028237 未加载
评论 #18028260 未加载
atombenderover 6 years ago
Is TimescaleDB a good fit for events?<p>For example, we have data where each record is a tuple of (time, event, object), where the event is things like &quot;viewed&quot;, &quot;performedSearch&quot;, etc., and the object is event data as JSON. Let&#x27;s say the object is a movie, in which case the payload might be something like:<p><pre><code> {&quot;id&quot;: 123, &quot;name&quot;: &quot;The Godfather&quot;, &quot;director_id&quot;: 456, &quot;genre&quot;: &quot;crime&quot;} </code></pre> Our reporting UI lets users do aggregations based on arbitrary dimensions, so we might do the equivalent of:<p><pre><code> select object-&gt;&gt;&#x27;genre&#x27; as genre, object-&gt;&gt;&#x27;director_id&#x27; as director_id, extract(month from time) as month, count(*) as count from events group by month, genre, director_id </code></pre> Then we do things like pivot&#x2F;nest values to display the groupings.<p>It&#x27;s unclear to me whether TimescaleDB fits this use case, or whether we&#x27;d have to change how things are indexed. Right now we just index the whole object itself. Another scheme I&#x27;ve considered is that we could index it with the values as keys; so for example, the above event would be {&quot;name:The Godfather&quot;: 1, &quot;director_id:456&quot;: 1, &quot;genre:crime&quot;: 1} and essentially represent the counts. A counting aggregation would then be rewritten as as a sum(). But it&#x27;s unclear to me how you do intersections here without also creating all the permutations (i.e. something like {&quot;director_id:456&#x2F;genre:crime&quot;: 1}) beforehand.<p>We&#x27;re currently using Elasticsearch for this. Performance is okay, but we&#x27;re not entirely happy with it.
评论 #18028421 未加载
评论 #18028645 未加载
RobAtticusover 6 years ago
Just to give a little (estimated) timeline:<p>* Currently our first release candidate is available via Github and Docker<p>* We are aiming to release a 2nd release candidate next week<p>* Sometime shortly after that (1-2 weeks) we&#x27;ll go final 1.0.0<p>Happy to answer any questions!
评论 #18027214 未加载
z0mbie42over 6 years ago
Hi, it&#x27;s very interesting!<p>Do you test if TimescaleDB affect the performances of the relational part of Postgres ? In other words, can I use TimescaleDB as my primary DB to store both my users and time series data ?
评论 #18027964 未加载
qaqover 6 years ago
Nice product for small&#x2F;mid scale workloads. It&#x27;s no Vertica or ClickHouse but if you do not need the scale should work well.
评论 #18027429 未加载
评论 #18027303 未加载
sciurusover 6 years ago
Congrats on the RC! TimescaleDB is a very neat idea, there&#x27;s a lot to gain by building on Postgres.<p>There&#x27;s also a very serious limitation due to that: the requirement to predefine schemas. My primary use case for a timeseries-focused db is storing system and application metrics. Using a commercial (e.g. datadog, signalfx) or open source (e.g. influxdb, prometheus) timeseries product I can submit arbitrary data. If I had to perform a schema migration every time a developer wanted to record a new metric, it would be extremely painful.<p>If this has changed since I last looked at TimescaleDB, please correct me!
评论 #18028894 未加载
评论 #18028916 未加载
评论 #18028869 未加载
WalterGRover 6 years ago
I feel like I learn of a new DBMS a couple times a month. Can anyone comment on how well these upstart DBMSes tend to be tested &#x2F; <i>proven</i>?
评论 #18027196 未加载
评论 #18027384 未加载
评论 #18027184 未加载
评论 #18027146 未加载
评论 #18027150 未加载
temuzeover 6 years ago
Any updates on full, scale-out clustering?<p>And are there any plans on supporting columnar storage, for very wide tables?