liandk
Author

liandk

Seasoned Java and mobile developer with years of experience, specializing in mini‑programs, public accounts, and full‑stack front‑end development. In the AI era, I continuously learn to broaden my knowledge and evolve. I revived a public account I started a decade ago during a dessert‑startup venture, using code as a vessel and knowledge as a companion. I share personal projects, technical articles, programming tips, and growth insights—let’s improve together and set sail.

114
Articles
0
Likes
319
Views
0
Comments
Recent Articles

Latest from liandk

100 recent articles max
liandk
liandk
Aug 24, 2026 · Databases

One‑Line Queries: Using Database Views to Encapsulate Complex SQL

This article explains how database views act as virtual tables that store only query logic, allowing developers to replace repetitive, multi‑join SQL statements with a single, reusable query while improving consistency, hiding sensitive fields, and boosting development efficiency.

Database ViewsQuery OptimizationSQL
0 likes · 4 min read
One‑Line Queries: Using Database Views to Encapsulate Complex SQL
liandk
liandk
Aug 23, 2026 · Databases

MySQL Covering Index & Back‑Table Optimization: Hands‑On Guide to Eliminate Lookups

The article explains why MySQL back‑table lookups (回表) double I/O and degrade performance, defines covering indexes that retrieve all needed columns from a secondary index, shows how to identify back‑table cases via EXPLAIN, and provides step‑by‑step commands to create, test, and verify covering indexes for high‑frequency queries.

Covering IndexEXPLAINMySQL
0 likes · 11 min read
MySQL Covering Index & Back‑Table Optimization: Hands‑On Guide to Eliminate Lookups
liandk
liandk
Aug 22, 2026 · Databases

Mastering Database Transactions: Eliminate Data Chaos and Loss with ACID Basics

The article explains how database transactions ensure atomicity, consistency, isolation, and durability, showing why they are essential for preventing data inconsistency, loss, and reconciliation errors, and provides step‑by‑step SQL examples of successful and rolled‑back transactions along with practical tips for safe usage.

ACIDBackend DevelopmentData Consistency
0 likes · 6 min read
Mastering Database Transactions: Eliminate Data Chaos and Loss with ACID Basics
liandk
liandk
Aug 22, 2026 · Databases

Master MySQL MVCC: Snapshot vs Current Reads and Isolation Level Mechanics

This article explains MySQL InnoDB's MVCC mechanism, detailing how snapshot reads and current reads work, the hidden fields that drive versioning, the Read View rules for RC and RR isolation levels, and provides hands‑on SQL demos plus common pitfalls to avoid.

Current ReadInnoDBMVCC
0 likes · 12 min read
Master MySQL MVCC: Snapshot vs Current Reads and Isolation Level Mechanics
liandk
liandk
Aug 22, 2026 · Databases

Why Your SQL Is Slow and How Indexes Can Make Queries Run in Seconds

The article explains that indexes are the key to solving most database slow‑query problems, compares full‑table scans with indexed lookups, describes the two main index types in SQL Server, and provides step‑by‑step T‑SQL commands for creating, testing, and removing indexes while warning against over‑indexing.

Database IndexesQuery TuningSQL Server
0 likes · 5 min read
Why Your SQL Is Slow and How Indexes Can Make Queries Run in Seconds
liandk
liandk
Aug 20, 2026 · Databases

Master MySQL Locks: Row, Table, and Gap Lock Basics, Pitfalls & Live Code

Understanding MySQL’s lock types—table, row, and gap locks—reveals how they act as resource tokens to ensure data consistency under concurrency, while the article details their characteristics, appropriate and prohibited use cases, common pitfalls like lock degradation and deadlocks, and provides hands‑on SQL examples to reproduce and avoid these issues.

DeadlockGap LockLocks
0 likes · 10 min read
Master MySQL Locks: Row, Table, and Gap Lock Basics, Pitfalls & Live Code
liandk
liandk
Aug 20, 2026 · Databases

Mastering SQL Subqueries: Core Nested Query Techniques for Beginners

This guide explains why subqueries are essential after learning JOINs, outlines their core characteristics, common use cases, two main types, step‑by‑step examples—including single‑row, multi‑row, aggregate, and derived‑table queries—and lists five key rules to avoid pitfalls while showing when to prefer subqueries over JOINs.

Database TutorialJOIN vs SubqueryNested Query
0 likes · 6 min read
Mastering SQL Subqueries: Core Nested Query Techniques for Beginners
liandk
liandk
Aug 17, 2026 · Databases

MySQL Transaction Basics: ACID, Isolation Levels, and Practical Pitfall‑Avoiding Code

The article explains what a database transaction is, breaks down the ACID properties, details MySQL’s four isolation levels with their appropriate use‑cases and pitfalls, and provides step‑by‑step SQL and SpringBoot code to reproduce and resolve dirty reads, non‑repeatable reads, and phantom reads.

ACIDIsolation LevelMySQL
0 likes · 10 min read
MySQL Transaction Basics: ACID, Isolation Levels, and Practical Pitfall‑Avoiding Code
liandk
liandk
Aug 16, 2026 · Databases

Understanding DELETE vs DROP: How to Remove Data Without Dropping the Table

This article clarifies the difference between SQL DELETE and DROP TABLE, showing that DELETE removes rows while preserving table structure (and requires a WHERE clause), whereas DROP TABLE eliminates the entire table, and provides practical scenarios and code examples for each.

DELETEDROP TABLEData manipulation
0 likes · 2 min read
Understanding DELETE vs DROP: How to Remove Data Without Dropping the Table