Oracle announces WebAssembly support in MySQL (blogs.oracle.com)

🤖 AI Summary
Oracle announced WebAssembly (Wasm) support in MySQL HeatWave, letting developers run portable, near‑native code (compiled from Rust, C/C++, etc.) directly inside the MySQL database. HeatWave — a fully managed MySQL service for transactions, analytics, ML and GenAI with multi‑cloud deployment (OCI, AWS, Azure) — can now host Wasm modules alongside JavaScript stored programs, enabling heavy data processing, custom domain engines, in‑database ML inference, cryptography, media processing and compliance logic without ETL or external microservices. For AI/ML teams this means lower latency, fewer data movements, reuse of existing native libraries, and the ability to centralize and audit business/validation logic at commit time. Technically, Wasm binaries are imported as libraries (CREATE LIBRARY ... LANGUAGE WASM) — typically embedded as base64 — and can be called from JavaScript stored functions; the blog shows an emcc example building a standalone wasm (STANDALONE_WASM=1, --no-entry, exported functions) for a prime check. Execution is sandboxed via GraalVM and the existing LIBRARY privilege model, with no direct disk, network or syscall access and enforced memory safety. The feature is available in MySQL HeatWave 9.4+ (and Enterprise with the mle component). In short, MySQL+Wasm brings portable, high‑performance native code into the data plane, accelerating inline transformation, inference and custom logic while preserving strong security and manageability.
Loading comments...
loading comments...