Coder Social home page Coder Social logo

Online/inplace DDL operations about mysql-5.6 HOT 5 OPEN

facebook avatar facebook commented on April 19, 2024
Online/inplace DDL operations

from mysql-5.6.

Comments (5)

alxyang avatar alxyang commented on April 19, 2024

https://dev.mysql.com/doc/refman/5.6/en/innodb-create-index-overview.html

we need to revisit exactly which of these we can/want to support.
From what I understand, we want to make CREATE INDEX fully online (still allows DML statements to occur).

Also on the roadmap would be renaming columns, default value changes, changing default auto increment value, adding/dropping columns.
For adding/dropping columns, it's unclear to me exactly how online DDL will be faster since it still needs to copy the table under the hood, even according to the documentation above for InnoDB. Need to investigate more here.

from mysql-5.6.

baotiao avatar baotiao commented on April 19, 2024

hello @alxyang . what's going on with online DDL feature?

from mysql-5.6.

yoshinorim avatar yoshinorim commented on April 19, 2024

Currently we have higher priorities for 1. supporting MyRocks in MySQL 8.0 and 2. improving MyRocks/RocksDB performance. About online schema change, there are several existing solutions like https://github.com/github/gh-ost so it is not the highest priority. We will be likely to start supporting major features like online schema change based on MySQL 8.0, not 5.6.

from mysql-5.6.

baotiao avatar baotiao commented on April 19, 2024

@yoshinorim Thank you. we are going to add this feature in MySQL 5.7, if it work perfectly, we can summit a path for you

from mysql-5.6.

yoshinorim avatar yoshinorim commented on April 19, 2024

@baotiao That is great. Please submit a pull request once it is ready!

from mysql-5.6.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.