› 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
Livid
396.81D
544.24D
V2EX  ›  MySQL

MySQL Partition 在单个 Partition 记录数达到什么数量级的时候会有性能帮助呢?

  •  
  •   Livid ·
    PRO
    · Jun 6, 2012 · 4929 views
    This topic created in 5225 days ago, the information mentioned may be changed or developed.
    并且,另外一个问题是,对于单个 Partition 而言,记录数造成的性能上的一个极限是?
    2 replies  •  1970-01-01 08:00:00 +08:00
    napoleonu
        1
    napoleonu  
       Jul 17, 2012
    个人觉得 OLTP 环境下 MySQL Partition 没什么作用。就目前硬件资源的价格以及用户对反应速度的需求,OLTP 环境下,把所有热点数据载入内存已经是标准需求了。数据可以全部载入内存了,文件再大也无所谓了。

    对于 OLAP 环境,MySQL Partition 的目的是防止内存不够而文件过大造成文件系统性能低。所以是否用 MySQL Partition 也不是根据记录数来决定的,而是根据单表文件体积来定的,就上次他们讨论来看,似乎20G的时候分一下性能会提升不少。
    arthur8845
        2
    arthur8845  
       Jul 19, 2012
    OLAP环境下,无论文件大小按时间分区一下也会有帮助,OLAP一般都有个时间性,总是计算一段时间内的数据
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2906 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 03:02 · PVG 11:02 · LAX 20:02 · JFK 23:02
    ♥ Do have faith in what you're doing.