This article explains why TiDB is gaining adoption over manual sharding by detailing its native distributed architecture, automatic Region-based sharding, Raft-based strong consistency, HTAP capabilities with TiFlash, MySQL migration steps including AUTO_RANDOM for hotspot avoidance, AI-assisted slow query analysis, and a balanced pros/cons assessment with scenario-based recommendations.
This article compares PostgreSQL and MySQL across MVCC implementation, replication models, connection handling, version lifecycles, hardware costs, and benchmark results, providing production configurations, migration pitfalls, troubleshooting cases, and a decision framework for database selection.
Zhihui Cloud's MySQL online schema change platform automates safe large-table alterations through a six-step workflow—audit, dry-run, tool selection, controlled execution, runtime protection, and verification—supporting direct DDL, pt-osc, and gh-ost with real-time guards for MDL locks, replication lag, load, and disk space.
PostgreSQL released updates for versions 14 through 18 fixing 52 security vulnerabilities including critical CVE-2026-6460, while version 14 reaches end-of-life; experts attribute rising CVE counts to AI-assisted scanning, and PostgreSQL 19 RC2 introduces a new REPACK command for non-blocking space reclamation.
The article details the migration of dbt metric definitions to Snowflake semantic views via Apache Ossie, revealing that rolling window metrics degrade to simple sums and cross-table filters cause import errors, requiring manual reconstruction and query-granularity validation to ensure numerical parity.
Microsoft's DocumentDB 1.0 releases as an MIT-licensed PostgreSQL extension and gateway compatible with MongoDB wire protocol, offering Kubernetes support, security focus, and a permissive license alternative to MongoDB's SSPL, while benchmarks show mixed performance versus MongoDB and FerretDB.
DBX is a lightweight (~25MB), open-source database client supporting 100+ databases, featuring AI-assisted SQL editing, ER diagrams, schema comparison, Redis/MongoDB browsers, plugin system, and three deployment modes: desktop, Docker web interface, and MCP integration for AI coding assistants.
A developer used INSERT INTO SELECT for MySQL data migration without proper indexing, causing a full table scan that locked tables and led to payment data loss, resulting in termination. The post-mortem reveals locking behavior under default isolation level and why testing missed the issue.
This article explains why database connection pools rely on blocking I/O instead of I/O multiplexing, detailing how JDBC's synchronous API design, the need for a unified reactive runtime, and ecosystem fragmentation make connection pools simpler and more practical for most Java applications, while noting frameworks like Node.js and Vert.x that do use non-blocking drivers.
Professor Bian Haoqiong presents Retina, a new table format layer bringing row-level cross-table MVCC to lakehouses, achieving 10ms data freshness with only 5% query overhead by rethinking transaction replay, visibility, and compaction.
Xiaohongshu optimized StarRocks querying of Lance-format training datasets, implementing TopN delayed materialization, scan range splitting, metadata caching, and balanced index scheduling, reducing cold vector search from 15s to 5.9s and hot from 4.5s to 1.5s on 7B rows.
This article explains why an Easysearch cluster's green health status doesn't guarantee performance, and provides a comprehensive framework for production troubleshooting covering shard sizing, JVM tuning, thread pools, query optimization, monitoring dimensions, and a step-by-step diagnostic workflow.
This article demonstrates how StarRocks Semantic Views codify business metrics, relationships, and filters into version-controlled YAML definitions, enabling consistent SQL generation, table pruning, and aggregation elimination across BI, AI, and ad-hoc queries.
This article explains how EMR Serverless StarRocks leverages Paimon Global Index, including BTree for high-selectivity scalar filters and vector indexes for approximate nearest neighbor search, detailing the two-phase query architecture, index creation, SQL usage, and combined scalar-vector query execution.
This article analyzes Redis expiration deletion and memory eviction mechanisms, detailing eight eviction policies, their trade-offs, three production incidents, source code walkthroughs of lazy/active expiration and LFU/LRU approximations, and practical configuration guidelines for avoiding common pitfalls.
This article provides a comprehensive technical analysis of Redis Cluster, covering its fixed 16384-slot partitioning, slot migration mechanics, MOVED vs ASK redirections, Gossip-based failure detection, replica election, hash tags, cross-slot limitations, and operational best practices with real-world incident case studies.
This article dissects Redis master-slave replication and Sentinel failover through three real incidents, explaining the replid/offset/backlog trio for incremental sync, async replication trade-offs, Sentinel's quorum/majority election, brain-split risks, and production configuration formulas for backlog sizing and replication storm mitigation.
This article analyzes Redis's internal object encodings (SDS, listpack, skiplist, hashtable, intset, quicklist), their automatic conversion thresholds, memory overhead calculations, and practical pitfalls like silent encoding upgrades that quadruple memory usage, providing a framework for choosing data structures and diagnosing production issues.
This article explains why Redis is fast through four core factors—memory storage, single-threaded command execution, I/O multiplexing, and optimized data structures—illustrated with three real production incidents, source code walkthroughs of key components like SDS and incremental rehashing, and practical guidelines for avoiding common pitfalls such as big keys, hot keys, and misconfigured eviction policies.
This comprehensive guide covers MySQL slow query analysis from log configuration to index design, EXPLAIN plan interpretation, SQL rewriting techniques, and production troubleshooting workflows with real-world examples and concrete metrics.