All operations recorded by MySQL Binlog actually have corresponding event types, such as the DML operation in the statement format corresponds to the query_event type, and the DML operation in row format corresponds to the rows_event type.
First,
From: http://blog.csdn.net/missmecn/archive/2008/10/06/3019798.aspx related articles:
MySQL database lock
Several lock modes in Oracle
Recommendation circle:Pipboy More related recommendations
The Study of the lock mechanism requires two
1ObjectiveThe database large concurrency operation takes into account the deadlock and lock performance issues. See online most vague (especially update lock), so here is a concise explanation, for the following description of the convenient, here
What is a transaction?In the MySQL environment, a transaction is composed of one or more SQL statements as a separate unit. Each SQL statement in this unit is mutually dependent, and the unit as a whole is inseparable. If a statement in a unit
Transactions are all about atomicity. The concept of Atomicity refers to the ability to treat things as a unit. From the database perspective, it refers to the minimum combination of one or more statements that should be executed or not executed at
ASP tutorials. NET and SQL processing1: Write directly to SQLWrite SQL statements directly, the SQL statement itself can have transactions, have transactions, in the stored procedure using the BEGIN TRAN,COMMIT Tran rollback TRAN. Advantages:
Strictly speaking, these three production methods have certain intersections, and their positioning methods will be explained below
Strictly speaking, these three production methods have certain intersections, and their positioning methods will be
MySQL transaction processing and application analysis transaction processing are widely used in various management systems. for example, in the personnel management system, many database synchronization operations require transaction processing. For
Several steps of MySQL transaction processing:1. Turn off automatic submission2. Open transaction Processing3. The exception will automatically throw the exception prompt and roll back4. Turn on automatic submission
Note: MySQL has only this innodb
Transaction processing is a very good feature in mysql. For example, if you do not use Transaction Processing When deleting a large amount of data, some deletion failures may lead to incomplete data. If you use transaction processing, such problems
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.