Senior Brother's Insights
Author

Senior Brother's Insights

A public account focused on workplace, career growth, team management, and self-improvement. The author is the writer of books including 'SpringBoot Technology Insider' and 'Drools 8 Rule Engine: Core Technology and Practice'.

432
Articles
0
Likes
516
Views
0
Comments
Recent Articles

Latest from Senior Brother's Insights

100 recent articles max
Senior Brother's Insights
Senior Brother's Insights
Oct 7, 2025 · Databases

Why MySQL OR Queries Often Skip Indexes—and How to Fix Them

This article explains how MySQL's OR conditions can cause index loss, provides concrete query examples, analyzes why the optimizer falls back to full table scans, and offers practical solutions such as rewriting with UNION or adding missing indexes to restore efficient index usage.

Index OptimizationMySQLOR query
0 likes · 7 min read
Why MySQL OR Queries Often Skip Indexes—and How to Fix Them
Senior Brother's Insights
Senior Brother's Insights
Oct 5, 2025 · Databases

Master MySQL JSON: From Basics to Advanced CRUD Operations

This article explains MySQL’s native JSON data type introduced in 5.7, covering its binary storage format, built‑in functions, generated‑column indexing, performance advantages over string storage, and detailed CRUD examples with SQL syntax and practical code snippets.

CRUDJSONMySQL
0 likes · 14 min read
Master MySQL JSON: From Basics to Advanced CRUD Operations
Senior Brother's Insights
Senior Brother's Insights
Oct 4, 2025 · Databases

Master MySQL Composite Indexes: Unlock the Leftmost Prefix Principle

This article explains what MySQL composite (multi‑column) indexes are, how they are built and ordered, the leftmost‑prefix rule that governs their usage, factors such as cardinality and selectivity for optimal design, and common scenarios where the index may become ineffective.

Composite IndexIndex SelectivityLeftmost Prefix
0 likes · 11 min read
Master MySQL Composite Indexes: Unlock the Leftmost Prefix Principle
Senior Brother's Insights
Senior Brother's Insights
Sep 29, 2025 · Databases

Why MySQL Uses B+ Trees: From BSTs to Efficient Indexing

This article walks through the evolution from binary search trees to balanced trees, B‑trees and finally B+ trees, explaining how MySQL's InnoDB and MyISAM storage engines implement these structures to reduce disk I/O and boost query performance.

B+TreeData StructuresDatabase Performance
0 likes · 12 min read
Why MySQL Uses B+ Trees: From BSTs to Efficient Indexing
Senior Brother's Insights
Senior Brother's Insights
Sep 28, 2025 · Databases

Understanding MySQL’s Three Index Processing Stages: Key, Filter, and Table

MySQL query optimization involves three distinct index processing stages—Index Key, Index Filter, and Table Filter—each handling different parts of condition matching and data retrieval, and mastering their roles and execution flow can dramatically improve query performance, especially with index condition pushdown.

MySQLdatabaseindex condition pushdown
0 likes · 8 min read
Understanding MySQL’s Three Index Processing Stages: Key, Filter, and Table