question

AJ-AJ avatar image
0 Votes"
AJ-AJ asked MelissaMa-msft commented

Query to check Scalability

Hi there,

I'm having multiple SQL cloud environment with 8 / 16/ 32 / 64 cores also memory of 16gb / 32gb / 64gb.

Is there any bench mark query i can run on an EMPTY database which can show me the scalability performance? I would like to see if any performance flatlines happens as i bump up infrastructure.

I would like run it multiple environments which when run can use the full power of cpu and memory. and cleans up the DB after it is completed. prefer minimally logged operation.

something like query runs in 2 mins on lower config and runs in 30 seconds on larger config.

Appreciate your help and time.

Thanks,

sql-server-transact-sqlazure-sql-database
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

HI @AJ-AJ,

Could you please provide any update? Thanks.

Best regards
Melissa

0 Votes 0 ·
ErlandSommarskog avatar image
0 Votes"
ErlandSommarskog answered

I believe this is a well-reputed benchmark software: https://www.hammerdb.com/

I have never used it myself, though.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

TomPhillips-1744 avatar image
0 Votes"
TomPhillips-1744 answered

There are several free benchmark scripts and published results.

However, only you can determine if they are appropriate for you situation. It may be your application is not CPU dependent, so adding more CPU will not affect the performance of your application at all. Maybe your application has lots of blocking. Memory may help that, but may not. You need to determine your bottlenecks in your specific situation and if you can live with them or need to fix them.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

MelissaMa-msft avatar image
0 Votes"
MelissaMa-msft answered

HI @AJ-AJ,

Thank you so much for posting here in Microsoft Q&A.

If you need to create SQL Server server performance benchmark query, you could refer below query:

 Set Statistics IO ON    
 go
 Set Statistics Profile ON
 go
 Set Statistics Time ON
 go

You could run SQL Profiler to trace the session which gives by session the CPU,READS,WRITES,DURATION which would provide limited server level information while the session is running on your workstation.

You could also refer below steps about Five Steps to Running a Successful Baseline / Benchmark Test.

  • Step 1: Define Requirements & Specifications

  • Step 2: Construct a Workload

  • Step 3: Isolate and Document

  • Step 4A – Run the Test

  • Step 4B – Monitoring While the Baseline / Benchmark Test is Running

  • Step 5 – Assess and Interpret


Best regards
Melissa


If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.