- 论坛徽章:
- 1
|
原帖由 showsa 于 2007-7-29 16:35 发表 ![]()
你可以去看 mysql cluster 优化一节,里面有相对详细的介绍
范围查询是mysql cluster的弱项,因为不同的key对应的记录存放在不同的data group上
手册中是这么说的
The data in MySQL Cluster is partitioned based on a hash of the PRIMARY KEY column(s).
This means the primary key is implemented through a hash index type. A hash index can be
used to resolve queries that are used with equals but cannot be used for range scans.
但是手册中还这么说了
All the queries that could be resolved with a B-tree index can also be resolved by using a Ttree
index. This includes all the normal range scans, such as less than, between, and greater
than. So if you are switching an application from MyISAM or InnoDB to MySQL Cluster,
it should continue to work the same for query plans.
[ 本帖最后由 qlks 于 2007-7-30 13:25 编辑 ] |
|