Upgrade from SQL server2008 to a higher version. The pressure test results are higher than those of the higher version installed directly & Under the same configuration, the pressure test results of hammerdb3.2 are higher than hammerdb4.7(SQL server) #552
-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Yes, so firstly when making comparisons you should use the same version of HammerDB. Although every effort is made to maintain consistency across versions, the workloads will evolve over time and experts in a particular database are very welcome to update the workloads and submit a pull request if they think it can be improved, for example with SQL Server there was this change at v4.5 #371, so you shouldn't compare the results directly between v3.2 and v4.7. Secondly, you are making comparisons with multiple changes so both the HammerDB version and the SQL Server version, you should keep the HammerDB version consistent (preferably v4.7) and then use this for your SQL Server tests. Finally, although you don't mention the system you are testing and the number of CPUs, the virtual user count at 512 looks high, especially compared to the NOPM value. The question you are asking is "Why are the results of the 2008 upgrade so high?" However, the single data point you have captured and additional data is not sufficient to answer this question, as the values could be higher at a lower virtual user count. Here is an example with v4.7 on a laptop with 16 virtual users (one per system CPU). I would recommend capturing data with a lower VU count to identify the point of maximum performance and then also capturing the data performance metrics to determine the reason for the difference in performance (especially if the configuration is different, which is entirely possible if there has been an upgrade). Also, the response time profile data has improved between v3.2 and v4.7. |
Beta Was this translation helpful? Give feedback.
-
OK, so this is clearer and the question is, using HammerDB for v4.7 SQL Server 2019 upgraded from SQL Server 2008 performs better than a direct install of SQL Server 2019 and are asking why this is the case? If so, then great! - this is exactly what HammerDB is for, to identify this type of scenario. So what you need to do is look at the database performance metrics (such as activity monitor in SMSS) to identify a difference between them when running the workload and identify the reason. It is likely to be a difference in configuration from the upgrade to the direct install. Some general comments though are with 2 sockets of 24c cores/48 threads you should be able to achieve higher performance than you are seeing here, so it looks like some tuning will benefit. Note this blog post is old and is not full applicable on more recent versions but can give some general guidance on the things to check. https://www.hammerdb.com/blog/uncategorized/hammerdb-best-practice-for-sql-server-performance-and-scalability/ In particular, there are a couple of things: |
Beta Was this translation helpful? Give feedback.
OK, so this is clearer and the question is, using HammerDB for v4.7 SQL Server 2019 upgraded from SQL Server 2008 performs better than a direct install of SQL Server 2019 and are asking why this is the case?
If so, then great! - this is exactly what HammerDB is for, to identify this type of scenario. So what you need to do is look at the database performance metrics (such as activity monitor in SMSS) to identify a difference between them when running the workload and identify the reason. It is likely to be a difference in configuration from the upgrade to the direct install.
Some general comments though are with 2 sockets of 24c cores/48 threads you should be able to achieve higher perfor…