Search code examples
databaseload-testingperformance-testingstress-testingdatabase-testing

Load and Performance Testing of a Database


This is the first time, my team has asked me to do some testing on Database which I have no clue how to approach. By testing on database I mean, I need to see how fast it can insert records into it. And till what pressure it can handle. Just like Load and Performance Testing for database. The database that we are about to use is XPRESSmp.

So can anyone help me in what kind of testing we usually do when we need to Test the database and what are the tools that I can take a look into for this. Most of the articles that I have seen where mostly related to Oracle and MySQL. But this is a new database altogether.

One approach I can think of is write a Multithreaded Program with X number of threads that will pump the data into XMP at very high speed. And keep on measuring how much time each thread is taking. What else I can do to test the database?

My team has asked me to break the database by doing your testing but we should know at what situation it broked and what was the reason behind that.

And what important points I should know and take into the consideration while doing the testing on database.

P.S I will be doing this testing in seperate LnP machines.


Solution

  • Usually, SysBench is used to test queries performance on MySQL. It is not just for MySQL, though. I have only a basic knowledge of it, so I suggest you don't ask me and read documentation: http://sysbench.sourceforge.net/