TLDR · QUICK LINKS

HOW DO DATABASES EXECUTE EXPRESSIONS?

notes.eatonphil.com14 min read

Summary from the TLDR newsletter

Most databases use a tree-walking interpreter, a few use stack or register-based virtual machines, a couple use just-in-time compilers, and some do vectorized interpretation.