Tagged articles
2671 articles
Page 17 of 27
Top Architect
Top Architect
May 13, 2021 · Databases

Understanding LEFT JOIN ON vs WHERE Conditions in SQL

The article explains why adding conditions after a LEFT JOIN using AND does not filter rows from the left table, contrasts ON and WHERE clauses, and demonstrates the behavior with SQL examples and step‑by‑step illustrations of intermediate result tables.

Join TypesLEFT JOINON clause
0 likes · 6 min read
Understanding LEFT JOIN ON vs WHERE Conditions in SQL
Programmer DD
Programmer DD
May 13, 2021 · Databases

How an Unexpected Primary Key Update Triggered a MySQL Auto‑Increment Bug

A developer encountered a duplicate‑key error caused by an unexpected primary‑key update that overflowed the signed INT limit, exposing a hidden MySQL auto‑increment bug that persisted across normal inserts until a later DDL operation triggered failures, a problem present in Percona 5.6/5.7 but fixed in MySQL 8.0.

MySQLPerconaauto_increment
0 likes · 5 min read
How an Unexpected Primary Key Update Triggered a MySQL Auto‑Increment Bug
Full-Stack Internet Architecture
Full-Stack Internet Architecture
May 13, 2021 · Databases

Database High‑Availability Architectures: Master‑Slave, Master‑Master, and Automatic Failover

This article explains common database high‑availability designs—including master‑slave, master‑master, and automatic failover architectures—their topologies, advantages, disadvantages, and practical considerations such as replication lag, manual intervention, and data consistency challenges.

Master‑SlaveReplicationdatabase
0 likes · 7 min read
Database High‑Availability Architectures: Master‑Slave, Master‑Master, and Automatic Failover
Architecture Digest
Architecture Digest
May 12, 2021 · Backend Development

Performance Optimization of a High‑Concurrency Python Web Service

This article documents a Python web service performance optimization case, detailing the initial bottlenecks, architectural redesign with caching and message queues, load‑testing methodology, Linux TCP time‑wait tuning, and the final results achieving 50k QPS with sub‑70 ms latency.

Linux TuningLoad TestingPerformance Optimization
0 likes · 9 min read
Performance Optimization of a High‑Concurrency Python Web Service
Practical DevOps Architecture
Practical DevOps Architecture
May 10, 2021 · Databases

Redis Advantages, Disadvantages, Use Cases, Shutdown Methods, and Configuration Guide

This article outlines Redis's key advantages such as high performance and flexible data types, discusses its limitations like lack of relational features, describes ideal in‑memory use cases, compares it with Memcached, and provides detailed instructions for shutting down, configuring, and connecting to Redis using command‑line and graphical clients.

In-MemoryPersistenceShutdown
0 likes · 4 min read
Redis Advantages, Disadvantages, Use Cases, Shutdown Methods, and Configuration Guide
Programmer DD
Programmer DD
May 8, 2021 · Backend Development

How to Build a Full‑Stack Logistics Management System with SpringBoot and Layui

This article presents a complete logistics management system case study, covering business requirements, technology stack selection, front‑end and back‑end architecture, core modules such as bill management, receipt handling, vehicle dispatch, and includes full Java code snippets for key operations.

LogisticsSpringBootWeb Development
0 likes · 15 min read
How to Build a Full‑Stack Logistics Management System with SpringBoot and Layui
Laravel Tech Community
Laravel Tech Community
Apr 28, 2021 · Databases

Understanding and Analyzing MySQL Execution Plans

This article explains the three‑layer architecture of MySQL, how an execution plan is generated and interpreted, and provides a detailed walkthrough of the columns displayed by the EXPLAIN statement to help developers optimize their SQL queries.

MySQLdatabaseexecution plan
0 likes · 8 min read
Understanding and Analyzing MySQL Execution Plans
Open Source Linux
Open Source Linux
Apr 26, 2021 · Databases

How to Resolve MySQL Too Many Connections Errors by Raising max_connections

This guide explains why MySQL reports "too many connections", shows how to check the current max_connections setting, compares default limits across MySQL versions, and provides four practical methods—including editing my.cnf, using SQL commands, modifying source code, and tweaking mysqld_safe—to increase the connection limit safely.

MySQLconfigurationdatabase
0 likes · 4 min read
How to Resolve MySQL Too Many Connections Errors by Raising max_connections
Aikesheng Open Source Community
Aikesheng Open Source Community
Apr 25, 2021 · Databases

Remote MySQL Backup with mysqlbackup and Percona XtraBackup

This article demonstrates how to perform remote physical backups of MySQL databases using the mysqlbackup and Percona XtraBackup tools, covering test objectives, environment setup, step‑by‑step streaming commands, restoration procedures, replication configuration, and a comparison of the two approaches.

BackupMySQLSSH
0 likes · 13 min read
Remote MySQL Backup with mysqlbackup and Percona XtraBackup
macrozheng
macrozheng
Apr 25, 2021 · Databases

10 Proven Ways to Prevent Dangerous SQL Mistakes in Production

This article outlines ten practical strategies—including avoiding chat tools for SQL, compressing statements, using SELECT COUNT, adding LIMIT, updating audit fields, logical deletion, table backups, temporary tables, fully qualified names, and careful column changes—to help developers, testers, and DBAs prevent costly database errors in production environments.

Data Safetydatabasesql
0 likes · 15 min read
10 Proven Ways to Prevent Dangerous SQL Mistakes in Production
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Apr 25, 2021 · Databases

Overview of Database System Design

This article provides a comprehensive overview of database system design, covering the historical evolution, classification of relational and NoSQL databases, common architectures, consistency models, indexing techniques, storage formats, compression, and practical considerations for selecting and optimizing database solutions.

ArchitectureConsistencySystem Design
0 likes · 45 min read
Overview of Database System Design
Liangxu Linux
Liangxu Linux
Apr 24, 2021 · Databases

Understanding MySQL Lock Types and How to Prevent Deadlocks

This article explains MySQL's table, row, and page lock levels, describes next‑key, gap, and record locks, illustrates common deadlock scenarios with detailed SQL examples, and outlines InnoDB's lock acquisition and deadlock‑prevention strategies to help developers avoid concurrency issues.

InnoDBLock TypesMySQL
0 likes · 14 min read
Understanding MySQL Lock Types and How to Prevent Deadlocks
Python Crawling & Data Mining
Python Crawling & Data Mining
Apr 24, 2021 · Fundamentals

Discover 140+ Must‑Know Python Libraries for Data Science & AI

The article presents a comprehensive guide to Python's built‑in functions, standard libraries, and third‑party packages across file I/O, web scraping, databases, data cleaning, statistical analysis, machine learning, visualization, and more, rating each with stars and offering a free e‑book collection for readers.

PythonWeb Scrapingdata analysis
0 likes · 32 min read
Discover 140+ Must‑Know Python Libraries for Data Science & AI
Selected Java Interview Questions
Selected Java Interview Questions
Apr 22, 2021 · Databases

Key MySQL Concepts: DROP/DELETE/TRUNCATE, Data Types, Storage Engines, Transactions, Views, Procedures, Indexes, UNION, and SQL Language Parts

This article explains the differences between DROP, DELETE, and TRUNCATE, recommends appropriate MySQL data types for monetary values, compares MyISAM and InnoDB storage engines, outlines transaction ACID properties, describes views, stored procedures versus triggers, indexes, UNION vs UNION ALL, and lists the main SQL language categories.

MySQLStorage EnginesStored Procedures
0 likes · 10 min read
Key MySQL Concepts: DROP/DELETE/TRUNCATE, Data Types, Storage Engines, Transactions, Views, Procedures, Indexes, UNION, and SQL Language Parts
Aikesheng Open Source Community
Aikesheng Open Source Community
Apr 22, 2021 · Databases

Understanding NUMA and Its Impact on MySQL Performance

This article explains NUMA architecture, how its memory allocation policies can cause swap‑related performance issues for MySQL, provides step‑by‑step methods to disable NUMA at BIOS, kernel or MySQL levels, and discusses the innodb_numa_interleave parameter and best‑practice recommendations.

LinuxMySQLNUMA
0 likes · 7 min read
Understanding NUMA and Its Impact on MySQL Performance
Python Crawling & Data Mining
Python Crawling & Data Mining
Apr 22, 2021 · Databases

MongoDB Mastery: Install, Configure, and Perform CRUD

This comprehensive tutorial walks you through installing MongoDB on Windows, configuring data and log directories, setting environment variables, creating and managing databases, collections, indexes, aggregation pipelines, backup and restore procedures, monitoring tools, advanced query operators, user management, and using a visual tool like Navicat for MongoDB.

BackupCRUDInstallation
0 likes · 15 min read
MongoDB Mastery: Install, Configure, and Perform CRUD
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Apr 20, 2021 · Backend Development

Understanding Seata: Principles, Deployment, and Real‑World Issues in Distributed Transactions

This article introduces Seata's background, explains the causes of data inconsistency in micro‑service architectures, details Seata's three core roles, transaction flow, isolation levels, common pitfalls with code examples, and provides guidance on high‑availability deployment, multi‑node setups, disaster recovery, and hands‑on demos.

Distributed TransactionsMicroservicesSeata
0 likes · 15 min read
Understanding Seata: Principles, Deployment, and Real‑World Issues in Distributed Transactions
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Apr 17, 2021 · Databases

40 Essential Redis Interview Questions Every Candidate Should Know

This article compiles 40 common Redis interview questions covering fundamentals, data types, persistence, clustering, performance tuning, memory optimization, and practical usage patterns, providing concise answers that help candidates confidently tackle Redis topics and secure job offers during the competitive hiring season.

Performancecachingdatabase
0 likes · 23 min read
40 Essential Redis Interview Questions Every Candidate Should Know
Wukong Talks Architecture
Wukong Talks Architecture
Apr 17, 2021 · Backend Development

Practical Techniques for Ensuring API Idempotency

This article explains the concept of API idempotency, presents common scenarios that cause duplicate data, and details eight practical solutions—including pre‑select before insert, pessimistic and optimistic locking, unique indexes, anti‑duplicate tables, state‑machine checks, distributed locks, and token‑based approaches—along with their implementation steps and caveats.

APIBackendIdempotency
0 likes · 13 min read
Practical Techniques for Ensuring API Idempotency
Java Interview Crash Guide
Java Interview Crash Guide
Apr 16, 2021 · Databases

Mastering MySQL Replication: Types, Setup, and Performance Tips

An in‑depth guide to MySQL master‑slave replication covering replication modes, deployment prerequisites, core mechanisms, common issues with solutions such as semi‑synchronous and parallel replication, configuration commands, monitoring techniques, and error handling to ensure high availability and performance.

MySQLPerformancedatabase
0 likes · 7 min read
Mastering MySQL Replication: Types, Setup, and Performance Tips
Aikesheng Open Source Community
Aikesheng Open Source Community
Apr 15, 2021 · Databases

Redis Memory OOM Diagnosis: Causes, Investigation Steps, and Practical Commands

This article explains why Redis can report out‑of‑memory (OOM) errors even with small datasets, describes the two types of OOM, outlines memory‑consumption categories, presents systematic troubleshooting methods, and provides a collection of useful Redis commands for diagnosing and resolving memory‑related issues.

OOMPerformancedatabase
0 likes · 10 min read
Redis Memory OOM Diagnosis: Causes, Investigation Steps, and Practical Commands
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Apr 10, 2021 · Databases

Comprehensive MySQL Knowledge Points and Optimization Guide

This article provides a thorough overview of MySQL fundamentals—including schema design, storage engines, transaction mechanisms, logging, indexing, and performance tuning—along with practical SQL examples, code snippets, and optimization strategies for both hardware and database configuration.

MySQLPerformanceTransactions
0 likes · 34 min read
Comprehensive MySQL Knowledge Points and Optimization Guide
Top Architect
Top Architect
Apr 8, 2021 · Databases

Redis Multi‑Threading Evolution: Lazy Free and I/O Thread Mechanisms

Redis, traditionally a single‑threaded in‑memory cache, introduces Lazy Free in version 4.0 and multi‑threaded I/O in version 6.0 to mitigate blocking during large key deletions and improve performance, with detailed explanations of event handling, code implementations, limitations, and comparisons to Tair’s threading model.

I/O ThreadLazy Freedatabase
0 likes · 16 min read
Redis Multi‑Threading Evolution: Lazy Free and I/O Thread Mechanisms
php Courses
php Courses
Apr 8, 2021 · Backend Development

Using ThinkPHP6 Collection Methods to Process Database Query Results

The article explains how ThinkPHP6 returns query results as a Collection object, introduces its useful methods such as toArray and isEmpty, and provides a PHP code example demonstrating how to check for empty results and convert the collection to an array.

BackendCollectionPHP
0 likes · 2 min read
Using ThinkPHP6 Collection Methods to Process Database Query Results
ITPUB
ITPUB
Apr 7, 2021 · Operations

8 Real-World Production Failures and How to Diagnose Them Quickly

The article shares eight authentic production incident cases—from frequent JVM Full GC and memory leaks to cache avalanches, DNS hijacking, and database deadlocks—detailing their root causes, diagnostic steps, code snippets, and practical remediation strategies for engineers facing similar challenges.

CacheJVMOperations
0 likes · 17 min read
8 Real-World Production Failures and How to Diagnose Them Quickly
Top Architect
Top Architect
Apr 7, 2021 · Databases

From JDBC to MyBatis: Evolution, Design, and Optimization of a Persistence Layer Framework

This article explains how JDBC evolves into MyBatis, detailing the seven-step JDBC process, the motivations for encapsulating JDBC, the design of MyBatis components such as SqlSession, Executor, and StatementHandler, and various optimization strategies including connection pooling, SQL management, dynamic parameters, and caching.

FrameworkJDBCPersistence
0 likes · 32 min read
From JDBC to MyBatis: Evolution, Design, and Optimization of a Persistence Layer Framework
Aikesheng Open Source Community
Aikesheng Open Source Community
Apr 7, 2021 · Databases

Understanding MySQL Index Cardinality and Selectivity

This article explains the concept of MySQL index cardinality, how it influences index selectivity, factors that affect cardinality values, methods to view them, and demonstrates with practical examples how different data distributions and query patterns impact the optimizer's execution plans.

CardinalityMySQLSelectivity
0 likes · 11 min read
Understanding MySQL Index Cardinality and Selectivity
dbaplus Community
dbaplus Community
Apr 6, 2021 · Databases

10 Proven Strategies to Prevent Dangerous SQL Mistakes in Production

This article outlines ten practical techniques—from avoiding chat tools for SQL transmission to using soft deletes, backup tables, and proper field management—to help developers, testers, and DBAs safeguard production databases against accidental data loss and costly errors.

DevOpsMySQLdatabase
0 likes · 13 min read
10 Proven Strategies to Prevent Dangerous SQL Mistakes in Production
Top Architect
Top Architect
Apr 6, 2021 · Backend Development

MyBatis‑Plus Tutorial: Creating Databases, Defining Tables, CRUD Operations, Optimistic Locking, Logical Deletion, Performance Analysis, and Code Generation in Spring Boot

This article provides a step‑by‑step guide for using MyBatis‑Plus with Spring Boot, covering database and table creation, entity and mapper definitions, CRUD examples, automatic field filling, optimistic and logical deletion, performance plugins, query wrappers, and a code generator for rapid development.

CRUDcode-generationdatabase
0 likes · 15 min read
MyBatis‑Plus Tutorial: Creating Databases, Defining Tables, CRUD Operations, Optimistic Locking, Logical Deletion, Performance Analysis, and Code Generation in Spring Boot
Java Interview Crash Guide
Java Interview Crash Guide
Apr 6, 2021 · Backend Development

Mastering Redis: From Basics to High Availability in Java Backend

This article walks through what Redis is, its data types, caching usage with Spring Boot, performance advantages, eviction policies, persistence mechanisms, master‑slave replication, Sentinel high‑availability, and practical interview‑style Q&A, providing a comprehensive guide for backend developers.

databasehigh availabilityjava
0 likes · 33 min read
Mastering Redis: From Basics to High Availability in Java Backend
Code Ape Tech Column
Code Ape Tech Column
Apr 6, 2021 · Backend Development

Common Reasons Why Indexes Are Ignored in SQL Queries

This article explains various situations—such as column-to-column comparisons, NULL values, NOT conditions, wildcard LIKE patterns, functions on indexed columns, low‑cardinality leading columns in composite indexes, implicit datatype conversions, arithmetic predicates, virtual and invisible indexes—that can cause an otherwise usable index to be bypassed by the optimizer, leading to full‑table scans.

OraclePerformancedatabase
0 likes · 8 min read
Common Reasons Why Indexes Are Ignored in SQL Queries
Java Backend Technology
Java Backend Technology
Apr 4, 2021 · Databases

Mastering MySQL Lock Types and Deadlock Prevention

This article explains MySQL's three lock levels, the algorithms behind next‑key, gap, and record locks, illustrates common deadlock scenarios with real SQL examples, and outlines InnoDB's lock‑prevention strategies to help developers avoid and resolve deadlocks.

InnoDBLockMySQL
0 likes · 15 min read
Mastering MySQL Lock Types and Deadlock Prevention
21CTO
21CTO
Apr 2, 2021 · Databases

Choosing the Right Database Architecture: Principles, Schemes, and Consistency Solutions

This article outlines core database architecture principles, compares four common deployment schemes (master‑slave, dual‑master, master‑slave with read/write separation, and hybrid), and presents practical consistency solutions for both primary‑replica and DB‑cache mismatches, followed by personal evolution insights.

ArchitectureConsistencyMySQL
0 likes · 11 min read
Choosing the Right Database Architecture: Principles, Schemes, and Consistency Solutions
Top Architect
Top Architect
Apr 2, 2021 · Databases

MySQL Index Types, Usage Guidelines, and EXPLAIN Interpretation

This article explains MySQL index types—including ordinary, unique, primary, composite, and full‑text indexes—their creation syntax, optimal usage scenarios, situations where indexes should be avoided, cases that render indexes ineffective, and how to interpret EXPLAIN output types for query performance analysis.

MySQLdatabaseexplain
0 likes · 7 min read
MySQL Index Types, Usage Guidelines, and EXPLAIN Interpretation
Architecture Digest
Architecture Digest
Apr 1, 2021 · Backend Development

Comprehensive Guide to MyBatis‑Plus CRUD, Configuration, and Advanced Features in Spring Boot

This article provides a step‑by‑step tutorial on using MyBatis‑Plus with Spring Boot, covering database creation, table definition, Maven dependencies, entity and mapper setup, CRUD operations, automatic field filling, optimistic locking, pagination, logical deletion, performance monitoring, query wrappers, and code generation, all illustrated with complete code examples.

CRUDORMSpringBoot
0 likes · 15 min read
Comprehensive Guide to MyBatis‑Plus CRUD, Configuration, and Advanced Features in Spring Boot
Java Architect Essentials
Java Architect Essentials
Mar 31, 2021 · Databases

40 Common Redis Interview Questions and Answers

This article compiles 40 frequently asked Redis interview questions, covering its definition, data types, advantages, comparison with Memcached, persistence mechanisms, performance considerations, eviction policies, clustering, client libraries, security commands, usage scenarios, and best‑practice tips for high‑traffic production environments.

PerformancePersistenceclustering
0 likes · 19 min read
40 Common Redis Interview Questions and Answers
Top Architect
Top Architect
Mar 30, 2021 · Backend Development

Understanding Idempotency and Its Implementation in RESTful APIs

This article explains the concept of idempotency, why it is essential for HTTP interfaces, the impact on system design, and presents several practical implementation strategies—including unique primary keys, optimistic locking, anti‑repeat tokens, and downstream sequence numbers—accompanied by a complete Spring Boot example with Redis integration and test code.

IdempotencyREST APIToken
0 likes · 21 min read
Understanding Idempotency and Its Implementation in RESTful APIs
Architects' Tech Alliance
Architects' Tech Alliance
Mar 26, 2021 · Fundamentals

Overview of China’s Independent Innovation (Xinchuang) Industry: Market Size, CPU, OS, Database, and Security Landscape

The article provides a comprehensive analysis of China’s Xinchuang industry in 2023, detailing its $104.3 billion market size, the domestic CPU ecosystem, operating system adoption, database and middleware players, and the rapidly growing information‑security sector driven by cloud and IoT technologies.

CPUChinaIndependent Innovation
0 likes · 10 min read
Overview of China’s Independent Innovation (Xinchuang) Industry: Market Size, CPU, OS, Database, and Security Landscape
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Mar 19, 2021 · Databases

Learned Index Structures: Applying Machine Learning to Database Indexing

Learned Index Structures replace conventional B‑Tree and Bloom filter indexes with hierarchical machine‑learning models that predict key positions directly, reducing search overhead, but require careful model selection, training, and handling of updates, making them a promising yet still experimental alternative to traditional database indexing techniques.

Learned IndexStaged Modeldatabase
0 likes · 11 min read
Learned Index Structures: Applying Machine Learning to Database Indexing
php Courses
php Courses
Mar 19, 2021 · Backend Development

Understanding PDOStatement::fetch() Fetch Styles in PHP

This article explains the PDOStatement::fetch() method in PHP, detailing the available fetch style constants, their effects on result set formatting, and shows how to configure the statement to return only associative arrays for cleaner data handling.

BackendFetchModePDO
0 likes · 3 min read
Understanding PDOStatement::fetch() Fetch Styles in PHP
Selected Java Interview Questions
Selected Java Interview Questions
Mar 18, 2021 · Databases

MySQL Lock Types and Deadlock Analysis

This article explains MySQL's lock levels (table, page, row), the next‑key, gap, and record lock algorithms, illustrates common deadlock scenarios with detailed session examples, and discusses InnoDB's deadlock prevention strategies and practical solutions for avoiding lock conflicts.

InnoDBMySQLdatabase
0 likes · 16 min read
MySQL Lock Types and Deadlock Analysis
MaGe Linux Operations
MaGe Linux Operations
Mar 16, 2021 · Databases

Deploying a Scalable Redis Cluster on Kubernetes: Step‑by‑Step Guide

This article introduces Redis, explains its advantages, describes Redis Cluster architecture, and provides a detailed, hands‑on tutorial for deploying a Redis Cluster on Kubernetes using StatefulSets, PersistentVolumes, services, and a sample hit‑counter application, complete with configuration files and verification commands.

KubernetesRedis ClusterStatefulSet
0 likes · 15 min read
Deploying a Scalable Redis Cluster on Kubernetes: Step‑by‑Step Guide
360 Tech Engineering
360 Tech Engineering
Mar 12, 2021 · Databases

Comprehensive Overview of the InnoDB Lock System in MySQL

This article provides a detailed explanation of MySQL InnoDB's lock system, covering lock granularity, shared and exclusive locks, intention and auto‑increment locks, various row‑lock types, deadlock scenarios with examples, and the internal representation of locks in the engine.

InnoDBLocksMySQL
0 likes · 22 min read
Comprehensive Overview of the InnoDB Lock System in MySQL
php Courses
php Courses
Mar 12, 2021 · Backend Development

Using Multiple where Clauses in Laravel for Multi-Field Search

This article demonstrates how to perform multi‑field searches in Laravel by chaining multiple where clauses with closure callbacks, showing example code that conditionally filters by username and hospital ID based on request parameters.

BackendLaravelMultiple Where
0 likes · 2 min read
Using Multiple where Clauses in Laravel for Multi-Field Search
Programmer DD
Programmer DD
Mar 9, 2021 · Frontend Development

How GoDB.js Simplifies IndexedDB with a Developer‑Friendly API

This article introduces GoDB.js, a TypeScript‑based wrapper for IndexedDB that provides a concise, schema‑aware CRUD API, hides asynchronous connection handling, and offers batch operations, making client‑side data storage in modern web apps much easier.

IndexedDBJavaScriptTypeScript
0 likes · 17 min read
How GoDB.js Simplifies IndexedDB with a Developer‑Friendly API
360 Quality & Efficiency
360 Quality & Efficiency
Mar 5, 2021 · Databases

Asynchronous MySQL Operations with aiomysql and SQLAlchemy in Python

This tutorial explains how to perform asynchronous MySQL operations in Python using aiomysql, covering basic connections, CRUD actions, safe parameter handling to prevent SQL injection, connection pooling, transaction management, integration with SQLAlchemy for ORM queries, and a custom reconnection wrapper for resilient database access.

Connection PoolingMySQLPython
0 likes · 38 min read
Asynchronous MySQL Operations with aiomysql and SQLAlchemy in Python
Aikesheng Open Source Community
Aikesheng Open Source Community
Mar 4, 2021 · Databases

Troubleshooting MySQL Slave Replication Errors Caused by XtraBackup Kill‑Long‑Query Settings

This article explains how to diagnose and resolve MySQL slave replication failures that occur when XtraBackup’s --kill-long-queries-timeout and --kill-long-query-type options interrupt long‑running queries, detailing steps such as checking performance_schema, reviewing error logs, restarting replication, and adjusting backup parameters.

MySQLPerformanceReplication
0 likes · 4 min read
Troubleshooting MySQL Slave Replication Errors Caused by XtraBackup Kill‑Long‑Query Settings
Architect
Architect
Mar 2, 2021 · Databases

SQL Query Optimization for Large-Scale MES Reporting Using Stored Procedures

An in-depth case study describes how to dramatically improve the performance of a massive MES reporting query—reducing execution from over half an hour to seconds—by analyzing inefficient SQL, adding proper indexes, avoiding full table scans, redesigning with stored procedures, temporary tables, and selective use of NOLOCK.

MESPerformance OptimizationStored Procedure
0 likes · 22 min read
SQL Query Optimization for Large-Scale MES Reporting Using Stored Procedures
NiuNiu MaTe
NiuNiu MaTe
Mar 2, 2021 · Databases

How to Keep Redis and MySQL Consistent: 4 Proven Strategies for Interviews

This article explains why caching MySQL with Redis is essential, outlines the consistency challenges that arise, and presents four practical solutions—expiration, delete‑then‑repopulate, message‑queue updates, and binlog subscription—along with their pros, cons, and guidance for choosing the right approach in interviews.

BackendMySQLdata synchronization
0 likes · 8 min read
How to Keep Redis and MySQL Consistent: 4 Proven Strategies for Interviews
Big Data Technology & Architecture
Big Data Technology & Architecture
Feb 26, 2021 · Databases

Overview of ClickHouse Table Engines and Their Usage

This article provides a comprehensive overview of ClickHouse's table engines, explaining the purpose and characteristics of each engine series—including Log, Integration, Special, and the various MergeTree families—while offering detailed SQL examples and guidance on when to use each engine for different data workloads.

ClickHouseMergeTreeTable Engines
0 likes · 16 min read
Overview of ClickHouse Table Engines and Their Usage
Code Ape Tech Column
Code Ape Tech Column
Feb 16, 2021 · Databases

52 Proven SQL Optimization Techniques to Supercharge Your Queries

This article compiles 52 practical SQL performance‑tuning strategies—including indexing rules, query‑writing shortcuts, join optimizations, lock handling, temporary tables, storage‑engine choices, data‑type recommendations, backup tips, and useful code examples—to help developers dramatically improve query speed and overall database efficiency.

PerformanceQuery Tuningdatabase
0 likes · 20 min read
52 Proven SQL Optimization Techniques to Supercharge Your Queries
php Courses
php Courses
Feb 9, 2021 · Databases

Impact of Quoting String Primary Keys on MySQL Query Performance

Testing shows that omitting single quotes around a string primary key in MySQL queries can cause a full table scan and increase execution time by about 100‑fold, while quoting the value enables index usage and dramatically improves performance, a difference that disappears when the column is an INT.

databaseindexingquery optimization
0 likes · 4 min read
Impact of Quoting String Primary Keys on MySQL Query Performance
Architecture Digest
Architecture Digest
Feb 9, 2021 · Backend Development

Implementing Database Read‑Write Splitting with Spring Boot

This article explains how to achieve database read‑write separation in high‑concurrency Java applications by configuring master‑slave data sources, implementing a routing data source, managing context with ThreadLocal, defining a custom @DataSourceSwitcher annotation, and applying AOP to dynamically switch between read and write databases.

DataSource Routingaopdatabase
0 likes · 10 min read
Implementing Database Read‑Write Splitting with Spring Boot
Liangxu Linux
Liangxu Linux
Feb 7, 2021 · Databases

Why MariaDB Outperforms MySQL: A Detailed Performance Comparison

This article traces MySQL’s evolution, introduces its fork MariaDB, and presents a comprehensive performance benchmark—covering single and batch inserts, indexed and non‑indexed queries—on identical hardware, revealing that MariaDB generally delivers faster execution times albeit with higher memory usage.

BenchmarkMariaDBMySQL
0 likes · 10 min read
Why MariaDB Outperforms MySQL: A Detailed Performance Comparison
Selected Java Interview Questions
Selected Java Interview Questions
Feb 6, 2021 · Databases

7 Reasons Why Docker Is Unsuitable for Deploying Databases

Although Docker offers many benefits, this article outlines seven key reasons—data safety, performance, networking, statefulness, resource isolation, cloud platform incompatibility, and environment requirements—that make deploying databases in Docker containers generally unsuitable, while also suggesting scenarios where lightweight or distributed databases may still be viable.

ContainerizationData SafetyDocker
0 likes · 9 min read
7 Reasons Why Docker Is Unsuitable for Deploying Databases
Laravel Tech Community
Laravel Tech Community
Feb 4, 2021 · Backend Development

Implementing Multi‑Tenant Architecture in Laravel with the Stancl Tenancy Package

This guide walks through installing the Stancl Tenancy package, configuring Laravel for multi‑tenant support, defining a custom tenant model, setting central and tenant domains, adjusting route providers, running migrations, and creating tenants via Artisan, enabling fully isolated SaaS databases without altering existing application code.

LaravelSaaSTenancy
0 likes · 7 min read
Implementing Multi‑Tenant Architecture in Laravel with the Stancl Tenancy Package