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
beautifulSpring
V2EX  ›  MySQL

mysql 数据库在访问量很大的情况下,如果想修改数据表中的某个字段或者添加一个字段,怎么做,对数据库没有破坏影响?

  •  
  •   beautifulSpring · Sep 19, 2017 · 5741 views
    This topic created in 3156 days ago, the information mentioned may be changed or developed.
    9 replies    2017-09-20 17:11:51 +08:00
    torbrowserbridge
        1
    torbrowserbridge  
       Sep 19, 2017 via Android
    新建一个表。
    wy315700
        2
    wy315700  
       Sep 19, 2017
    pt-online-schema-change
    beautifulSpring
        3
    beautifulSpring  
    OP
       Sep 19, 2017
    @torbrowserbridge 在不添加表的前提下
    beautifulSpring
        4
    beautifulSpring  
    OP
       Sep 19, 2017
    @wy315700 啊哦,第一次听说在线修改表 ,我查查
    tb4649120073rs
        5
    tb4649120073rs  
       Sep 19, 2017
    gh-ost
    tb4649120073rs
        6
    tb4649120073rs  
       Sep 19, 2017
    neoblackcap
        7
    neoblackcap  
       Sep 19, 2017
    @beautifulSpring 不添加表,那停机。
    neoblackcap
        8
    neoblackcap  
       Sep 19, 2017
    @beautifulSpring 当然 Tidb 他们说支持在线 DDL 操作不锁表,但是这样就需要换数据库
    whistle
        9
    whistle  
       Sep 20, 2017
    @wy315700 正解
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1209 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 38ms · UTC 23:28 · PVG 07:28 · LAX 16:28 · JFK 19:28
    ♥ Do have faith in what you're doing.