The article explains how Alibaba Cloud EMR Serverless StarRocks converges full-text, scalar, and vector search into a single engine using RRF for score fusion, In-Filter for predicate pushdown into vector search, and Partial Update for column-level annotation writes, reducing data movement and operational complexity.
A step-by-step guide for DBAs to handle database disk space emergencies in the final 10 minutes, covering confirmation, growth identification, safe buffering, write throttling, online expansion, and verification for PostgreSQL and MySQL, emphasizing evidence-driven actions over risky shortcuts.
WeChat stores 1.3 billion users' chat records locally on devices using SQLite via its WCDB framework, avoiding EB-scale server costs while enabling instant search via FTS5 full-text indexing, with SQLCipher encryption and automatic sharding at 240MB per database file.
This article debunks the myth that HAVING requires GROUP BY, demonstrating advanced HAVING techniques including missing sequence detection, mode and median calculation, and NULL-aware grouping with concrete SQL examples and performance reasoning.
This article details how StarRocks and Paimon combine to build a multimodal data lake retrieval system, covering architecture design, early filtering and on-demand reading principles, Paimon's Global Index, Paimon vs Lance selection, and real-world implementations in autonomous driving and AI data platforms at Alibaba.
This article details a six-step engineering playbook to bulk-insert 10 billion rows into MySQL, reducing time from 231 days to under 3.5 hours by combining sharding, true JDBC batching with rewriteBatchedStatements, LOAD DATA INFILE, temporary parameter tuning, parallel shard loading, idempotent checkpointing, and shadow-table swapping, while explaining B+ tree capacity math and common pitfalls.
This article covers 10 advanced SQL concepts — CTEs, recursive CTEs, temporary functions, CASE WHEN pivoting, EXCEPT vs NOT IN, self-joins, ranking functions, delta calculations, running totals, and datetime manipulation — with practical code examples for data science interviews.
This article dissects VictoriaLogs' performance engineering across four layers—data architecture (LSM-tree, time partitioning, log-stream locality), query optimization (sparse indexes, Bloom filters), columnar storage with type-specific encoding and compression, and Go runtime tuning—showing that reducing unnecessary work via smart data organization outweighs micro-optimizations.
This article analyzes ransomware attack chains targeting databases, classifies failure scenarios by deployment architecture, details emergency recovery procedures for seven scenarios, outlines six backup tiers with anti-ransomware ratings, and defines four recovery paths with applicability conditions and time estimates.
MySQL 8.2 adds native read/write separation using MySQL Router 8.2 with InnoDB ReplicaSet, automatically routing SELECT queries to replicas and writes to the primary without application changes, with transaction-aware routing and configurable access modes.
MySQL 9.0+ introduces native VECTOR type, built-in semantic search with RAG, and AutoML via SQL, enabling AI workloads without external services; the article details three core capabilities, two deployment modes (local enterprise edition and cloud HeatWave), complete query logic, and three runnable code examples for vector storage, similarity search, and document-based RAG.
This article explains how to determine optimal database connection pool sizes by establishing a capacity budget, monitoring pool and database metrics, configuring HikariCP for PostgreSQL, and iteratively tuning based on workload characteristics rather than relying on generic formulas.
The article tests DuckDB 2.0 CLI's Agent Mode with a 1,205-row CSV, showing how it explicitly marks omitted rows and returns JSON-structured errors for missing columns, but emphasizes that statistical accuracy still requires aggregation queries like COUNT and FILTER rather than relying on displayed samples.
A layered MySQL optimization guide for high-concurrency scenarios covering bottleneck diagnosis, SQL/index tuning, transaction/lock optimization, a three-layer seckill inventory implementation (Redis Lua, MQ async, sharded buckets), caching patterns, read-write separation, connection pooling, InnoDB tuning, and sharding trade-offs, with real production metrics showing P99 latency dropping from 1.2s to 85ms.
This article explains why database indexes accelerate queries by detailing disk storage mechanics, demonstrating binary search on 100,000 records reducing block scans from 20,000 to 14, covering clustered vs non-clustered indexes, index trade-offs, common failure cases like OR conditions, and practical SQL optimization techniques.
This article systematically breaks down database high availability into five layers — single-node durability via WAL and two-phase commit, master-slave replication with async and semi-sync modes, GTID-based global transaction identification, consistent failover with fencing, and automated failover using Orchestrator and probe-agent — illustrating each with real-world failure cases and configuration details.
MySQL 9.7 LTS brings five enterprise features to community edition, introduces the Hypergraph optimizer with 22% geometric mean speedup on TPC-DS, adds DML support to JSON Duality Views, improves rolling upgrades and container CPU detection, and switches password hashing to PBKDF2-SHA512, while vector search remains experimental.
This article details a five-layer database high availability architecture: single-node crash recovery via WAL and two-phase commit, asynchronous and semi-synchronous replication trade-offs, GTID-based global transaction identification for seamless failover, fencing mechanisms to prevent split-brain, and Orchestrator with probe-agent for automated failure detection and failover execution.
This article systematically explains database high availability through five layers: single-node crash recovery via WAL and two-phase commit, replication modes (async vs semi-sync) and RPO trade-offs, GTID-based global transaction identification for safe failover, fencing and PRS/ERS switching protocols to prevent split-brain, and Orchestrator's cross-check failure detection with probe-agent for automated failover.
Tencent and HKU propose AdaBool, an adaptive GPU framework for sparse boolean matrix multiplication that dynamically selects offset arrays or bitmaps per block, achieving up to 264x throughput over cuSPARSE/cuBool and 2-7.9x memory reduction, deployed for million-ad real-time filtering.