89475

89475



Replication and truncate table

TRUNCATE TABLE is normally regarded as a DML statement, and so would be expected to be

logged and replicated using row-based format when the binary logging modę is ROW

or MIXED.

However this caused issues when logging or replicating, in STATEMENT or MIXED modę, tables that

used transactional storage engines such as InnoDB when the transaction isolation level was RE AD

COMMITTED or READ UNCOMMITTED, which precludes statement-based logging. TRUNCATE TABLE is treated for purposes of logging and replication as DDL rather than DML so that

it can be logged and replicated as a statement. However, the effects of the statement as applicable

to InnoDB and other transactional tables on replication slaves still followthe rules described in

Section 13.1.33, “TRUNCATE TABLE Syntax" governing such tables. (Bug #36763)



Wyszukiwarka

Podobne podstrony:
Table 1: SWOT Aualrsis of Indian Medical Tourism STRENGTHS What sftengths be able to ac.hieve
The main disadvantages of using a Computer is that staring at a screen for long periods can be harmf
sized. Case histories and examples will be presented to illustrate teehnique$. Contact:   
MAINTA1 (2) PCX What is the main idea of the talk ? What would be the best tttlefor the talk ?
P1190299 ‘54 Irena I arnik hfe of locml populałion* in ihc bcginning of thc Iron Age. and il can be
histories and examples will be presented to illustrate techniques. Contact:    Dr. Ro
050 (10) Herę is an a/hmoon project łhat transforms into a wonderful, useful pair oj cowy sli/>/l
Memory usage and recovery. Memory consumed when data is inserted into an NDB table is not automatica
Replication with Differing Table Definitions on Master and Slave Source and target tables for replic
00424 ?4589320c2ec691373ff85747154741 428 Pignatiello & Ramberg the process is in-control or is
Image (11) Table A: Police service strength as at 31 March 2007, England and Wales Rank Ali Staff
Implementation Details of Online DDL Each alter table operation for an innoDE table is governed by s
Locking Options for Online DDL While an InnoDB table is being changed by a DDL operation, the table
About Tables The table is the basie unit of data storage in an Oracle database. It holds all user-ac
Replication and Master or Slave Shutdowns It is safe to shut down a master server and restart it lat
Real Poynting vector Because of its importance this vector ExH is called the Poynting Vector and is

więcej podobnych podstron