- What are the system requirements?
- Which MySQL Server versions are supported?
- Are any server changes required?
- Where do I install the software?
- Is it free?
- How do I register the software?
- How do I register the software without internet access?
- What user grants are required?
- How much load does Jet Profiler add to the target database?
- How can I generate load on my target database server?
- How accurate are the results?
- Can I install the software on more than one computer?
- Mac - How do I install Java?
- Linux - How do I install Java?
- Where is the license agreement?
- Do you have a reseller or affiliate program?
What are the system requirements?
Jet Profiler is guaranteed to work on Windows (Windows XP, Windows Vista, Windows 7, Windows 2000, Windows 2003), Mac (Intel 64-bit Mac OS X 10.5+ or Intel 32-bit Mac OS X 10.6) and Linux (Ubuntu 8 or higher). It should generally run on any platform capable of running Java SE 6. You install it as a normal application on your own computer (e.g laptop). System requirements:
- 1 GB of computer memory or more
- 200 MB of available hard drive space or more
- 500+ MHz Pentium processor or better
- 1024 x 768 pixels screen resolution or better
- Internet access recommended (for license registration and software updates)
MAC/LINUX: For Mac and Linux, you must install Java 6 separately, see below.
Which MySQL Server versions are supported?
Jet Profiler is compatible with the following MySQL server versions:
- MySQL Enterprise, MySQL Network, MySQL Pro versions: 3, 4, 5.0, 5.1 and 5.5
- MySQL Community versions: 3, 4, 5.0, 5.1 and 5.5.
Are any server changes required?
No. Jet Profiler does not require any changes made to the target MySQL database server (such as configuration changes, patches or extra software).
Where do I install the software?
Jet Profiler is a client desktop application. You install it on your own computer (e.g. laptop) and connect it to wherever your MySQL database is. You do not need to install anything on the MySQL database server.
Is it free?
You can download the free version which contains most features. Fore more features, you can purchase the professional version. Click here for more information on features and pricing.
How do I register the software?
- Purchase a license here. The license registration key will be emailed to you.
- Start Jet Profiler.
- You will be asked to enter a registration key.
- Paste the registration key you received by email into the form. Click OK.
- The software will now contact a license server in order to register the license. Internet access is recommended. For offline registration, see below.
- Restart Jet Profiler.
How do I register the software without internet access?
Internet access is recommended, but not required. For offline registration, do as follows:
- Follow the steps 1-5 above (How do I register the software?).
- You should get a message that the registration failed because the server couldn't be contacted. Choose Manual registration.
- Copy the Manual Registration Code Block (mrcb) from the text box and send to us.
- We will create a license and email it back to you.
- Paste the license in the next text box.
- You will be asked to restart the application. Your software is now registered.
Please note that software updates will not work without internet access. Please stay tuned to newsletters and our blog for update information. You can install updates manually by uninstalling your current version of Jet Profiler and downloading and installing a new version. The registration key and license text can be reused.
What user grants are required?
Jet Profiler needs some grants to be able to profile the target database. The grants are USAGE, PROCESS, SELECT and SHOW VIEW privileges on *.*. This can be a separate account with these exact privileges, or it can be the root account. The most secure option is to create a separate account. To create a separate account you can run the following SQL statement:
GRANT USAGE, SELECT, PROCESS, SHOW VIEW ON *.* TO jetprofiler@’%‘ IDENTIFIED BY ‘password‘;
Be sure to replace password with a safe password. You might also want to restrict the host by changing % to the ip address of the machine where Jet Profiler is running. After you have created this user, you can set these details in File -> Edit connection settings.
How much load does Jet Profiler add to the target database?
Jet Profiler typically causes very little overhead. We normally see Jet Profiler adding an overhead of about 1% of the total db resources. This can be adjusted by changing hte polling interval in recording settings. You can expect a linear increase / decrease, so if polling once per second costs 1%, and you change to poll 10 times per second, the overhead should be around 10%.
However, we cannot guarantee that it doesn’t take more resources during heavy load. In some extreme setups (in particular when using innodb buffer pools of many gigabytes), it has been shown that there can be a severe performance hit when issuing the SHOW STATUS command, see this link. Jet Profiler uses this command. If you are concerned about this, we suggest that you only run Jet Profiler in non-critical environments, such as development or test environments, and that you start out with a long polling interval. Jet Profiler will not take any responsibility for performance problems related to running the software.
You can monitor how much the profiling costs by clicking the COST button. The cost is estimated by measuring the total roundtrip time for all queries issued during one second, excluding network round-trip time. A mysql ping command is used as baseline for the network round-trip time.
How can I generate load on my target database server?
- ApacheBench, ab, is a free command-line based tool to stress test web servers. You can point to a web page on your site and make it access it many times in a row. While doing that, watch your database load to see the query patterns for that page. Example:
ab -n 1000 -c 5 http://www.somesite.localhost/index.phpThis will load that page 1000 times using 5 parallel threads. Ab comes with the Apache HTTPD web server.
- loadUI is a free graphical tool which is easy to use and versatile for generating tests of web sites and SQL using JDBC.
- JMeter is a free graphical tool capable of simulating web traffic and load. It can also generate raw SQL queries using JDBC. You might want to watch this JMeter tutorial video, since it can be tricky to get started.
- Pylot is a free tool where you can simulate web traffic and load, written in Python. It supports normal web traffic and web services.
- Curl-Loader is also free and written in C.
- PHPTestSuite, available from the excellent MySQL Performance Blog, is a php based sql load generation tool. Write your tables and queries in php code, and run them.
How accurate are the results?
Jet Profiler is based on statistical observations. Every second, it will monitor the target database and gather lots of key statistics, database status and running processes. Over time, these statistics will give a very good estimate of what the database is most often busy doing. The longer the time period, the more accurate.
But some limitations exist. Mainly, Jet Profiler cannot weigh the relative cost of two running queries other than by execution time and status. It cannot see how much CPU, disk or network a query consumes. You should take this into account and not only look at the top lists, but also think about what your bottleneck is (CPU, disk or other) and reason about which queries you think is most likely to cause that load.
CPU and disk figures could only be gathered by using extensive logging inside the server, which could degrade performance substantially. Since Jet Profiler causes very little load (see above), we believe the limitations above are a fair trade-off.
Can I install the software on more than one computer?
Yes, a license entitles you to use the software on two computers. This allows for flexibility so you can install it on both a laptop and a desktop computer if you like. During license registration, the license is tied to your computer hardware, so you will not be able to install on more than two computers. If you wish to move the license to a new computer, please contact us.
Mac - How do I install Java?
Java SE 6 or higher is required. It comes with Mac OS X 10.5 or higher on 64-bit Intel platforms. On 32-bit Intel platforms, Mac OS X 10.6 is required. You should get Java SE 6 with software updates. If you get this error:
Error, your java version is 1.5
This program requires Java 1.6 or newer.
Please upgrade to Java 1.6.
you need to set the correct default java version in the Java Preferences Application (in the /Applications/Utilities/Java folder). More info (scroll down to "Run Multiple Versions of Java").
If you run MacOSX 10.4 (Tiger), or don't have an Intel processor, Jet Profiler won't work, as there is no official Java SE 6 support.
Linux - How do I install Java?
For Linux, Java SE 6 or higher is required. It can be downloaded separately from http://www.java.com/en/download/index.jsp. We recommend Suns Java over OpenJDK as Sun Java works best with our software.
Once you have installed Java, make sure it is available from the command line. You can verify this by opening a new terminal window and typing:
You should get version information back, such as:
java version “1.6.0_06″
Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
Java HotSpot(TM) 64-Bit Server VM (build 10.0-b22, mixed mode)
Now you can try to start Jet Profiler. If you get this error:
Error, your java version is 1.5
This program requires Java 1.6 or newer.
Please upgrade to Java 1.6.
You probably have multiple java versions installed. You need to change the default java version to use. This typically involves changing the /usr/bin/java symlink, or running update-alternatives (Ubuntu example).
Where is the license agreement?
The current license agreement for Jet Profiler for MySQL can be viewed here. For perpetual pro licenses (available before 2012-11-30), click here. For subscription-based licenses (available before 2009-08-29), click here.