← All Talks
View Schedule


Download image
"JavaScript in My Database? Over My Dead Query."


Session
Wednesday, Sep 9
2:35pm – 3:05pm
Matterhorn 1
How Percona Brought V8 to MySQL 8.4 and Why You’ll Actually Want It
What Attendees Will Learn:
- Why JavaScript stored programs exist, and why Percona chose V8 over GraalVM
- How to install and configure component_js_lang on Percona Server 8.4
- How to write, call, and drop JS stored functions and procedures using the LANGUAGE JS syntax
- How SQL and JavaScript types map to each other and why JSON columns are the killer use case
- How to debug JS routines with console.log, full V8 stack traces, and the JS_GET_LAST_ERROR_INFO() UDF
- How to kill runaway JS code and set memory limits safely
- Four realistic hands-on patterns: JSON normalization, fuzzy string matching, input validation, and business rule scoring
- Clear anti-patterns what you must not do inside a database with JavaScript
- The roadmap: what’s coming next (SQL from JS, memory hardening, GA path) and how to influence it through community feedback
Speakers

Marco Tusa
MySQL Tech Lead
Percona
Marco Tusa had his own international practice for the past 38 years. His experience and expertise are in a wide variety of information technology and information management fields, cover research, development, analysis, …

Dmitry Lenev
Principal Software Engineer
Percona
Principal Software Engineer at Percona working on Percona Server for MySQL since 2022. Worked on MySQL Server at MySQL/Sun/Oracle between 2003 and 2022. The most notable features on which I worked there are probably …









