Tagged articles
22 articles
Page 1 of 1
FunTester
FunTester
Jan 21, 2026 · Databases

Mastering MySQL Upserts: INSERT IGNORE, REPLACE INTO, and ON DUPLICATE KEY UPDATE Explained

This article explains three MySQL INSERT variants—INSERT IGNORE, REPLACE INTO, and INSERT ... ON DUPLICATE KEY UPDATE—detailing their syntax, execution behavior, advantages, drawbacks, typical use cases, and practical comparison to help developers choose the most suitable method for handling duplicate or bulk data operations.

Duplicate KeyInsertSQL
0 likes · 12 min read
Mastering MySQL Upserts: INSERT IGNORE, REPLACE INTO, and ON DUPLICATE KEY UPDATE Explained
ITPUB
ITPUB
Dec 24, 2022 · Databases

Master MySQL: 13 Essential Functions and Commands Every Developer Should Know

This guide walks you through 13 practical MySQL techniques—from aggregating values with GROUP_CONCAT and measuring string length with CHAR_LENGTH, to locating substrings, replacing text, retrieving timestamps, bulk inserting data, handling duplicate keys, inspecting table structures, and using diagnostic commands like EXPLAIN and SHOW PROCESSLIST—complete with ready‑to‑run SQL examples and visual results.

GROUP_CONCATInsertNOW
0 likes · 13 min read
Master MySQL: 13 Essential Functions and Commands Every Developer Should Know
FunTester
FunTester
Dec 8, 2021 · Databases

How Fast Can MySQL Insert and Delete? FunTester Performance Benchmarks

This article walks through using the FunTester framework to benchmark MySQL insert and delete operations, showing Java code examples, test configurations, and JSON results that reveal a high QPS for inserts and a noticeable slowdown when deletions are performed.

BenchmarkDELETEFunTester
0 likes · 7 min read
How Fast Can MySQL Insert and Delete? FunTester Performance Benchmarks
Architecture & Thinking
Architecture & Thinking
Dec 1, 2021 · Databases

Master MySQL DML: Insert, Update, Delete, and Truncate Explained

Learn the essential MySQL Data Manipulation Language commands—INSERT, UPDATE, DELETE, and TRUNCATE—including syntax variations, best practices, and step‑by‑step command‑line examples that illustrate single‑row, batch, and conditional operations, plus key differences between delete and truncate.

DELETEDMLInsert
0 likes · 12 min read
Master MySQL DML: Insert, Update, Delete, and Truncate Explained
Top Architect
Top Architect
Oct 3, 2021 · Databases

Understanding the INSERT Locking Process in MySQL by Analyzing the Source Code

This article examines MySQL's INSERT locking behavior, explains why phantom reads do not occur under REPEATABLE READ isolation, and walks through compiling the MySQL source, debugging lock acquisition, and the role of insert‑intention and gap locks using detailed code examples and execution traces.

Gap LockInnoDBInsert
0 likes · 18 min read
Understanding the INSERT Locking Process in MySQL by Analyzing the Source Code
ITPUB
ITPUB
Sep 29, 2021 · Databases

INSERT vs LOAD DATA INFILE in MySQL: When to Choose Each for Speed and Bulk Loads

This article compares MySQL's INSERT INTO and LOAD DATA INFILE statements, explains their syntax, shows practical examples, highlights when each should be used for bulk data loading, discusses error handling with IGNORE, and explains why LOAD DATA INFILE is typically faster.

InsertLOAD DATA INFILESQL
0 likes · 7 min read
INSERT vs LOAD DATA INFILE in MySQL: When to Choose Each for Speed and Bulk Loads
Laravel Tech Community
Laravel Tech Community
Sep 7, 2021 · Databases

Handling Backslashes in MySQL INSERT and SELECT Statements

This article explains how MySQL treats backslashes as escape characters in INSERT and SELECT queries, demonstrates the effect of different numbers of backslashes through practical tests, and clarifies the double‑escaping required when using LIKE patterns.

ESCAPEInsertbackslash
0 likes · 6 min read
Handling Backslashes in MySQL INSERT and SELECT Statements
Programmer DD
Programmer DD
Jun 22, 2021 · Databases

Mastering Backslash Escapes in MySQL: Insert & SELECT Gotchas

This article explains how MySQL treats backslashes in INSERT and SELECT statements, demonstrates the resulting storage differences with practical examples, and clarifies the double‑escaping rules that developers must handle to avoid unexpected query results.

InsertSQLbackslash
0 likes · 6 min read
Mastering Backslash Escapes in MySQL: Insert & SELECT Gotchas
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Aug 7, 2020 · Databases

Four Common MySQL Insert Statements and Their Usage

This article explains the four frequently used MySQL data‑insertion statements—INSERT, INSERT SELECT, REPLACE INTO, and INSERT … ON DUPLICATE KEY UPDATE—detailing their syntax, options, behavior, and performance considerations for reliable database operations.

InsertON DUPLICATE KEY UPDATESQL
0 likes · 7 min read
Four Common MySQL Insert Statements and Their Usage
ITPUB
ITPUB
Nov 22, 2017 · Databases

Boost MySQL Bulk Inserts: Proven Techniques & Optimized Syntax

This guide explains the factors that affect MySQL INSERT performance and presents a collection of practical techniques—including multi‑row INSERT, bulk_insert_buffer_size tuning, INSERT DELAYED, LOAD DATA INFILE, table creation with disabled keys, LOCK TABLES, and the proper use of IGNORE and ON DUPLICATE KEY UPDATE—to dramatically speed up large‑scale data loading.

InsertSQLbulk load
0 likes · 11 min read
Boost MySQL Bulk Inserts: Proven Techniques & Optimized Syntax
ITPUB
ITPUB
Jan 21, 2017 · Databases

Boost MySQL Bulk Inserts: Proven Techniques & Optimized Statements

This guide explains why MySQL INSERT operations can be slow, breaks down the time‑consuming factors, and provides a collection of practical techniques—such as multi‑row VALUES, LOAD DATA INFILE, table locking, and special modifiers like DELAYED, IGNORE, and ON DUPLICATE KEY UPDATE—to dramatically speed up bulk data insertion.

Bulk InsertInsertPerformance Optimization
0 likes · 11 min read
Boost MySQL Bulk Inserts: Proven Techniques & Optimized Statements