>進入 1、安裝supersmack [url]http://vegan.net/tony/supersmack/[/url] 安裝過程以及我中間遇到問題的總結(jié)都在這里。 之前記得把libmysqlclient.so.16拷貝到/usr/lib中去,這" />

国产99久久精品_欧美日本韩国一区二区_激情小说综合网_欧美一级二级视频_午夜av电影_日本久久精品视频

最新文章專題視頻專題問答1問答10問答100問答1000問答2000關(guān)鍵字專題1關(guān)鍵字專題50關(guān)鍵字專題500關(guān)鍵字專題1500TAG最新視頻文章推薦1 推薦3 推薦5 推薦7 推薦9 推薦11 推薦13 推薦15 推薦17 推薦19 推薦21 推薦23 推薦25 推薦27 推薦29 推薦31 推薦33 推薦35 推薦37視頻文章20視頻文章30視頻文章40視頻文章50視頻文章60 視頻文章70視頻文章80視頻文章90視頻文章100視頻文章120視頻文章140 視頻2關(guān)鍵字專題關(guān)鍵字專題tag2tag3文章專題文章專題2文章索引1文章索引2文章索引3文章索引4文章索引5123456789101112131415文章專題3
問答文章1 問答文章501 問答文章1001 問答文章1501 問答文章2001 問答文章2501 問答文章3001 問答文章3501 問答文章4001 問答文章4501 問答文章5001 問答文章5501 問答文章6001 問答文章6501 問答文章7001 問答文章7501 問答文章8001 問答文章8501 問答文章9001 問答文章9501
當(dāng)前位置: 首頁 - 科技 - 知識百科 - 正文

對MYSQL進行壓力測試

來源:懂視網(wǎng) 責(zé)編:小采 時間:2020-11-09 08:09:51
文檔

對MYSQL進行壓力測試

對MYSQL進行壓力測試:歡迎進入Linux社區(qū)論壇,與200萬技術(shù)人員互動交流 >>進入 1、安裝supersmack [url]http://vegan.net/tony/supersmack/[/url] 安裝過程以及我中間遇到問題的總結(jié)都在這里。 之前記得把libmysqlclient.so.16拷貝到/usr/lib中去,這
推薦度:
導(dǎo)讀對MYSQL進行壓力測試:歡迎進入Linux社區(qū)論壇,與200萬技術(shù)人員互動交流 >>進入 1、安裝supersmack [url]http://vegan.net/tony/supersmack/[/url] 安裝過程以及我中間遇到問題的總結(jié)都在這里。 之前記得把libmysqlclient.so.16拷貝到/usr/lib中去,這

歡迎進入Linux社區(qū)論壇,與200萬技術(shù)人員互動交流 >>進入 1、安裝supersmack [url]http://vegan.net/tony/supersmack/[/url] 安裝過程以及我中間遇到問題的總結(jié)都在這里。 之前記得把libmysqlclient.so.16拷貝到/usr/lib中去,這樣make 的時候不用改MakeFile

歡迎進入Linux社區(qū)論壇,與200萬技術(shù)人員互動交流 >>進入

1、安裝supersmack

[url]http://vegan.net/tony/supersmack/[/url]

安裝過程以及我中間遇到問題的總結(jié)都在這里。

之前記得把libmysqlclient.so.16拷貝到/usr/lib中去,這樣make 的時候不用改MakeFile文件。

[root@localhost super-smack-1.3]# cp /usr/local/mysql/libmysqlclient.so.16 /usr/lib

我遇到的問題如下:

error while loading shared libraries: libmysqlclient.so.16: cannot open shared object file: No such file or directory

看到北京野狼的這個帖子:

[url]http://bbs.chinaunix.net/archiver/?tid-638662.html[/url]

[root@localhost super-smack-1.2]# ./configure --with-mysql

configure: error: installation or configuration problem: C++ compiler cannot create executables.

沒有安裝C++編譯器

[root@localhost rpmpackage]# rpm -ivh libc-client-2004g-2.2.1.i386.rpm

Preparing… ########################################### [100%]

1:libc-client ########################################### [100%]

[root@localhost rpmpackage]# rpm -ivh libc-client-devel-2004g-2.2.1.i386.rpm

Preparing… ########################################### [100%]

1:libc-client-devel ########################################### [100%]

[root@localhost rpmpackage]# rpm -ivh libstdc++-devel-4.1.1-52.el5.i386.rpm

Preparing… ########################################### [100%]

1:libstdc++-devel ########################################### [100%]

[root@localhost rpmpackage]# rpm -ivh gcc-c++-4.1.1-52.el5.i386.rpm

Preparing… ########################################### [100%]

1:gcc-c++ ########################################### [100%]

[root@localhost rpmpackage]# cd /sourcepackage/super-smack-1.2

[root@localhost super-smack-1.2]# ./configure --with-mysql

loading cache ./config.cache

checking for a BSD compatible install… /usr/bin/install -c

checking whether build environment is sane… yes

checking whether make sets ${MAKE}… yes

updating cache ./config.cache

creating ./config.status

creating Makefile

creating src/Makefile

creating config.h

Building with the following options:

MySQL Support…… yes

PostgreSQL Support…… no

Oracle Support…… no

If this is not what you intended, please re-run configure.

Thanks for using super-smack!

然后make;make install

其他問題看

[url]http://vegan.net/tony/supersmack/FAQ.php[/url]

2、進行實際測試。

拷貝示例文件。

[root@localhost super-smack-1.3]# cp -r smacks/ /usr/local/bin/

修改用戶名和密碼為自己的

默認是測試MYISAM表的性能。

[root@localhost smacks]# super-smack -d mysql select-key.smack 10 1000

Error running query select count(*) from http_auth:Table 'test.http_auth' doesn't exist

Creating table 'http_auth'

Loading data from file '/var/smack-data/words.dat' into table 'http_auth'

Table http_auth is now ready for the test

Query Barrel Report for client smacker1

connect: max=156ms min=0ms avg= 21ms from 10 clients

Query_type num_queries max_time min_time q_per_s

select_index 20000 0 0 16299.96

[1] [2]

聲明:本網(wǎng)頁內(nèi)容旨在傳播知識,若有侵權(quán)等問題請及時與本網(wǎng)聯(lián)系,我們將在第一時間刪除處理。TEL:177 7030 7066 E-MAIL:11247931@qq.com

文檔

對MYSQL進行壓力測試

對MYSQL進行壓力測試:歡迎進入Linux社區(qū)論壇,與200萬技術(shù)人員互動交流 >>進入 1、安裝supersmack [url]http://vegan.net/tony/supersmack/[/url] 安裝過程以及我中間遇到問題的總結(jié)都在這里。 之前記得把libmysqlclient.so.16拷貝到/usr/lib中去,這
推薦度:
  • 熱門焦點

最新推薦

猜你喜歡

熱門推薦

專題
Top
主站蜘蛛池模板: 欧美 日韩 国产在线 | 在线观看免费国产视频 | 91精品啪国产在线观看免费牛牛 | 日韩国产综合 | 国产精品久久久久久久午夜片 | 亚洲欧美国产精品 | 亚洲 欧美 日韩在线一区 | 久久精品99久久香蕉国产色戒 | 91大神在线观看精品一区 | 国产精品久久二区三区色裕 | 亚洲欧洲精品成人久久曰 | 国产人成久久久精品 | 综合精品欧美日韩国产在线 | 欧美专区日韩 | 亚洲国产精品免费 | 亚洲乱码中文论理电影 | 国产色在线视频 | 亚洲成人国产 | 欧美激情在线播放一区二区三区 | 亚洲欧美日韩综合精品网 | 精品欧美一区二区三区精品久久 | 欧美爱爱网址 | 激情综合亚洲欧美日韩 | 最新国产精品视频 | 欧美日韩精品一区二区视频在线观看 | 久久亚洲精品国产亚洲老地址 | 欧美精品亚洲精品日韩专区va | 欧美性第一页 | 国产精品视频福利一区二区 | 国产一区二区三区免费在线视频 | 欧美色色图 | 国产精品视频久久久久久 | a毛片免费 | 欧美高清免费 | 亚洲欧美一区二区三区国产精品 | 亚洲国产成人精品一区91 | 久久久无码精品亚洲日韩按摩 | 国产精品亚洲片在线观看不卡 | 青青国产成人久久91 | 日韩欧 | 美女全黄网站 |