Tag

UPDATE

1 views collected around this technical thread.

Aikesheng Open Source Community
Aikesheng Open Source Community
Jan 15, 2025 · Databases

Understanding Update Undo Log Format and Content in MySQL InnoDB

This article explains how MySQL 8.0.32 InnoDB generates and stores Update undo logs, detailing the log format, the meaning of each field, how to interpret the log address, and provides concrete SQL examples and shell calculations for practical insight.

Database InternalsInnoDBMySQL
0 likes · 11 min read
Understanding Update Undo Log Format and Content in MySQL InnoDB
DevOps Operations Practice
DevOps Operations Practice
Sep 18, 2024 · Information Security

Debian 12.7 Release: Security Updates, UEFI Shim Changes, and Upgrade Instructions

Debian 12.7, the latest Bookworm update, focuses on critical security patches—including a new Shim 15.8 for UEFI boot, microcode enhancements, and updates to Ansible, Apache2, Calibre, and systemd—while providing simple upgrade commands for users of both Debian 12 and the older Debian 11 releases.

DebianLinuxMicrocode
0 likes · 4 min read
Debian 12.7 Release: Security Updates, UEFI Shim Changes, and Upgrade Instructions
Top Architect
Top Architect
Jun 29, 2024 · Databases

MySQL Update Behavior with Identical Data under ROW and STATEMENT Binlog Formats

This article investigates whether MySQL re‑executes an UPDATE statement that sets a column to its current value, comparing behavior under binlog_format=ROW and binlog_format=STATEMENT with binlog_row_image=FULL, and presents test steps, results, and conclusions.

InnoDBMySQLROW
0 likes · 12 min read
MySQL Update Behavior with Identical Data under ROW and STATEMENT Binlog Formats
Sanyou's Java Diary
Sanyou's Java Diary
Dec 21, 2023 · Databases

What Happens Inside MySQL When You Run an UPDATE? A Deep Dive

This article explains the complete execution process of a MySQL UPDATE statement, covering InnoDB page structures, tablespaces, buffer pool caching, redo/undo logs, binlog, and the two‑phase commit mechanism, helping readers understand how MySQL ensures data consistency and durability.

Buffer PoolInnoDBMySQL
0 likes · 21 min read
What Happens Inside MySQL When You Run an UPDATE? A Deep Dive
macrozheng
macrozheng
Sep 3, 2023 · Databases

Why a Single UPDATE Can Crash Your MySQL Database and How to Prevent It

This article explains how an UPDATE without indexed WHERE conditions can trigger full‑table next‑key locks in InnoDB, causing business downtime, and provides practical safeguards such as enabling sql_safe_updates and using FORCE INDEX to ensure safe execution.

IndexesInnoDBMySQL
0 likes · 8 min read
Why a Single UPDATE Can Crash Your MySQL Database and How to Prevent It
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Aug 21, 2023 · Databases

MySQL Join Update Techniques for Synchronizing Related Tables

This article explains how to perform relational updates in MySQL using JOINs, subqueries, and multi‑table UPDATE statements, demonstrating table creation, sample data insertion, and the differences between INNER, LEFT, and RIGHT joins for keeping dependent tables in sync.

MySQLSQLUPDATE
0 likes · 7 min read
MySQL Join Update Techniques for Synchronizing Related Tables
IT Services Circle
IT Services Circle
Feb 8, 2023 · Databases

Understanding MySQL UPDATE Locking: Why Some Updates Block and Others Do Not

This article explains MySQL row‑level locking by analyzing three transactions—A, B, and C—to show why an UPDATE on a primary‑key column can block while an UPDATE on a non‑indexed column proceeds without waiting.

B+ TreeGap LockMySQL
0 likes · 7 min read
Understanding MySQL UPDATE Locking: Why Some Updates Block and Others Do Not
Laravel Tech Community
Laravel Tech Community
Aug 9, 2022 · Fundamentals

Windows Subsystem for Linux 0.65.1 Release Highlights

Microsoft's Linux on Windows team announced the public rollout of WSL 0.65.1 to all Windows Insiders, introducing performance improvements, enhanced time synchronization, kernel upgrades, and numerous WSLg and compositor enhancements for a smoother cross‑platform development experience.

LinuxUPDATEWSL
0 likes · 3 min read
Windows Subsystem for Linux 0.65.1 Release Highlights
Laravel Tech Community
Laravel Tech Community
May 15, 2022 · Backend Development

PHP 8.1.6 Released – Comprehensive Bug‑Fix Update

PHP 8.1.6, a maintenance release of the popular server‑side language, has been made available, bringing numerous bug fixes across core, date handling, FFI, FPM, hash, iconv, intl, mbstring, MySQLi, SPL, streams, and zlib components, and the PHP team encourages all 8.1 users to upgrade.

Bug FixPHPUPDATE
0 likes · 4 min read
PHP 8.1.6 Released – Comprehensive Bug‑Fix Update
Java Architect Essentials
Java Architect Essentials
Dec 20, 2021 · Databases

Why MySQL UPDATE with AND Fails and How to Correctly Update Multiple Columns

The article explains that using the logical operator AND between column assignments in a MySQL UPDATE statement causes unexpected results, demonstrates the issue with sample data, and shows that multiple columns must be separated by commas to update them correctly.

MySQLSQLSyntax
0 likes · 4 min read
Why MySQL UPDATE with AND Fails and How to Correctly Update Multiple Columns
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
May 25, 2021 · Databases

Why Misplaced Quotes in MySQL UPDATE Cause Columns to Be Set to Zero

The article explains how incorrectly placed double‑quotation marks in MySQL UPDATE statements change the intended string assignment into a boolean comparison that evaluates to 0, leading to all affected rows being updated with zero values, and shows how to detect and avoid this pitfall.

Data RecoveryMySQLQuote Error
0 likes · 6 min read
Why Misplaced Quotes in MySQL UPDATE Cause Columns to Be Set to Zero
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
Laravel Tech Community
Laravel Tech Community
Jan 31, 2021 · Databases

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

The article analyzes a real‑world incident where a series of MySQL UPDATE statements with incorrectly placed quotation marks caused the entire source_name column to be set to zero, explains MySQL's implicit type conversion behavior, and shows how to recover the data using binlog analysis and flashback SQL.

DataRecoveryImplicitConversionMySQL
0 likes · 5 min read
Why MySQL UPDATE Statements Can Turn All Values to Zero When Quotes Are Misplaced
Selected Java Interview Questions
Selected Java Interview Questions
Jan 13, 2021 · Databases

Understanding Unexpected Zero Updates in MySQL Due to Misplaced Quotes

The article explains how incorrectly placed quotation marks in MySQL UPDATE statements can cause expressions like "str_col=\"xxx\" = \"yyy\"" to evaluate to zero, leading to unintended data overwrites and highlights the importance of testing SQL in safe environments.

Data RecoveryMySQLSQL
0 likes · 5 min read
Understanding Unexpected Zero Updates in MySQL Due to Misplaced Quotes
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Nov 4, 2020 · Databases

Differences Between SELECT and UPDATE Execution in MySQL: Process, Optimizer, Redo Log and Binlog

The article explains how MySQL processes SELECT and UPDATE statements, detailing each execution stage—from client authentication and cache lookup to parsing, optimization, and execution—while highlighting the additional redo log and binlog handling required for UPDATE operations and offering practical code examples.

Database OptimizationMySQLSQL Execution
0 likes · 14 min read
Differences Between SELECT and UPDATE Execution in MySQL: Process, Optimizer, Redo Log and Binlog
php中文网 Courses
php中文网 Courses
Nov 3, 2020 · Backend Development

How to Update the Laravel Installer to the Latest Version

This guide explains how to upgrade the Laravel installer to the latest version using Composer, covering three methods: composer require, uninstall and reinstall, and editing the global composer.json, with commands and verification steps.

ComposerInstallerLaravel
0 likes · 5 min read
How to Update the Laravel Installer to the Latest Version