Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does this benchmark tool support MySQL? #2

Open
shenli opened this issue Aug 10, 2018 · 4 comments
Open

Does this benchmark tool support MySQL? #2

shenli opened this issue Aug 10, 2018 · 4 comments

Comments

@shenli
Copy link

shenli commented Aug 10, 2018

Hello, glad to see this interesting tool.

I have two questions:

  1. Does it support benching MySQL?
    We are developing an HTAP database named TiDB which support MySQL protocol. If yes, I will test TiDB with it.

  2. Is there any use case for this tool?
    I can not find any benchmark result in this repo.

Thanks!

@faclc4
Copy link
Owner

faclc4 commented Aug 22, 2018 via email

@parampawar07
Copy link

parampawar07 commented Jun 29, 2019

Hello,

I wish to put forth another query :

I performed tests on MYSQL and the results were somehow different than mentioned in the above comment, the OLAP queries were smooth but the OLTP transactions were looped into roll backs. I guess the reason for this lies with the data loading. The # of New Timestamps : #90500, this is nearly half of the # TS : 180000.

Could you please let me know if the problem is indeed in the data load stage and the #new timestamps loaded has to be 180000.

If so could also suggest a fix to this. Below is the load statistics.

Thanks.

Benchmark: HTAPB {pt.haslab.htapbench.core.HTAPBench}
Configuration: config/htapb_config_mysql.xml
Type: MYSQL
Driver: com.mysql.cj.jdbc.Driver
URL: jdbc:mysql://127.0.0.1:3306/htapb?seUnicode=yes&characterEncoding=UTF-8&serverTimezone=Europe/Helsinki
Isolation: TRANSACTION_READ_COMMITTED
Scale Factor: 3.0

17:01:11,018 (HTAPBench.java:337) INFO - **********************************************************************************
17:01:11,142 (HTAPBench.java:611) INFO - Loading data into HTAPB database...

TS: 180000

17:05:20,811 (HTAPBLoader.java:1523) INFO -
17:05:20,811 (HTAPBLoader.java:1524) INFO - ------------- LoadJDBC Statistics --------------------
17:05:20,811 (HTAPBLoader.java:1525) INFO - Start Time = Sat Jun 29 17:01:11 CEST 2019
17:05:20,812 (HTAPBLoader.java:1526) INFO - End Time = Sat Jun 29 17:05:20 CEST 2019
17:05:20,812 (HTAPBLoader.java:1527) INFO - Run Time = 249 Seconds
17:05:20,813 (HTAPBLoader.java:1528) INFO - Rows Loaded = 1427797 Rows
17:05:20,813 (HTAPBLoader.java:1529) INFO - Rows Per Second = 5734 Rows/Sec
17:05:20,814 (HTAPBLoader.java:1530) INFO - Total # of New Timestamps (Load Stage): 90500
17:05:20,814 (HTAPBLoader.java:1531) INFO - ------------------------------------------------------
17:05:20,886 (HTAPBench.java:613) INFO - Finished!
17:05:20,887 (HTAPBench.java:614) INFO - **********************************************************************************

@bryanosborne
Copy link

When I attempt to run against MySQL the load script gives a "Failed to initialize JDBC driver 'com.mysql.jdbc.Driver' error. Happens on two different machines. The MySQL connector has been installed on both, and I have been running oltpbench on the machines w/o incident.

What might I be missing in the setup/config?

@faclc4
Copy link
Owner

faclc4 commented Nov 25, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants