MySQL 5.5 Community Server
MySQL 5.6 Community Server
Percona Configuration Wizard
XtraBackup 搭建主从复制
Great Sites on MySQL
Percona
MySQL Performance Blog
Severalnines
推荐管理工具
Sequel Pro
phpMyAdmin
推荐书目
MySQL Cookbook
MySQL 相关项目
MariaDB
Drizzle
参考文档
http://mysql-python.sourceforge.net/MySQLdb.html
vczyh
0.05D
V2EX  ›  MySQL

MySQL 作为 Binlog Server 的可行性?

  •  
  •   vczyh · Dec 14, 2021 · 2957 views
    This topic created in 1611 days ago, the information mentioned may be changed or developed.

    将 binlog 文件放到 MySQL 的 binlog 目录,启动 MySQL 作为 Master ,请问别的 Slave 从 Master 拉取 binlog 可不可以?

    5 replies    2021-12-15 10:08:58 +08:00
    we6100
        1
    we6100  
       Dec 14, 2021 via iPhone
    mysqlbinlog -R 缺点是断开后,不能自动重连
    lance6716
        2
    lance6716  
       Dec 14, 2021 via iPhone
    为啥要这么做呢,有什么场景
    vczyh
        3
    vczyh  
    OP
       Dec 15, 2021
    @lance6716 vitess 时间点恢复需要一个 binlog server ,我们现在就是想着用 MySQL 做临时的 Master ,用完删除就好。
    vczyh
        4
    vczyh  
    OP
       Dec 15, 2021
    不考虑性能,请问大家这样做有什么问题没?
    leonhao
        5
    leonhao  
       Dec 15, 2021
    能不能直接把 log 放到 slave 的 relay log 里?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3278 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 13:32 · PVG 21:32 · LAX 06:32 · JFK 09:32
    ♥ Do have faith in what you're doing.