Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Problems testing database performance for Jira Data Center

Peder Bakke
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 4, 2022

Hi,

I'm trying to run command for testing database performance on our Jira Data Center (8.13.19). Our data center is installed on Linux plattform. I have followed the instructions which is described here: https://confluence.atlassian.com/jirakb/test-database-performance-for-jira-server-54362302.html

When I run the code (with variables filled out): 

java -cp PATH_TO_THE/atlassian-log-analysis-0.1.1.jar:PATH_TO_YOUR_JDBC_DRIVER_JAR \
com.atlassian.util.benchmark.JIRASQLPerformance \
YOUR_DB_USERNAME YOUR_DB_PASSWORD \
JDBC_CONNECTION_STRING JDBC_DRIVER_CLASS \
> db-perf-test.txt

I get the following error: 

Error: Could not find or load main class com.atlassian.util.benchmark.JIRASQLPerformance

Caused by: java.lang.ClassNotFoundException: com.atlassian.util.benchmark.JIRASQLPerformance

What am I doing wrong?

 

Cheers,
Peder

 

 

1 answer

1 accepted

1 vote
Answer accepted
Peder Bakke
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 4, 2022

I found out the problem that was causing the error. I forgot forward slash in the beginning of the path for both the atlassian-log-analysis.jar and the jdb_driver_jar.

Suggest an answer

Log in or Sign up to answer