MySQL Insert performance degrades on a large table

前端 未结 6 870
粉色の甜心
粉色の甜心 2020-12-30 02:48

I\'m working with a huge table which has 250+ million rows. The schema is simple.

CREATE TABLE MyTable (
        id BIGINT PRIMARY KEY AUTO_INCREMENT,
              


        
6条回答
  •  醉话见心
    2020-12-30 03:01

    From my experience with Innodb it seems to hit a limit for write intensive systems even if you have a really optimized disk subsystem. I am surprised you managed to get it up to 100GB.

    This is what twitter hit into a while ago and realized it needed to shard - see http://github.com/twitter/gizzard.

    This all depends on your use cases but you could also move from mysql to cassandra as it performs really well for write intensive applications.(http://cassandra.apache.org)

提交回复
热议问题