Tagged articles
5000 articles
Page 40 of 50
ITPUB
ITPUB
Mar 6, 2021 · Databases

What Do the DB-Engines March 2021 Rankings Reveal About Today's Top Databases?

The DB‑Engines March 2021 ranking evaluates 364 databases, highlighting shifts among the top ten—including Microsoft SQL Server’s steep decline, MySQL’s growth surge, PostgreSQL’s continued rise, and Snowflake’s dramatic climb—while offering trend graphs and insights for professionals choosing the right database technology.

DB-EnginesSQL Servermysql
0 likes · 6 min read
What Do the DB-Engines March 2021 Rankings Reveal About Today's Top Databases?
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 PoolingPythonSQLAlchemy
0 likes · 38 min read
Asynchronous MySQL Operations with aiomysql and SQLAlchemy in Python
Aikesheng Open Source Community
Aikesheng Open Source Community
Mar 5, 2021 · Databases

Effect of innodb_log_buffer_size on Redo Log I/O in MySQL

This article experimentally demonstrates how increasing MySQL's innodb_log_buffer_size reduces redo‑log write I/O, showing fewer write operations but similar total data volume, and explains why performance gains may be subtle in typical virtual‑machine storage environments.

I/O performanceInnoDBLog Buffer
0 likes · 4 min read
Effect of innodb_log_buffer_size on Redo Log I/O in MySQL
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.

Replicationdatabasemysql
0 likes · 4 min read
Troubleshooting MySQL Slave Replication Errors Caused by XtraBackup Kill‑Long‑Query Settings
Architecture Digest
Architecture Digest
Mar 4, 2021 · Databases

Performance Comparison Between MariaDB and MySQL

This article reviews the history of MySQL, introduces MariaDB as its open‑source fork, and presents a series of benchmark tests—including single‑row inserts, batch inserts, and various query scenarios—showing that MariaDB generally outperforms MySQL in speed while using more memory.

Database PerformanceMariaDBbenchmark
0 likes · 8 min read
Performance Comparison Between MariaDB and MySQL
Programmer DD
Programmer DD
Mar 3, 2021 · Backend Development

How to Speed Up Large Excel Imports in Java: From POI to EasyExcel and Parallel Insertion

This article walks through a step‑by‑step optimization of a Java‑based Excel import pipeline, covering the transition from raw POI to EasyPOI and EasyExcel, caching database lookups, batch inserts, optimal batch sizes, parallel streams, and logging reductions to achieve sub‑minute import times for hundreds of thousands of rows.

BackendExcelParallelStream
0 likes · 12 min read
How to Speed Up Large Excel Imports in Java: From POI to EasyExcel and Parallel Insertion
Practical DevOps Architecture
Practical DevOps Architecture
Mar 3, 2021 · Databases

Step-by-Step Shell Scripts for Deploying MySQL and Creating Users on a Linux Node

This article provides a detailed shell-script tutorial for installing MySQL 5.7 on a Linux node, initializing the database, setting the root password, and automatically creating multiple user accounts with random passwords, suitable for operations and database administrators. The guide includes full script listings, explains repository configuration, service management, and error handling, making it a practical reference for DevOps engineers.

Database DeploymentLinuxUser Management
0 likes · 4 min read
Step-by-Step Shell Scripts for Deploying MySQL and Creating Users on a Linux Node
Code Ape Tech Column
Code Ape Tech Column
Mar 3, 2021 · Databases

When INSERT INTO SELECT Breaks MySQL: A Cautionary Data‑Migration Story

An engineer’s costly mistake using MySQL’s INSERT INTO SELECT for nightly data migration led to out‑of‑memory crashes, full‑table scans, and payment record loss, prompting a deep dive into locking behavior, transaction isolation, and how proper indexing can safely rescue large‑scale inserts.

Data MigrationFull Table ScanINSERT INTO SELECT
0 likes · 7 min read
When INSERT INTO SELECT Breaks MySQL: A Cautionary Data‑Migration Story
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.

Backenddata synchronizationdatabase
0 likes · 8 min read
How to Keep Redis and MySQL Consistent: 4 Proven Strategies for Interviews
Architects' Tech Alliance
Architects' Tech Alliance
Mar 1, 2021 · Cloud Computing

Practices for Data Cleaning and Cutover Consistency in Cross‑Cloud Migration

This article explains the technical details of data cleaning, dirty‑data handling, and three methods—database read‑only, application termination, and network ACL isolation—to ensure data consistency during the data‑regulation and cutover phases of cross‑cloud migration, illustrated with real‑world case studies.

ACL isolationData Consistencycloud migration
0 likes · 12 min read
Practices for Data Cleaning and Cutover Consistency in Cross‑Cloud Migration
Architects' Tech Alliance
Architects' Tech Alliance
Feb 28, 2021 · Operations

Ensuring Data Integrity in Multi‑Cloud Migration: MySQL, File & Object Storage Strategies

This article outlines practical techniques for multi‑cloud data migration, covering challenges, resource categories, migration phases, and detailed synchronization and verification methods for MySQL databases, file systems, and object storage using tools such as UDTS, pt‑table‑checksum, sync_diff_inspector and US3SYNC.

Data MigrationData verificationUDTS
0 likes · 17 min read
Ensuring Data Integrity in Multi‑Cloud Migration: MySQL, File & Object Storage Strategies
php Courses
php Courses
Feb 26, 2021 · Backend Development

How to Quickly Learn PHP: A Comprehensive Beginner’s Roadmap

This guide outlines a step‑by‑step learning roadmap for PHP beginners, covering HTML/CSS/JS fundamentals, core PHP syntax, database integration with MySQL, object‑oriented programming, and popular frameworks, while emphasizing practice, project building, and continuous skill refinement.

OOPframeworkslearning roadmap
0 likes · 8 min read
How to Quickly Learn PHP: A Comprehensive Beginner’s Roadmap
Architecture Digest
Architecture Digest
Feb 26, 2021 · Databases

Adding a Column to a Massive MySQL Table Safely

This article explains practical strategies for adding a new column to a MySQL table with tens of millions of rows, including creating a temporary table, copying data, renaming tables, and alternative replica‑based or third‑party methods to avoid long locks and potential crashes.

Large TableSchema Migrationadd column
0 likes · 4 min read
Adding a Column to a Massive MySQL Table Safely
Laravel Tech Community
Laravel Tech Community
Feb 25, 2021 · Databases

Python Database Operations: Using DB-API, PyMySQL, and Connection Pools

This article introduces Python's DB-API for interacting with various databases, explains how to use PyMySQL and MySQLdb for MySQL operations, demonstrates basic CRUD examples, shows techniques to prevent SQL injection, and presents connection pooling solutions with DBUtils for multi‑threaded applications.

Connection PoolDB-APISQL injection
0 likes · 14 min read
Python Database Operations: Using DB-API, PyMySQL, and Connection Pools
Java Backend Technology
Java Backend Technology
Feb 23, 2021 · Databases

Why Misplaced Quotes Turn MySQL Updates into Zeroes – A Deep Dive

This article explains how incorrectly placed double‑quotation marks in MySQL UPDATE and SELECT statements cause implicit type conversion, turning intended string assignments into zero values and making WHERE clauses always true, leading to massive data corruption and unexpected query results.

Data CorruptionImplicit ConversionQuotation Marks
0 likes · 7 min read
Why Misplaced Quotes Turn MySQL Updates into Zeroes – A Deep Dive
Java Captain
Java Captain
Feb 21, 2021 · Backend Development

Step-by-Step Guide to Building a Spring Boot Application with MyBatis and MySQL

This tutorial walks through creating a Spring Boot project, configuring Maven dependencies, setting up MySQL with MyBatis, defining entity, mapper, service, and controller layers, and building simple Thymeleaf login and registration pages, culminating in a runnable dynamic authentication demo.

BackendMyBatisSpring Boot
0 likes · 16 min read
Step-by-Step Guide to Building a Spring Boot Application with MyBatis and MySQL
Laravel Tech Community
Laravel Tech Community
Feb 18, 2021 · Databases

Why NULL Columns Can Break MySQL Indexes and How to Avoid It

This article explains how MySQL treats NULL values, why columns defined with NULL can invalidate indexes, demonstrates the behavior of IS NULL, IS NOT NULL, the spaceship operator, IFNULL, COUNT, DISTINCT, GROUP BY and ORDER BY with NULLs, and offers practical recommendations for schema design.

Database designNULLindexes
0 likes · 13 min read
Why NULL Columns Can Break MySQL Indexes and How to Avoid It
dbaplus Community
dbaplus Community
Feb 17, 2021 · Databases

Choosing the Right MySQL HA Architecture: From Replication to InnoDB Cluster

This article reviews MySQL's evolution of high‑availability solutions—from classic master‑slave replication to InnoDB Cluster and InnoDB Replica Set—explaining each component, their features, deployment steps, and how to select the appropriate architecture based on business requirements such as RTO, RPO, and regional scope.

Database ArchitectureHA DesignInnoDB Cluster
0 likes · 10 min read
Choosing the Right MySQL HA Architecture: From Replication to InnoDB Cluster
ITPUB
ITPUB
Feb 17, 2021 · Databases

52 Proven SQL Performance Optimization Techniques to Supercharge Your Queries

This article compiles 52 practical SQL tuning strategies—including index best practices, query rewriting, use of temporary tables, proper data types, and server configuration tips—to dramatically improve MySQL query speed and overall database efficiency.

Query Tuningindexesmysql
0 likes · 23 min read
52 Proven SQL Performance Optimization Techniques to Supercharge Your Queries
Selected Java Interview Questions
Selected Java Interview Questions
Feb 16, 2021 · Databases

Analysis of MySQL Index Usage Cases and Best Practices

This article demonstrates how to create a test table, build indexes, and analyze their effectiveness across multiple query scenarios using MySQL's EXPLAIN output, highlighting the best‑left‑prefix rule, range condition impacts, ORDER BY considerations, and common pitfalls such as Using filesort and temporary tables.

Database Optimizationexplainindex
0 likes · 6 min read
Analysis of MySQL Index Usage Cases and Best Practices
NiuNiu MaTe
NiuNiu MaTe
Feb 8, 2021 · Databases

Estimating MySQL TCP Connections for 100 Writes/sec Over 5 Seconds

This article analyzes how many TCP connections MySQL will open when writing data at 100 rows per second for five seconds, examining MySQL processing capacity and connection‑pool configuration to illustrate the key factors that affect connection count.

Connection PoolTCP connectionsmysql
0 likes · 8 min read
Estimating MySQL TCP Connections for 100 Writes/sec Over 5 Seconds
UCloud Tech
UCloud Tech
Feb 8, 2021 · Operations

Mastering Multi-Cloud Data Migration: MySQL, File & Object Storage Strategies

This article explains the challenges of cross‑cloud migration, outlines three resource categories, details MySQL, file and object storage synchronization methods, presents practical tools and validation techniques, and shares real‑world case studies to ensure data integrity and efficiency.

Data Migrationdata validationfile storage
0 likes · 17 min read
Mastering Multi-Cloud Data Migration: MySQL, File & Object Storage Strategies
Code Ape Tech Column
Code Ape Tech Column
Feb 8, 2021 · Databases

Evaluating the ‘No Join Over Three Tables’ Rule from Alibaba Java Development Manual with MySQL and Oracle Experiments

This article investigates why the Alibaba Java Development Manual advises against joining more than three tables by designing and executing large‑scale MySQL and Oracle experiments, analyzing query performance, indexing effects, and data‑generation scripts to determine the practical limits of multi‑table joins.

Data GenerationDatabase OptimizationJoin Performance
0 likes · 11 min read
Evaluating the ‘No Join Over Three Tables’ Rule from Alibaba Java Development Manual with MySQL and Oracle Experiments
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.

MariaDBbenchmarkdatabase
0 likes · 10 min read
Why MariaDB Outperforms MySQL: A Detailed Performance Comparison
Java Captain
Java Captain
Feb 3, 2021 · Databases

Why MySQL UPDATE Statements Can Turn All Values to Zero When Quotes Are Misplaced

The article analyzes a production incident where dozens of MySQL UPDATE statements unintentionally set a column to zero because misplaced quotation marks caused MySQL to interpret the expression as a boolean comparison with implicit type conversion, and it explains how to detect and prevent such errors.

DataRecoveryDatabaseSafetyImplicitConversion
0 likes · 6 min read
Why MySQL UPDATE Statements Can Turn All Values to Zero When Quotes Are Misplaced
Aikesheng Open Source Community
Aikesheng Open Source Community
Feb 2, 2021 · Databases

Overview of MySQL Execution Plan Fields

This article explains the meaning of each column in MySQL's EXPLAIN output, including id, select_type, type, possible_keys, key, key_len, ref, rows, filtered, and Extra, with examples of various query patterns such as simple selects, joins, subqueries, UNIONs, and derived tables.

execution planexplainmysql
0 likes · 22 min read
Overview of MySQL Execution Plan Fields
Architecture Digest
Architecture Digest
Feb 2, 2021 · Databases

Why Alibaba's Java Development Manual Prohibits Joins Over Three Tables – MySQL and Oracle Performance Experiments

The article investigates the Alibaba Java Development Manual's rule against joining more than three tables by designing and executing extensive MySQL and Oracle experiments, generating massive test data, measuring query performance, and concluding that the restriction stems from join scalability limits on large datasets.

Data GenerationDatabase OptimizationJoin Performance
0 likes · 11 min read
Why Alibaba's Java Development Manual Prohibits Joins Over Three Tables – MySQL and Oracle Performance Experiments
ITPUB
ITPUB
Feb 1, 2021 · Databases

Master MySQL Index Interview Questions: 9 Essential Concepts Explained

This article breaks down nine core MySQL index concepts—including index types, B+Tree advantages, search steps, covering indexes, index invalidation, left‑most prefix rules, index push‑down, and safe index creation on large tables—to help candidates answer interview questions about tree‑search operations and performance trade‑offs.

B+Treeindexinterview
0 likes · 16 min read
Master MySQL Index Interview Questions: 9 Essential Concepts Explained
Liangxu Linux
Liangxu Linux
Jan 31, 2021 · Databases

Why MySQL Replication Lags and How to Eliminate It

This article explains the root causes of MySQL master‑slave replication lag—including random replay, high master concurrency, and lock waits—and presents practical solutions such as parallel replication, reducing master load, and reading from the master to ensure data consistency.

LagMaster‑SlaveReplication
0 likes · 8 min read
Why MySQL Replication Lags and How to Eliminate It
ITPUB
ITPUB
Jan 28, 2021 · Databases

Why MySQL Index Merge Triggers Deadlocks and How to Fix It

This article explains how MySQL's index‑merge optimization can cause row‑level deadlocks during inventory updates, analyzes the lock sequence and deadlock logs, and presents practical solutions such as forcing a specific index, disabling index‑merge, and creating a composite index.

InnoDBdeadlockindex merge
0 likes · 15 min read
Why MySQL Index Merge Triggers Deadlocks and How to Fix It
ITPUB
ITPUB
Jan 27, 2021 · Databases

Understanding MySQL’s Three Write-Ahead Logs: Redo, Binlog, and Undo

This article explains the three essential log files involved in MySQL write operations—redo log, binary log, and undo log—detailing the two‑phase commit process, their roles, write timing, storage mechanisms, and how they enable data durability, recovery, and replication.

Database Loggingmysqlredo log
0 likes · 9 min read
Understanding MySQL’s Three Write-Ahead Logs: Redo, Binlog, and Undo
ITPUB
ITPUB
Jan 26, 2021 · Databases

Master MySQL Transactions, Locks, and Advanced SQL Techniques

This guide walks through MySQL's advanced features, covering lock types, transaction control commands, autocommit handling, savepoints, SQL mode configuration, regular expression usage, common SQL tricks, and a comprehensive overview of built‑in functions with practical code examples.

LocksSQL ModeTransactions
0 likes · 25 min read
Master MySQL Transactions, Locks, and Advanced SQL Techniques
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jan 26, 2021 · Databases

Advanced MySQL Topics: Transaction Control, Locking, SQL Mode, Regular Expressions, and Common Functions

This article provides a comprehensive guide to advanced MySQL concepts, covering transaction control, various lock levels, lock and unlock statements, autocommit settings, savepoints, SQL security issues, SQL mode configurations, regular expression usage, and a collection of useful string, numeric, date‑time, and flow functions with practical examples.

SQL Modefunctionsmysql
0 likes · 23 min read
Advanced MySQL Topics: Transaction Control, Locking, SQL Mode, Regular Expressions, and Common Functions
Code Ape Tech Column
Code Ape Tech Column
Jan 26, 2021 · Databases

Why Adding LIMIT to MySQL DELETE Is a Must‑Have Safety Habit

The article explains why appending LIMIT to MySQL DELETE statements improves performance, reduces lock contention, and safeguards data by limiting rows affected, provides syntax details, compares deletion strategies for removing large numbers of rows, and offers practical recommendations for safe and efficient data removal.

DELETEData SafetyDatabase Performance
0 likes · 8 min read
Why Adding LIMIT to MySQL DELETE Is a Must‑Have Safety Habit
Laravel Tech Community
Laravel Tech Community
Jan 24, 2021 · Databases

MySQL Slow Query Optimization: Reducing Execution Time from 30 Seconds to 0.19 Seconds

This article documents a MySQL slow‑query case where a 5‑million‑row table took over 30 seconds to execute, explores several ineffective optimization attempts, uncovers a client‑side LIMIT issue, and finally resolves the performance problem by forcing the use of the idx_end_time index, cutting the runtime to under a second.

SQL Optimizationdatabaseexecution plan
0 likes · 5 min read
MySQL Slow Query Optimization: Reducing Execution Time from 30 Seconds to 0.19 Seconds
Architecture Digest
Architecture Digest
Jan 24, 2021 · Databases

Debugging a High‑Load SQL Query: Index Miss and Temporary Fix

A production MySQL database suffered CPU overload due to a high‑volume query that bypassed an index because a leftmost column was missing, leading to full‑table scans, and the issue was resolved by adding a new composite index and correcting validation annotations in the Java code.

Code reviewSQL Performancebug fix
0 likes · 8 min read
Debugging a High‑Load SQL Query: Index Miss and Temporary Fix
Alibaba Cloud Developer
Alibaba Cloud Developer
Jan 22, 2021 · Databases

Why Do MySQL Deadlocks Occur and How to Prevent Them?

This article examines the root causes of MySQL deadlocks in online services, explains transaction and lock mechanisms such as UndoLog and RedoLog, analyzes real‑world cases, and presents practical strategies—including isolation level adjustments and pre‑delete checks—to avoid and resolve deadlock issues.

InnoDBLockdatabase
0 likes · 11 min read
Why Do MySQL Deadlocks Occur and How to Prevent Them?
Code Ape Tech Column
Code Ape Tech Column
Jan 22, 2021 · Databases

Implementing Database Read-Write Separation with Spring Boot and MySQL

This article explains how to achieve database read‑write separation in high‑concurrency scenarios using Spring Boot, Druid connection pool, and MySQL, covering master‑slave data source configuration, routing via AbstractRoutingDataSource, context holder management, custom annotations, AOP switching, and usage examples with code snippets.

DataSource RoutingRead-Write SplittingSpring Boot
0 likes · 11 min read
Implementing Database Read-Write Separation with Spring Boot and MySQL
vivo Internet Technology
vivo Internet Technology
Jan 20, 2021 · Databases

MySQL Deadlock Investigation Record

The article documents a MySQL 5.6.35 deadlock occurring during inventory deduction, explains how Index Merge caused inconsistent lock ordering across multiple indexes, and offers solutions such as forcing specific indexes, disabling Index Merge, adding composite indexes, or restructuring the SQL to prevent the deadlock.

databasedeadlockindexing
0 likes · 13 min read
MySQL Deadlock Investigation Record
Code Ape Tech Column
Code Ape Tech Column
Jan 20, 2021 · Databases

Why Does MySQL Pick the Wrong Index? A Deep Dive into Query Optimization

This article examines a slow MySQL query that scans millions of rows, explains why the optimizer chose a low‑selectivity index, demonstrates how forcing the correct index dramatically improves performance, and shows how to create a covering composite index to resolve the issue permanently.

Database TuningExplain PlanIndex Optimization
0 likes · 8 min read
Why Does MySQL Pick the Wrong Index? A Deep Dive into Query Optimization
Aikesheng Open Source Community
Aikesheng Open Source Community
Jan 19, 2021 · Databases

MySQL 8.0.23 New Features Overview

The article reviews MySQL 8.0.23's maintenance release, detailing new features such as invisible columns, query attributes, security enhancements, InnoDB auto‑extend size, replication terminology changes, X protocol improvements, and various deprecations, providing code examples and links to official documentation.

8.0.23InnoDBInvisible Columns
0 likes · 10 min read
MySQL 8.0.23 New Features Overview
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jan 17, 2021 · Databases

Comprehensive Overview of MySQL Architecture, Logs, Indexes, Transactions, Locks, MVCC, Buffer Pool, and Optimization

This article provides an in‑depth guide to MySQL internals, covering the SQL execution process, server and storage engine layers, binlog/redo/undo logs, index structures, transaction isolation levels, lock types, MVCC implementation, buffer pool management, and practical optimization techniques.

Transactionsdatabaseindexing
0 likes · 31 min read
Comprehensive Overview of MySQL Architecture, Logs, Indexes, Transactions, Locks, MVCC, Buffer Pool, and Optimization
ITPUB
ITPUB
Jan 16, 2021 · Databases

Why a Missing Index Parameter Crashed Our Production DB—and How to Fix It

During a production outage, a high‑volume SQL query without a required leftmost index field caused full table scans that saturated CPU, prompting a temporary index fix and revealing a deeper bug involving missing @NotNull validation and improper parameter handling, highlighting MySQL’s left‑most index rule.

SQL Performancebug fixindexing
0 likes · 9 min read
Why a Missing Index Parameter Crashed Our Production DB—and How to Fix It
MaGe Linux Operations
MaGe Linux Operations
Jan 15, 2021 · Databases

Why ORDER BY with LIMIT Returns Unexpected Row Order in MySQL

When you combine ORDER BY with LIMIT in MySQL, the result set may appear in a different order than expected, especially if the ordered column contains duplicate values, and understanding the optimizer's behavior and adding deterministic columns can resolve this issue.

LIMITOrder Bydatabase
0 likes · 6 min read
Why ORDER BY with LIMIT Returns Unexpected Row Order in MySQL
Java Captain
Java Captain
Jan 12, 2021 · Backend Development

Supermarket Management System Tutorial Using Java Swing and MySQL

This article walks through building a Java Swing supermarket management desktop application, covering database table creation, user registration and login, product category and product CRUD operations, and the main menu UI, with complete source code snippets for each feature.

CRUDDesktop ApplicationSwing
0 likes · 12 min read
Supermarket Management System Tutorial Using Java Swing and MySQL
Java Architect Essentials
Java Architect Essentials
Jan 12, 2021 · Backend Development

Extending MyBatis-Plus for Batch Insert Operations in Java Backend

This article introduces MyBatis-Plus, explains its non‑intrusive features, demonstrates how to add Maven dependencies, examines the built‑in batch insert API, and provides step‑by‑step code to extend BaseMapper with a custom EasyBaseMapper for efficient MySQL batch inserts.

MyBatis-PlusORMbackend-development
0 likes · 6 min read
Extending MyBatis-Plus for Batch Insert Operations in Java Backend
Programmer DD
Programmer DD
Jan 12, 2021 · Databases

Master Database Version Control in Spring Boot with Flyway

This tutorial walks you through using Flyway in a Spring Boot application to manage MySQL schema versions, from initial table creation and CRUD implementation to incremental migrations like adding new columns, complete with Maven dependencies, SQL scripts, Java code, and automated tests.

FlywaySpring BootVersion Control
0 likes · 13 min read
Master Database Version Control in Spring Boot with Flyway
Big Data Technology & Architecture
Big Data Technology & Architecture
Jan 12, 2021 · Backend Development

go-mysql-transfer: A Go-Based Real-Time MySQL Binlog Incremental Sync Tool

The article introduces go-mysql-transfer, a Go-implemented MySQL binlog incremental synchronization solution that avoids extra components, supports multiple downstreams like Redis, offers Lua scripting, Prometheus monitoring, high‑availability clustering, retry mechanisms, full data initialization, and provides installation, deployment, and performance testing details.

BinlogGoPrometheus
0 likes · 12 min read
go-mysql-transfer: A Go-Based Real-Time MySQL Binlog Incremental Sync Tool
Java Interview Crash Guide
Java Interview Crash Guide
Jan 12, 2021 · Databases

Boost MySQL Query Speed: Index Tricks, Join vs Subquery, and Execution Plan Hacks

This article walks through a MySQL 5.6 case study where a nested sub‑query for finding students scoring 100 in a specific subject runs for hours, then demonstrates how adding single‑column and composite indexes, rewriting the query as a join, and analyzing execution plans can shrink the runtime from tens of thousands of seconds to under a second.

Database TuningIndex OptimizationQuery Planning
0 likes · 11 min read
Boost MySQL Query Speed: Index Tricks, Join vs Subquery, and Execution Plan Hacks