My first attempt at explaining why Postgres gets more throughput on TPROC-C. The obvious answer -- CPU efficiency. But it will take more time to drill down.
It is interesting that Postgres gets similar throughput with and without stored procedures. But MySQL and MariaDB get a lot more throughput with stored procs enabled.
https://smalldatum.blogspot.com/2026/03/cpu-efficiency-for-mariadb-mysql-and.html