frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: SQL service for tables with billions of rows or up to 1M columns

2•synsqlbythesea•54m ago
Hi All,

March 2023. I was in touch to join a "big data" IT service company. I didn't get the job... Before the team decided I was too old, they introduced me to products I wasn't previously aware of. Since that time, I’ve been building a distributed SQL data engine. I started from 2 previous personal projects. A distributed network filesystem and a peer-to-peer Linux cluster. The goal was to manage "impossible tables": narrow tables with billions of rows or wide tables with columns by the million.

My opinion was and remains this simple idea: you can orchestrate single MariaDB servers to build a global resilient and massively parallel SQL service.

How SynSQL works under the hood:

    Storage Delegation: Physical storage is delegated to MariaDB data brokers to store table data. The data dictionary is also delegated to MariaDB master brokers (mirror managed). 
    Wide tables are vertically sliced into chunks. Each chunk is mapped to a specific broker. You can consider a narrow table as a single chunk table.
    All tables are mandatorily partitioned across nodes using a primary hash key. 
    When a query hits a SynSQL server, it dynamically spawns a tree of Linux processes via fork(). Leaf processes query only the specific brokers holding the requested data and ignore unneeded chunks. Other node processes assemble rows.
    Memory control: Any node at any position in the process tree reads and sends data using a limited 64K buffer. Huge rows are assembled part by part to avoid OOM issues.
High Availability & Resilience:

    A SynSQL Cluster may present up to 32 SynSQL servers sharing a minimal global state. If a node fails, the resilient client automatically reconnects to another active node.
    Metadata: Dictionaries are mirrored across Master Brokers and out-of-sequence resynced at cluster boot. You can also add a master broker on the fly.
    Data layer: Partitions rely on 1 to 3 "reflects" (dedicated MariaDB instances) per partition.
Try the Live Workshops:

No slides. No benchmarks. Run your own queries on two live datasets:

    - Wide Table example multi_omics: 585,010 columns × 10,000 rows. Pick any set of columns and test the extraction speed. https://synsql.com/multiomics_demo.html
    - Deep Table Example: A real-time join across astronomical datasets: Gaia source_data and astrophysical_parameters. 1.8B x 1.5B row join. https://synsql.com/gaia_demo.html
You would like to try it on premise ? Let's get in touch.

Thanks for checking it out, Stéphane

Comments

islambaraka•5m ago
How does SynSQL handle queries that do not include the primary hash key? Does it fan out to every partition, or maintain secondary routing metadata?

Patreon Lays Off 20 Percent of Its Workforce

https://www.404media.co/patreon-lays-off-20-percent-of-its-workforce/
4•cdrnsf•12m ago•0 comments

Saying Goodbye to My Office

https://manilsuri.substack.com/p/on-saying-goodbye-to-my-office
3•tzury•13m ago•0 comments

Palo Alto Networks Plans to Buy Embrace in Observability Push

https://www.morningstar.com/news/dow-jones/202607219336/palo-alto-networks-plans-to-buy-embrace-i...
2•pranay01•17m ago•0 comments

Measuring the Performance Cost of High Availability in Postgres

https://clickhouse.com/blog/postgresbench-ha
3•saisrirampur•20m ago•0 comments

Middleware that catches when LLM conversations slowly drift off-topic

https://github.com/ojki74/hallucinatoff
1•ojki•25m ago•0 comments

Feral cats fail at urban rodent control (2018)

https://wildlife.org/rats-feral-cats-fail-at-urban-rodent-control/
2•vector_spaces•25m ago•0 comments

Now on the American Road: Bulletproof Cars

https://www.nytimes.com/2026/07/20/style/armored-cars-bulletproof-american-drivers.html
1•bookofjoe•26m ago•1 comments

The Visual 6502

http://visual6502.org/JSSim/index.html
2•infiniteregrets•27m ago•0 comments

How working out at the gym replaced the home improvement project

https://www.cnn.com/2026/07/23/business/gyms-millennials-gen-z-equinox
1•mooreds•30m ago•0 comments

China won the car wars with cheap EVs loaded with technology

https://www.rnz.co.nz/news/world/782063/how-china-won-the-car-wars-with-cheap-evs-loaded-with-tec...
10•billybuckwheat•35m ago•1 comments

The Online MBA

https://theonline.mba
2•multiplesauces•36m ago•1 comments

The Elm Architecture, Without Elm

https://bichanna.github.io/posts/tea-time/
3•theanonymousone•36m ago•0 comments

Sherlock Search – find anyone by photo

https://sherlocksearch.net
1•thefirstname322•36m ago•0 comments

AI bet goes awry: Oracle fires 21,000 employees

https://www.jpost.com/business-and-innovation/tech-and-start-ups/article-903442
4•willmarch•37m ago•1 comments

About 1 in 4 workers keep unwanted jobs for health insurance, poll finds

https://www.washingtonpost.com/business/2026/07/24/about-1-4-workers-keep-unwanted-jobs-health-in...
3•bookofjoe•40m ago•1 comments

Show HN: Verified B2B leads with the reason to reach out now

https://madleadz.com/
1•not_wowinter14•40m ago•0 comments

CodeCrafters – Build Your Own <X> repo

https://github.com/codecrafters-io/build-your-own-x
2•matthberg•41m ago•0 comments

Ukraine's Kill Zone

https://www.reuters.com/graphics/UKRAINE-CRISIS/KILL-ZONE/znpnojmknvl/
6•mathgenius•44m ago•0 comments

There isn't a single consumer Wi-Fi router that is 100% American-made

https://www.engadget.com/2218707/no-100-percent-american-made-wifi-router/
1•speckx•45m ago•0 comments

OpenAI's Dean Ball on Chinese Open-Weight Models

https://twitter.com/deanwball/status/2078133895766114412
3•matt_daemon•45m ago•0 comments

India's CJP Protests Meet Internet Shutdowns and Pervasive Surveillance

https://www.techpolicy.press/indias-cjp-protests-meet-internet-shutdowns-and-pervasive-surveillance/
2•sid_talks•48m ago•0 comments

Canva uses S3 for logged-in session management

https://www.canva.dev/blog/engineering/session-revocations-at-scale/
3•birdculture•48m ago•0 comments

Quick Followup on the Truth Social Thing

https://www.businesslawprofessors.com/2026/07/quick-followup-on-the-truth-social-thing/
4•petethomas•49m ago•0 comments

Ask HN: What Linux distro do you daily drive?

6•addajones•49m ago•8 comments

FreeBSD ports frozen after someone commits the 150MB Linux Copilot binary

https://www.osnews.com/story/145593/freebsd-ports-frozen-after-someone-commits-the-entire-150mb-l...
2•iamnothere•49m ago•0 comments

Light Flip Phone

https://www.thelightphone.com/lightflip
4•agilek•51m ago•0 comments

Recent Modeling Systematically Underestimates Warming from IMO2020 Shipping Regs

https://egusphere.copernicus.org/preprints/2026/egusphere-2026-2654/
1•littlexsparkee•51m ago•0 comments

A DEX aggregator whose quotes are computed on-chain (free API, no key)

https://blazephoenix.xyz/
1•mitraxyz•52m ago•1 comments

Show HN: SQL service for tables with billions of rows or up to 1M columns

2•synsqlbythesea•54m ago•1 comments

When AI Attacks AI: Why Every System Needs a Guard

https://medium.com/@alanscottencinas/when-ai-attacks-ai-why-every-system-needs-a-guard-8ba46f904378
1•encinas88•55m ago•0 comments