Databases

Showing 100 articles max
ITPUB
ITPUB
Aug 14, 2026 · Databases

Still Using NULL? How It Can Quietly Slow Down Your Database

This article explains why MySQL discourages using NULL as a default column value, demonstrates how NULL affects indexing, comparisons, and aggregate functions, and shows through concrete examples that improper NULL handling can lead to unexpected query results and performance degradation.

Best PracticesIFNULLIS NULL
0 likes · 13 min read
Still Using NULL? How It Can Quietly Slow Down Your Database
Woodpecker Software Testing
Woodpecker Software Testing
Aug 14, 2026 · Databases

How to Diagnose Database Performance Test Failures: Real‑World Cases and a Three‑Layer Method

The article presents a systematic, three‑layer approach to uncovering root causes of database performance test failures, illustrating each step with real‑world financial and e‑commerce case studies, key metrics to monitor, reproducible fault injection techniques, and a baseline‑driven change‑gate process.

DatabaseInnoDBRoot Cause Analysis
0 likes · 9 min read
How to Diagnose Database Performance Test Failures: Real‑World Cases and a Three‑Layer Method
liandk
liandk
Aug 14, 2026 · Databases

Hands‑On MySQL Slow Query: Enable Logs, Analyze SQL, and Optimize Performance

The article explains what MySQL slow queries are, why they must be detected, when to enable slow‑query logging, step‑by‑step commands to configure the log, how to simulate and analyze problematic SQL with EXPLAIN, and practical optimization techniques—including index creation and Spring Boot integration—to eliminate performance bottlenecks.

MySQLPerformance OptimizationSQL
0 likes · 10 min read
Hands‑On MySQL Slow Query: Enable Logs, Analyze SQL, and Optimize Performance
liandk
liandk
Aug 14, 2026 · Databases

Safe SQL UPDATE Practices: Changing Phone Numbers, Statuses, and Prices Without Risk

This article explains how the SQL UPDATE statement modifies existing rows, emphasizes the necessity of a WHERE clause to avoid full‑table changes, provides single‑row, batch, and multi‑column examples, and advises verifying data with SELECT before executing updates in production.

Data ModificationDatabaseSQL
0 likes · 2 min read
Safe SQL UPDATE Practices: Changing Phone Numbers, Statuses, and Prices Without Risk
Smart Sea Tide
Smart Sea Tide
Aug 14, 2026 · Databases

How to Build and Use a Data Warehouse: ETL, OLAP, and BI Overview

This article provides a comprehensive overview of data warehouse implementation, covering DDL‑based creation, the role of ETL processes, the functions of OLAP/BI tools, data cube operations, and the trade‑offs among MOLAP, ROLAP, and HOLAP architectures.

BIData CubeETL
0 likes · 13 min read
How to Build and Use a Data Warehouse: ETL, OLAP, and BI Overview
dbaplus Community
dbaplus Community
Aug 13, 2026 · Databases

Why Redis Cluster Limits You to DB 0 (and How to Work Around It)

Redis Cluster enforces a single database (DB 0) because its slot‑based sharding model relies on a global 16,384‑slot map, and supporting multiple databases would break slot consistency, migration, and scalability, so developers must use key prefixes, separate instances, or multiple clusters to achieve logical isolation.

DB0DatabaseDistributed Consistency
0 likes · 7 min read
Why Redis Cluster Limits You to DB 0 (and How to Work Around It)
IT Learning Made Simple
IT Learning Made Simple
Aug 13, 2026 · Databases

Databases: I'm Not Just Your Excel‑Savvy Cousin

This article demystifies databases by contrasting them with Excel, explains core concepts such as tables, rows, columns, primary and foreign keys, compares relational and NoSQL systems, introduces SQL CRUD operations, ACID properties, and provides a quick MySQL hands‑on guide, helping readers decide when to adopt a database.

ACIDMySQLNoSQL
0 likes · 10 min read
Databases: I'm Not Just Your Excel‑Savvy Cousin
Xiaolei Talks DB
Xiaolei Talks DB
Aug 13, 2026 · Databases

How TiDB’s New Tiered Storage Architecture Cuts Costs and Boosts Performance

TiDB’s next‑generation tiered storage separates hot data on local SSDs from cold data on object storage, using multi‑tree LSM, segment caching, and IA Manager to reduce storage costs by up to 50 % while preserving low latency for frequent accesses and providing clear migration and monitoring guidelines.

Cold DataIA ManagerS3
0 likes · 15 min read
How TiDB’s New Tiered Storage Architecture Cuts Costs and Boosts Performance
Su San Talks Tech
Su San Talks Tech
Aug 13, 2026 · Databases

How to Safely Add a Column to a Tens‑Million‑Row MySQL Table? 6 Proven Methods

Adding a column to a MySQL table with tens of millions of rows can lock the table for minutes or even hours, disrupting services, so this article evaluates six practical approaches—including native online DDL, offline maintenance, PT‑OSC, logical migration with dual‑write, gh‑ost, and partition sliding‑window—detailing their mechanisms, trade‑offs, and suitable scenarios.

MySQLOnline DDLdatabase operations
0 likes · 13 min read
How to Safely Add a Column to a Tens‑Million‑Row MySQL Table? 6 Proven Methods
Yumin Fish Harvest
Yumin Fish Harvest
Aug 13, 2026 · Databases

How to Choose Storage for Query Services: Relational DB, Search, OLAP, and Time‑Series Models

The article walks through a systematic method for selecting the right storage technology—relational OLTP, search engine, OLAP, or time‑series—based on query intent, data volume, latency tolerance, and consistency needs, using an e‑commerce “optimal store” scenario to illustrate the decision process and practical trade‑offs.

CDCOLAPread-model
0 likes · 30 min read
How to Choose Storage for Query Services: Relational DB, Search, OLAP, and Time‑Series Models
liandk
liandk
Aug 13, 2026 · Databases

How to Use ORDER BY to Automatically Sort SQL Query Results

When query results appear unordered, the SQL ORDER BY clause lets you instantly arrange rows by ascending or descending values—such as timestamps, amounts, or multiple fields—providing clean, organized output for latest‑first displays, statistical sorting, and tidy list presentations.

DatabaseORDER BYSQL
0 likes · 2 min read
How to Use ORDER BY to Automatically Sort SQL Query Results
samdeepthink
samdeepthink
Aug 13, 2026 · Databases

Why High Traffic Makes SQL JOINs a Bottleneck

When traffic spikes, a multi‑table JOIN can hold database connections far longer than separate single‑table queries, quickly exhausting the connection pool and slowing the entire system, as demonstrated by concrete timing examples and a practical workaround.

Connection PoolDatabase ConnectionsJOIN
0 likes · 3 min read
Why High Traffic Makes SQL JOINs a Bottleneck
Code Farming
Code Farming
Aug 13, 2026 · Databases

Redis vs MySQL for Shopping Carts: Why I Chose the Option That Can Lose Data

The article explains that a shopping cart can tolerate loss of recent writes but not accumulated items, outlines the data model with seven fields and a unique key, compares client‑side storage options, details merge strategies for guest and logged‑in carts, and evaluates Redis, MySQL, and hybrid solutions with concrete trade‑offs.

Data ConsistencyMySQLRedis
0 likes · 13 min read
Redis vs MySQL for Shopping Carts: Why I Chose the Option That Can Lose Data
Cloud Architecture
Cloud Architecture
Aug 12, 2026 · Databases

How Redis Cluster’s Decentralized Design Powers Billion‑Scale Traffic

When a single Redis instance can no longer hold the data volume or write load of e‑commerce workloads, the traditional master‑slave with Sentinel model reaches its limits, and Redis Cluster—by sharding data across 16,384 slots, using gossip‑based topology, and removing a central control plane—delivers horizontal scaling and fault‑tolerance for billions of requests, provided key design, hash tags, hot‑key mitigation, and client routing are applied.

Rediscachecluster
0 likes · 32 min read
How Redis Cluster’s Decentralized Design Powers Billion‑Scale Traffic
DataFunTalk
DataFunTalk
Aug 12, 2026 · Databases

Why Teams That Shun Database Agents May Still Be Digging Their Own Pits

The article warns that while coding agents accelerate development, they erase accumulated experience, causing repeated mistakes across team members—especially in large teams—so rejecting database agentization means refusing to turn knowledge into a lasting asset.

agent pitfallscoding agentsdatabase agents
0 likes · 2 min read
Why Teams That Shun Database Agents May Still Be Digging Their Own Pits