当前位置:网站首页>Will the modified data be updated when it is the same as the original data?
Will the modified data be updated when it is the same as the original data?
2022-07-29 09:23:00 【Young】
One 、 background
This article mainly tests MySQL perform update When the sentence is , Against the original data ( Not modified ) same update The statement will be in the MySQL Internal re execution ?
Two 、 Test environment
MySQL5.7.25Centos 7.4
3、 ... and 、binlog_format by ROW
1、 Parameters
2、 testing procedure
session1
session2
session1
3、 summary
stay binlog_format=row and binlog_row_image=FULL when , because MySQL Need to be in binlog It records all the fields , So when you read the data, you read all the data , that Duplicate data update Not execute . namely MySQL Called InnoDB The engine provides “ It is amended as follows (1,55)” This interface , But the engine found the same value , Not updated , Go straight back to .
Four 、binlog_format by STATEMENT
1、 Parameters
2、 testing procedure
session1
session2
session1
3、 summary
stay binlog_format=statement and binlog_row_image=FULL when ,InnoDB It's done inside update sentence , namely “ Change this value to (1,999)“ This operation , What should be locked , The update of this update .
边栏推荐
- Mathematical modeling - Differential Equations
- Amazfit dial Kit
- Jetpack Glance? The spring of widgets is coming
- Floweable foundation Chapter 1
- MySQL的数据类型
- Quaternion and its simple application in unity
- MySQL 错误总结
- MySQL converts some table names to uppercase
- 基于C语言模拟实现DFA识别字符串
- Evaluation index of machine learning classification model and implementation of sklearn code
猜你喜欢

Gutcloud technology restcloud completed the pre-A round of financing of tens of millions of yuan

Unity Xchart3.0基本用法快速上手

Leetcode question brushing (6)

On contract testing

mysql怎么换成中文

(视频+图文)机器学习入门系列-第1章 引言

Could not receive a message from the daemon
![[unity entry program] C # and unity - understand classes and objects](/img/bd/13cc90638c6e6ad4a45507b0ed2fb7.png)
[unity entry program] C # and unity - understand classes and objects

How to export the old and new file names and locations to excel after file renaming

The gold content of PMP certificate has been increased again and included in the scope of Beijing work residence permit
随机推荐
Flowable 基础篇2
STM32 application development practice tutorial: design and implementation of controllable LED water lamp
Complete knapsack problem from simplicity to ultimate
Tesseract text recognition -- simple
LeetCode刷题(6)
Qmainwindow details
"Defects" of prototype chain inheritance and constructor inheritance
Using logistic regression and neural network to deal with complex binary classification problems
Redis series 3: highly available master-slave architecture
Regular expression verification version number
dataframe. to_ Sql() inserts too many errors at one time
Flowable UI制作流程图
Flutter文本编辑器
First order traversal / second order traversal determines the approximate shape of the tree
Vs2015 uses loadlibrary to call DLL library
云原生管理实践:业务引领的DevOps持续交付体系
Network knowledge summary
[machine learning] naive Bayesian code practice
What are the backup and recovery methods of gbase 8s database
On contract testing





