Take the 2-minute tour ×
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.

I've recently discovered the tool mysqlslap and have run some simple tests with it. I currently have three test environments (2 Win 7, 1 Linux Ubuntu) where I can run these tests. However, running a no-op test on one of the Win 7 machines takes approximately 2 seconds. Running a similar query from for example MySQL Workbench takes no time, just as it should. This must have something to do with the configuration of my machine or MySQL (5.5).

Running a more heavy query takes longer time on the already slow machine, which is at least a little bit logical.

Does anybody have a clue why this happens?

Any help appreciated!

share|improve this question

1 Answer 1

up vote 0 down vote accepted

Well, I found out what the simple solution was. I needed to configure mysqlslap with --host and --user options for some reason yet unknown.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.