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

14 min read

Milvus 3.0 Aggregation Inaccuracy: It's Missing Candidates, Not Safe Factor

The article explains that Milvus 3.0 search aggregation operates on ANN candidates, not full collections, so missing buckets stem from candidate budget limits (topK and TopHits.size), not the safe_factor parameter; it distinguishes candidate-signal counts from exact filtered counts and advises choosing the right query path for each need.

6 min read

Why Vector Databases Are Essential Beyond Relational Databases for AI

This article explains why vector databases like Milvus and Qdrant are necessary for AI applications despite the existence of relational databases like MySQL, detailing differences in indexing (ANN vs B+ trees), query logic (similarity vs exact match), consistency models, data structures, and ideal use cases such as RAG and recommendation systems.

20 min read

Dameng DM8 + Easysearch Full-Text Search Validation: 12x Speedup on 1M Chinese Docs

This report validates a read-write separation architecture using Dameng DM8 for transactions and Easysearch for full-text search, syncing 1 million Chinese documents via Logstash; full sync completes in 5.5 minutes, incremental changes propagate within 30 seconds, and search latency drops 12x compared to SQL LIKE while maintaining identical recall.

16 min read

Dameng DM8 + Easysearch: 17x Faster Full-Text Search via Logstash Sync

This article details integrating Dameng DM8 database with Easysearch 2.4.0 via Logstash 9.0 for full-text search, covering version compatibility fixes, JDBC driver configuration, logical deletion handling, timestamp boundary issues, IK analyzer alignment for Chinese text, and benchmark results showing 17x faster queries with consistent recall versus LIKE.

16 min read

8 SQL Anti-Patterns That Kill Performance (and How to Fix Them)

This article details eight common SQL anti-patterns — including OFFSET pagination, implicit type conversion, correlated subqueries in updates, mixed sorting, EXISTS clauses, blocked condition pushdown, late filtering, and unoptimized intermediate results — with execution plans and rewrites that reduce query times from seconds to milliseconds.

27 min read

Turing Winner Stonebraker: Why LLMs Won't Replace Relational Databases & AI Agent Pitfalls

In an 80-minute interview, Turing Award winner Mike Stonebraker argues that relational databases will absorb AI workloads, explains why Text-to-SQL fails on real enterprise data due to schema corruption and access controls, details DBOS's persistent workflow approach for AI agents, and discusses saga patterns for compensating transactions, graph database limitations, and the future of open-source AI.

8 min read

Why Database Sharding Is No Longer the Default Choice

The article argues that manual database sharding is shifting from a default scaling strategy to a fallback option, as native distributed databases like TiDB and OceanBase internalize sharding, routing, and distributed transactions, reducing application complexity, though they introduce higher latency, operational overhead, and cost, making single-node MySQL with proper indexing preferable for smaller datasets.

30 min read

100 Essential Oracle DBA Commands: Instance, SQL Tuning, RMAN & Data Guard

This comprehensive guide lists 100 essential Oracle DBA commands covering instance management, parameter configuration, session troubleshooting, lock analysis, SQL performance tuning, tablespace and user management, UNDO, temporary tablespace, RMAN backup and recovery, Data Guard, RAC, Data Pump, and OS-level diagnostics, with practical examples and usage notes.

8 min read

Why MySQL Needs Four Isolation Levels Despite MVCC's Lock-Free Reads

This article explains how MySQL's MVCC uses version chains and ReadViews to enable lock-free snapshot reads, why isolation levels control ReadView creation timing (per-statement vs per-transaction), and why READ UNCOMMITTED and SERIALIZABLE bypass MVCC entirely, while writes still require row locks.

10 min read

MariaDB Outperforms MySQL and PostgreSQL in Simple Query Benchmark

The author benchmarks MariaDB 10.3, MySQL 8.0, and PostgreSQL 12 using a real Turkish motorcycle classifieds app with many simple queries, finding MariaDB 5% faster on average and 7% faster at p95 with lower CPU usage, though MySQL handles tail latency better and memory differences stem from default performance_schema settings.

25 min read

StarRocks Embraces Paimon 2.0: Unifying Columnar Analytics and Vector Search in a Single SQL Engine

StarRocks now fully supports Paimon 2.0, enabling multimodal lakehouse workloads where columnar scans, scalar/vector/full-text indexes, and BLOB fetches coexist in one SQL execution framework, backed by Row Tracking and Data Evolution for incremental feature backfill.

38 min read

Baidu Canghai: Unified MetaDB & Aries Foundation for Object, File & Block Storage

Baidu's Canghai storage evolves from siloed per-product systems to a unified architecture with MetaDB (distributed transactional metadata database) and Aries (scalable Blob KV data plane with online EC), using directory-aware sharding, conflict merging, Mantle path resolution, and hybrid EC/three-replica adaptation to support object, file, and block storage on one foundation.

6 min read

7 Common MySQL Index Failure Scenarios and How to Fix Them

This article details seven common MySQL index failure scenarios—including leftmost prefix violations, function usage on indexed columns, implicit type conversion, leading wildcards in LIKE, OR with non-indexed columns, IS NOT NULL, and NOT IN/EXISTS—with concrete SQL examples showing both failing and optimized queries.

35 min read

Spring Boot + Cassandra for High-Write Workloads: Data Modeling, Consistency Tuning & Pitfalls

This guide covers integrating Cassandra with Spring Boot for high-write scenarios, detailing data modeling with partition/clustering keys, consistency level selection (LOCAL_QUORUM), query best practices, performance tuning (compaction, compression, JVM), and production pitfalls like hot partitions and tombstone storms.