frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: BLOBs in MariaDB's Memory Engine – No More Disk Spills for Temp Tables

https://jira.mariadb.org/browse/MDEV-38975
1•arcivanov•3h ago

Comments

arcivanov•3h ago
For the past 20+ years, MariaDB/MySQL's MEMORY (HEAP) engine has refused to store BLOB and TEXT columns entirely. This meant the optimizer was forced to spill temporary tables to disk (Aria/MyISAM) whenever a query involved JSON, TEXT, GEOMETRY, or Dynamic Columns, even when the actual data was small enough to fit in memory.

I wrote a patch for MariaDB 10.11 that removes this limitation. The MEMORY engine can now store BLOBs natively using continuation record chains, with a zero-copy fast path for the common case of small blobs that fit in a single continuation record. Non-blob tables have zero overhead since all blob-specific code is branch-guarded.

The practical impact: queries that use GROUP BY, DISTINCT, UNION, subquery materialization over tables with TEXT/JSON/GEOMETRY columns can now stay entirely in memory instead of hitting disk. This matters most for workloads with lots of small-to-medium temporary tables.

Some highlights:

- Zero-copy reads for single-run blobs (the common case in temp tables) - GEOMETRY column support (HA_CAN_GEOMETRY) - Free-list reuse with contiguous run detection to reduce fragmentation - Comprehensive test suite covering CRUD, deduplication, subquery materialization, and multi-run edge cases - No overhead for existing non-blob MEMORY tables

Limitations: no BTREE indexes on blob columns (HASH only), no FULLTEXT (triggers conversion to Aria as before), and multi-run blobs need a temporary reassembly buffer.

The patch is currently in review. If you run MariaDB from source or are comfortable with preview builds, I'd love for people to try it out and report any issues back on the JIRA ticket.

Feedback, benchmarks, and bug reports all welcome.

The Mystery of Asjo.org

https://acid.vegas/blog/the-mystery-of-asjo-org/
1•gzread•1m ago•0 comments

How College Admissions Officers Spot Over-Coached Applications

https://www.forbes.com/sites/christopherrim/2026/02/27/how-college-admissions-officers-spot-over-...
1•paulpauper•2m ago•0 comments

Our Hospice System Subverts the Point of Hospice Care

https://www.nytimes.com/2026/03/02/opinion/hospice-care.html
1•paulpauper•3m ago•0 comments

SEIU Delenda Est

https://www.astralcodexten.com/p/seiu-delenda-est
1•paulpauper•4m ago•0 comments

Tell HN: Azure Data Factory pipeline execution delays in East US 2

1•dwoldrich•5m ago•0 comments

Show HN: ByeBrief – a local-first AI investigation canvas

https://github.com/byte271/ByeBrief/
1•yihac1•6m ago•0 comments

The Differentiated Engineer in the Era of Automated Development

https://substack.com/home/post/p-190017259
1•Carsten_Peters•6m ago•0 comments

Defense Devaluation – Starlink on American Drones

https://en.topwar.ru/278903-devalvacija-oborony-starlink-na-amerikanskih-dronah.html
1•B1FF_PSUVM•6m ago•0 comments

India Plans 30% Slash in Thermal Coal Imports This Year

https://oilprice.com/Latest-Energy-News/World-News/India-Plans-30-Slash-in-Thermal-Coal-Imports-T...
1•PaulHoule•6m ago•0 comments

I made a programming language with M&Ms

https://mufeedvh.com/posts/i-made-a-programming-language-with-mnms/
1•mufeedvh•7m ago•0 comments

Show HN: MysteryMaker AI

https://www.mysterymaker.ai
1•jhappy77•10m ago•0 comments

Peer-to-Peer Networking: Build a VPN Tunnel with Wintun on Windows – Part 2

https://www.0xmm.in/posts/peer-to-peer-windows-part2/
1•melson•16m ago•0 comments

UUID package coming to Go standard library

https://github.com/golang/go/issues/62026
2•soypat•17m ago•0 comments

US draws up strict new AI guidelines amid Anthropic clash

https://www.reuters.com/business/media-telecom/us-draws-up-strict-new-ai-guidelines-amid-anthropi...
4•ericsaf•18m ago•2 comments

T3 Code – a new OSS agentic coding app that wraps Codex

https://t3.codes/
1•theobr•18m ago•0 comments

Show HN: HyperClaw – self-hosted AI assistant that replies on Telegram/Discord/+

https://github.com/mylo-2001/hyperclaw
1•mylw•19m ago•0 comments

Rust 1.94.0

https://blog.rust-lang.org/2026/03/05/Rust-1.94.0/
1•tahazsh•24m ago•0 comments

Natural Language AutoCoder Open SOurce

https://github.com/tommoirnz/NLAutocoder
1•moirnz•28m ago•1 comments

Show HN: Claude-consensus – Multi-model code review plugin for Claude Code

https://github.com/AltimateAI/claude-consensus
1•k_git•29m ago•0 comments

BYD unveils Blade Battery 2.0: 10-70% in 5 mins, 10-97% in 9 mins

https://carnewschina.com/2026/03/05/byd-unveils-blade-battery-2-0-10-70-in-5-mins-10-97-in-9-mins...
1•xxfye•29m ago•0 comments

Show HN: Copyworks – Chinese character worksheets with tone colors

https://copyworks.loqu8.com
1•loqu8•33m ago•0 comments

Saulala

https://www.saulala.com/
2•matthberg•34m ago•0 comments

Qatar warns war will force Gulf to stop energy exports 'within days'

https://www.ft.com/content/be122b17-e667-478d-be19-89d605e978ea
4•geox•39m ago•0 comments

FASTEST LLM decode engine on Apple Silicon. 658 tok/s on M4-Max,beats MLX by 19%

https://www.runanywhere.ai/blog/metalrt-fastest-llm-decode-engine-apple-silicon
2•sanchitmonga•40m ago•2 comments

T3 Code: A Minimal Web GUI/Desktop App for Coding Agents

https://github.com/pingdotgg/t3code
1•vldszn•42m ago•0 comments

I built a database of verified YouTube channel revenues

https://ytmrr.com/
1•poissac•42m ago•1 comments

Cancellation of Army exercise fuels speculation about Mideast troop deployments

https://www.washingtonpost.com/national-security/2026/03/06/army-82nd-airborne-iran/
5•ParentiSoundSys•48m ago•0 comments

ClawMarket agent skill – gives agents wallets and ability to sign onchain txns

https://clawmarket.tech
1•semanticlayer•48m ago•1 comments

Teams have a context-sharing problem; TeamContext is our attempt

https://github.com/hzhou9/TeamContext
1•hzhou9•50m ago•1 comments

AIs are not conscious, but most critics can't adequately explain why

https://plus.flux.community/p/its-like-this-why-your-perception
2•Novapebble•51m ago•5 comments