Tagged articles

database

2696 articles · Page 1 of 27
MaGe Linux Operations
MaGe Linux Operations
Jul 4, 2026 · Operations

20 Common Ops Rookie Mistakes and How to Avoid Them

This guide lists the twenty most frequent pitfalls that new operations engineers encounter, explains why they happen, and provides step‑by‑step safe practices, code examples, risk classifications and a verification checklist to help prevent costly outages and data loss.

LinuxOperationsdatabase
0 likes · 28 min read
20 Common Ops Rookie Mistakes and How to Avoid Them
Linyb Geek Road
Linyb Geek Road
Jun 30, 2026 · Databases

Implementing Efficient Pagination Across Sharded Databases

The article analyzes why traditional LIMIT/OFFSET pagination fails when data is split across multiple databases, presents a global query approach with its trade‑offs, and proposes an optimized "no‑skip" method plus practical tips using ShardingSphere and Elasticsearch.

ElasticsearchShardingShardingSphere
0 likes · 7 min read
Implementing Efficient Pagination Across Sharded Databases
Xiaolei Talks DB
Xiaolei Talks DB
Jun 28, 2026 · Databases

Returning to Nanda Tongyong After 15 Years: A Dual Reunion of Time and Technology

Fifteen years after an internship at Nanda Tongyong, the author returns as an external expert to reflect on personal growth, the evolution of the GBase product line—from the early MPP database to AI‑native HTAP solutions—highlighting technical innovations, benchmark results, and the broader impact on the domestic database ecosystem.

AICloud Data WarehouseEnterprise
0 likes · 17 min read
Returning to Nanda Tongyong After 15 Years: A Dual Reunion of Time and Technology
AI Engineer Programming
AI Engineer Programming
Jun 26, 2026 · Fundamentals

Can Modern Models Replace Traditional Harnesses? A Historical Look (Part 1)

The article traces how low‑level programming harnesses—from ENIAC wiring and punch‑card code to assembly, compilers, operating systems, database optimizers, and memory‑management techniques—have been progressively abstracted away by tools, type systems, and language semantics, highlighting what has been "eaten" and what still requires manual expertise.

Memory Managementabstractioncompiler
0 likes · 12 min read
Can Modern Models Replace Traditional Harnesses? A Historical Look (Part 1)
ZhiKe AI
ZhiKe AI
Jun 23, 2026 · Backend Development

Duplicate Requests Aren’t Bugs: 5 Idempotency Solutions for Distributed Systems

When network timeouts or retries cause the same payment request to be processed multiple times, duplicate requests become a common failure mode in distributed systems; this article explains five practical idempotency strategies—unique DB indexes, token checks, state machines, Redis SETNX, and downstream dedup tables—and offers guidance on choosing the right approach.

MicroservicesRedisbackend
0 likes · 16 min read
Duplicate Requests Aren’t Bugs: 5 Idempotency Solutions for Distributed Systems
Architect Chen
Architect Chen
Jun 7, 2026 · Databases

Complete 2026 Guide to Redis Commands: Everything You Need to Know

This article offers a comprehensive 2026 overview of Redis commands, organized by function, with clear usage examples, return values, performance notes, and best‑practice recommendations such as avoiding KEYS in production and using SCAN, making it a practical reference for developers and architects.

CacheCommandsHash
0 likes · 6 min read
Complete 2026 Guide to Redis Commands: Everything You Need to Know
Test Development Learning Exchange
Test Development Learning Exchange
Jun 3, 2026 · Backend Development

How to Prevent Dirty Data in API Tests with Effective Cleanup Strategies

The article explains why dirty data appears in API automation tests, outlines five practical cleanup strategies—including teardown, setup, transaction rollback, unique ID isolation, and data‑factory soft deletes—and provides a complete Pytest‑based Python implementation with code examples and special‑case handling to keep test environments clean and reliable.

API testingAutomationPython
0 likes · 16 min read
How to Prevent Dirty Data in API Tests with Effective Cleanup Strategies
Past Memory Big Data
Past Memory Big Data
Jun 2, 2026 · Artificial Intelligence

Beyond 100% Accuracy: Key Metrics to Evaluate in Text2SQL Systems

The article argues that a 100% accuracy claim for Text2SQL is misleading without considering stability, coverage, and pass‑rate metrics, and it details a deterministic NLQ pipeline that converts natural language to a verifiable intermediate format before rule‑based SQL compilation.

AIAccuracyNLQ
0 likes · 16 min read
Beyond 100% Accuracy: Key Metrics to Evaluate in Text2SQL Systems
Architect Chen
Architect Chen
Jun 1, 2026 · Databases

15 Essential Redis Commands Every Engineer Should Know

This article provides a detailed walkthrough of the 15 most commonly used Redis commands—including key, hash, list, set, sorted‑set, and monitoring operations—showing syntax, return values, typical use cases, performance characteristics, and cautions for production environments.

CacheCommandsKey-Value Store
0 likes · 6 min read
15 Essential Redis Commands Every Engineer Should Know
Su San Talks Tech
Su San Talks Tech
May 30, 2026 · Databases

Why PostgreSQL Beats MySQL for AI‑Driven Applications

The article explains why many developers stuck with MySQL should consider PostgreSQL, highlighting its superior SQL standards support, MVCC concurrency, rich indexing, JSONB performance, full‑text search, extensive extensions, and practical installation and Java integration steps, while also comparing pros, cons, and ideal use cases.

Full-Text SearchIndexingJSONB
0 likes · 24 min read
Why PostgreSQL Beats MySQL for AI‑Driven Applications
ITPUB
ITPUB
May 29, 2026 · Industry Insights

How the Fourth National Database Test Reshapes China's Domestic DB Competition

The fourth national security and reliability test released on May 26, 2026 lists 23 certified database products, highlighting a surge in Level II certifications, the entry of time‑series NoSQL databases, and a diversification of vendors—including telecom and fintech players—signaling a major shift in China's domestic database market.

ChinaIndustry insightNoSQL
0 likes · 7 min read
How the Fourth National Database Test Reshapes China's Domestic DB Competition
AI Agent Super App
AI Agent Super App
May 29, 2026 · Databases

Why SQLite Is the World's Most Deployed Database—and How to Use It End‑to‑End

SQLite, the server‑less, single‑file database engine, is the most widely deployed database on the planet, powering Android, iOS, browsers and countless desktop apps; this article walks through its core features, Linux installation, command‑line CRUD, language bindings for Python, C, Java and Go, plus practical backup and performance tricks.

C#CLIGo
0 likes · 21 min read
Why SQLite Is the World's Most Deployed Database—and How to Use It End‑to‑End
dbaplus Community
dbaplus Community
May 25, 2026 · Operations

Key Highlights and PPTs from the 2026 XCOPS Intelligent Operations Conference – Guangzhou

The 2026 XCOPS Intelligent Operations Conference in Guangzhou gathered leading scholars, industry experts, and technology innovators to explore AI‑driven operational upgrades, database intelligence, cloud‑native observability, and multi‑agent architectures, with detailed talks, case studies, and practical roadmaps shared by speakers from academia, finance, and major tech firms.

AICloud NativeIntelligent Operations
0 likes · 11 min read
Key Highlights and PPTs from the 2026 XCOPS Intelligent Operations Conference – Guangzhou
Java Tech Workshop
Java Tech Workshop
May 25, 2026 · Backend Development

Ensuring SpringBoot Message Idempotency to Prevent Duplicate Consumption

The article analyzes why duplicate consumption is inevitable in MQ systems, defines message idempotency, and presents four practical solutions—including Redis SETNX, database unique indexes, state‑machine with optimistic locking, and global unique constraints—along with their pros, cons, and best‑practice guidelines for SpringBoot applications.

JavaMQMessage Idempotency
0 likes · 13 min read
Ensuring SpringBoot Message Idempotency to Prevent Duplicate Consumption
java1234
java1234
May 21, 2026 · Backend Development

Three Months as an AI Code Babysitter: My Exhausting Journey and Hard Lessons

A veteran Java developer took a 5‑wan‑yuan retail project, relied on an end‑to‑end AI code generator for a month, then faced chaotic project structures, security flaws, and massive refactoring before discovering FeiSuan JavaAI's multi‑agent workflow that finally turned the disaster into a deliverable.

AIBackend DevelopmentJava
0 likes · 21 min read
Three Months as an AI Code Babysitter: My Exhausting Journey and Hard Lessons
Architect's Guide
Architect's Guide
May 20, 2026 · Databases

30 Essential SQL Query Optimization Techniques

This article presents thirty practical SQL optimization tips, covering index usage, avoiding full‑table scans caused by operators like !=, NULL checks, OR, LIKE, IN, functions, and expressions, as well as best practices for temporary tables, cursors, and transaction size to improve database performance.

IndexesPerformance TuningQuery Optimization
0 likes · 10 min read
30 Essential SQL Query Optimization Techniques
Linyb Geek Road
Linyb Geek Road
May 15, 2026 · Backend Development

8 Practical API Idempotency Solutions to Eliminate Duplicate Requests (Pitfall Guide)

The article explains the causes of duplicate requests in distributed systems, defines idempotency, and presents eight concrete implementation strategies—including token mechanisms, unique database indexes, optimistic and pessimistic locks, distributed locks, state machines, request serial numbers, and MQ‑based handling—each with code samples, advantages, drawbacks, and usage guidelines.

API designSpring Bootdatabase
0 likes · 35 min read
8 Practical API Idempotency Solutions to Eliminate Duplicate Requests (Pitfall Guide)
JD Tech
JD Tech
May 13, 2026 · Databases

Deep Dive into Using JSON Fields in Databases: Practical Lessons and Pitfalls

This article walks through the rationale, common functions, and real‑world case studies of storing and querying JSON columns in a relational database, exposing issues with null handling, batch updates, and dynamic SQL generation, and presents step‑by‑step debugging and robust solutions.

Batch UpdateDynamic QueriesNULL handling
0 likes · 11 min read
Deep Dive into Using JSON Fields in Databases: Practical Lessons and Pitfalls
DataFunSummit
DataFunSummit
May 3, 2026 · Databases

ScopeDB: Real-Time Data Analytics Solution for the Cloud‑Native Era

ScopeDB introduces a cloud‑native, real‑time analytics database that combines structured core columns with a flexible JSON column, adaptive indexing, a custom query language (ScopeQL), and true compute‑storage separation, delivering sub‑second query latency, high throughput, and up to 70% cost reduction compared with traditional big‑data stacks.

Cloud NativeScopeDBScopeQL
0 likes · 14 min read
ScopeDB: Real-Time Data Analytics Solution for the Cloud‑Native Era
Ops Community
Ops Community
May 2, 2026 · Databases

How to Completely Resolve MySQL CPU Spikes: Real‑World Fault Replay and Optimization Guide

This article walks you through a systematic, step‑by‑step process for diagnosing and fixing MySQL CPU usage spikes—from identifying the symptoms and gathering system metrics, to pinpointing problematic queries, analyzing locks and buffers, applying index and configuration tweaks, and validating the performance gains with real‑world examples and command‑line tools.

CPUIndex OptimizationPerformance Tuning
0 likes · 44 min read
How to Completely Resolve MySQL CPU Spikes: Real‑World Fault Replay and Optimization Guide
Golang Shines
Golang Shines
Apr 28, 2026 · Backend Development

Essential Go Packages for Production Environments

This article compiles a curated list of production‑ready Go packages covering testing, logging, error handling, caching, databases, HTTP routing, HTTP clients, fault tolerance, Kafka, and various utility libraries, explaining their key features, concrete code examples, and why they are preferred in real‑world services.

CachingGoHTTP
0 likes · 15 min read
Essential Go Packages for Production Environments
dbaplus Community
dbaplus Community
Apr 26, 2026 · Databases

Why PostgreSQL Is the Better Choice in 99% of Scenarios

The article argues that relying on many specialized databases creates operational complexity, higher costs, and maintenance overhead, while PostgreSQL’s extensible ecosystem—offering full‑text search, vector, time‑series, JSONB, and more—delivers comparable or superior algorithms, proven performance, and a simpler, more reliable stack for the vast majority of use cases, especially in AI applications.

AIExtensionsFull-Text Search
0 likes · 19 min read
Why PostgreSQL Is the Better Choice in 99% of Scenarios
IT Services Circle
IT Services Circle
Apr 23, 2026 · Backend Development

Why You Can Skip Consistency Checks When Using DB and MinIO Together

The article argues that for typical file‑upload scenarios you should upload to MinIO first and then write to the database without trying to enforce strong distributed consistency, explaining the pitfalls of transaction‑based solutions and offering simple async cleanup strategies.

@TransactionalAsync CleanupJava
0 likes · 8 min read
Why You Can Skip Consistency Checks When Using DB and MinIO Together
Sohu Tech Products
Sohu Tech Products
Apr 22, 2026 · Databases

How to Resolve ID Conflicts After Sharding? 5 Proven Solutions

When sharding databases, independent auto‑increment IDs can collide, causing data integrity issues; this article explains why the conflict occurs and walks through five practical solutions—including UUID, custom auto‑increment steps, segment mode, Snowflake, and Meituan Leaf—detailing their trade‑offs, performance, and implementation steps.

ID GenerationLeafSharding
0 likes · 15 min read
How to Resolve ID Conflicts After Sharding? 5 Proven Solutions
IoT Full-Stack Technology
IoT Full-Stack Technology
Apr 22, 2026 · Backend Development

Top IntelliJ IDEA Plugins for 2026 You Probably Haven’t Tried

IntelliJ IDEA already covers about 80% of development needs, but its rich plugin ecosystem lets you fine‑tune your workflow like a custom Vim setup; this article reviews essential plugins—including AceJump, Catppuccin Theme, CodeGlance Pro, Edit‑Tabs‑Location, GenerateAllSetter, GitHub Copilot, Inspection Lens, MyBatis Log Free, Power Mode II, IdeaVim, and Rainbow Brackets—detailing core features, configuration tips, and trade‑offs to help you choose wisely.

AI codingCode navigationIDE plugins
0 likes · 10 min read
Top IntelliJ IDEA Plugins for 2026 You Probably Haven’t Tried
Java Baker
Java Baker
Apr 22, 2026 · Databases

A Step‑by‑Step SOP for Seamless Business Data Migration

This article outlines a comprehensive, risk‑controlled SOP for migrating business data—including model changes, storage shifts, incremental dual‑write, back‑filling, full and incremental consistency checks, read‑switching, and final decommissioning—backed by concrete SQL examples and visual diagrams.

Data ConsistencyData MigrationSQL
0 likes · 6 min read
A Step‑by‑Step SOP for Seamless Business Data Migration
AI Large-Model Wave and Transformation Guide
AI Large-Model Wave and Transformation Guide
Apr 20, 2026 · Artificial Intelligence

Build a No‑Code AI SQL Assistant with Dify in 12 Simple Steps

This step‑by‑step guide shows how to create a natural‑language database query assistant using Dify by preparing a test MySQL database, creating a read‑only user, installing the Dify database plugin, configuring the connection, building an Agent with a strong SQL‑capable LLM, setting prompts, adding Text‑to‑SQL and SQL‑Execute tools, testing simple, filtered and aggregate queries, and finally extending to multi‑table scenarios.

AIDifySQL
0 likes · 9 min read
Build a No‑Code AI SQL Assistant with Dify in 12 Simple Steps
Java Tech Workshop
Java Tech Workshop
Apr 20, 2026 · Backend Development

Optimizing SpringBoot Batch Insert/Update with MyBatis: Real‑World Tips for High‑Volume Data

This article explains why naïve per‑record inserts or updates in SpringBoot cause severe performance problems, analyzes three common mistakes, and demonstrates how MyBatis batch processing—through connection reuse, prepared‑statement reuse, and batch transaction commits—can speed up operations by tens of times, with practical code examples and configuration tips for handling millions of rows.

BatchJavaMyBatis
0 likes · 21 min read
Optimizing SpringBoot Batch Insert/Update with MyBatis: Real‑World Tips for High‑Volume Data
Ops Community
Ops Community
Apr 19, 2026 · Databases

How to Diagnose and Resolve MySQL CPU Spikes: A Complete Step‑by‑Step Guide

This guide walks you through identifying why MySQL CPU usage jumps, from confirming the MySQL process consumes CPU to checking connection counts, slow queries, lock waits, configuration settings, and business‑level traffic, and then provides short‑term mitigations and long‑term solutions such as read‑write splitting, sharding, and caching.

CPUMonitoringOptimization
0 likes · 17 min read
How to Diagnose and Resolve MySQL CPU Spikes: A Complete Step‑by‑Step Guide
Java Architect Handbook
Java Architect Handbook
Apr 18, 2026 · Databases

Redis Persistence Deep Dive: RDB, AOF, and Hybrid Strategies for Interview Success

This article provides a comprehensive analysis of Redis persistence mechanisms—including RDB snapshots, AOF append‑only logs, and the hybrid RDB+AOF mode—covering their architectures, trigger methods, performance trade‑offs, rewrite processes, interview‑focused questions, and practical recommendations for production environments.

AOFHybridPersistence
0 likes · 11 min read
Redis Persistence Deep Dive: RDB, AOF, and Hybrid Strategies for Interview Success
Top Architect
Top Architect
Apr 13, 2026 · Backend Development

Why Did a Forgotten Transaction Block Payments? A Deep Dive into Spring’s Transaction Management

An online payment service suffered invisible data loss and lock timeouts because a newly deployed business branch failed to commit its transaction, leading to polluted connections that were reused by other services, and the article explains the root cause, debugging steps, code fixes, and preventive measures.

Connection PoolSpringTransaction
0 likes · 11 min read
Why Did a Forgotten Transaction Block Payments? A Deep Dive into Spring’s Transaction Management
JD Tech
JD Tech
Apr 9, 2026 · Databases

How DongSQL Solves E‑Commerce DB Overload, Flash‑Sale, and Plan Drift

This article analyzes JD's self‑developed database kernel DongSQL, describing its architecture, the challenges of overload, flash‑sale write spikes, cache consistency, execution‑plan drift, and thread congestion, and explains how hint‑based limiting, RETURNING syntax, statement outlines, and a built‑in thread pool address each issue.

Hintdatabasee-commerce
0 likes · 22 min read
How DongSQL Solves E‑Commerce DB Overload, Flash‑Sale, and Plan Drift
Architecture Digest
Architecture Digest
Apr 6, 2026 · Backend Development

Why UUIDv7 Is the Ideal Distributed ID Solution for Java 26 and How to Use It Safely

The article explains how Java 26’s native support for RFC 9562 UUIDv7 provides an ordered, unique, and standards‑compliant distributed identifier, compares it with traditional UUIDs and Snowflake, shows the new API usage, highlights hidden pitfalls, and offers practical best‑practice guidelines for production deployment.

Distributed IDJDKTime‑based UUID
0 likes · 6 min read
Why UUIDv7 Is the Ideal Distributed ID Solution for Java 26 and How to Use It Safely
Top Architect
Top Architect
Apr 3, 2026 · Backend Development

Why Did My Payment Service Lose Data? Uncovering Hidden Transaction Bugs in Spring

A mysterious payment failure where orders appeared successful but were never persisted was traced to a missing transaction commit in a special code path, leading to polluted connections that silently broke subsequent transactions, and the article explains the root cause, debugging steps, fix, and preventive measures.

Connection PoolSpringTransaction Management
0 likes · 11 min read
Why Did My Payment Service Lose Data? Uncovering Hidden Transaction Bugs in Spring
Architecture Digest
Architecture Digest
Apr 3, 2026 · Databases

16 Powerful Ways to Leverage Redis in Your Applications

This article presents a comprehensive guide to 16 practical Redis use cases—including caching, distributed locks, global IDs, counters, rate limiting, bitmaps, shopping carts, timelines, message queues, lotteries, likes, product tagging, filtering, follow‑recommendation models, and ranking—complete with code snippets and data‑structure examples.

CacheData StructuresDistributed Lock
0 likes · 10 min read
16 Powerful Ways to Leverage Redis in Your Applications
ITPUB
ITPUB
Mar 27, 2026 · Databases

AI’s Impact on Open‑Source Databases: MySQL, PostgreSQL, and AliSQL DuckDB

In 2026 the database ecosystem faces fierce competition between MySQL and PostgreSQL, while AI emerges as a new driver prompting open‑source projects like AliSQL to release DuckDB, vector engines and intelligent CLI, reshaping how relational databases serve both transactional and analytical workloads.

AIAliSQLDuckDB
0 likes · 15 min read
AI’s Impact on Open‑Source Databases: MySQL, PostgreSQL, and AliSQL DuckDB
Alibaba Cloud Developer
Alibaba Cloud Developer
Mar 25, 2026 · Databases

How AliSQL AI Diagnoses and Eliminates MySQL Replication Lag

This article analyzes the severe replication‑delay issues in MySQL master‑slave setups, identifies four typical workload patterns that cause lag, demonstrates how AliSQL's AI assistant pinpoints the root causes, and explains the kernel‑level optimizations that completely remove the delay.

AI DiagnosisAliSQLPerformance Optimization
0 likes · 13 min read
How AliSQL AI Diagnoses and Eliminates MySQL Replication Lag
Architect Chen
Architect Chen
Mar 24, 2026 · Databases

How High Can Redis Really Scale? Real-World QPS Limits Explained

This article breaks down Redis performance limits, showing that a single node can handle roughly 100‑200k simple GET/SET QPS and up to 500‑700k with multithreaded I/O, while sharded clusters can theoretically reach millions of QPS, though practical factors affect the actual throughput.

QPSRediscluster
0 likes · 6 min read
How High Can Redis Really Scale? Real-World QPS Limits Explained
AndroidPub
AndroidPub
Mar 23, 2026 · Databases

Room 3.0 Alpha: A Deep Dive into KMP‑Ready Database Overhaul and Migration Guide

Google’s newly released Room 3.0 Alpha marks a landmark rewrite that transforms the Android‑only persistence library into a Kotlin Multiplatform solution, introducing package renaming, KSP‑only processing, coroutine‑first APIs, and experimental web support, while providing detailed migration steps and new features such as custom DAO return types.

CoroutinesKSPKotlin Multiplatform
0 likes · 12 min read
Room 3.0 Alpha: A Deep Dive into KMP‑Ready Database Overhaul and Migration Guide
JD Tech Talk
JD Tech Talk
Mar 18, 2026 · Databases

Mastering Dynamic JSON Fields in MySQL: Real‑World Cases and Pitfalls

This article explains how to store and query extensible JSON columns in a MySQL‑based system, lists the most useful JSON functions, walks through several real‑world scenarios—including dynamic extension queries and weight‑management cases—identifies subtle bugs caused by null values, and presents step‑by‑step SQL and MyBatis fixes to ensure reliable batch updates.

DynamicFieldsSQLdatabase
0 likes · 15 min read
Mastering Dynamic JSON Fields in MySQL: Real‑World Cases and Pitfalls
Top Architect
Top Architect
Mar 17, 2026 · Backend Development

Why Replacing MyBatis with MyBatis‑Plus Can Break Your DateTime Handling

A newcomer replaced MyBatis with MyBatis‑Plus in an old MySQL‑based project, encountered a "Conversion not supported for type java.time.LocalDateTime" error, traced it to MyBatis 3.5.1 dropping built‑in type handling and an outdated mysql‑connector‑java driver, and resolved it by upgrading the driver while also fixing a related validation bug that caused production failures.

JavaMyBatisdatabase
0 likes · 10 min read
Why Replacing MyBatis with MyBatis‑Plus Can Break Your DateTime Handling
Java Tech Enthusiast
Java Tech Enthusiast
Mar 13, 2026 · Databases

When Does SELECT * Break Your MySQL Index? A Deep Dive into Index Invalidation

This article explains why using SELECT * does not automatically invalidate MySQL indexes, explores common scenarios that cause index loss such as left‑most prefix violations, function calls, implicit type conversions, wildcard LIKE patterns, OR/IN/NOT IN misuse, and ORDER BY pitfalls, and provides practical optimization recommendations with concrete SQL examples and verification methods.

OptimizationQuery TuningSQL
0 likes · 14 min read
When Does SELECT * Break Your MySQL Index? A Deep Dive into Index Invalidation
Woodpecker Software Testing
Woodpecker Software Testing
Mar 10, 2026 · Operations

Uncovering Test Data Generation Bottlenecks and Proven Ways to Accelerate CI Pipelines

The article examines why traditional manual or full‑backup test data creation becomes a performance bottleneck in modern micro‑service, TB‑scale environments, identifies three structural imbalances—data‑dependency, generation‑logic, and semantic redundancy—and presents a three‑layered optimization framework plus engineering best‑practices that can cut data‑prep time by up to 68%.

AutomationCI/CDMicroservices
0 likes · 8 min read
Uncovering Test Data Generation Bottlenecks and Proven Ways to Accelerate CI Pipelines
MaGe Linux Operations
MaGe Linux Operations
Mar 9, 2026 · Databases

How to Diagnose and Fix MySQL Replication Lag in Production

This guide explains why MySQL replication lag spikes, how to distinguish IO‑thread pull problems from SQL‑thread apply bottlenecks, provides step‑by‑step commands, configuration examples, real‑world case studies, best‑practice recommendations, and monitoring setups to reliably troubleshoot and prevent replication delays.

Lagdatabasemysql
0 likes · 16 min read
How to Diagnose and Fix MySQL Replication Lag in Production
JavaGuide
JavaGuide
Mar 9, 2026 · Databases

Does SELECT * Always Invalidate Indexes? Why Some Teams Ban It

While many believe that using SELECT * inevitably disables indexes, MySQL’s optimizer only skips indexes when a full table scan is cheaper, and patterns such as violating the left‑most prefix, applying functions or implicit casts, leading‑wildcard LIKE, OR/IN misuse, and mismatched ORDER BY can cause index invalidation, prompting some companies to forbid SELECT * in production.

Index OptimizationPerformance TuningSQL
0 likes · 14 min read
Does SELECT * Always Invalidate Indexes? Why Some Teams Ban It
Machine Learning Algorithms & Natural Language Processing
Machine Learning Algorithms & Natural Language Processing
Mar 7, 2026 · Artificial Intelligence

How the Transformer Creator Built a Secure Rust Reimplementation of OpenClaw

Illia Polosukhin, one of the authors of the Transformer paper, rewrote OpenClaw in Rust as IronClaw, adding multiple security layers, a database‑backed memory system, WASM sandboxing, encrypted credential storage, and extensible agent components to make AI agents both safe and efficient.

IronClawWASMdatabase
0 likes · 7 min read
How the Transformer Creator Built a Secure Rust Reimplementation of OpenClaw
Data STUDIO
Data STUDIO
Mar 3, 2026 · Backend Development

How to Build a Never‑Crashing, Scalable Python Backend

This article walks through practical techniques for designing a highly concurrent Python backend that stays stable under load, covering architecture planning, async programming, load balancing, database scaling, distributed tasks, caching, rate limiting, monitoring, and graceful shutdown.

FastAPIMonitoringPython
0 likes · 20 min read
How to Build a Never‑Crashing, Scalable Python Backend
Raymond Ops
Raymond Ops
Feb 26, 2026 · Operations

What Core Skills Do 500k‑CNY Ops Engineers Master?

This article breaks down the essential technical and soft‑skill competencies—ranging from deep Linux kernel knowledge and database optimization to cloud‑native Kubernetes expertise, observability, automation, cost‑saving architecture, and security—that distinguish high‑salary operations engineers and provides a practical roadmap for achieving them.

ObservabilityOperationsPerformance Optimization
0 likes · 38 min read
What Core Skills Do 500k‑CNY Ops Engineers Master?
php Courses
php Courses
Feb 25, 2026 · Backend Development

Why Choose PDO Over mysqli? A Complete Guide to PHP Database Connections

This guide explains the advantages of using PDO instead of mysqli for PHP database connections, walks through MySQL and PostgreSQL setup with detailed code examples, recommended configuration options, and a checklist for troubleshooting common connection errors.

PDOPHPPostgreSQL
0 likes · 7 min read
Why Choose PDO Over mysqli? A Complete Guide to PHP Database Connections
Top Architect
Top Architect
Feb 15, 2026 · Backend Development

Why Did My Payment Service Lose Data? Uncovering Hidden Transaction Bugs in Spring

A payment service failed to insert orders despite successful payments, showing no errors, occasional lock timeouts, and intermittent success, which was traced to a missing transaction commit that polluted reused connections, causing unrelated business failures until the bug was fixed and preventive measures were added.

Connection PoolJavaSpring
0 likes · 11 min read
Why Did My Payment Service Lose Data? Uncovering Hidden Transaction Bugs in Spring
IT Services Circle
IT Services Circle
Feb 12, 2026 · Backend Development

Du Xiaoman Java Backend Salary & Interview Secrets Revealed

The article details Du Xiaoman's 2023 campus hiring salaries for Java backend roles, explains the significance of signing bonuses, shares a successful intern story, and provides in‑depth interview preparation covering thread pools, locks, AQS, CAS, SQL optimization, sharding, MVCC, and transaction isolation levels.

JavaSalarybackend
0 likes · 22 min read
Du Xiaoman Java Backend Salary & Interview Secrets Revealed
Java Backend Technology
Java Backend Technology
Feb 5, 2026 · Backend Development

Why Your Spring @Transactional May Fail and How to Fix It

This article explains the common reasons Spring transactions become ineffective or fail to roll back—such as wrong method visibility, final modifiers, self‑invocation, non‑Spring beans, multithreading, unsupported table engines, misconfigured propagation, swallowed exceptions, and improper rollback settings—while providing practical code solutions and best‑practice recommendations.

AOPJavaSpring
0 likes · 20 min read
Why Your Spring @Transactional May Fail and How to Fix It
Top Architect
Top Architect
Feb 4, 2026 · Backend Development

Build a Robust Asynchronous Processing SDK with Spring, Kafka and MySQL

This article introduces a generic asynchronous processing SDK for Java back‑ends, explaining its design principles, advantages, component architecture, database schema, configuration via Apollo, usage steps, and practical demonstrations, while providing complete code snippets and a GitHub repository for reference.

AsynchronousJavaSpring
0 likes · 12 min read
Build a Robust Asynchronous Processing SDK with Spring, Kafka and MySQL
ITPUB
ITPUB
Feb 2, 2026 · Artificial Intelligence

Is SaaS Dead? How AI Agents Are Flattening the Software Stack

The article argues that the SaaS model is collapsing as AI agents can replace traditional front‑end, back‑end, and middleware layers, driving a shift toward a simple Agent + Database architecture, reviving CLI tools, and redefining the role of GUIs in the era of large language models.

AI AgentsAgent-NativeCLI
0 likes · 10 min read
Is SaaS Dead? How AI Agents Are Flattening the Software Stack
Dunmao Tech Hub
Dunmao Tech Hub
Jan 30, 2026 · Databases

How to Add PostGIS Extension to Kingbase: A Step‑by‑Step Docker Guide

This guide explains how to integrate the PostGIS spatial extension into a Kingbase database running in Docker, covering prerequisite communication with support, extracting the extension files, copying necessary binaries, restarting the container, and verifying the installation with sample queries.

DockerKingbasePostGIS
0 likes · 6 min read
How to Add PostGIS Extension to Kingbase: A Step‑by‑Step Docker Guide
IT Services Circle
IT Services Circle
Jan 23, 2026 · Databases

How to Keep Cache and Database Consistent: 4 Common Strategies and Their Pitfalls

This article examines the double‑write consistency problem between databases and caches like Redis, explains why naïve cache‑first or DB‑first updates can cause stale or phantom data under high concurrency, and evaluates four practical solutions with detailed trade‑offs and recommended retry mechanisms.

Cache consistencyHigh concurrencyRedis
0 likes · 17 min read
How to Keep Cache and Database Consistent: 4 Common Strategies and Their Pitfalls
php Courses
php Courses
Jan 22, 2026 · Databases

How to Retrieve Row Count from MySQLi Queries in PHP

This guide shows how to use PHP's mysqli_num_rows function to obtain the number of rows returned by a MySQL query, including connection setup, error handling, executing a SELECT statement, retrieving the count, and important considerations when the query fails.

MySQLiRow Countdatabase
0 likes · 3 min read
How to Retrieve Row Count from MySQLi Queries in PHP
Java Architect Handbook
Java Architect Handbook
Jan 20, 2026 · Backend Development

Why Replacing MyBatis with MyBatis-Plus Triggers LocalDateTime Errors—and How to Fix Them

The article details a step‑by‑step migration from MyBatis 3.5.0 to MyBatis‑Plus 3.1.1, explains why the conversion error for java.time.LocalDateTime appears after the switch, shows how to trace the root cause through stack traces, upgrades the mysql‑connector‑java to 5.1.37 (and later 5.1.42) to resolve the issue, and shares broader lessons about component upgrades and unexpected bugs.

JDBCJavaMyBatis
0 likes · 10 min read
Why Replacing MyBatis with MyBatis-Plus Triggers LocalDateTime Errors—and How to Fix Them
Xiaohongshu Tech REDtech
Xiaohongshu Tech REDtech
Jan 19, 2026 · Databases

How Merged Seckill Boosts MySQL Write Throughput 5× for High‑Traffic E‑Commerce

The article details a MySQL kernel‑level merged‑seckill optimization that replaces traditional queue‑based flash‑sale handling, achieving up to 5.5× higher TPS (up to 23,543 TPS on 128 threads) and sustaining 1.5W+ orders per second, while remaining transparent to applications and preserving compatibility with existing SQL.

CachePerformance OptimizationSeckill
0 likes · 11 min read
How Merged Seckill Boosts MySQL Write Throughput 5× for High‑Traffic E‑Commerce
Architecture & Thinking
Architecture & Thinking
Jan 19, 2026 · Databases

Why Transactions Matter: Mastering MySQL ACID and Isolation Levels

This article explains MySQL transaction fundamentals, illustrates a banking transfer scenario, details the ACID properties, explores dirty reads, non‑repeatable reads and phantom reads, and compares the four SQL‑92 isolation levels with practical code examples and InnoDB behavior.

ACIDInnoDBIsolation Levels
0 likes · 10 min read
Why Transactions Matter: Mastering MySQL ACID and Isolation Levels
dbaplus Community
dbaplus Community
Jan 18, 2026 · Databases

Avoid These Common SQL Performance Pitfalls for Faster Queries

This guide enumerates frequent misconceptions in SQL performance—from over‑indexing and SELECT * misuse to improper transaction handling and outdated monitoring practices—explains why they hurt efficiency, and provides concrete, version‑aware solutions to optimize queries, schema design, and database operations.

OptimizationPostgreSQLSQL
0 likes · 26 min read
Avoid These Common SQL Performance Pitfalls for Faster Queries
macrozheng
macrozheng
Jan 15, 2026 · Databases

Master MySQL Full-Text Search: Inverted Index, Queries, and Best Practices

This guide explains why InnoDB fuzzy queries lose indexes, introduces MySQL full‑text search with inverted indexes, shows how to create and use full‑text indexes via CREATE TABLE and ALTER statements, and demonstrates natural language, boolean, and query‑expansion modes with practical SQL examples.

Boolean ModeFull-Text SearchQuery Expansion
0 likes · 12 min read
Master MySQL Full-Text Search: Inverted Index, Queries, and Best Practices
Ray's Galactic Tech
Ray's Galactic Tech
Jan 14, 2026 · Databases

Why MySQL’s B+Tree Indexes Power High‑Performance Queries

This article explains how MySQL implements indexes with B+Tree structures, why they outperform full table scans, the internal layout of leaf and internal nodes, insertion and split mechanics, range‑query processing, and practical optimization tips for clustered and secondary indexes.

B+TreeInnoDBdatabase
0 likes · 11 min read
Why MySQL’s B+Tree Indexes Power High‑Performance Queries
SpringMeng
SpringMeng
Jan 8, 2026 · Backend Development

How to Cut API Latency from Seconds to Milliseconds: Elegant Optimization Techniques

This article walks through a series of practical backend techniques—batch processing, asynchronous execution, caching, pre‑processing, pooling, parallelization, indexing, transaction management, pagination, and lock granularity—to dramatically reduce API response times from several seconds to just a few milliseconds.

API optimizationAsynchronousBatch Processing
0 likes · 9 min read
How to Cut API Latency from Seconds to Milliseconds: Elegant Optimization Techniques
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Jan 3, 2026 · Databases

Essential MySQL Commands Every DBA Should Know

This guide presents a comprehensive collection of essential MySQL commands, covering connection management, database creation and selection, table definition and alteration, CRUD operations, query optimization techniques, performance monitoring, and user permission handling, providing clear examples for each command.

AdministrationCommandsSQL
0 likes · 7 min read
Essential MySQL Commands Every DBA Should Know
Xiao Liu Lab
Xiao Liu Lab
Dec 23, 2025 · Databases

Mastering Redis Master‑Slave Replication: Core Concepts, Workflow, and Configuration

This article explains how Redis master‑slave replication provides hot backup, read‑write separation, high availability, and horizontal scaling by detailing its three‑stage workflow, full and partial synchronization mechanisms, key configuration options, and practical analogies for clear understanding.

Data synchronizationHigh AvailabilityRedis
0 likes · 11 min read
Mastering Redis Master‑Slave Replication: Core Concepts, Workflow, and Configuration
Data STUDIO
Data STUDIO
Dec 23, 2025 · Databases

Is the Vector Database Dead? PostgreSQL’s New pgvector Feature Puts Closed‑Source Solutions on the Spot

The article examines how PostgreSQL’s latest pgvector 0.8.0 release adds iterative index scans and smart query planning, enabling fully free vector search within an existing relational database, compares performance, cost, and architecture against dedicated vector databases like Pinecone, and outlines migration steps and best‑practice guidelines.

AIPostgreSQLbenchmark
0 likes · 14 min read
Is the Vector Database Dead? PostgreSQL’s New pgvector Feature Puts Closed‑Source Solutions on the Spot
Ray's Galactic Tech
Ray's Galactic Tech
Dec 20, 2025 · Backend Development

Production-Ready Idempotency for RocketMQ Duplicate Consumption (Full Code)

To reliably handle RocketMQ's at-least-once delivery semantics, this guide explains why duplicate consumption is inevitable, outlines three defensive layers—Redis‑based idempotency, database unique constraints, and state‑machine checks—provides production‑grade Java code, and details ACK/retry strategies and monitoring practices for robust systems.

JavaRedisRocketMQ
0 likes · 9 min read
Production-Ready Idempotency for RocketMQ Duplicate Consumption (Full Code)
Architecture Digest
Architecture Digest
Dec 17, 2025 · Backend Development

Why MyBatis-Flex Beats MyBatis-Plus: Features, Benchmarks, and Quick Start

MyBatis-Flex is a lightweight, high-performance MyBatis enhancement offering flexible CRUD, advanced QueryWrapper, extensive database support, and benchmarked speeds up to ten times faster than MyBatis-Plus, with a step-by-step quick-start guide covering table creation, Maven setup, Spring Boot configuration, entity mapping, and usage examples.

Backend DevelopmentJavaMyBatis-Flex
0 likes · 9 min read
Why MyBatis-Flex Beats MyBatis-Plus: Features, Benchmarks, and Quick Start
Raymond Ops
Raymond Ops
Dec 9, 2025 · Databases

Deep Dive into MySQL Architecture, SQL Syntax, and Performance Tuning

This comprehensive guide explores MySQL’s layered architecture, core components, storage engines, and detailed SQL language structures, while providing practical commands, optimization techniques, security best practices, and operational procedures for administrators to efficiently manage, tune, and secure MySQL databases.

OperationsSQLdatabase
0 likes · 31 min read
Deep Dive into MySQL Architecture, SQL Syntax, and Performance Tuning