Skip to content

Stay curious. Build better.

Appearance

Choose how BestHub looks on this device.

Changes apply immediately.

Search articles

Open Discover with these filters

Suggested searches

Databases

16 min read

Why Enterprise AI Hits a Wall at the Data Layer Despite Powerful Large Models

The article argues that as AI agents replace human users, the real bottleneck for enterprise AI shifts from model performance to data infrastructure, and explains how OceanBase’s AI‑native database—Lakebase—addresses multimodal data, hybrid search, agent safety, and massive logical tables to enable production‑grade AI applications.

5 min read

Elasticsearch vs Traditional Relational Databases: Core Differences and When to Use Each

The article contrasts Elasticsearch’s search‑oriented design—using inverted indexes, near‑real‑time BASE consistency, schema‑free JSON documents, and horizontal scaling—with relational databases’ precise row‑based storage, ACID guarantees, strict schemas, B+‑tree indexes, and vertical scaling, showing how they complement rather than compete.

19 min read

How Kernel Optimizations Cut MongoDB Physical Backup Disk Bloat by 90%

MongoDB’s physical backup can cause hidden nodes to balloon in disk usage, but by analyzing WiredTiger’s space‑reclamation process and introducing a checkpoint‑release API, the team reduced backup‑induced disk expansion from up to 200% down to under 10%, saving hundreds of gigabytes and cutting backup time by over 40%.

18 min read

Zero-Downtime Database Evolution: Flyway + Spring Boot Expand/Migrate/Contract Pattern

This article details a production-verified zero-downtime database migration strategy using Spring Boot and Flyway, covering why DDL causes outages, Flyway configuration best practices, the expand-migrate-contract pattern for smooth schema changes, script writing and rollback techniques, Kubernetes deployment coordination, monitoring with circuit breakers, and a post-mortem checklist.

39 min read

Deep Guide to MySQL Index Failure: From Core Mechanics to High‑Concurrency Production Practices

This comprehensive guide explains why seemingly indexed MySQL queries can still cause severe latency spikes in high‑traffic systems, explores the underlying InnoDB structures and optimizer cost model, enumerates twelve common failure patterns with concrete SQL examples, and provides a production‑grade methodology for diagnosing, engineering, and automating index governance.

26 min read

Inside Milvus’ Index Engine: 3‑Layer Parameter Filling, Compile‑time Hardware Split, and a 16× Memory Trade‑off

The article dissects Milvus’ index engine, revealing that AUTOINDEX relies on a three‑stage default‑parameter pipeline, that CPU/GPU index selection is fixed at compile time via Go build tags, that the C++ Knowhere engine executes the algorithms, and that version aggregation, scalar V3 format, and the new AISAQ index embody deliberate memory‑vs‑IO trade‑offs.

36 min read

PostgreSQL vs MongoDB: Architecture Selection & Hybrid Implementation Guide

This article provides a comprehensive, enterprise‑level comparison of PostgreSQL and MongoDB, outlining when each database fits business needs, a five‑dimensional decision framework, mixed‑architecture patterns, practical schema and indexing examples, and guidance on performance, stability, and migration considerations.

17 min read

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.

9 min read

Why Does Database Master‑Slave Replication Lag Every Day at 5‑7 AM?

The article investigates why master‑slave replication delay spikes each morning between 05:00 and 07:00, tracing it to the inventory‑snapshot worker that floods binlog traffic, evaluates five mitigation strategies, implements a big‑data extraction pipeline to Elasticsearch, and reports that the nightly delay disappeared and disk utilization improved.

27 min read

Master MySQL Performance: Full Process for Slow Query Analysis and Index Tuning

This guide walks through MySQL performance troubleshooting—from enabling and analyzing slow‑query logs with pt‑query‑digest, interpreting EXPLAIN plans, designing covering and composite indexes, tuning InnoDB buffer pool and connection settings, to best‑practice recommendations and real‑world case validation.

40 min read

PostgreSQL Backup & Replication Guide: WAL Basics to Production‑Ready HA, DR, and Recovery

This comprehensive guide walks through PostgreSQL's backup and replication architecture, explaining WAL fundamentals, the distinction between backup, high‑availability, disaster‑recovery and CDC, and provides step‑by‑step configurations, performance trade‑offs, monitoring queries, Kubernetes deployment tips, and practical recovery‑drill procedures for production environments.

9 min read

How ZestKV Redefines Cloud‑Native Serverless KV Storage: Design, Goals, and Use Cases

ZestKV, built on Pika, introduces a seven‑layer compute‑storage separation architecture that eliminates capacity limits, offers second‑level elastic scaling without data migration, maintains stable P99 latency, guarantees zero data loss, provides multi‑tenant isolation, and remains fully compatible with the Redis protocol for a wide range of cloud‑native workloads.