Tag

binlog

0 views collected around this technical thread.

IT Services Circle
IT Services Circle
May 16, 2025 · Databases

Internship Guidance, ByteDance Three‑Round Interview Experience, MySQL Replication Mechanics, and I/O Model Overview

The article combines practical advice for fresh graduates seeking internships and interview tips, shares a detailed ByteDance three‑round backend interview experience, explains MySQL master‑slave replication stages, binlog formats, and compares blocking, non‑blocking, multiplexed, and asynchronous I/O models.

I/OInterviewMySQL
0 likes · 15 min read
Internship Guidance, ByteDance Three‑Round Interview Experience, MySQL Replication Mechanics, and I/O Model Overview
Java Tech Enthusiast
Java Tech Enthusiast
May 12, 2025 · Databases

Understanding the Write Order of Undo Log, Redo Log, and Binlog in MySQL Transactions

This article explains the sequential write process of Undo Log, Redo Log, and Binlog during MySQL transaction execution and commit phases, describes the involved caches, two‑phase commit rationale, and outlines key configuration parameters for each log type.

MySQLTransactionTwo-Phase Commit
0 likes · 10 min read
Understanding the Write Order of Undo Log, Redo Log, and Binlog in MySQL Transactions
转转QA
转转QA
Apr 27, 2025 · Databases

Design and Implementation of a General Data Synchronization Solution for Online and Offline Databases

This article analyzes the pain points of inconsistent online‑offline configurations, proposes three synchronization schemes—including timed batch sync, automatic real‑time binlog‑MQ sync, and manual selective sync—compares their applicability, risks and performance, and presents practical deployment results across multiple projects using MySQL and TiDB.

Data SynchronizationMQMySQL
0 likes · 14 min read
Design and Implementation of a General Data Synchronization Solution for Online and Offline Databases
Lobster Programming
Lobster Programming
Apr 10, 2025 · Databases

Why Does MySQL Use Two-Phase Commit? Understanding Redo Log and Binlog Coordination

MySQL employs a two‑phase commit to synchronize InnoDB’s redo log with the server’s binlog, ensuring atomicity during transaction commits and preventing data inconsistencies during crash recovery or replication, while also introducing lock contention, extra I/O, and potential blocking.

MySQLTransactionTwo-Phase Commit
0 likes · 5 min read
Why Does MySQL Use Two-Phase Commit? Understanding Redo Log and Binlog Coordination
Aikesheng Open Source Community
Aikesheng Open Source Community
Apr 8, 2025 · Databases

Using MySQL Flashback Tools to Roll Back DML Mistakes

This article explains how to use MySQL flashback utilities such as binlog2sql, my2sql, and MyFlash to recover from accidental DML operations, covering supported SQL types, required binlog settings, tool features, command‑line usage examples, and best‑practice recommendations for preventing future data loss.

DMLData RecoveryFlashback
0 likes · 14 min read
Using MySQL Flashback Tools to Roll Back DML Mistakes
Aikesheng Open Source Community
Aikesheng Open Source Community
Mar 26, 2025 · Databases

Analysis of OBLogProxy Failure in Binlog Mode and Its Resolution

This article examines a failure case of OceanBase's OBLogProxy service in Binlog mode, detailing background conditions, status checks, log analysis, the root cause of timestamp mismatches, and provides step‑by‑step remediation procedures to restore normal binlog processing.

LogProxyOBLogProxyOceanBase
0 likes · 10 min read
Analysis of OBLogProxy Failure in Binlog Mode and Its Resolution
Aikesheng Open Source Community
Aikesheng Open Source Community
Mar 4, 2025 · Databases

Troubleshooting Incremental Data Sync Failure in OceanBase OBLogProxy Binlog Mode

This article details the background, configuration, and step‑by‑step troubleshooting process for a data pipeline that replaces a MySQL source with OceanBase using OBLogProxy in binlog mode, explains why downstream reads missed incremental data, and provides conclusions and optimization measures.

Data SynchronizationDatabase TroubleshootingFlink CDC
0 likes · 12 min read
Troubleshooting Incremental Data Sync Failure in OceanBase OBLogProxy Binlog Mode
Java Tech Enthusiast
Java Tech Enthusiast
Jan 8, 2025 · Databases

Recovering Accidentally Deleted MySQL Data Using Binlog

To recover accidentally deleted MySQL rows, ensure binary logging is enabled and set to ROW mode, locate the appropriate binlog files, use mysqlbinlog (or tools like binlog2sql) to extract the original INSERT events within a time window, and replay or reconstruct them to restore the data.

Data RecoveryMySQLSQL
0 likes · 16 min read
Recovering Accidentally Deleted MySQL Data Using Binlog
Architect
Architect
Jan 2, 2025 · Databases

Data Synchronization Strategies Between MySQL and Elasticsearch

This article explains why MySQL alone struggles with large‑scale queries, introduces Elasticsearch as a complementary search engine, and compares several synchronization approaches—including synchronous and asynchronous dual‑write, Logstash, Binlog, Canal, and Alibaba Cloud DTS—detailing their implementations, advantages, disadvantages, and suitable use cases.

CanalDTSData Synchronization
0 likes · 16 min read
Data Synchronization Strategies Between MySQL and Elasticsearch
IT Services Circle
IT Services Circle
Dec 21, 2024 · Databases

Understanding MySQL Architecture: Storage Engine, Buffer Pool, Logs, and Indexes

This article explains how MySQL stores and manages data by introducing the InnoDB storage engine, its buffer pool, data pages, B+Tree and adaptive hash indexes, change buffer, undo/redo logs, binlog, and the server layer that parses, optimizes, and executes SQL statements.

Buffer PoolIndexesInnoDB
0 likes · 13 min read
Understanding MySQL Architecture: Storage Engine, Buffer Pool, Logs, and Indexes
Top Architect
Top Architect
Dec 19, 2024 · Databases

MySQL to Elasticsearch Data Synchronization Strategies and Tools

This article examines various methods for synchronizing MySQL data with Elasticsearch, including synchronous and asynchronous dual writes, Logstash pipelines, binlog streaming, and Alibaba Cloud DTS, outlining implementation approaches, advantages, disadvantages, and suitable application scenarios for each solution.

CanalDTSData Synchronization
0 likes · 15 min read
MySQL to Elasticsearch Data Synchronization Strategies and Tools
Efficient Ops
Efficient Ops
Dec 18, 2024 · Databases

Master MySQL Data Recovery: Full Restores, Point‑In‑Time, and Flashback Techniques

This guide explains how to prevent data loss in MySQL by enabling backups and binlog, performing full restores with mysqldump or xtrabackup, executing point‑in‑time recovery, restoring individual tables, skipping erroneous SQL statements, and using flashback tools like binlog2sql and MyFlash.

BackupData RecoveryFlashback
0 likes · 15 min read
Master MySQL Data Recovery: Full Restores, Point‑In‑Time, and Flashback Techniques
Zhuanzhuan Tech
Zhuanzhuan Tech
Dec 13, 2024 · Databases

Understanding MySQL Architecture and Log Mechanisms for ACID Transactions

This article provides a comprehensive overview of MySQL's layered architecture, the functions and core components of the server layer, and detailed explanations of Undo Log, Redo Log, and Binlog mechanisms that together ensure the ACID properties of transactions, including practical execution flows for queries and updates.

ACIDDatabase ArchitectureMySQL
0 likes · 29 min read
Understanding MySQL Architecture and Log Mechanisms for ACID Transactions
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Nov 22, 2024 · Backend Development

How to Sync MySQL to Redis in Real-Time with Spring Boot 3 and mysql-binlog-connector-java

This article demonstrates how to achieve real‑time synchronization of MySQL data to Redis using Spring Boot 3, the open‑source mysql‑binlog‑connector‑java library, and optional JMX exposure, providing step‑by‑step setup, code examples for parsing binlog events, listening to changes, and configuring Maven dependencies.

JavaMySQLRedis
0 likes · 10 min read
How to Sync MySQL to Redis in Real-Time with Spring Boot 3 and mysql-binlog-connector-java
Top Architect
Top Architect
Nov 17, 2024 · Databases

Data Synchronization Strategies Between MySQL and Elasticsearch

This article explains why MySQL alone may struggle with large‑scale, complex queries, introduces Elasticsearch as a high‑performance search engine, and compares several synchronization approaches—including synchronous and asynchronous dual‑write, Logstash, Binlog, Canal, and Alibaba Cloud DTS—detailing their advantages, disadvantages, and suitable scenarios.

CanalDTSData Synchronization
0 likes · 14 min read
Data Synchronization Strategies Between MySQL and Elasticsearch
Architect's Guide
Architect's Guide
Oct 1, 2024 · Databases

Efficient Full‑Table Updates in MySQL: Handling Row‑Based Binlog, Deep Pagination, and Batch Processing

The article explains why executing a full‑table UPDATE on large MySQL tables using row‑based binlog can overload replication, discusses the inefficiencies of deep pagination and IN clauses, and presents a batch‑processing strategy that leverages SQL_NO_CACHE and FORCE INDEX to safely and efficiently migrate data.

Full Table UpdateMySQLPerformance Optimization
0 likes · 8 min read
Efficient Full‑Table Updates in MySQL: Handling Row‑Based Binlog, Deep Pagination, and Batch Processing
Selected Java Interview Questions
Selected Java Interview Questions
Sep 21, 2024 · Databases

Understanding InnoDB Storage Engine: Logs, Buffer Pool, and Data Write Process

This article explains the core components of MySQL's InnoDB storage engine—including undo log, redo log, buffer pool, change buffer, and binlog—detailing their roles in data writing, crash recovery, MVCC, and master‑slave synchronization, and describing related flushing strategies and LRU management.

Buffer PoolDatabase InternalsInnoDB
0 likes · 11 min read
Understanding InnoDB Storage Engine: Logs, Buffer Pool, and Data Write Process
360 Zhihui Cloud Developer
360 Zhihui Cloud Developer
Sep 11, 2024 · Databases

Upgrade Pika to 3.5.x: Key New Features, Migration Guide & Rollback Tips

This article introduces Pika 3.5.x’s major enhancements—including a new sync mechanism, expanded Redis command support, RocksDB upgrades, BlobDB, containerization, observability tools, ACL and transaction support—while providing a step‑by‑step upgrade procedure, optional data synchronization, and two rollback strategies for safe migration.

Database upgradePikaRedis compatibility
0 likes · 17 min read
Upgrade Pika to 3.5.x: Key New Features, Migration Guide & Rollback Tips
Selected Java Interview Questions
Selected Java Interview Questions
Sep 2, 2024 · Databases

Optimizing Full‑Table Updates in MySQL with Row‑Based Binlog: Strategies and Best Practices

This article explains the challenges of executing full‑table UPDATE statements on large MySQL tables using row‑based binlog replication, analyzes deep pagination issues, and presents a batch‑processing strategy with FORCE INDEX, SQL_NO_CACHE and controlled rate limiting to safely migrate data at scale.

Full Table UpdateMySQLPerformance Optimization
0 likes · 8 min read
Optimizing Full‑Table Updates in MySQL with Row‑Based Binlog: Strategies and Best Practices