Expert in tackling complex software challenges, with deep knowledge of TCP, MySQL and PostgreSQL kernels, and a passion for AI, history, math, and physics.
The database world is complex, especially Postgres. To truly understand how Postgres works inside, AI needs enough accurate trace data. That’s why I spent so much time building a trace tool.
The deeper I studied Postgres extensions, especially TimescaleDB, pgvector, PostGIS, and PL/pgSQL, the more I realized how amazing Postgres’s design is. It took me another month to really understand how they work inside.
The Postgres course will likely be upgraded before June 1, with more planner details and broader coverage of extensions. It might become one of the most technically deep courses I’ve ever built.
I saw a strange SQL query (refer to imdbload’s 26c.sql): with Postgres parallel execution on, it finished in seconds; with it off, it couldn’t finish even after hours.
Smart people probably already know why.
MySQL 9.7 suddenly giving the Community Edition the hypergraph optimizer and a sane Hash Join cost model feels like a classic case of “a man speaks kindly when death is near.”
To truly understand MySQL, you need to understand how Postgres approaches the same problems.The intermediate MySQL course is expected to be completed before May 1.
Be careful with complex SQL in MySQL. One bad plan can create a Cartesian product and bring your server down by consuming massive disk space. Postgres usually handles the same SQL much more safely.
Be careful with complex SQL in MySQL. One bad plan can create a Cartesian product and bring your server down by consuming massive disk space. Postgres usually handles the same SQL much more safely.
If you love database engineering, these ten papers are must-reads. Most are easy to follow, and you’ll learn a lot. Dive in and enjoy! Do some trace analysis, and you’ll get even more out of them.
AI’s analytical ability is getting stronger and stronger. With sufficient and accurate trace data, it can analyze SQL execution very accurately. For those who truly love databases, this could be the ultimate enjoyment.
If you want to become a database genius among your peers, you need to read this article. It offers invaluable insights that could mark the beginning of your breakthrough in the database field.
For complex SQL queries, sometimes it's nearly impossible for the optimizer alone to find the optimal execution plan. Those who find why it chose a bad plan are geniuses; those who find the best plan are database gods.
If you want to become a database genius among your peers, you need to read this article. It offers invaluable insights that could mark the beginning of your breakthrough in the database field.
If you want to become a database genius among your peers, you need to read this article. It offers invaluable insights that could mark the beginning of your breakthrough in the database field.