资源收集-mysql优化

mysql优化

  • mysql常用优化套路 可以参考知乎的这篇文章
    https://www.zhihu.com/question/19719997/answer/81930332
  • varchar vs char
    https://dev.mysql.com/doc/refman/5.7/en/char.html
  • mysql 数据类型大小
    https://dev.mysql.com/doc/refman/5.7/en/string-type-overview.html
    https://dev.mysql.com/doc/refman/5.7/en/integer-types.html
  • 水平拆分 vs 垂直拆分
  • 什么是聚簇索引?
  • 索引相关
  • 锁相关内容
    https://www.cnblogs.com/chenqionghe/p/4845693.html
  • 脏读 不可重复读 是什么意思?
    脏读是指读到了别人未commit的数据
    不可重复读 是事务中两次查询同一个东西结果不一致
  • sqlalchemy的事务控制
    http://www.codexiu.cn/python/SQLAlchemy%E5%9F%BA%E7%A1%80%E6%95%99%E7%A8%8B/73/531/
  • 共享锁,排它锁
    https://www.hollischuang.com/archives/923
  • 共享锁的官方文档
    https://dev.mysql.com/doc/refman/5.7/en/innodb-locking-reads.html

你可能感兴趣的:(资源收集-mysql优化)