最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

DBT2 Benchmark Tool (mysql壓力測試工具) V0.37.50.14

  • 軟件大?。?span>798KB
  • 軟件語言:簡體中文
  • 軟件類型:國產(chǎn)軟件
  • 軟件授權(quán):免費(fèi)軟件
  • 軟件類別:數(shù)據(jù)庫
  • 應(yīng)用平臺:Windows平臺
  • 更新時(shí)間:2017-11-11
  • 網(wǎng)友評分:
360通過 騰訊通過 金山通過

情介紹

 下載DBT2 Benchmark,編譯安裝,按照README-MYSQL中的步驟來操作。報(bào)告的時(shí)間是客戶端的經(jīng)過時(shí)間,不是在服務(wù)器端的CPU時(shí)間。執(zhí)行BENCHMARK()若干次可能是明智的,并且注意服務(wù)器機(jī)器的負(fù)載有多重來解釋結(jié)果。需要由aclocal、autoheader、autoconf、automake,以及mysql、mysql-libs、mysql-devel。

$ ./congigure --with-mysql

$ make

$ sudo make install

安裝好datagen,然后生成數(shù)據(jù),需要先創(chuàng)建對應(yīng)的目錄如/tmp/dbt2-w3。

$ datagen -w 3 -d /tmp/dbt2-w3 --mysql

warehouses = 3

first warehouse = 1

districts = 10

customers = 3000

items = 100000

orders = 3000

stock = 100000

new_orders = 900

生成完數(shù)據(jù)后就可以執(zhí)行scripts/mysql/mysql_load_db.sh腳本將數(shù)據(jù)導(dǎo)入到數(shù)據(jù)庫中。

benchmark 使用方法:

這里還有一種方法能夠獲取到 mysql 執(zhí)行一個sql 語句或sql 表達(dá)式的 時(shí)間,并且可以由用戶指定執(zhí)行次數(shù)。通過執(zhí)行大規(guī)模次數(shù), 才能夠獲得比較穩(wěn)定的 sql 執(zhí)行時(shí)間。

select benchmark(num, exp) ; 其中 num 為執(zhí)行次數(shù),exp 為希望獲得執(zhí)行時(shí)間的表達(dá)式 ,不包括 sql 語句

select benchmark(1, to_days(2011-04-07) - to_days(now()) <1 ); 執(zhí)行時(shí)間大概是 0.0011秒 ,可以計(jì)算表達(dá)式時(shí)間

select benchmark(1, select * from MYTABLE limit 0,40 ); Mysql 報(bào)錯,說明EXP 不能為sql 語句,只能為表達(dá)式或函數(shù)

下面是對num 賦予不同的數(shù)值,查看執(zhí)行不同次數(shù)所耗費(fèi)的時(shí)間

select benchmark(100, to_days(2011-04-07) - to_days(now()) <1 ); 執(zhí)行時(shí)間大概也是 0.0012秒

select benchmark(10000, to_days(2011-04-07) - to_days(now()) <1 ); 執(zhí)行時(shí)間大概也是 0.0056秒

select benchmark(1000000, to_days(2011-04-07) - to_days(now()) <1 ); 執(zhí)行時(shí)間大概也是 0.4454秒

為什么執(zhí)行100次和執(zhí)行 1次的時(shí)間耗費(fèi)差不多呢? 這是因?yàn)榭赡鼙蛔⑷肓司彺娴木壒剩虼薭enchmark 不能用來完成一種實(shí)際的 基準(zhǔn)測試。

英文介紹:

The DBT2 Benchmark Tool can be used to run automated benchmarks for MySQL and MySQL Cluster. It supports three types of benchmarks:

DBT2

SysBench

flexAsynch

It has been primarily used on Linux x86_64 platforms, but occasional benchmarks have also been run on Solaris and Windows. It can be used to test MySQL based on MySQL 5.6 and MySQL 5.7 Releases (older versions might work as well but isn't maintained any more).

DBT2 is an open source benchmark that mimics an OLTP application for a company owning large amounts of warehouses. It contains transactions to handle New Orders, Order Entry, Order Status, Payment and Stock handling. The transactions are a mix of read and write transactions. Using MySQL the benchmark tests a single MySQL Server instance. Using MySQL Cluster the benchmark tool can drive large distributed tests with many MySQL Cluster Data nodes and MySQL Server instances. The DBT2 Benchmark Tool provides scripts to automate execution of these benchmarks.

The DBT2 tarball also contains a benchmark tool using PowerShell on Windows to run sysbench on Windows. There is also scripts mimicing top on Windows. Finally there is also a set of simple scripts to use the perf tool on Linux.

FlexAsynch is a benchmark specifically developed to test scalability of MySQL Cluster. It is found in any MySQL Cluster source tarball under storage/ndb/test/ndbapi. The features required to run it in this parallel manner requires a MySQL Cluster 7.x version released after the 15th of October 2011. The DBT2 Benchmark Tool can be used to run distributed tests with many MySQL Cluster Data nodes and many flexAsynch benchmark programs in a completely automated fashion. The latest version of flexAsynch mainly exists in the source tree for the 2 most recent versions.

MySQL Server Version: 5.6 and later

MySQL Cluster Version: MySQL Cluster 7.3 and later

  • DBT2 Benchmark Tool (mysql壓力測試工具) V0.37.50.14

載地址

下載錯誤?【投訴報(bào)錯】

DBT2 Benchmark Tool (mysql壓力測試工具) V0.37.50.14

      氣軟件

      關(guān)文章

      載聲明

      ☉ 解壓密碼:m.fzitv.net 就是本站主域名,希望大家看清楚,[ 分享碼的獲取方法 ]可以參考這篇文章
      ☉ 推薦使用 [ 迅雷 ] 下載,使用 [ WinRAR v5 ] 以上版本解壓本站軟件。
      ☉ 如果這個軟件總是不能下載的請?jiān)谠u論中留言,我們會盡快修復(fù),謝謝!
      ☉ 下載本站資源,如果服務(wù)器暫不能下載請過一段時(shí)間重試!或者多試試幾個下載地址
      ☉ 如果遇到什么問題,請?jiān)u論留言,我們定會解決問題,謝謝大家支持!
      ☉ 本站提供的一些商業(yè)軟件是供學(xué)習(xí)研究之用,如用于商業(yè)用途,請購買正版。
      ☉ 本站提供的DBT2 Benchmark Tool (mysql壓力測試工具) V0.37.50.14資源來源互聯(lián)網(wǎng),版權(quán)歸該下載資源的合法擁有者所有。

      永修县| 长汀县| 醴陵市| 安国市| 玉溪市| 福清市| 桦南县| 象州县| 长丰县| 丹巴县| 澎湖县| 大新县| 三原县| 遂川县| 安康市| 仙游县| 宜城市| 仁寿县| 广丰县| 许昌市| 开封县| 镇安县| 堆龙德庆县| 平塘县| 崇信县| 新疆| 新建县| 京山县| 丽江市| 张北县| 天津市| 林芝县| 年辖:市辖区| 贵溪市| 平乡县| 普兰店市| 达拉特旗| 巴林左旗| 柯坪县| 大田县| 深州市|