12
返回列表 发新帖
楼主: 〇〇

[转载] MySQL Community Server 5.5.6-rc 放出

[复制链接]
论坛徽章:
407
紫蛋头
日期:2012-05-21 10:19:41迷宫蛋
日期:2012-06-06 16:02:49奥运会纪念徽章:足球
日期:2012-06-29 15:30:06奥运会纪念徽章:排球
日期:2012-07-10 21:24:24鲜花蛋
日期:2012-07-16 15:24:59奥运会纪念徽章:拳击
日期:2012-08-07 10:54:50奥运会纪念徽章:羽毛球
日期:2012-08-21 15:55:33奥运会纪念徽章:蹦床
日期:2012-08-21 21:09:51奥运会纪念徽章:篮球
日期:2012-08-24 10:29:11奥运会纪念徽章:体操
日期:2012-09-07 16:40:00
11#
 楼主| 发表于 2010-9-21 10:30 | 只看该作者
mysql> create table t5_3_1 as
    -> select ID1,
    -> sum(case when ID1<>0 then cnt end) c1,
    -> sum(case when ha3=1   then cnt end) c2,
    -> sum(case when ha3=2   then cnt end) c4,
    -> sum(case when ha3=3   then cnt end) c6,
    -> sum(case when ha3=4   then cnt end) c8
    -> from (
    -> select substr(ID,1,6) ID1,count(*)cnt,ha3
    -> from hu
    -> group by ID1,ha3
    -> )a
    -> group by ID1
    -> order by ID1 ;
Query OK, 25 rows affected (9.49 sec)
Records: 25  Duplicates: 0  Warnings: 0

使用道具 举报

回复
论坛徽章:
52
2015年新春福章
日期:2015-03-06 11:57:312012新春纪念徽章
日期:2012-02-13 15:12:252012新春纪念徽章
日期:2012-02-13 15:12:25生肖徽章2007版:龙
日期:2012-02-07 10:33:22生肖徽章2007版:龙
日期:2012-02-07 10:33:22生肖徽章2007版:龙
日期:2012-02-07 10:33:22生肖徽章2007版:龙
日期:2012-02-07 10:33:22生肖徽章2007版:龙
日期:2012-02-07 10:33:22生肖徽章2007版:龙
日期:2012-02-07 10:32:552012新春纪念徽章
日期:2012-02-07 09:59:35
12#
发表于 2010-9-21 11:43 | 只看该作者
原帖由 〇〇 于 2010-9-21 10:12 发表
汇总性能也不错,但不知怎么用上并行
mysql> create table t5_3_0 as
    -> select ID,
    -> sum(case when ID0 then cnt end) c1,
    -> sum(case when ha3=1   then cnt end) c2,
    -> sum(case when ha3=2   then cnt end) c4,
    -> sum(case when ha3=3   then cnt end) c6,
    -> sum(case when ha3=4   then cnt end) c8
    -> from (
    -> select substr(ID,1,2) ID,count(*)cnt,ha3
    -> from hu
    -> group by substr(ID,1,2),ha3
    -> )a
    -> group by ID
    -> order by ID ;
Query OK, 1 row affected (9.14 sec)
Records: 1  Duplicates: 0  Warnings: 0



加强了对SMP架构的支持,以及其写I/O改进方法,所以导入也会快很多....要是InnoDB引擎哦...

使用道具 举报

回复
论坛徽章:
52
2015年新春福章
日期:2015-03-06 11:57:312012新春纪念徽章
日期:2012-02-13 15:12:252012新春纪念徽章
日期:2012-02-13 15:12:25生肖徽章2007版:龙
日期:2012-02-07 10:33:22生肖徽章2007版:龙
日期:2012-02-07 10:33:22生肖徽章2007版:龙
日期:2012-02-07 10:33:22生肖徽章2007版:龙
日期:2012-02-07 10:33:22生肖徽章2007版:龙
日期:2012-02-07 10:33:22生肖徽章2007版:龙
日期:2012-02-07 10:32:552012新春纪念徽章
日期:2012-02-07 09:59:35
13#
发表于 2010-9-21 11:44 | 只看该作者
另外看过其RC版本的BUG LIST,看来到GA版本出来还有不少差距,因为BUG不少.....

使用道具 举报

回复
论坛徽章:
407
紫蛋头
日期:2012-05-21 10:19:41迷宫蛋
日期:2012-06-06 16:02:49奥运会纪念徽章:足球
日期:2012-06-29 15:30:06奥运会纪念徽章:排球
日期:2012-07-10 21:24:24鲜花蛋
日期:2012-07-16 15:24:59奥运会纪念徽章:拳击
日期:2012-08-07 10:54:50奥运会纪念徽章:羽毛球
日期:2012-08-21 15:55:33奥运会纪念徽章:蹦床
日期:2012-08-21 21:09:51奥运会纪念徽章:篮球
日期:2012-08-24 10:29:11奥运会纪念徽章:体操
日期:2012-09-07 16:40:00
14#
 楼主| 发表于 2010-9-21 13:05 | 只看该作者
关于多核的说法
http://dev.mysql.com/doc/refman/5.5/en/smp-improvements.html

1.5.1. Scalability Improvements
MySQL 5.5 modifications improve performance on SMP systems to increase scalability on multi-core systems. The changes affect InnoDB locking and memory management.
MySQL 5.5 incorporates changes in InnoDB that improve the performance of RW-locks by using atomic CPU instructions (on platforms where they are available), rather than less scalable mutexes. It is also possible for InnoDB memory allocation to be disabled and replaced by the normal malloc library, or by a different library that implements malloc such as tcmalloc on Linux or mtalloc on Solaris.
The reimplementation of RW-locks requires atomic instructions. A status variable, Innodb_have_atomic_builtins, shows whether the server was built with atomic instructions

使用道具 举报

回复
论坛徽章:
2
ITPUB9周年纪念徽章
日期:2010-10-08 09:31:222011新春纪念徽章
日期:2011-02-18 11:43:35
15#
发表于 2010-9-21 13:16 | 只看该作者
我安装过5.5.4-M3版本,bug确实不少

5.5版本是原来的6.0版本来的,吸收了很多开源的patch,光这些patch的整合和优化又得一段时间了,再加上给复制增加的复杂度,应该还得不短的时间用于生产了

另外最近的L2 cache也很热,percona已经在5.1.49已经增加了这个功能,不知道最后mysql会不会增加进去

感觉percona的版本很有诱惑力

使用道具 举报

回复
论坛徽章:
2
ITPUB9周年纪念徽章
日期:2010-10-08 09:31:222011新春纪念徽章
日期:2011-02-18 11:43:35
16#
发表于 2010-9-21 13:17 | 只看该作者
原帖由 〇〇 于 2010-9-21 13:05 发表
关于多核的说法
http://dev.mysql.com/doc/refman/5.5/en/smp-improvements.html

1.5.1. Scalability Improvements
MySQL 5.5 modifications improve performance on SMP systems to increase scalability on multi-core systems. The changes affect InnoDB locking and memory management.
MySQL 5.5 incorporates changes in InnoDB that improve the performance of RW-locks by using atomic CPU instructions (on platforms where they are available), rather than less scalable mutexes. It is also possible for InnoDB memory allocation to be disabled and replaced by the normal malloc library, or by a different library that implements malloc such as tcmalloc on Linux or mtalloc on Solaris.
The reimplementation of RW-locks requires atomic instructions. A status variable, Innodb_have_atomic_builtins, shows whether the server was built with atomic instructions



smp的patch好像是google贡献的,之前看有测试16 core的cpu

使用道具 举报

回复
论坛徽章:
9
ITPUB十周年纪念徽章
日期:2011-11-01 16:25:512012新春纪念徽章
日期:2012-01-04 11:56:44ITPUB 11周年纪念徽章
日期:2012-10-09 18:14:482013年新春福章
日期:2013-02-25 14:51:242014年新春福章
日期:2014-02-18 16:44:08马上有对象
日期:2014-02-18 16:44:08
17#
发表于 2010-9-22 13:31 | 只看该作者
希望明年3月份能够出来.

使用道具 举报

回复

您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

TOP技术积分榜 社区积分榜 徽章 团队 统计 知识索引树 积分竞拍 文本模式 帮助
  ITPUB首页 | ITPUB论坛 | 数据库技术 | 企业信息化 | 开发技术 | 微软技术 | 软件工程与项目管理 | IBM技术园地 | 行业纵向讨论 | IT招聘 | IT文档
  ChinaUnix | ChinaUnix博客 | ChinaUnix论坛
CopyRight 1999-2011 itpub.net All Right Reserved. 北京盛拓优讯信息技术有限公司版权所有 联系我们 未成年人举报专区 
京ICP备16024965号-8  北京市公安局海淀分局网监中心备案编号:11010802021510 广播电视节目制作经营许可证:编号(京)字第1149号
  
快速回复 返回顶部 返回列表