circle-info
Webinar | The Great Database Exodus: Navigating Strategic Risk in the Post-Oracle MySQL Era
Register Nowarrow-up-right
LogoLogo
search
Ctrlk
Download MariaDBContact Us
  • Home
  • MariaDB Platform
  • Server
  • MaxScale
  • Analytics
  • Galera Cluster
  • Connectors
  • Tools
  • MariaDB Cloud
  • Release Notes
  • General Resources
GitBook Assistant
GitBook Assistant
Working...Thinking...
GitBook Assistant
Good evening

I'm here to help you with the docs.

Ctrli
AI Based on your contextquestion-circle
LogoLogo
  • serverMariaDB Server Documentation
  • rabbit-runningQuickstart Guides
  • tvServer Usage
  • gearServer Management
  • shield-halvedSecurity
  • house-blankArchitecture
  • wrenchClients & Utilities
  • chart-mixedHA & Performance
  • paperclipReference
    • SQL Structure
    • SQL Statements
    • SQL Functions
    • Data Types
    • Plugins
    • System Tables
    • Error Codes
    • Client/Server Protocol
      • Protocol Data Types
      • MariaDB Protocol Differences with MySQL
      • 0 - Packet
      • 1 - Connecting
      • 2 - Text Protocol
      • 3 - Binary Protocol (Prepared Statements)
      • 4 - Server Response Packets
      • Replication Protocol
        • 1-Binlog Events
        • 2-Binlog Event Header
        • 3-Binlog Network Stream
        • 4-Semi-Sync Replication
        • 5-Replica Registration
        • ANNOTATE_ROWS_EVENT
        • BEGIN_LOAD_QUERY_EVENT
        • BINLOG_CHECKPOINT_EVENT
        • COM_BINLOG_DUMP
        • COM_REGISTER_SLAVE
        • EXECUTE_LOAD_QUERY_EVENT
        • Fake GTID_LIST event
        • Fake ROTATE_EVENT
        • FORMAT_DESCRIPTION_EVENT
        • GTID_EVENT
        • GTID_LIST_EVENT
        • HEARTBEAT_LOG_EVENT
        • INTVAR_EVENT
        • QUERY_EVENT
        • RAND_EVENT
        • ROTATE_EVENT
        • ROWS_EVENT_V1/V2, ROWS_COMPRESSED_EVENT_V1
        • START_ENCRYPTION_EVENT
        • STOP_EVENT
        • TABLE_MAP_EVENT
        • USER_VAR_EVENT
        • XA_PREPARE_LOG_EVENT
        • XID_EVENT
    • Product Development
gitbookPowered by GitBook
block-quoteOn this pagechevron-down
  1. paperclipReferencechevron-right
  2. Client/Server Protocol

Replication Protocol

Understand the replication protocol. This section details how primary and replica servers communicate, exchanging binary log events to ensure data consistency and enable high availability.

1-Binlog Eventschevron-right2-Binlog Event Headerchevron-right3-Binlog Network Streamchevron-right4-Semi-Sync Replicationchevron-right5-Replica Registrationchevron-rightANNOTATE_ROWS_EVENTchevron-rightBEGIN_LOAD_QUERY_EVENTchevron-rightBINLOG_CHECKPOINT_EVENTchevron-rightCOM_BINLOG_DUMPchevron-rightCOM_REGISTER_SLAVEchevron-rightEXECUTE_LOAD_QUERY_EVENTchevron-rightFake GTID_LIST eventchevron-rightFake ROTATE_EVENTchevron-rightFORMAT_DESCRIPTION_EVENTchevron-rightGTID_EVENTchevron-rightGTID_LIST_EVENTchevron-rightHEARTBEAT_LOG_EVENTchevron-rightINTVAR_EVENTchevron-rightQUERY_EVENTchevron-rightRAND_EVENTchevron-rightROTATE_EVENTchevron-rightROWS_EVENT_V1/V2, ROWS_COMPRESSED_EVENT_V1chevron-rightSTART_ENCRYPTION_EVENTchevron-rightSTOP_EVENTchevron-rightTABLE_MAP_EVENTchevron-rightUSER_VAR_EVENTchevron-rightXA_PREPARE_LOG_EVENTchevron-rightXID_EVENTchevron-right

Last updated 7 months ago

Was this helpful?

LogoLogo

Products

  • Enterprise Platform
  • Community Server
  • Download MariaDB
  • Pricing

Support

  • Customer Login
  • Technical Support
  • Remote DBA
  • Professional Services

Resources

  • MariaDB Blog
  • Webinars
  • Customer Stories
  • MariaDB Events
  • Documentation
  • Developer Hub

Company

  • About MariaDB
  • Newsroom
  • Leadership
  • MariaDB Careers
  • Legal
  • Privacy Policy

© 2026 MariaDB. All rights reserved.

Was this helpful?