Databases

Showing 100 articles max
Random Bulletin
Random Bulletin
Oct 5, 2026 · Databases

From Backup to Real-Time: Automating Data Recovery at 10M QPS

This article traces the evolution of data recovery from manual backup restoration through log replay to automated replica switching, explaining RPO/RTO trade-offs, and details how 10M QPS systems implement shard-level automatic rebuild with throttling, verification, and continuous recovery as a runtime capability.

RPORTOReplication
0 likes · 20 min read
From Backup to Real-Time: Automating Data Recovery at 10M QPS
Linyb Geek Road
Linyb Geek Road
Oct 5, 2026 · Databases

Beyond RAG: Vector Databases as General-Purpose Similarity Search Engines

This article explains why vector databases are general-purpose similarity search engines beyond RAG, covering embedding model selection (BGE), non-RAG use cases like recommendation and anomaly detection, core operations with ChromaDB and HNSW, selection criteria for ChromaDB, FAISS, Milvus, and Pinecone, and five practical engineering lessons on recall evaluation, API workarounds, distance vs similarity, chunking strategies, and metadata filtering.

ChromaDBEmbeddingHNSW
0 likes · 12 min read
Beyond RAG: Vector Databases as General-Purpose Similarity Search Engines
Java Tech Enthusiast
Java Tech Enthusiast
Oct 4, 2026 · Databases

Why SQL NULL Can't Use Equals: Three-Valued Logic & Hidden Pitfalls

This article explains why SQL NULL represents an unknown state rather than a value, how three-valued logic (TRUE, FALSE, UNKNOWN) breaks equality comparisons, and demonstrates practical pitfalls with WHERE clauses, NOT IN subqueries, aggregate functions, and MySQL's NULL-safe operator.

NOT IN pitfallNULLSQL
0 likes · 9 min read
Why SQL NULL Can't Use Equals: Three-Valued Logic & Hidden Pitfalls
AI Engineering
AI Engineering
Oct 4, 2026 · Databases

Semantic Filtering in Postgres Without Vector Indexes: pg-jev Hands-On

pg-jev is a PostgreSQL extension that wraps TypeSafe's Jev library into SQL functions, enabling semantic classification, probability scoring, and label selection directly in queries without vector indexes or embeddings, with performance benchmarks and operational caveats.

JEVPostgreSQLSQL functions
0 likes · 5 min read
Semantic Filtering in Postgres Without Vector Indexes: pg-jev Hands-On
Code Farmer Manor Chronicle
Code Farmer Manor Chronicle
Oct 1, 2026 · Databases

Database Selection Guide: Decision Framework for New Projects with Xinchuang Options

This article provides a structured decision framework for choosing databases in new projects, covering four key questions, relational and NoSQL comparisons, Xinchuang (domestic) database options, distributed NewSQL systems, a practical decision tree, typical technology stacks, and guidance on writing selection documents with POC validation.

NewSQLPostgreSQLarchitecture-decision
0 likes · 9 min read
Database Selection Guide: Decision Framework for New Projects with Xinchuang Options
Lakehouse Research Base
Lakehouse Research Base
Oct 1, 2026 · Databases

StarRocks Vectorized Execution & CBO Optimizer Deep Dive: Pipeline, CodeGen & Cost Model

This article provides a deep technical analysis of StarRocks' vectorized execution engine and cost-based optimizer, covering pipeline scheduling, vectorized operators, CodeGen/JIT compilation, statistics-driven cost modeling, parameter tuning strategies, and production troubleshooting methodologies for low-latency analytical queries.

CBO OptimizerCodeGenCost Model
0 likes · 40 min read
StarRocks Vectorized Execution & CBO Optimizer Deep Dive: Pipeline, CodeGen & Cost Model
ITPUB
ITPUB
Oct 1, 2026 · Databases

Why SELECT * 20M Rows Won't OOM MySQL: Streaming Protocol & LRU Protection

The article explains why a MySQL SELECT * query scanning 20 million rows won't cause server-side OOM due to its streaming protocol using a 16KB net_buffer, but warns that full table scans can pollute the Buffer Pool, though InnoDB's midpoint insertion strategy and innodb_old_blocks_time (default 1s) protect hot data from eviction.

Buffer PoolInnoDBLRU
0 likes · 13 min read
Why SELECT * 20M Rows Won't OOM MySQL: Streaming Protocol & LRU Protection
Code Farmer Manor Chronicle
Code Farmer Manor Chronicle
Oct 1, 2026 · Databases

Xinchuang Database Migration: MySQL→Kingbase & Oracle→Dameng 5-Phase Guide

This article details a five-phase migration process for China's Xinchuang database replacements, covering Oracle-to-Dameng and MySQL-to-Kingbase routes, compatibility mode selection, schema conversion, data migration, application refactoring, regression verification, and critical dialect pitfalls like auto-increment, upsert, date functions, and empty-string handling.

DamengKingbaseOracle
0 likes · 10 min read
Xinchuang Database Migration: MySQL→Kingbase & Oracle→Dameng 5-Phase Guide
Architect's Guide
Architect's Guide
Sep 30, 2026 · Databases

10 Advanced SQL Techniques for Data Science Interviews

This article explains ten advanced SQL concepts including CTEs, recursive queries, temporary functions, pivoting with CASE WHEN, EXCEPT vs NOT IN, self-joins, ranking functions, delta calculations with LEAD/LAG, running totals, and datetime manipulation, with code examples for data science interview preparation.

CTEDateTime ManipulationPivoting
0 likes · 12 min read
10 Advanced SQL Techniques for Data Science Interviews
Programmer XiaoFu
Programmer XiaoFu
Sep 29, 2026 · Databases

Why SQL Writing Order Differs from Execution Order: Explained

This article explains the difference between SQL's written clause order and its logical execution order, detailing why WHERE cannot use column aliases, how HAVING filters groups, the impact of JOIN/ON placement in LEFT JOINs, and how to verify execution plans with EXPLAIN.

EXPLAINHAVING clauseJOIN
0 likes · 9 min read
Why SQL Writing Order Differs from Execution Order: Explained
java1234
java1234
Sep 29, 2026 · Databases

MySQL 9.7 Explored: Vector Search, JavaScript Stored Procedures & Bulk Import Gains

This article explores MySQL 9.7's key innovations including native VECTOR type for semantic search, JavaScript stored procedures for in-database logic, parallel bulk import from object storage, and security upgrades like mandatory caching_sha2_password, with practical code examples and upgrade guidance.

Innovation releaseJavaScript stored proceduresMySQL 9.7
0 likes · 18 min read
MySQL 9.7 Explored: Vector Search, JavaScript Stored Procedures & Bulk Import Gains
Shuge Unlimited
Shuge Unlimited
Sep 29, 2026 · Databases

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.

ANNMilvuscandidate budget
0 likes · 14 min read
Milvus 3.0 Aggregation Inaccuracy: It's Missing Candidates, Not Safe Factor
Mingyi World Elasticsearch
Mingyi World Elasticsearch
Sep 28, 2026 · Databases

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.

CDCChinese tokenizationDameng DM8
0 likes · 20 min read
Dameng DM8 + Easysearch Full-Text Search Validation: 12x Speedup on 1M Chinese Docs
Mingyi World Elasticsearch
Mingyi World Elasticsearch
Sep 28, 2026 · Databases

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.

Chinese tokenizationDM8Dameng
0 likes · 16 min read
Dameng DM8 + Easysearch: 17x Faster Full-Text Search via Logstash Sync
Linux Tech Enthusiast
Linux Tech Enthusiast
Sep 28, 2026 · Databases

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.

CTEcorrelated subqueryexecution plan
0 likes · 16 min read
8 SQL Anti-Patterns That Kill Performance (and How to Fix Them)
dbaplus Community
dbaplus Community
Sep 27, 2026 · Databases

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.

AI agentsDBOSGraph Databases
0 likes · 27 min read
Turing Winner Stonebraker: Why LLMs Won't Replace Relational Databases & AI Agent Pitfalls