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

12 min read

Managing Multimodal Data for Agents: OceanBase’s Multimodal Table Solution

The article analyzes OceanBase’s newly released lake‑house AI database, focusing on its multimodal table feature that unifies storage, transaction, governance and hybrid search for images, PDFs, vectors and other non‑structured data, addressing the data‑consistency and latency challenges of Agent‑driven applications.

8 min read

How Database Disaster Recovery Solutions Evolve: From Tape Backups to Multi-Active Geo-Replication

The article explains why disaster‑recovery is essential for architects, defines backup versus DR, introduces RPO/RTO, examines key pitfalls such as sync‑async trade‑offs and split‑brain, compares cold, warm, hot and active‑active setups, and traces the technical evolution from manual tape copies to modern consensus‑based multi‑active geo‑replication.

11 min read

Database Legend Mike Stonebraker: The Birth of Postgres and Challenges in the AI Era

In a candid interview, database pioneer Mike Stonebraker recounts the academic and commercial journeys of Ingres and Postgres, critiques industry giants, explores his DebOS project that reimagines OS kernels as databases, and shares hard‑won insights on AI‑driven Text‑to‑SQL and career advice for the next generation.

20 min read

Designing MySQL for Millions of QPS: From Single Server to Distributed Architecture

The article walks through a real‑world order system that spikes to 300,000 QPS, explaining why the original single‑node MySQL design fails, and detailing a step‑by‑step evolution—index tuning, transaction fixes, read‑write splitting, vertical and horizontal sharding, plus data‑pipeline integration—to achieve stable low latency at massive scale.

14 min read

Why You Should Stop Using Snowflake for IDs and Try a Shorter MySQL Auto‑Increment Solution

The article examines the drawbacks of using Snowflake for generating short numeric user IDs, details a MySQL auto‑increment based approach, reveals deadlock problems with REPLACE INTO, evaluates alternative schemes, and presents a final sharding‑friendly short‑ID design that meets performance and usability requirements.

25 min read

Why PostgreSQL’s Creator Criticizes Oracle and Google – AI‑Generated SQL Still Falls Short

In a candid interview, PostgreSQL founder Michael Stonebraker recounts his journey from Ingres to Postgres, critiques Oracle’s sales tactics, denounces Google’s and Amazon’s database strategies, explains Postgres’s extensible type system, explores the DBOS research project, and highlights why current large‑language‑model‑to‑SQL solutions remain far from production‑ready.

18 min read

Why Adding a Column to a Ten‑Million‑Row Table Is Harder Than the SQL Itself

Adding a column to a tens‑of‑millions‑row MySQL table may look trivial, but the real difficulty lies in the metadata‑lock timing and online traffic impact, requiring careful DDL type selection, pre‑flight checks, and often an online migration tool such as gh‑ost to avoid business‑level outages.

17 min read

How Milvus 3.0 Queries External Lakehouse Files Without Copying Data

Milvus 3.0 introduces an External Collection that treats Parquet and other lakehouse files as a read‑only query view, detailing how external_source and external_spec are validated, how stable file lists are built, how the two‑stage refresh recomputes segment mappings, and how virtual primary keys and milvus‑table snapshots enable seamless querying without data duplication.

11 min read

When Does MySQL Skip Writing to the Binlog? A Deep Dive into ROW‑Mode Logic and Controls

The article explains how MySQL determines whether a statement should be recorded in the binary log under ROW format, detailing the check_table_binlog_row_based function, the cached_row_logging_check flag, OPTION_BIN_LOG, and various scenarios—such as temporary tables, replication filters, no‑replicate tables, session settings, and internal operations—where binlog entries are omitted.

38 min read

MySQL Master‑Slave Replication: Core Architecture, GTID Setup, and Common Troubleshooting

This article provides a comprehensive, hands‑on guide to MySQL master‑slave replication, covering the underlying architecture, binlog formats, GTID and semi‑synchronous modes, detailed configuration steps, thread workflows, common failure scenarios with step‑by‑step diagnostics, and practical monitoring and failover scripts.