Am I the only one that's like "wtf is a time-series database compared to a normal one?"
Launch HN: QuestDB (YC S20) – Fast open source time series database
21–30 of 173 posts
Re: Launch HN: QuestDB (YC S20) – Fast open source time series database
#22Am I the only one that's like "wtf is a time-series database compared to a normal one?"
Re: Launch HN: QuestDB (YC S20) – Fast open source time series database
#23Am I the only one that's like "wtf is a time-series database compared to a normal one?"
A 'normal one' is typically used for things like transactional data which adds, deletes, and updates data among linked tables. While these transactions happen in time, the time component isn't necessarily a critical dimension of the data.
Re: Launch HN: QuestDB (YC S20) – Fast open source time series database
#24This is great! Quick question: would you mind sharing why you went with Java vs something perhaps more performant like all C/C++ or Rust? I'd suspect language familiarity (which is 100% ok).
Re: Launch HN: QuestDB (YC S20) – Fast open source time series database
#25Am I the only one that's like "wtf is a time-series database compared to a normal one?"
Re: Launch HN: QuestDB (YC S20) – Fast open source time series database
#26Will be in touch :)
Re: Launch HN: QuestDB (YC S20) – Fast open source time series database
#27Does postgres wire support mean QuestDB can be a drop-in replacement for a postgres database? Is this common?
For traditional transactional RDBMS data, I don't think it's a very common choice. For Time Series data, QuestDB is by far the fastest choice for Postgres-compatible SQL Time Series databases.
Re: Launch HN: QuestDB (YC S20) – Fast open source time series database
#28The benefits of mmaping and in general POSIX filesystem atomic properties are quick implementation, where you don't have to worry about buffer management. The filesystem and disk block remapping layer (in SSD or even HDDs now) are radically more efficient when data are given to them in contiguous large chunks. This is difficult to control with mmap where the OS may write out pages at its whim. However, even using advanced Linux system calls like mremap and fallocate, which try to improve the complexity of changing mappings and layout in the filesystem, eventually this lack of control over buffers will bite you.
And then when you look at it, the kernel (with help from the processor TLB) has to maintain complex data-structures to represent the mappings and their dirty/clean states. Accessing memory is not O(1) even when it is in RAM. Making something better tuned to a database than the kernel page management is a significant hurdle but that's where there are opportunities.
Re: Launch HN: QuestDB (YC S20) – Fast open source time series database
#29Re: Launch HN: QuestDB (YC S20) – Fast open source time series database
#30SELECT * FROM trips WHERE tip_amount > 500 ORDER BY tip_amount DESC
Very interesting :-)