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.

Ask HN: What is the best database structure to store Big Data?

1 pointsby mafiaboiover 2 years ago
Asking HN data engineers for opinions and recommendations:<p>I am building on top of the blockchain data using Google Cloud and Bigquery however the queries for most of the data is just too slow and takes a long time.<p>I believe there is huge improvement in database tools as well as new DBs popping up. Are there any recommendations that I can implement to make my SQL queries much faster?<p>Two that I came across is trino.io and Apache Spark. Anyone used these before and saw noticeable performance changes?

3 comments

orbzover 2 years ago
You&#x27;re probably going to be hard pressed to really beat out the sheer data throughput capacity of BigQuery without significant developer investment. I&#x27;ve done a lot of Apache Spark, Flume and Beam and they all have their own quirks and problems points. All of them are not at interactive speeds, have OOM issues for certain operations and require a lot of glue code&#x2F;data management.<p>Honestly at this point you&#x27;re probably going to want to start looking into the query planner and execution stats of your BigQuery jobs to see if you&#x27;re doing something really weird and optimize that: <a href="https:&#x2F;&#x2F;cloud.google.com&#x2F;bigquery&#x2F;docs&#x2F;query-plan-explanation" rel="nofollow">https:&#x2F;&#x2F;cloud.google.com&#x2F;bigquery&#x2F;docs&#x2F;query-plan-explanatio...</a>
评论 #34727918 未加载
PaulHouleover 2 years ago
<a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Column-oriented_DBMS" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Column-oriented_DBMS</a><p>and past that making the &quot;big&quot; data as &quot;small&quot; as you can by removing points that aren&#x27;t necessary, removing fields that aren&#x27;t necessary, and representing the remainder with as few bits as possible.
评论 #34729597 未加载
mafiaboiover 2 years ago
What do you guys think about Trino.io?