Tagged articles

Database

2745 articles · Page 11 of 28
Programmer DD
Programmer DD
Jun 3, 2023 · Databases

Master MySQL Binlog: Sync Data and Power Business Innovations

This article explains MySQL's binlog, its role in master‑slave replication, and how businesses can harness it for data heterogeneity, cache synchronization, and task dispatch, illustrating practical middleware designs that transform raw changes into valuable services.

Data ReplicationDatabaseMySQL
0 likes · 7 min read
Master MySQL Binlog: Sync Data and Power Business Innovations
Laravel Tech Community
Laravel Tech Community
May 31, 2023 · Databases

CrateDB 5.3.2 Release Notes: Bug Fixes and Improvements

CrateDB 5.3.2 introduces numerous fixes and enhancements, including corrected handling of empty partition tables, improved default clause errors for OBJECT columns, resolved ON CONFLICT insert issues, fixed LIKE/ILIKE pattern bugs, snapshot restoration problems, Azure repository errors, and various optimizer and interval function improvements.

BugFixesCrateDBDatabase
0 likes · 6 min read
CrateDB 5.3.2 Release Notes: Bug Fixes and Improvements
DeWu Technology
DeWu Technology
May 31, 2023 · Databases

Designing a Time Axis for HR Systems: Interval vs Effective‑Date Models

Designing a time axis for HR systems involves choosing between an interval model that stores start and end timestamps and an effective‑date model that uses effective dates and sequences, each affecting query simplicity, maintenance effort, common pitfalls, and ultimately enabling accurate historical and future employee data analysis.

DatabaseDesign PatternsHR system
0 likes · 17 min read
Designing a Time Axis for HR Systems: Interval vs Effective‑Date Models
Architecture Digest
Architecture Digest
May 30, 2023 · Backend Development

Lightweight Redis Admin Tool – Overview, Architecture, Installation, and Future Plans

This document introduces a lightweight Redis graphical management tool, outlines its Spring Boot backend and Vue frontend architecture, provides step‑by‑step installation instructions including Docker deployment, details recent feature enhancements such as multi‑user support and permission control, and mentions future plans for clustering and sentinel modes.

DatabaseRedisSpring Boot
0 likes · 3 min read
Lightweight Redis Admin Tool – Overview, Architecture, Installation, and Future Plans
DevOps Cloud Academy
DevOps Cloud Academy
May 29, 2023 · Databases

Best Database Schema Migration Tools: CLI, GUI, and GitOps/Database-as-Code Solutions

Database schema changes are among the riskiest development tasks, and this article reviews top migration tools—from basic CLI clients like mysql and psql, through popular GUIs such as phpMyAdmin and DBeaver, to modern GitOps/Database-as-Code solutions like Liquibase, Flyway, Sqitch, Atlas, Prisma, and Bytebase—highlighting their features, pricing, and collaboration capabilities.

CLIDatabaseDevOps
0 likes · 9 min read
Best Database Schema Migration Tools: CLI, GUI, and GitOps/Database-as-Code Solutions
ITPUB
ITPUB
May 26, 2023 · Databases

Mastering Redis Transactions: Commands, CAS Locks, and Common Pitfalls

This article explains why Redis offers transactions, introduces the five core transaction commands, demonstrates practical examples including WATCH and CAS optimistic locking, and discusses error handling and the reasons Redis does not support rollback.

CASDatabaseRedis
0 likes · 9 min read
Mastering Redis Transactions: Commands, CAS Locks, and Common Pitfalls
Su San Talks Tech
Su San Talks Tech
May 25, 2023 · Databases

Why MySQL Uses B+ Trees Instead of Skip Lists for Indexing

This article compares B+ trees and skip lists, explaining their structures, insertion and search complexities, and why MySQL chooses B+ trees for disk‑based indexing while Redis prefers skip lists for in‑memory sorted sets, highlighting trade‑offs in read/write performance and I/O costs.

B+ treeDatabaseMySQL
0 likes · 12 min read
Why MySQL Uses B+ Trees Instead of Skip Lists for Indexing
Sanyou's Java Diary
Sanyou's Java Diary
May 23, 2023 · Databases

Master MySQL Indexes: From B+ Trees to Index Merge and Optimization

This article provides a comprehensive guide to MySQL indexing, covering index types, data structures, clustering vs. non‑clustering, hash and B+Tree indexes, covering indexes, index push‑down, index merge strategies, cost‑based index selection, common pitfalls, and practical indexing principles with illustrative examples and SQL snippets.

B+ treeDatabaseIndex
0 likes · 31 min read
Master MySQL Indexes: From B+ Trees to Index Merge and Optimization
Architecture Digest
Architecture Digest
May 23, 2023 · Databases

Redis Data Types: Overview, Use Cases, and Internal Implementations

This article provides a comprehensive English guide to Redis’s ten core data types—including strings, hashes, lists, sets, sorted sets, streams, hyperloglog, bitmap, and bitfield—detailing their definitions, typical application scenarios, underlying storage mechanisms, conversion rules, and sample Redis commands with code examples.

Data TypesDatabaseRedis
0 likes · 31 min read
Redis Data Types: Overview, Use Cases, and Internal Implementations
NiuNiu MaTe
NiuNiu MaTe
May 17, 2023 · Databases

Mastering Redis HSET: Basics, Commands, and Internal Encoding

This article introduces Redis HSET, covering its definition, suitable use cases, common commands for creating, reading, updating, and deleting hash fields, as well as the underlying encoding mechanisms (ziplist vs hashtable) and best practices, including the deprecation of HMSET.

CacheDatabaseHSET
0 likes · 7 min read
Mastering Redis HSET: Basics, Commands, and Internal Encoding
21CTO
21CTO
May 16, 2023 · Databases

How Cassandra’s New Vector Search Transforms AI Applications

This article explains how Cassandra’s newly added vector data type and ANN search capabilities empower AI developers to store, index, and query high‑dimensional embeddings at scale, enabling use cases such as image retrieval, recommendation, and large‑language‑model integration.

AIANNCassandra
0 likes · 10 min read
How Cassandra’s New Vector Search Transforms AI Applications
Meituan Technology Team
Meituan Technology Team
May 11, 2023 · Databases

Meituan Database High Availability System

Meituan’s high‑availability database system, built on a multi‑region Raft‑group architecture, addresses rapid instance growth and stringent availability by deploying three‑node HA cores, micro‑services, and MGR clusters with AZ‑ and region‑level disaster recovery, while employing multi‑channel fault detection, weighted election, and semi‑synchronous consistency mechanisms, and outlines future moves toward decentralized proxies and fully clustered designs.

DatabaseHA deploymentHigh Availability
0 likes · 20 min read
Meituan Database High Availability System
Aikesheng Open Source Community
Aikesheng Open Source Community
May 11, 2023 · Databases

Why MySQL 8.0 Upgrade Can Suddenly Slow Down Queries: The Hidden Lock Table Trap

After upgrading from MySQL 5.7 to 8.0, a client experienced a flood of slow queries despite low system load; the root cause was a change in the sys.innodb_lock_waits view that now relies on performance_schema.data_locks, whose large lock table holds a global mutex and blocks other transactions, a problem solved by adding an index to reduce lock volume.

DatabaseInnoDBLock
0 likes · 11 min read
Why MySQL 8.0 Upgrade Can Suddenly Slow Down Queries: The Hidden Lock Table Trap
政采云技术
政采云技术
May 11, 2023 · Databases

Redis Persistence: RDB Snapshots, AOF Write‑Ahead Log, and Hybrid Persistence

Redis provides two primary persistence mechanisms—RDB snapshots that capture the dataset at specific moments and AOF write‑ahead logs that record every write command—along with a hybrid model combining both, each with distinct strategies, advantages, drawbacks, and configuration options to ensure data durability and fast recovery.

AOFDatabasePersistence
0 likes · 15 min read
Redis Persistence: RDB Snapshots, AOF Write‑Ahead Log, and Hybrid Persistence
Programmer DD
Programmer DD
May 5, 2023 · Databases

Why Deno KV Could Be Your Next Strongly Consistent Key‑Value Database

The article introduces Deno KV, a globally replicated, strongly consistent key‑value database that runs locally with SQLite or in Deno Deploy with FoundationDB, highlights its simple yet powerful JavaScript‑centric API, atomic transactions, consistency models, and provides practical code examples for developers.

Atomic TransactionsDatabaseDeno KV
0 likes · 6 min read
Why Deno KV Could Be Your Next Strongly Consistent Key‑Value Database
Liangxu Linux
Liangxu Linux
May 5, 2023 · Databases

Quickly Find the Highest CPU‑Consuming SQL in MySQL

This guide explains how to pinpoint the MySQL statements that use the most CPU by mapping OS thread IDs to MySQL sessions, querying performance_schema and information_schema, and reviewing the execution plan to identify optimization opportunities.

CPUDatabaseMySQL
0 likes · 3 min read
Quickly Find the Highest CPU‑Consuming SQL in MySQL
Laravel Tech Community
Laravel Tech Community
May 4, 2023 · Databases

Redis Development Guidelines: Key Design, Command Usage, and Best Practices

This article outlines comprehensive Redis development standards, covering key naming conventions, value design, lifecycle management, command usage guidelines, prohibited commands, batch operations, transaction considerations, and Lua scripting constraints, aiming to reduce common pitfalls and improve performance and maintainability.

Command Best PracticesDatabaseKey Design
0 likes · 6 min read
Redis Development Guidelines: Key Design, Command Usage, and Best Practices
ITPUB
ITPUB
May 3, 2023 · Databases

Master MySQL Indexes: Types, Usage, and Optimization Tips

This comprehensive guide explains what MySQL indexes are, details various index types—including B+‑tree, hash, full‑text, and spatial—covers when indexes become ineffective, shows how to design, use, and troubleshoot them, and provides practical steps for large‑scale index management.

B+TreeDatabaseIndex
0 likes · 19 min read
Master MySQL Indexes: Types, Usage, and Optimization Tips
Su San Talks Tech
Su San Talks Tech
May 3, 2023 · Databases

Master MongoDB Sharding: Theory, Setup, and Troubleshooting

This guide walks you through MongoDB sharding fundamentals, step‑by‑step cluster setup, common failure diagnostics, and practical commands, enabling you to build, manage, and optimize a sharded MongoDB deployment for scalable storage and high‑performance applications.

ClusterDatabaseDevOps
0 likes · 16 min read
Master MongoDB Sharding: Theory, Setup, and Troubleshooting
Su San Talks Tech
Su San Talks Tech
May 2, 2023 · Databases

Master Redis Interview Questions: Performance, Persistence, High Availability & More

This comprehensive guide covers why Redis is fast, its underlying data structures, single‑threaded and epoll models, cache eviction policies, persistence mechanisms, high‑availability architecture, performance bottlenecks, distributed locking, cache avalanche/penetration strategies, data skew handling, and bitmap applications, providing essential knowledge for interview preparation.

DatabaseHigh AvailabilityRedis
0 likes · 23 min read
Master Redis Interview Questions: Performance, Persistence, High Availability & More
Liangxu Linux
Liangxu Linux
Apr 25, 2023 · Databases

How to Unnest Correlated Subqueries for Faster SQL Execution

This article explains why correlated subqueries are costly, introduces the Apply (correlated join) operator, and presents a series of systematic transformation rules that convert scalar, existential, and aggregate subqueries into efficient join‑based plans while preserving SQL semantics.

Apply OperatorDatabaseDecorrelation
0 likes · 17 min read
How to Unnest Correlated Subqueries for Faster SQL Execution
ITPUB
ITPUB
Apr 23, 2023 · Databases

Why SQL Still Dominates Data Analysis: From Relational Algebra to Modern OLAP

This article explains how SQL, built on relational algebra, became the standard analysis language for OLAP engines, covering its history, data models, syntax, functions, aggregation techniques, window functions, subqueries, and practical optimization considerations for modern data warehouses.

AggregationDatabaseOLAP
0 likes · 46 min read
Why SQL Still Dominates Data Analysis: From Relational Algebra to Modern OLAP
Aikesheng Open Source Community
Aikesheng Open Source Community
Apr 22, 2023 · Databases

Weekly Tech News Digest – Database and SQL Updates

This weekly roundup curates the latest high‑quality technical shares on databases, featuring articles about PolarDB HTAP acceleration, MySQL datetime precision, new MySQL releases, ChatGPT as a database client, and the SQLE platform's recent enhancements and upcoming plans.

DatabaseMySQLOpen Source
0 likes · 4 min read
Weekly Tech News Digest – Database and SQL Updates
Top Architect
Top Architect
Apr 21, 2023 · Backend Development

Common Interface Performance Optimization Strategies

This article presents a comprehensive set of practical techniques—including batch processing, asynchronous execution, caching, pre‑processing, pooling, parallelization, indexing, transaction size reduction, code refactoring, and pagination optimization—to systematically reduce API latency and improve overall backend service efficiency.

Batch ProcessingDatabasecaching
0 likes · 12 min read
Common Interface Performance Optimization Strategies
ITPUB
ITPUB
Apr 18, 2023 · Databases

Mastering MySQL Index Merge: Principles, Algorithms, and Practical Tips

This article explains MySQL's index‑merge optimization, detailing how the EXPLAIN output indicates its use, the three underlying algorithms (intersect, union, sort‑union), practical query examples, configuration flags, and step‑by‑step guidance for testing with sample tables and indexes.

AlgorithmsDatabaseMySQL
0 likes · 9 min read
Mastering MySQL Index Merge: Principles, Algorithms, and Practical Tips
Aikesheng Open Source Community
Aikesheng Open Source Community
Apr 14, 2023 · Databases

DTLE 4.23.04.0 Release Notes – Open‑Source MySQL Data Transfer Component

The DTLE 4.23.04.0 release introduces numerous MySQL‑focused enhancements and bug fixes—including timestamp handling, UUID processing, transaction retry logic, UTF‑8 support, and API improvements—while providing download links, repository information, and recommended reading for users of this open‑source data transfer component.

DTLEData TransferDatabase
0 likes · 4 min read
DTLE 4.23.04.0 Release Notes – Open‑Source MySQL Data Transfer Component
Top Architect
Top Architect
Apr 12, 2023 · Backend Development

Common Interface Performance Optimization Techniques

This article presents a comprehensive set of backend interface performance optimization strategies—including batch processing, asynchronous execution, caching, pre‑processing, pooling, parallelism, indexing, transaction handling, program structure, pagination, SQL tuning, and lock granularity—to help developers reduce latency and improve scalability.

Databasecaching
0 likes · 10 min read
Common Interface Performance Optimization Techniques
Architecture Digest
Architecture Digest
Apr 11, 2023 · Databases

Understanding MySQL Replication: Principles, Mechanisms, and Practical Applications

This article explains MySQL replication’s background, binlog formats, event types, positioning methods, asynchronous and semi‑synchronous workflows, parallel replication techniques, and real‑world deployment strategies such as HA components, middleware, remote binlog copying, and data‑transfer services, providing a comprehensive guide for building highly available and scalable MySQL infrastructures.

DatabaseHigh AvailabilityMySQL
0 likes · 26 min read
Understanding MySQL Replication: Principles, Mechanisms, and Practical Applications
NiuNiu MaTe
NiuNiu MaTe
Apr 11, 2023 · Databases

Mastering Redis Sets: From Basics to Advanced Operations

This article introduces Redis Sets as unordered unique string collections, explains their ideal use cases, and provides detailed walkthroughs of creation, query, update, and deletion commands—including SADD, SREM, SISMEMBER, SCARD, SMEMBERS, SSCAN, SINTER, SUNION, and SDIFF—along with underlying encoding mechanisms.

Data StructuresDatabaseRedis
0 likes · 8 min read
Mastering Redis Sets: From Basics to Advanced Operations
IT Services Circle
IT Services Circle
Apr 2, 2023 · Databases

Understanding MySQL Master‑Slave Replication: Principles, Lag, and Failover

This article explains MySQL master‑slave replication, covering its architecture, binlog‑based replication process, causes and mitigation of replication lag, and strategies for master‑slave failover, helping readers grasp why and how to use replication for read/write separation, high availability, and backup.

DatabaseHigh AvailabilityMaster‑Slave
0 likes · 12 min read
Understanding MySQL Master‑Slave Replication: Principles, Lag, and Failover
Aikesheng Open Source Community
Aikesheng Open Source Community
Mar 29, 2023 · Databases

Understanding Local and Global Indexes in OceanBase

The article explains the concepts, differences, and practical usage scenarios of local (partition‑aligned) and global indexes in OceanBase, providing SQL examples for queries with and without partition keys and guidance on creating unique indexes using either index type.

DatabaseLocal IndexOceanBase
0 likes · 7 min read
Understanding Local and Global Indexes in OceanBase
Snowball Engineer Team
Snowball Engineer Team
Mar 29, 2023 · Databases

Mastering Redis: Architecture, Use Cases, Testing Pitfalls & Solutions

This article provides a comprehensive overview of Redis—including its architecture, common data structures, real‑world usage scenarios such as caching, counters, and distributed locks—followed by detailed QA test cases, common pitfalls like cache penetration, and practical mitigation strategies.

DatabasePerformanceRedis
0 likes · 16 min read
Mastering Redis: Architecture, Use Cases, Testing Pitfalls & Solutions
Top Architect
Top Architect
Mar 28, 2023 · Backend Development

Ensuring Data Consistency Between Cache and Database: Strategies and Trade‑offs

This article examines various strategies for maintaining data consistency between caches (such as Redis and local memory) and databases during double-write operations, evaluates their advantages and drawbacks, and proposes solutions like delayed double deletion, message‑queue compensation, and binlog‑based cache updates.

Databaseconsistency
0 likes · 8 min read
Ensuring Data Consistency Between Cache and Database: Strategies and Trade‑offs
Selected Java Interview Questions
Selected Java Interview Questions
Mar 27, 2023 · Databases

Optimizing Deep Pagination in MySQL: Data Generation, Index Behavior, and Fast Query Strategies

This article demonstrates how to generate two million MySQL rows, examines the performance impact of large OFFSET values in LIMIT clauses, explains why non‑clustered indexes cause back‑table lookups, and presents two optimization strategies—using sub‑queries to fetch IDs and employing key‑based pagination—to dramatically speed up deep page queries.

DatabaseMySQLSQL
0 likes · 10 min read
Optimizing Deep Pagination in MySQL: Data Generation, Index Behavior, and Fast Query Strategies
Laravel Tech Community
Laravel Tech Community
Mar 22, 2023 · Databases

Redis 7.0.10 Released with Security Fixes and Bug Corrections

Redis version 7.0.10 has been released, addressing a critical security vulnerability (CVE‑2023‑28425) in the MSETNX command, fixing several bugs including memory‑usage issues with large stream nodes and client reply handling, and providing updated release notes on GitHub.

Bug FixesDatabaseRedis
0 likes · 2 min read
Redis 7.0.10 Released with Security Fixes and Bug Corrections
Efficient Ops
Efficient Ops
Mar 22, 2023 · Databases

8 Common SQL Pitfalls and How to Optimize Them for Lightning‑Fast Queries

This article reveals frequent SQL mistakes—such as misuse of LIMIT, implicit type conversion, sub‑query updates, mixed ordering, EXISTS, condition push‑down, premature filtering, and intermediate result push‑down—and provides concrete rewrite techniques that dramatically improve MySQL query performance.

DatabaseMySQLOptimization
0 likes · 14 min read
8 Common SQL Pitfalls and How to Optimize Them for Lightning‑Fast Queries
Aikesheng Open Source Community
Aikesheng Open Source Community
Mar 22, 2023 · Databases

Understanding and Optimizing BUFFER (Queuing) Tables in OceanBase

The article explains what OceanBase BUFFER (Queuing) tables are, why frequent bulk updates cause performance degradation, and provides three optimization methods—including binding execution plans, manual data transfer, and setting table_mode='queuing'—with concrete MySQL and Oracle examples and query scripts to monitor merges.

BUFFER tableDatabaseMySQL
0 likes · 7 min read
Understanding and Optimizing BUFFER (Queuing) Tables in OceanBase
Open Source Linux
Open Source Linux
Mar 21, 2023 · Databases

What New SQL Features Did SQLite Add in 2018? A Deep Dive

This article reviews the SQLite SQL enhancements introduced between versions 3.22.0 and 3.26.0, covering boolean literals, window functions, the FILTER clause, upsert syntax, column renaming, and related API changes, while comparing SQLite’s support to other major database systems.

DatabaseFILTER clauseSQL
0 likes · 10 min read
What New SQL Features Did SQLite Add in 2018? A Deep Dive
IT Services Circle
IT Services Circle
Mar 20, 2023 · Fundamentals

Comprehensive Interview Review: Networking, TCP/IP, Epoll, Redis, MySQL MVCC, and C++ Concepts

This article compiles a detailed interview guide covering TCP/UDP differences, three‑way handshake and four‑way termination, flow and congestion control, select/poll/epoll mechanisms, zero‑copy techniques, Redis advantages and persistence, MySQL MVCC and repeatable‑read semantics, as well as core C++ topics and common algorithm questions.

C++DatabaseMySQL
0 likes · 19 min read
Comprehensive Interview Review: Networking, TCP/IP, Epoll, Redis, MySQL MVCC, and C++ Concepts
Aikesheng Open Source Community
Aikesheng Open Source Community
Mar 20, 2023 · Databases

New Features and Enhancements in MySQL 8.0

MySQL 8.0 introduces numerous enhancements including InnoDB engine defaults, atomic DDL, instant column addition, CTE support, UTF8MB4 default charset, Clone plugin, resource groups, role management, multi-valued and functional indexes, invisible indexes, descending indexes, SET_VAR syntax, persistent parameters, window functions, online DDL, and improved backup and binlog capabilities.

8.0DatabaseInnoDB
0 likes · 23 min read
New Features and Enhancements in MySQL 8.0
Top Architect
Top Architect
Mar 19, 2023 · Backend Development

Common Interface Performance Optimization Strategies

This article presents a comprehensive set of backend interface performance optimization techniques, including batch processing, asynchronous execution, caching, pre‑processing, pooling, parallelization, indexing, transaction handling, lock granularity, and code restructuring, aimed at reducing latency and improving system efficiency.

Databasecaching
0 likes · 9 min read
Common Interface Performance Optimization Strategies
ITPUB
ITPUB
Mar 18, 2023 · Databases

How to Keep MySQL Slave Nodes Alive with Keepalived and Read/Write Splitting

This guide walks through the background of MySQL read/write splitting, records troubleshooting steps for an unexpected slave crash, explains the two splitting models, and provides detailed commands and configuration examples for using Keepalived to ensure high availability of the slave node.

DatabaseDockerKeepalived
0 likes · 9 min read
How to Keep MySQL Slave Nodes Alive with Keepalived and Read/Write Splitting
Liangxu Linux
Liangxu Linux
Mar 13, 2023 · Databases

Why Docker Struggles with MySQL: 5 Key Reasons and Workarounds

The article examines why running MySQL in Docker containers often leads to data‑security, performance, state, and resource‑isolation problems, outlines practical mitigation strategies, and identifies scenarios where containerizing MySQL can still be viable.

DatabaseDockerMySQL
0 likes · 7 min read
Why Docker Struggles with MySQL: 5 Key Reasons and Workarounds
ITPUB
ITPUB
Mar 11, 2023 · Databases

How to Keep MongoDB and Relational DB Dual Writes Consistent

This article explains why dual‑write consistency between MongoDB and a relational database is challenging, compares common misconceptions with cache usage, and provides practical patterns—including write ordering, retry mechanisms, and scheduled cleanup—to reliably synchronize core and non‑core data.

Data ConsistencyDatabaseJob Scheduling
0 likes · 12 min read
How to Keep MongoDB and Relational DB Dual Writes Consistent
Laravel Tech Community
Laravel Tech Community
Mar 9, 2023 · Databases

Understanding Redis Persistence: AOF and RDB Mechanisms

This article explains how Redis ensures data durability by using two persistence strategies—Append Only File (AOF) and Redis Database (RDB) snapshots—detailing their operation, configuration options, trade‑offs, rewrite processes, and how they handle expired keys and recovery.

AOFData RecoveryDatabase
0 likes · 13 min read
Understanding Redis Persistence: AOF and RDB Mechanisms
Java Architect Essentials
Java Architect Essentials
Mar 7, 2023 · Databases

16 Common Redis Application Scenarios with Code Examples

This article presents sixteen typical Redis use cases—including caching, distributed locks, global IDs, counters, rate limiting, bitmaps, shopping carts, timelines, message queues, lotteries, likes, product tags, filtering, follow relationships, and ranking—each explained with practical code snippets and command examples.

CacheDatabaseDistributedLock
0 likes · 9 min read
16 Common Redis Application Scenarios with Code Examples
Laravel Tech Community
Laravel Tech Community
Mar 6, 2023 · Databases

SQL Optimization Best Practices: Avoid SELECT *, Use Specific Fields, Index Strategies, and Other Performance Tips

This article presents a comprehensive set of MySQL performance guidelines, including avoiding SELECT *, preferring specific columns, eliminating OR in WHERE clauses, using numeric types, choosing VARCHAR over CHAR, applying proper JOINs, leveraging LIMIT, UNION ALL, composite indexes, and other practical tips to improve query efficiency and resource usage.

DatabaseMySQLPerformance
0 likes · 17 min read
SQL Optimization Best Practices: Avoid SELECT *, Use Specific Fields, Index Strategies, and Other Performance Tips
Sanyou's Java Diary
Sanyou's Java Diary
Mar 6, 2023 · Databases

15 Common MySQL Index Pitfalls and How to Avoid Them

This article compiles fifteen typical scenarios where MySQL indexes become ineffective—covering composite index left‑most matching, SELECT *, arithmetic on indexed columns, functions, LIKE patterns, type conversion, OR/AND logic, range queries, ORDER BY, and optimizer decisions—providing example SQL, EXPLAIN output, and practical tips to help developers prevent costly full‑table scans.

DatabaseIndexMySQL
0 likes · 24 min read
15 Common MySQL Index Pitfalls and How to Avoid Them
MaGe Linux Operations
MaGe Linux Operations
Mar 4, 2023 · Databases

Why Docker Struggles with MySQL: 7 Critical Reasons

This article examines why running MySQL in Docker containers often leads to data‑security risks, performance bottlenecks, state management issues, and resource‑isolation problems, while also outlining scenarios where containerization can still be viable and offering practical mitigation strategies.

DatabaseDockerPerformance
0 likes · 7 min read
Why Docker Struggles with MySQL: 7 Critical Reasons
Tencent Database Technology
Tencent Database Technology
Feb 28, 2023 · Databases

Understanding InnoDB Undo Segment States and MySQL XA Transaction Crash Recovery (MySQL 8.0.30)

This article explains how InnoDB uses undo segment states for crash‑safe recovery, details the XA transaction protocol, describes bugs in earlier MySQL versions, and shows how MySQL 8.0.30 introduces a new undo state and revised prepare order to make external XA transactions crash‑safe, including code examples and recovery steps.

Crash RecoveryDatabaseInnoDB
0 likes · 11 min read
Understanding InnoDB Undo Segment States and MySQL XA Transaction Crash Recovery (MySQL 8.0.30)
ITPUB
ITPUB
Feb 26, 2023 · Databases

Why InnoDB Stores Primary Keys in Secondary Index Leaves – A Deep Dive

This article explains InnoDB’s clustered and secondary index structures, why secondary index leaf nodes store primary key values, how lookups trigger “row‑lookup” (回表) operations, and how covering indexes can eliminate those extra scans, illustrated with MySQL examples.

Covering IndexDatabaseInnoDB
0 likes · 7 min read
Why InnoDB Stores Primary Keys in Secondary Index Leaves – A Deep Dive
Open Source Linux
Open Source Linux
Feb 24, 2023 · Databases

Master Oracle Backup & Recovery: Strategies, Scripts, and Best Practices

This article explains Oracle database backup and recovery fundamentals, classifies failure types, compares logical and physical backup methods, introduces flashback technology, outlines complete and incomplete recovery, and provides practical RMAN scripts and scheduling tips for reliable data protection.

DatabaseOracleRMAN
0 likes · 7 min read
Master Oracle Backup & Recovery: Strategies, Scripts, and Best Practices
DataFunSummit
DataFunSummit
Feb 23, 2023 · Databases

Understanding Redis Persistence: AOF, RDB, and Hybrid Mechanisms

This article explains Redis's three persistence options—Append‑Only File (AOF), Redis DataBase snapshots (RDB), and the hybrid mode—detailing their inner workings, configuration strategies, performance trade‑offs, and how to choose the most reliable solution for a given workload.

AOFDatabasePersistence
0 likes · 23 min read
Understanding Redis Persistence: AOF, RDB, and Hybrid Mechanisms
政采云技术
政采云技术
Feb 23, 2023 · Databases

Understanding Next-Key Lock Deadlocks in MySQL: Analysis and Solutions

This article examines how common business operations using SELECT ... FOR UPDATE and INSERT can cause MySQL Next‑Key lock deadlocks, explains the underlying gap‑lock and row‑lock mechanisms, demonstrates practical experiments, and proposes strategies such as postponing locks or using primary‑key updates to avoid such deadlocks.

DatabaseDeadlockMySQL
0 likes · 14 min read
Understanding Next-Key Lock Deadlocks in MySQL: Analysis and Solutions
Aikesheng Open Source Community
Aikesheng Open Source Community
Feb 22, 2023 · Databases

OceanBase Single‑Node Deployment and Tenant Management Guide

This article provides a comprehensive step‑by‑step tutorial on deploying OceanBase in a single‑node environment, covering resource unit, resource pool, and MySQL‑type tenant creation, modification, deletion, user management, and relevant system data dictionary tables, with full SQL command examples.

DatabaseOceanBaseResource Unit
0 likes · 10 min read
OceanBase Single‑Node Deployment and Tenant Management Guide
Architecture Digest
Architecture Digest
Feb 22, 2023 · Databases

Understanding the Execution Order of SQL Queries

This article explains the logical execution sequence of a typical SQL query, detailing each phase from FROM/JOIN/WHERE through GROUP BY, HAVING, SELECT, ORDER BY, and LIMIT, and illustrating the process with diagrams and code examples.

DatabaseFrom Join WhereGROUP BY
0 likes · 8 min read
Understanding the Execution Order of SQL Queries
Bilibili Tech
Bilibili Tech
Feb 21, 2023 · Databases

Building a Custom Go ORM: SQL Builder and Reflection-based Scanner

The article explains how to replace repetitive raw SQL and manual row scanning in Go by building a lightweight custom ORM that combines a chainable SQLBuilder for dynamic query construction with a reflection‑based Scanner that maps results to structs, also covering code generation and optional non‑reflection optimizations.

DatabaseGoORM
0 likes · 17 min read
Building a Custom Go ORM: SQL Builder and Reflection-based Scanner
政采云技术
政采云技术
Feb 21, 2023 · Databases

Understanding Next-Key Lock Deadlocks in MySQL and How to Avoid Them

This article examines how common business operations using SELECT ... FOR UPDATE and INSERT can cause Next‑Key lock deadlocks in MySQL under repeatable‑read isolation, demonstrates the locking behavior with practical SQL examples, and proposes strategies such as post‑locking and primary‑key updates to prevent such deadlocks.

DatabaseDeadlockIsolation Level
0 likes · 14 min read
Understanding Next-Key Lock Deadlocks in MySQL and How to Avoid Them
Open Source Linux
Open Source Linux
Feb 20, 2023 · Databases

8 Common SQL Pitfalls and How to Optimize Them for Lightning‑Fast Queries

This article examines eight frequent SQL anti‑patterns—including misuse of LIMIT, implicit type conversion, sub‑query updates, mixed ordering, EXISTS clauses, condition push‑down, premature data reduction, and intermediate result handling—explaining why they degrade performance and providing concrete rewrite strategies and code examples to dramatically speed up queries.

DatabaseMySQLOptimization
0 likes · 14 min read
8 Common SQL Pitfalls and How to Optimize Them for Lightning‑Fast Queries
Code Ape Tech Column
Code Ape Tech Column
Feb 16, 2023 · Databases

Understanding and Solving BigKey and HotKey Issues in Redis Clusters

BigKey and HotKey are common Redis cluster problems that can degrade performance, cause timeouts, network congestion, and even system-wide failures; this article explains their definitions, impacts, detection methods, and practical mitigation strategies—including key splitting, local caching, and migration optimizations—based on real-world production cases.

BigKeyDatabaseHotKey
0 likes · 22 min read
Understanding and Solving BigKey and HotKey Issues in Redis Clusters
DataFunSummit
DataFunSummit
Feb 9, 2023 · Databases

Comprehensive Guide to Multi-Table Queries and Joins in SQL

This article explains multi‑table SQL queries, detailing Cartesian products, various join types (inner, left/right/full outer, self‑join, natural join, USING), UNION operations, and provides practical examples and exercises to illustrate correct join syntax and performance considerations.

Cross JoinDatabaseJoins
0 likes · 18 min read
Comprehensive Guide to Multi-Table Queries and Joins in SQL
ITPUB
ITPUB
Feb 6, 2023 · Artificial Intelligence

Can ChatGPT Replace a DBA? Real‑World Tests Reveal Its Strengths and Flaws

The article recounts a hands‑on exploration of ChatGPT’s abilities for database administration, highlighting impressive language understanding, notable mistakes such as confusing pg_resetwal with pg_resetxlog, and the broader implications of large language models for AI‑driven search and workflow automation.

AIChatGPTDatabase
0 likes · 8 min read
Can ChatGPT Replace a DBA? Real‑World Tests Reveal Its Strengths and Flaws
IT Architects Alliance
IT Architects Alliance
Feb 2, 2023 · Backend Development

Design and Implementation of a Weibo Feed Stream: Storage Architecture, Push vs Pull Models, and Performance Optimizations

This article examines the design of a Weibo‑style feed system, detailing storage tables, the trade‑offs between push (write‑fan‑out) and pull (read‑fan‑out) delivery models, their scalability challenges, and hybrid solutions using caching to achieve low latency and manageable storage costs.

DatabasePush‑Pullbackend
0 likes · 9 min read
Design and Implementation of a Weibo Feed Stream: Storage Architecture, Push vs Pull Models, and Performance Optimizations
Laravel Tech Community
Laravel Tech Community
Jan 31, 2023 · Databases

Redis 7.0.8 Released with Security and Bug Fixes

Redis version 7.0.8 has been released, addressing critical security vulnerabilities (CVE-2022-35977 and CVE-2023-22458) and fixing several bugs related to command handling, incremental rehashing, timeout blocking, and sentinel IP changes, with a full changelog available on GitHub.

BugFixDatabaseRedis
0 likes · 2 min read
Redis 7.0.8 Released with Security and Bug Fixes