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

H2 Much Faster than DuckDB for small inserts / selected #4055

Open
ryanhamilton opened this issue May 14, 2024 · 1 comment
Open

H2 Much Faster than DuckDB for small inserts / selected #4055

ryanhamilton opened this issue May 14, 2024 · 1 comment

Comments

@ryanhamilton
Copy link

Hi,

Today I've been running benchmarks and on small data sets H2 is inserting then selecting a subset 14x quicker than DuckDB.

I've got a data engine written in java that uses H2 as a backend. It allows performing selects against streaming data and other databases. So my use case is unique in that I create lots of small tables 100s of time per second, query them, then drop the table. I wanted to look at using DuckDB as the parquet querying is really useful to my users but H2 is so much faster I wouldn't change.

To be fair to DuckDB they are targeted at much larger data, are having to cross the java memory barrier and I wasn't using their custom appender.

Anyway just wanted to share the news and say Thanks.
👍

@grandinj
Copy link
Contributor

Thanks!

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

No branches or pull requests

2 participants