Webinar | The New MariaDB Enterprise Platform for Agentic AI, Analytics, and Cloud
Register Now
LogoLogo
Ctrlk
Download MariaDBContact Us
  • Home
  • MariaDB Platform
  • Server
  • MaxScale
  • Analytics
  • Galera Cluster
  • Connectors
  • Tools
  • MariaDB Cloud
  • Release Notes
  • General Resources
  • MariaDB Server Documentation
  • Quickstart Guides
  • Server Usage
  • Server Management
  • Security
  • Architecture
  • Clients & Utilities
  • HA & Performance
  • Reference
    • 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
Powered by GitBook
On this page

Was this helpful?

  1. Reference
  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 Events2-Binlog Event Header3-Binlog Network Stream4-Semi-Sync Replication5-Replica RegistrationANNOTATE_ROWS_EVENTBEGIN_LOAD_QUERY_EVENTBINLOG_CHECKPOINT_EVENTCOM_BINLOG_DUMPCOM_REGISTER_SLAVEEXECUTE_LOAD_QUERY_EVENTFake GTID_LIST eventFake ROTATE_EVENTFORMAT_DESCRIPTION_EVENTGTID_EVENTGTID_LIST_EVENTHEARTBEAT_LOG_EVENTINTVAR_EVENTQUERY_EVENTRAND_EVENTROTATE_EVENTROWS_EVENT_V1/V2, ROWS_COMPRESSED_EVENT_V1START_ENCRYPTION_EVENTSTOP_EVENTTABLE_MAP_EVENTUSER_VAR_EVENTXA_PREPARE_LOG_EVENTXID_EVENT

Last updated 4 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

© 2025 MariaDB. All rights reserved.