安裝過程以及我中間遇到問題的總結都在這裡
之前記得把libmysqlclient
[root@localhost super
我遇到的問題如下
error while loading shared libraries: libmysqlclient
看到北京野狼的這個帖子
[root@localhost super
configure: error: installation or configuration problem: C++ compiler cannot create executables
沒有安裝C++編譯器
[root@localhost rpmpackage]# rpm
Preparing… ########################################### [
[root@localhost rpmpackage]# rpm
Preparing… ########################################### [
[root@localhost rpmpackage]# rpm
Preparing… ########################################### [
[root@localhost rpmpackage]# rpm
Preparing… ########################################### [
[root@localhost rpmpackage]# cd /sourcepackage/super
[root@localhost super
loading cache
checking for a BSD compatible install… /usr/bin/install
checking whether build environment is sane… yes
checking whether make sets ${MAKE}… yes
…
updating cache
creating
creating Makefile
creating src/Makefile
creating config
Building with the following options:
MySQL Support…… yes
PostgreSQL Support…… no
Oracle Support…… no
If this is not what you intended
Thanks for using super
然後make;make install
拷貝示例文件
[root@localhost super
修改用戶名和密碼為自己的
默認是測試MYISAM表的性能
[root@localhost smacks]# super
Error running query select count(*) from http_auth:Table
Creating table
Loading data from file
Table http_auth is now ready for the test
Query Barrel Report for client smacker
connect: max=
Query_type num_queries max_time min_time q_per_s
select_index
結果表示
下來測試innodb 表
進入MYSQL的SHELL
mysql> alter table http_auth engine innodb;
Query OK
Records:
[root@localhost smacks]# super
Query Barrel Report for client smacker
connect: max=
Query_type num_queries max_time min_time q_per_s
select_index
[root@localhost smacks]#
接下來測試集群的
mysql> alter table http_auth engine ndb;
Query OK
Records:
[root@localhost smacks]# super
Query Barrel Report for client smacker
connect: max=
Query_type num_queries max_time min_time q_per_s
select_index
看一下update的
[root@localhost smacks]# super
Table
Creating table
Loading data from file
Table http_auth is now ready for the test
Query Barrel Report for client smacker
connect: max=
Query_type num_queries max_time min_time q_per_s
select_index
update_index
這個測試結果怎麼表名MYISAM表的SELECT比INNODB的還差
From:http://tw.wingwit.com/Article/program/MySQL/201405/30870.html