Tagged articles

Database

2745 articles · Page 9 of 28
MaGe Linux Operations
MaGe Linux Operations
Jan 19, 2024 · Databases

Master Redis Data Structures: Practical Commands and Use Cases

This comprehensive guide walks through Redis's core data structures—including strings, lists, sets, sorted sets, hashes, HyperLogLog, bitmaps, streams, and geospatial indexes—explaining their characteristics and providing concrete command‑line examples to help developers select and use the right structure for their applications.

Data StructuresDatabaseNoSQL
0 likes · 10 min read
Master Redis Data Structures: Practical Commands and Use Cases
Architects' Tech Alliance
Architects' Tech Alliance
Jan 17, 2024 · Industry Insights

What Drives China’s “Xinchuang” IT Industry? OS, Middleware, Database & Firmware Overview

This article provides a concise overview of China’s Xinchuang (information technology innovation) ecosystem, explaining the roles and classifications of operating systems, middleware, databases, and firmware, while highlighting global OS market shares and the strategic importance of each layer for national information security.

DatabaseFirmwareXinchuang
0 likes · 9 min read
What Drives China’s “Xinchuang” IT Industry? OS, Middleware, Database & Firmware Overview
DaTaobao Tech
DaTaobao Tech
Jan 17, 2024 · Backend Development

Scaling and Performance Optimization of Taobao Shopping Cart

Taobao’s shopping cart was scaled and optimized by raising the item limit to 380, deploying the cloud‑native in‑memory read‑only replica tairSQL for read‑write separation, pre‑computing promotions, compressing payloads, caching data, redesigning the protocol, introducing response‑streaming APIs, and parallelizing per‑item processing with Java’s ForkJoinPool, dramatically cutting latency during traffic spikes.

DatabasePerformance OptimizationShopping Cart
0 likes · 15 min read
Scaling and Performance Optimization of Taobao Shopping Cart
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Jan 17, 2024 · Databases

Understanding Database Read‑Write Separation and Master‑Slave Replication

This article explains the concept of database read‑write separation, why it improves performance in high‑concurrency scenarios, when to apply it, the underlying master‑slave replication mechanism, and provides a MySQL example illustrating the steps of replication and its benefits for scalability and availability.

DatabaseMySQLRead-Write Separation
0 likes · 6 min read
Understanding Database Read‑Write Separation and Master‑Slave Replication
Architect
Architect
Jan 15, 2024 · Backend Development

Implementing Data Isolation in MyBatis with a Custom Interceptor and Annotations

This article walks through the problem of sharing a single database across pre‑release, gray, and production environments, explains why adding an env column to dozens of tables is error‑prone, and demonstrates a MyBatis interceptor‑based solution with custom annotations that isolates data while preserving backward compatibility.

Custom AnnotationData IsolationDatabase
0 likes · 14 min read
Implementing Data Isolation in MyBatis with a Custom Interceptor and Annotations
Architecture Digest
Architecture Digest
Jan 15, 2024 · Databases

Understanding Redis Persistence: AOF vs RDB Mechanisms

This article explains Redis's two persistence mechanisms—Append Only File (AOF) and RDB snapshots—detailing their operation, advantages, risks, write‑back strategies, rewrite process, and how to choose the appropriate method for performance and reliability requirements.

AOFDatabasePerformance
0 likes · 11 min read
Understanding Redis Persistence: AOF vs RDB Mechanisms
DataFunTalk
DataFunTalk
Jan 15, 2024 · Databases

Optimizing Database Expression Evaluation with JIT Compilation Using Gandiva

This article explains how Just‑In‑Time (JIT) compilation, particularly via the Gandiva expression compiler built on LLVM and Apache Arrow, can dramatically accelerate database expression evaluation by transforming abstract syntax trees into native vectorized code, addressing traditional interpretation bottlenecks and improving CPU‑bound query performance.

Apache ArrowDatabaseExpression Evaluation
0 likes · 17 min read
Optimizing Database Expression Evaluation with JIT Compilation Using Gandiva
Python Programming Learning Circle
Python Programming Learning Circle
Jan 13, 2024 · Operations

17 Essential Python Scripts for Automating Everyday Tasks

Explore 17 practical Python scripts that automate tasks ranging from file management and web scraping to email handling, database interaction, system monitoring, and cloud services, enabling developers and analysts to boost productivity, reduce errors, and streamline workflows across diverse domains.

DatabasePythonSystem
0 likes · 28 min read
17 Essential Python Scripts for Automating Everyday Tasks
Java Tech Enthusiast
Java Tech Enthusiast
Jan 13, 2024 · Databases

Understanding MySQL COUNT() Performance and Optimization Strategies

The article explains why counting rows in large MySQL tables—especially with InnoDB—can become slow, compares COUNT() performance across storage engines and query forms, and offers optimization tactics such as using metadata counts, EXPLAIN estimates, a dedicated counting table, or periodic batch processing for accurate or approximate results.

COUNTDatabaseInnoDB
0 likes · 12 min read
Understanding MySQL COUNT() Performance and Optimization Strategies
MaGe Linux Operations
MaGe Linux Operations
Jan 12, 2024 · Databases

Master MySQL Flow Control: IF, CASE, LOOP, WHILE, REPEAT & LEAVE Explained

This guide explains MySQL stored procedure flow‑control constructs—including IF, CASE, LOOP, WHILE, REPEAT, LEAVE and ITERATE—detailing their syntax, usage patterns, and practical examples such as salary adjustments and conditional logic, helping developers implement complex database operations efficiently.

DatabaseFlow ControlMySQL
0 likes · 19 min read
Master MySQL Flow Control: IF, CASE, LOOP, WHILE, REPEAT & LEAVE Explained
dbaplus Community
dbaplus Community
Jan 8, 2024 · Operations

How a Simple Time Adjustment Sparked a Massive Outage: Real Ops Incident Stories

Three real-world operations mishaps are recounted—a mistaken system‑time change that logged out thousands of users, an accidental bulk delete of database accounts, and a failed glibc downgrade that stalled a software release—illustrating the cascading impact of small errors and the urgent remediation steps taken.

DatabaseLinuxOperations
0 likes · 8 min read
How a Simple Time Adjustment Sparked a Massive Outage: Real Ops Incident Stories
ITPUB
ITPUB
Jan 8, 2024 · Databases

How I Cut an 8‑Second SQL Query to 0.7 Seconds: Step‑by‑Step Optimization

This article walks through a real‑world case of a slow MySQL query that took 8 seconds, explains how the original use of EXISTS and NOT EXISTS caused performance bottlenecks, and details two successive rewrites—first using JOIN + GROUP BY, then replacing NOT EXISTS with NOT IN—bringing execution time down to 0.7 seconds while highlighting key indexing and testing lessons.

DatabaseMySQLPerformance Tuning
0 likes · 7 min read
How I Cut an 8‑Second SQL Query to 0.7 Seconds: Step‑by‑Step Optimization
Aikesheng Open Source Community
Aikesheng Open Source Community
Jan 8, 2024 · Databases

AIKOS Open Source Community Weekly Newsletter – SQLE Release, Community Updates, and Selected Database Articles

This newsletter announces the SQLE 3.2401.0-pre1 release with automatic data masking, shares recent community development work, outlines upcoming plans, and curates several technical articles covering MySQL EXPLAIN enhancements, transaction fundamentals, hardware considerations for database stability, consistent backup techniques, and efficient JDBC connection testing.

CommunityDatabaseMySQL
0 likes · 6 min read
AIKOS Open Source Community Weekly Newsletter – SQLE Release, Community Updates, and Selected Database Articles
Java Tech Enthusiast
Java Tech Enthusiast
Jan 4, 2024 · Databases

Redis Simple Dynamic String (SDS) Implementation Overview

Redis implements its own Simple Dynamic String (SDS) instead of plain C strings because SDS stores length for O(1) queries, pre‑allocates extra space and lazily reuses freed bytes, prevents buffer overflows, handles binary data, and uniformly backs all string keys, values and container elements.

C languageDatabaseRedis
0 likes · 8 min read
Redis Simple Dynamic String (SDS) Implementation Overview
dbaplus Community
dbaplus Community
Jan 3, 2024 · Backend Development

Designing a Scalable 1B‑User Group Chat System: Architecture & High‑Concurrency

This article walks through the design of a billion‑user group chat platform, covering functional and non‑functional requirements, core components, database schema, face‑to‑face group creation, message flow, storage strategies, and performance‑optimizing techniques such as clustering, message queues, multithreading, and Redis caching.

DatabaseRedisbackend architecture
0 likes · 14 min read
Designing a Scalable 1B‑User Group Chat System: Architecture & High‑Concurrency
ITPUB
ITPUB
Jan 3, 2024 · Databases

Why MySQL Queries Can Be 50,000× Faster with Proper Indexing

This article walks through a MySQL 5.6 scenario where a sub‑query that scans 700,000 rows takes over 30,000 seconds, then demonstrates how adding single‑column and composite indexes, rewriting the query as a join, and analyzing execution plans reduces the runtime to milliseconds, highlighting best‑practice indexing techniques.

DatabaseMySQLQuery Tuning
0 likes · 12 min read
Why MySQL Queries Can Be 50,000× Faster with Proper Indexing
Aikesheng Open Source Community
Aikesheng Open Source Community
Jan 2, 2024 · Databases

Using EXPLAIN INTO and EXPLAIN FOR SCHEMA in MySQL 8.1 and 8.2

This article explains the new EXPLAIN INTO clause introduced in MySQL 8.1 for storing JSON‑formatted EXPLAIN output in a user variable and the EXPLAIN FOR SCHEMA clause added in MySQL 8.2 for running EXPLAIN on other schemas, showing how to extract costs with JSON functions and automate collection with stored procedures.

DatabaseEXPLAINMySQL
0 likes · 7 min read
Using EXPLAIN INTO and EXPLAIN FOR SCHEMA in MySQL 8.1 and 8.2
ITPUB
ITPUB
Dec 28, 2023 · Databases

How ByConity 0.3.0 Boosts Text Search and Cold‑Read Performance with Inverted Indexes

ByConity 0.3.0 introduces a new inverted index supporting Chinese tokenization, a shared‑storage leader election mechanism, enhanced cold‑read performance via Prefetch and adaptive mark allocation, and an upgraded ELT pipeline with BSP mode, all detailed with implementation steps, code examples, and future roadmap.

ByConityCold ReadDatabase
0 likes · 13 min read
How ByConity 0.3.0 Boosts Text Search and Cold‑Read Performance with Inverted Indexes
Java High-Performance Architecture
Java High-Performance Architecture
Dec 28, 2023 · Backend Development

How to Perform Fuzzy Search on Encrypted Fields in Java Applications

This article explains why traditional LIKE queries fail on encrypted sensitive fields, analyzes common scenarios, and presents four practical solutions—including tokenized ciphertext mapping—along with environment setup, Maven dependencies, and complete Spring Boot code to enable secure fuzzy searches on encrypted data.

DatabaseEncryptionFuzzy Search
0 likes · 13 min read
How to Perform Fuzzy Search on Encrypted Fields in Java Applications
MaGe Linux Operations
MaGe Linux Operations
Dec 26, 2023 · Databases

Master Redis: Essential Commands for Data Management and Persistence

This guide walks through Redis fundamentals, covering how data persists after restarts, core key operations, database selection, serialization, expiration handling, key movement, random retrieval, renaming, and how to check the number of configured databases, all with practical command examples and visual illustrations.

DatabasePersistenceRedis
0 likes · 7 min read
Master Redis: Essential Commands for Data Management and Persistence
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Dec 22, 2023 · Databases

Understanding NULL Values in MySQL

This article explains the nature of NULL in MySQL, demonstrates why comparisons with = or != fail, shows the correct IS NULL/IS NOT NULL syntax, and discusses how NULL behaves with DISTINCT, GROUP BY, ORDER BY, and aggregate functions.

AggregationDatabaseMySQL
0 likes · 6 min read
Understanding NULL Values in MySQL
StarRocks
StarRocks
Dec 22, 2023 · Databases

What’s New in StarRocks 3.2? Key Features and Usability Enhancements

StarRocks 3.2, released on December 21, 2023, introduces major usability upgrades—including optimized random bucketing, fast schema evolution, PIPE import, HTTP SQL API, runtime profiling, enhanced storage‑compute separation, data lake analysis, and advanced materialized view capabilities—while refining existing features such as indexing, catalog support, and export syntax.

DatabaseStarRocksStorage Compute Separation
0 likes · 15 min read
What’s New in StarRocks 3.2? Key Features and Usability Enhancements
Programmer DD
Programmer DD
Dec 22, 2023 · Backend Development

Master Spring Boot 3.2 JdbcClient: Fluent API for Simple DB Operations

This guide introduces Spring Boot 3.2's new JdbcClient, explains how to add the dependency, inject it, and perform fluent, chainable CRUD operations—including queries by ID, custom conditions, named parameters, map parameters, row mapping, and inserts—while highlighting its advantages over traditional ORM tools.

DatabaseFluent APIJava
0 likes · 7 min read
Master Spring Boot 3.2 JdbcClient: Fluent API for Simple DB Operations
Code Ape Tech Column
Code Ape Tech Column
Dec 18, 2023 · Databases

13 Redis Performance Optimization Rules for High‑Throughput Applications

This article presents thirteen practical Redis performance‑optimization rules, covering avoidance of slow commands, proper key expiration handling, data‑structure selection, persistence tuning, hardware considerations, pipeline usage, client‑side improvements, and distributed architectures such as replication, sentinel and Redis Cluster, to help developers achieve significant speed gains.

DatabaseOptimizationPerformance
0 likes · 13 min read
13 Redis Performance Optimization Rules for High‑Throughput Applications
Su San Talks Tech
Su San Talks Tech
Dec 18, 2023 · Databases

Master MySQL Transactions: ACID, Isolation Levels, and MVCC Explained

This comprehensive guide explores MySQL transaction fundamentals, the ACID properties, various isolation levels, concurrency issues like dirty, non‑repeatable, and phantom reads, and dives deep into MVCC implementation, hidden fields, undo logs, and read views to help developers write reliable, consistent database code.

ACIDDatabaseIsolation Level
0 likes · 24 min read
Master MySQL Transactions: ACID, Isolation Levels, and MVCC Explained
Nullbody Notes
Nullbody Notes
Dec 17, 2023 · Backend Development

Build Your Own Go ORM: Logger, Struct Mapping, CRUD, Transactions & Hooks

This tutorial walks through creating a lightweight Go ORM—covering a custom logger, converting structs to table metadata, implementing basic CRUD operations, handling transactions, and adding hook callbacks—while exposing the core Session data structure and providing a GitHub reference.

DatabaseGORMGo
0 likes · 7 min read
Build Your Own Go ORM: Logger, Struct Mapping, CRUD, Transactions & Hooks
DataFunSummit
DataFunSummit
Dec 16, 2023 · Databases

Optimizing Precise Deduplication with Doris Bitmap: Architecture, Performance Enhancements, and Practical Practices

This article presents a comprehensive overview of precise deduplication in Meituan's Doris database, detailing the underlying bitmap data structures, aggregation bottlenecks, and a series of optimizations—including memory management, fast union, orthogonal encoding, and vectorized engine integration—that together achieve significant performance gains in high‑cardinality scenarios.

BitMapDatabaseDoris
0 likes · 20 min read
Optimizing Precise Deduplication with Doris Bitmap: Architecture, Performance Enhancements, and Practical Practices
php Courses
php Courses
Dec 15, 2023 · Databases

Creating a MySQL Database on Linux Using PHP (mysqli)

This tutorial explains how to create a MySQL database on a Linux system using PHP's mysqli extension, covering prerequisite installations, establishing a connection to the MySQL server, and executing SQL statements to create the database, with complete code examples and instructions for customizing credentials.

DatabaseMySQLibackend
0 likes · 4 min read
Creating a MySQL Database on Linux Using PHP (mysqli)
Aikesheng Open Source Community
Aikesheng Open Source Community
Dec 14, 2023 · Databases

SQLE 3.0 Installation Guide: RPM and Docker Deployment

This article provides a step‑by‑step guide for installing the open‑source SQLE 3.0 SQL quality management platform using both RPM packages and Docker containers, covering environment preparation, configuration file adjustments, service startup, common issues, and troubleshooting tips.

DatabaseDockerInstallation
0 likes · 11 min read
SQLE 3.0 Installation Guide: RPM and Docker Deployment
政采云技术
政采云技术
Dec 14, 2023 · Databases

Understanding MySQL Locks: Types, Mechanisms, and Deadlock Resolution

This article explains the various lock types in MySQL—including global, table, row, metadata, and intent locks—how they work under InnoDB, demonstrates lock acquisition with SQL examples, and provides practical guidance for detecting and resolving deadlocks in production environments.

DatabaseDeadlockInnoDB
0 likes · 17 min read
Understanding MySQL Locks: Types, Mechanisms, and Deadlock Resolution
DataFunTalk
DataFunTalk
Dec 13, 2023 · Databases

SelectDB Boosts GuanceDB Observability: Architecture Upgrade, Cost Reduction, and Performance Gains

This article details how SelectDB’s inverted‑index, Variant data type, and sampling capabilities were integrated into GuanceDB to replace Elasticsearch, achieving up to 70% storage cost reduction, 2‑4× query speed improvement, and a ten‑fold overall cost‑performance boost for log analytics and observability workloads.

DatabaseLog AnalyticsPerformance
0 likes · 20 min read
SelectDB Boosts GuanceDB Observability: Architecture Upgrade, Cost Reduction, and Performance Gains
Architect's Tech Stack
Architect's Tech Stack
Dec 13, 2023 · Databases

MyBatis-Flex: A Lightweight High‑Performance MyBatis Enhancement Framework – Features, Comparison, and Quick‑Start Guide

This article introduces MyBatis‑Flex, a lightweight and high‑performance MyBatis enhancement framework, outlines its key features, compares it with similar tools, presents benchmark results, lists supported databases, and provides a step‑by‑step quick‑start tutorial with complete code examples for Spring Boot integration.

DatabaseJavaMyBatis-Flex
0 likes · 11 min read
MyBatis-Flex: A Lightweight High‑Performance MyBatis Enhancement Framework – Features, Comparison, and Quick‑Start Guide
Efficient Ops
Efficient Ops
Dec 11, 2023 · Operations

How a Simple System‑Time Change Sparked a Massive Outage

A junior ops engineer mistakenly set the production server clock ahead by a year, causing thousands of user accounts to expire, triggering a large‑scale outage, emergency fixes, financial loss, and harsh career consequences, while highlighting the need for proper permission and change management.

Databaseincident managementpermissions
0 likes · 7 min read
How a Simple System‑Time Change Sparked a Massive Outage
Baidu Geek Talk
Baidu Geek Talk
Dec 11, 2023 · Industry Insights

How AI and Cloud Are Redefining the Database Landscape – Baidu’s Journey and Future Trends

This article traces the 70‑year evolution of databases, examines how the rise of AIGC, cloud computing and AI native architectures are reshaping the industry, and details Baidu Smart Cloud's historical milestones, flagship products such as GaiaDB and PegaDB, and the emerging trends that will drive the next generation of database solutions.

AICloud ComputingDatabase
0 likes · 22 min read
How AI and Cloud Are Redefining the Database Landscape – Baidu’s Journey and Future Trends
IT Services Circle
IT Services Circle
Dec 10, 2023 · Databases

Should Production Databases Be Deployed in Docker/Kubernetes? A Critical Analysis

The article critically examines the drawbacks of running production databases inside Docker containers or Kubernetes, arguing that while containers excel for stateless services, they introduce reliability, performance, maintenance, and complexity challenges that make them unsuitable for critical stateful database workloads.

ContainersDatabaseDocker
0 likes · 20 min read
Should Production Databases Be Deployed in Docker/Kubernetes? A Critical Analysis
360 Smart Cloud
360 Smart Cloud
Dec 7, 2023 · Databases

Pika v3.5.2 Release Highlights and Upcoming v3.5.3 Roadmap

The Pika community announced version 3.5.2, fixing long‑standing bugs and adding features such as Redis transaction support, a cache layer for hot‑cold data separation, dynamic Codis‑Proxy configuration, and performance improvements, while also outlining the planned enhancements for the upcoming 3.5.3 release.

Bug FixesDatabasePerformance
0 likes · 6 min read
Pika v3.5.2 Release Highlights and Upcoming v3.5.3 Roadmap
Efficient Ops
Efficient Ops
Dec 6, 2023 · Databases

When and How to Use MySQL Locks: A Deep Dive into Explicit and Implicit Locking

This article explains MySQL's explicit and implicit locking mechanisms, illustrates how transaction isolation levels affect lock scope, provides practical SQL examples for various scenarios, and offers guidelines on when to apply pessimistic locks versus optimistic approaches to maintain database performance.

DatabaseMySQLSQL
0 likes · 13 min read
When and How to Use MySQL Locks: A Deep Dive into Explicit and Implicit Locking
Baidu Geek Talk
Baidu Geek Talk
Nov 29, 2023 · Databases

How Baidu Built an HTAP Table Storage System to Tackle Massive Data Analytics

This article examines Baidu Search's content storage team's HTAP table storage system, detailing the challenges of supporting massive OLAP workloads on an OLTP‑oriented backend, the architectural split into Neptune and Saturn, storage‑engine optimizations such as row partitioning and dynamic columns, and a SQL‑like KQL framework for compute and scheduling.

DatabaseHTAPKQL
0 likes · 13 min read
How Baidu Built an HTAP Table Storage System to Tackle Massive Data Analytics
Top Architect
Top Architect
Nov 28, 2023 · Databases

Performance Comparison of JOIN vs IN in MySQL Queries

This article experimentally compares the performance of JOIN and IN approaches for retrieving order and user data in MySQL, showing that JOIN is faster on small datasets while IN may become costly with large data volumes, and discusses code implementations and practical conclusions.

DatabaseJOINMySQL
0 likes · 10 min read
Performance Comparison of JOIN vs IN in MySQL Queries
MaGe Linux Operations
MaGe Linux Operations
Nov 28, 2023 · Backend Development

Mastering Enums in GORM: A Step-by-Step Guide for Go Developers

This tutorial explains how to add enum types to GORM models in Go, covering definition of enum values, model integration, CRUD operations using enums, and alternative approaches such as string fields, custom types, and GORM's built‑in enum tag to enhance type safety and database reliability.

DatabaseEnumGORM
0 likes · 5 min read
Mastering Enums in GORM: A Step-by-Step Guide for Go Developers
MaGe Linux Operations
MaGe Linux Operations
Nov 27, 2023 · Databases

Why Does MySQL Master‑Slave Replication Lag? Causes and Fixes

This article explains why MySQL master‑slave replication can become delayed, outlines the differences between DDL and DML, shows how to diagnose lag with show slave status, and provides architectural, hardware, and configuration solutions—including semi‑synchronous replication and tuning parameters—to reduce latency.

DatabaseMaster‑SlaveMySQL
0 likes · 9 min read
Why Does MySQL Master‑Slave Replication Lag? Causes and Fixes
Test Development Learning Exchange
Test Development Learning Exchange
Nov 23, 2023 · Backend Development

Python Multithreading Techniques for Concurrent API Calls, File Downloads, Test Execution, and Database Inserts

This article explains Python's multithreading model, covering thread creation, synchronization, data sharing, and provides practical code examples for sending concurrent API requests, downloading files, running test cases, reading files, and inserting records into a SQLite database.

APIDatabaseFile Download
0 likes · 6 min read
Python Multithreading Techniques for Concurrent API Calls, File Downloads, Test Execution, and Database Inserts
php Courses
php Courses
Nov 23, 2023 · Backend Development

Common PHP Feature Implementations and Optimization Techniques

This article reviews essential PHP development practices—including user authentication, database interaction, file handling, front‑end/back‑end communication, and error logging—while offering concrete optimization tips such as password hashing, RBAC, indexing, caching, connection pooling, and proper logging to improve application quality and performance.

Databasecachingsecurity
0 likes · 5 min read
Common PHP Feature Implementations and Optimization Techniques
Top Architecture Tech Stack
Top Architecture Tech Stack
Nov 20, 2023 · Databases

Design and Application of High‑Performance Database Clusters: Read/Write Separation, Sharding, and NoSQL

This article explains the principles and practical designs of high‑performance database clusters, covering read/write separation, master‑slave replication lag, distribution mechanisms, sharding (both vertical and horizontal), business‑level partitioning, and the role of NoSQL technologies such as key‑value stores, document databases, columnar databases, and full‑text search engines.

DatabaseNoSQLPerformance
0 likes · 33 min read
Design and Application of High‑Performance Database Clusters: Read/Write Separation, Sharding, and NoSQL
Java High-Performance Architecture
Java High-Performance Architecture
Nov 17, 2023 · Backend Development

How to Ensure Transaction Rollback in Multithreaded Spring Applications

This article demonstrates why @Transactional fails in multithreaded Spring services, presents a thread‑pool based solution using manual SqlSession control to achieve full rollback across child threads, and provides complete code examples and test results illustrating both failure and successful transaction handling.

DatabaseJavaMultithreading
0 likes · 10 min read
How to Ensure Transaction Rollback in Multithreaded Spring Applications
dbaplus Community
dbaplus Community
Nov 13, 2023 · Databases

How a MySQL CPU Spike Exposed Critical Query Mis‑optimizations

An urgent overnight incident revealed a MySQL server’s CPU soaring to 400% due to poorly written queries, prompting a detailed analysis of execution plans, identification of costly operations like filesort and temporary tables, and concrete recommendations for query and team improvements.

DatabaseMySQLbackend
0 likes · 8 min read
How a MySQL CPU Spike Exposed Critical Query Mis‑optimizations
Aikesheng Open Source Community
Aikesheng Open Source Community
Nov 13, 2023 · Databases

MySQL Backup and Recovery Best Practices

This article explains why MySQL backups are essential, defines RTO and RPO, compares physical and logical backup methods, describes snapshot, binary‑log, incremental and differential strategies, and provides best‑practice recommendations and example commands for reliable backup and recovery.

DatabaseMySQLPercona XtraBackup
0 likes · 13 min read
MySQL Backup and Recovery Best Practices
JD Retail Technology
JD Retail Technology
Nov 8, 2023 · Operations

Technical Strategies for Ensuring System Stability During Large‑Scale Promotional Events

The article analyzes the importance of system stability during major sales promotions, presents data‑driven insights on traffic and revenue, identifies key challenges such as massive traffic, data volume, and complex workflows, and offers comprehensive operational, application, storage, and monitoring measures to guarantee reliable performance under extreme load.

Databasedeploymentlarge‑scale promotion
0 likes · 13 min read
Technical Strategies for Ensuring System Stability During Large‑Scale Promotional Events
Aikesheng Open Source Community
Aikesheng Open Source Community
Nov 8, 2023 · Databases

Analyzing OceanBase Freeze Dump Process via Log Parsing

This article explains how to parse OceanBase logs to trace the tenant freeze dump workflow, detailing the roles and log sequences of the freeze check thread, LSFreeze, Flush, DagScheduler, and MiniMerge threads, and illustrating each step with actual log excerpts and code snippets.

DAGDatabaseFreeze Process
0 likes · 16 min read
Analyzing OceanBase Freeze Dump Process via Log Parsing
Senior Tony
Senior Tony
Nov 8, 2023 · Databases

Beyond Row and Table Locks: Uncovering MySQL’s Hidden Lock Types

This article examines MySQL's comprehensive lock taxonomy, starting from common row and table locks, then delving into lesser‑known mechanisms such as global locks, intention locks, auto‑increment locks, and Latch, while explaining their commands, use‑cases, and performance implications for developers and DBAs.

DatabaseInnoDBIntention Lock
0 likes · 10 min read
Beyond Row and Table Locks: Uncovering MySQL’s Hidden Lock Types
Su San Talks Tech
Su San Talks Tech
Nov 8, 2023 · Databases

Speed Up Your SpringBoot App with Druid Connection Pool and SQL Optimization

The article walks through diagnosing a 10‑second backend loading delay, explains connection‑pool concepts, introduces Alibaba's Druid pool with its monitoring UI, shows how to identify and optimize slow SQL queries using DISTINCT and indexes, and provides step‑by‑step SpringBoot integration instructions.

DatabaseDruidPerformance Monitoring
0 likes · 16 min read
Speed Up Your SpringBoot App with Druid Connection Pool and SQL Optimization
php Courses
php Courses
Nov 6, 2023 · Backend Development

Techniques for Optimizing Web Page Load Speed in PHP Development

Improving web page load speed is crucial for user experience, and PHP developers can employ methods such as caching, script and stylesheet compression, database query optimization, reducing HTTP requests, using CDNs, output compression, cache plugins, asynchronous loading, and image optimization to significantly enhance performance.

CDNDatabasePHP
0 likes · 5 min read
Techniques for Optimizing Web Page Load Speed in PHP Development
IT Services Circle
IT Services Circle
Nov 4, 2023 · Databases

SQL Query Examples and Explanations for the idc_evaluating Database

This article presents a collection of SQL statements—including SELECT, DELETE, DESCRIBE, and JOIN queries—targeting various tables in the idc_evaluating database, accompanied by detailed English explanations of their purpose, syntax, and result set structure.

Data RetrievalData manipulationDatabase
0 likes · 10 min read
SQL Query Examples and Explanations for the idc_evaluating Database
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 4, 2023 · Databases

Understanding MySQL Lock Types: Shared, Exclusive, Intention, Gap, Next‑Key, and Insert‑Intention Locks with Deadlock Analysis

This article explains MySQL's various lock mechanisms—including shared (S) and exclusive (X) locks, intention locks, record, gap, next‑key, and insert‑intention locks—illustrates their behavior with SQL examples, analyzes a concurrent insert deadlock scenario, and offers practical mitigation strategies.

DatabaseDeadlockInnoDB
0 likes · 11 min read
Understanding MySQL Lock Types: Shared, Exclusive, Intention, Gap, Next‑Key, and Insert‑Intention Locks with Deadlock Analysis
php Courses
php Courses
Nov 2, 2023 · Backend Development

Handling Concurrent Access and Race Conditions in PHP

This article explains essential techniques for managing concurrent access and race conditions in PHP, covering mutex locks, semaphores, atomic operations, queue-based processing, database access optimization, and transaction management to improve system reliability and performance.

DatabasePHPSemaphore
0 likes · 5 min read
Handling Concurrent Access and Race Conditions in PHP
Aikesheng Open Source Community
Aikesheng Open Source Community
Oct 31, 2023 · Databases

MySQL Disaster Recovery: Multi‑Region Three‑Center Replication and RTO/RPO Optimization

This article explains the principles of disaster recovery for MySQL, covering RTO/RPO metrics, national backup level standards, common master‑slave topologies, a comparative analysis of high‑availability solutions, and a detailed three‑center multi‑region replication design with code patches to avoid replication loops.

DatabaseHigh AvailabilityMySQL
0 likes · 17 min read
MySQL Disaster Recovery: Multi‑Region Three‑Center Replication and RTO/RPO Optimization
Aikesheng Open Source Community
Aikesheng Open Source Community
Oct 30, 2023 · Databases

ActionTech Open Source Community Weekly Newsletter – SQLE Updates, Technical Articles, and Events

The newsletter announces the SQLE 3.0 release with new UI and demo environments, highlights the SQLE 2.2310.0‑pre3 update, reviews technical articles on MySQL cloning, OceanBase indexing, data replication, charset issues, and connection‑pool design, recaps recent conferences, and previews upcoming OB Cloud open class events.

DataReplicationDatabaseMySQL
0 likes · 8 min read
ActionTech Open Source Community Weekly Newsletter – SQLE Updates, Technical Articles, and Events
Test Development Learning Exchange
Test Development Learning Exchange
Oct 28, 2023 · Databases

How Data Analysis Improves User Experience: Methods and Practical SQL Code Examples

This article explains ten data‑analysis techniques for enhancing user experience—such as behavior tracking, A/B testing, sentiment analysis, and personalization—and provides concrete SQL code snippets that illustrate how to import, query, filter, sort, aggregate, join, update, delete, and back up data in relational databases.

A/B testingDatabaseSQL
0 likes · 8 min read
How Data Analysis Improves User Experience: Methods and Practical SQL Code Examples
php Courses
php Courses
Oct 26, 2023 · Backend Development

Developing a WeChat Public Account Personal Center with PHP

This article explains how to build a personal center for a WeChat public account using PHP, covering database table creation, retrieving user information via WeChat authorization, storing data, and rendering a user profile page with sample code snippets.

DatabasePHPPersonal Center
0 likes · 4 min read
Developing a WeChat Public Account Personal Center with PHP
Aikesheng Open Source Community
Aikesheng Open Source Community
Oct 26, 2023 · Databases

SQL Learning Course Outline and Book Giveaway Announcement

This announcement details a book giveaway sponsored by Tsinghua University Press and presents a comprehensive SQL learning curriculum covering SQLite, MySQL, query fundamentals, subqueries, joins, and advanced database features, complete with micro‑lecture videos and hands‑on exercises.

Book GiveawayDatabaseDatabase Tutorial
0 likes · 9 min read
SQL Learning Course Outline and Book Giveaway Announcement
政采云技术
政采云技术
Oct 25, 2023 · Databases

Redis Memory Management: Eviction and Expiration Strategies Explained

This article provides a comprehensive overview of Redis memory management, detailing how maxmemory limits trigger various eviction policies, explaining the internal freeMemoryIfNeeded algorithm, and describing expiration mechanisms—including active and lazy deletion—and offering guidance on selecting the appropriate eviction strategy for different workloads.

CacheDatabaseLFU
0 likes · 18 min read
Redis Memory Management: Eviction and Expiration Strategies Explained