Tagged articles
5 articles
Page 1 of 1
Aikesheng Open Source Community
Aikesheng Open Source Community
Sep 10, 2021 · Databases

Understanding MySQL 8.0 Derived Condition Pushdown Optimization and Its Impact on User Variables

The article explains MySQL 8.0.22's new optimizer_switch variable derived_condition_pushdown, shows how enabling it can cause unexpected results with user‑defined variables in outer WHERE clauses, provides test cases, explains the underlying behavior, and offers three practical solutions.

derived_condition_pushdownmysqloptimizer
0 likes · 7 min read
Understanding MySQL 8.0 Derived Condition Pushdown Optimization and Its Impact on User Variables
Programmer DD
Programmer DD
Sep 27, 2019 · Databases

How to Use MySQL User Variables for Cumulative Daily User Counts

This article explains how to calculate cumulative daily user totals in MySQL using user-defined variables, demonstrates the necessary SQL queries, compares them with a Java‑style algorithm, and highlights important considerations such as variable initialization and practical pitfalls.

cumulative sumdaily active usersdatabase
0 likes · 6 min read
How to Use MySQL User Variables for Cumulative Daily User Counts
dbaplus Community
dbaplus Community
May 12, 2016 · Databases

Three Surprising Ways to Crash MySQL (And How to Prevent Them)

This article demonstrates three distinct techniques—flooding undo logs, exhausting memory with user variables, and triggering a known bug—to deliberately crash a MySQL instance, explains the underlying mechanisms, shows test results, and offers practical safeguards to keep production databases stable.

bug exploitationdatabase stabilitymysql
0 likes · 7 min read
Three Surprising Ways to Crash MySQL (And How to Prevent Them)