Tagged articles
2671 articles
Page 10 of 27
JavaEdge
JavaEdge
Jul 14, 2023 · Databases

How to Efficiently Insert 1,000 Records with MyBatis: Loop vs Batch

When interviewers ask how to insert a thousand rows with MyBatis, the answer isn’t just a simple Java for‑loop; you need to consider batch processing, disable autocommit, and understand MyBatis’s limits to choose the most reliable and performant approach.

Batch InsertPerformancedatabase
0 likes · 3 min read
How to Efficiently Insert 1,000 Records with MyBatis: Loop vs Batch
Laravel Tech Community
Laravel Tech Community
Jul 13, 2023 · Databases

MyBatis-Flex: An Elegant MyBatis Enhancement Framework

MyBatis-Flex is a lightweight, high‑performance extension to MyBatis that adds full CRUD, pagination, multi‑table and batch operations while preserving all MyBatis features, supports multi‑datasource relations, recursive queries, and provides extensive annotations such as @Relation for flexible data mapping, with recent v1.4.9 updates and bug fixes.

FrameworkORMannotations
0 likes · 5 min read
MyBatis-Flex: An Elegant MyBatis Enhancement Framework
Laravel Tech Community
Laravel Tech Community
Jul 5, 2023 · Databases

Performance Testing and Optimization of Large‑Scale MySQL Queries

This article demonstrates how to generate, insert, and query millions of rows in a MySQL 5.7 table, measures pagination performance under varying offsets and result sizes, and presents several optimization techniques—including sub‑queries, indexed look‑ups, and column selection—to dramatically reduce query latency.

Large DataMySQLPerformance Testing
0 likes · 10 min read
Performance Testing and Optimization of Large‑Scale MySQL Queries
21CTO
21CTO
Jul 5, 2023 · Databases

Why MariaDB Is More Than Just a MySQL Fork: Exploring Its Powerful Tools

This article explains how MariaDB evolved from a MySQL branch into a comprehensive database ecosystem, covering the Community and Enterprise servers, diverse storage engines, MaxScale proxy, ColumnStore analytics, Xpand distributed scaling, and the SkySQL fully managed cloud service.

AnalyticsMariaDBStorage Engine
0 likes · 8 min read
Why MariaDB Is More Than Just a MySQL Fork: Exploring Its Powerful Tools
Big Data Technology Architecture
Big Data Technology Architecture
Jul 4, 2023 · Databases

Apache Doris 2.0‑beta Release: New Query Optimizer, Pipeline Engine, Workload Management and Performance Enhancements

Apache Doris 2.0‑beta, released on July 3, 2023, introduces a modern Cascades‑based query optimizer, a data‑driven pipeline execution engine, fine‑grained workload groups, enhanced memory management, partial‑column updates, compute nodes, cold‑hot tiering and cross‑cluster replication, delivering up to tenfold speedups and significant cost reductions for real‑time analytics.

Apache DorisPipeline ExecutionSQL Engine
0 likes · 24 min read
Apache Doris 2.0‑beta Release: New Query Optimizer, Pipeline Engine, Workload Management and Performance Enhancements
php Courses
php Courses
Jul 3, 2023 · Databases

MySQL Queries That Cannot Use Indexes

Certain MySQL queries, such as those using functions, leading wildcards in LIKE, OR operators, inequality comparisons, or NULL checks, prevent the database engine from utilizing indexes, leading to slower performance, and should be rewritten for optimal query efficiency.

MySQLPerformancedatabase
0 likes · 3 min read
MySQL Queries That Cannot Use Indexes
Java Architect Essentials
Java Architect Essentials
Jun 30, 2023 · Backend Development

Why Database Connection Pools Do Not Use IO Multiplexing in Java

Although IO multiplexing can improve performance, Java applications typically use traditional connection pools like c3p0 or Tomcat because JDBC is built on blocking I/O, DB sessions require separate connections, and integrating NIO would complicate program architecture, making connection pools the pragmatic, mature solution.

Connection PoolIO MultiplexingJDBC
0 likes · 9 min read
Why Database Connection Pools Do Not Use IO Multiplexing in Java
IT Services Circle
IT Services Circle
Jun 23, 2023 · Backend Development

Comprehensive Java Backend Interview Review: Threads, Collections, Networking, HTTP, TCP, and MySQL

This article presents a detailed Java backend interview recap covering self‑introduction, thread‑pool choices, Snowflake ID usage, List implementations, List vs Set differences, common HTTP status codes, flow and congestion control, URL request flow, TCP three‑way handshake, HTTP vs HTTPS, database index types, B+‑tree advantages, transaction isolation problems, and practical interview preparation tips.

MySQLNetworkingbackend-development
0 likes · 21 min read
Comprehensive Java Backend Interview Review: Threads, Collections, Networking, HTTP, TCP, and MySQL
Code Ape Tech Column
Code Ape Tech Column
Jun 23, 2023 · Databases

Chat2DB: An Open-Source AI-Powered Multi-Database Client – Installation, Configuration, and Usage Guide

This article introduces Chat2DB, an open‑source AI‑enhanced multi‑database client, explains how to download, install and configure it with OpenAI keys, demonstrates creating data sources and sample tables, and showcases natural‑language‑to‑SQL, SQL explanation, and optimization features with practical examples.

AIChat2DBTutorial
0 likes · 11 min read
Chat2DB: An Open-Source AI-Powered Multi-Database Client – Installation, Configuration, and Usage Guide
DataFunTalk
DataFunTalk
Jun 20, 2023 · Databases

Hot and Cold Data Tiering in Apache Doris 2.0: Architecture, Configuration, and Performance Evaluation

This article explains the hot‑cold data tiering technique in Apache Doris 2.0, covering its motivation, storage‑layer design, configuration steps (resource, storage policy, table/partition settings), cost‑saving calculations, query performance impact, cold‑data compaction, and cache mechanisms, with practical code examples.

Apache DorisCold Data TieringStorage Policy
0 likes · 18 min read
Hot and Cold Data Tiering in Apache Doris 2.0: Architecture, Configuration, and Performance Evaluation
php Courses
php Courses
Jun 15, 2023 · Databases

20 Common MySQL Functions and Their Usage

This article introduces twenty commonly used MySQL functions, explains their purposes, and provides clear SQL examples with expected results to help developers efficiently manipulate and process data, including string, numeric, date, and aggregate functions, each illustrated with sample queries and output.

MySQLdatabasefunctions
0 likes · 5 min read
20 Common MySQL Functions and Their Usage
vivo Internet Technology
vivo Internet Technology
Jun 14, 2023 · Backend Development

Stability Practices for Vivo Account System: Service Governance, Data Architecture, and Monitoring

Vivo’s account platform, serving 270 million users and over 100 billion daily requests, achieves high‑performance stability through disciplined service splitting, hierarchical dependency control, layered caching and sharding strategies, and comprehensive multi‑layer monitoring that together ensure scalability, availability, and rapid fault diagnosis.

Backendcachingdatabase
0 likes · 24 min read
Stability Practices for Vivo Account System: Service Governance, Data Architecture, and Monitoring
Code Ape Tech Column
Code Ape Tech Column
Jun 12, 2023 · Databases

Understanding MySQL DDL Execution and Online DDL Mechanisms

This article explains the differences between MySQL DDL and DML, describes how online DDL works—including copy and inplace algorithms, execution phases, common pitfalls, limitations, and recent MySQL 8.0 enhancements—providing practical guidance for safely altering large tables.

DDLInnoDBMySQL
0 likes · 16 min read
Understanding MySQL DDL Execution and Online DDL Mechanisms
Architect's Guide
Architect's Guide
Jun 11, 2023 · Databases

Redis Data Types and Their Internal Implementations

This article provides a comprehensive overview of Redis's ten data types—including strings, hashes, lists, sets, sorted sets, streams, hyperloglog, geospatial, bitmap, and bitfield—detailing their structures, encoding mechanisms, application scenarios, and underlying implementation details with code examples.

BackendData Typesdatabase
0 likes · 29 min read
Redis Data Types and Their Internal Implementations
IT Services Circle
IT Services Circle
Jun 10, 2023 · Databases

Comprehensive MySQL Interview Guide: Key Concepts and Practices

This article provides a systematic, interview‑focused overview of MySQL fundamentals—including normal forms, DML vs DDL, primary and foreign keys, storage engines, redo and binlog mechanisms, indexing strategies, transaction properties, MVCC, lock types, replication, and common performance pitfalls—helping candidates quickly master essential database knowledge for interview success.

MySQLTransactionsdatabase
0 likes · 32 min read
Comprehensive MySQL Interview Guide: Key Concepts and Practices
Aikesheng Open Source Community
Aikesheng Open Source Community
Jun 10, 2023 · Databases

Weekly Tech Share Summary – SQL and Database Highlights

This weekly newsletter curates top industry tech articles covering SQL deployment capabilities, MySQL replication issues, LLM‑to‑SQL benchmarks, connection limit errors, OceanBase tracing, and provides an open‑source SQL quality management platform update with development progress and upcoming plans.

MySQLOceanBaseOpen-source
0 likes · 4 min read
Weekly Tech Share Summary – SQL and Database Highlights
Liangxu Linux
Liangxu Linux
Jun 6, 2023 · Databases

Why MySQL Chooses B+ Trees Over Skip Lists for Indexing

The article explains the structural differences between B+ trees and skip lists, compares their read‑write performance in MySQL and Redis, and shows why MySQL prefers B+ trees while Redis adopts skip lists for its in‑memory ZSET implementation.

B+TreeMySQLdatabase
0 likes · 13 min read
Why MySQL Chooses B+ Trees Over Skip Lists for Indexing
dbaplus Community
dbaplus Community
Jun 5, 2023 · Operations

Mastering Production Faults: Diagnose and Fix Network, Server, Database Issues

This guide outlines the most common production failures—including network, server, database, software, security, storage, configuration, and third‑party service issues—and provides step‑by‑step methods to detect, troubleshoot, and resolve each problem, helping maintain system stability and reliability.

OperationsServerdatabase
0 likes · 30 min read
Mastering Production Faults: Diagnose and Fix Network, Server, Database Issues
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.

BackendBinlogMySQL
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.

BugFixesCrateDBDistributedSQL
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.

Design PatternsHR systemdata modeling
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.

Frontend DevelopmentVuebackend-development
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.

CLIDevOpsGUI
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.

CASTransactionsdatabase
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+TreeMySQLdatabase
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+TreeInnoDBMySQL
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 TypesListSet
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.

CacheHSETHash
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.

AIANNVector Search
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.

HA deploymentRaftRipple
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.

InnoDBLockMySQL
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.

AOFHybridPersistence
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 TransactionsDeno KVJavaScript
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.

CPUMySQLPerformance
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 PracticesKey DesignPerformance
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+TreeInnoDBMySQL
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.

ClusterDevOpsMongoDB
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.

cachingdatabasehigh availability
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 OperatorDecorrelationSubquery
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.

OLAPRelational AlgebraSubqueries
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.

MySQLOpen-sourceSQLE
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 Processingcachingdatabase
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.

AlgorithmsMySQLdatabase
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 TransferMySQL
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.

cachingdatabase
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.

BinlogMySQLReplication
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 StructuresSetcommands
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.

Master‑SlaveMySQLReplication
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.

Local IndexOceanBasedatabase
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.

Performancecachingdatabase
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.

Consistencydatabase
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.

Index OptimizationMySQLdatabase
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.

MySQLPerformanceQuery Tuning
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 tableMySQLOceanBase
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.

FILTER clauseSQLiteUpsert
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.

MySQLNetworkingTCP
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.0InnoDBMySQL
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.

cachingdatabase
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.

DockerMySQLdatabase
0 likes · 9 min read
How to Keep MySQL Slave Nodes Alive with Keepalived and Read/Write Splitting
Aikesheng Open Source Community
Aikesheng Open Source Community
Mar 14, 2023 · Databases

Understanding Redis Master‑Slave Replication Storm and Mitigation Strategies

The article explains Redis master‑slave asynchronous replication, describes how repeated full‑sync requests from slaves can cause a replication storm that overloads CPU, memory and network, and offers practical solutions such as limiting data size, adjusting buffer limits, and redesigning deployment topology.

Master‑SlaveReplicationReplication Storm
0 likes · 6 min read
Understanding Redis Master‑Slave Replication Storm and Mitigation Strategies
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.

ContainerizationDockerMySQL
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 ConsistencyDual WriteJob Scheduling
0 likes · 12 min read
How to Keep MongoDB and Relational DB Dual Writes Consistent