Question: Read-only connection to SQL Server #261
-
Hi there, I have a two-node MS SQL cluster with Always On availability group. As I understand, the TPROC-H benchmark is a read-intensive workload. How can I add the option ApplicationIntent=ReadOnly to hammerdb connection string? Which of the 22 tests in the TPROC-H benchmark generates only read-only workload? Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi, So all the driver scripts are scripts that you can edit. I would recommend using the GUI script editor to make any changes and then saving the file. If using the CLI you can use the customscript command to load an edited file.
The 22 tests are all queries so are read-only by nature, however query 15 does create and drop a view. If you look in proc ordered_set in tpchcommon-1.0.tm in the modules directory you can see the order that queries are run. |
Beta Was this translation helpful? Give feedback.
Hi,
As a question, Issue converted to a Discussion topic.
So all the driver scripts are scripts that you can edit. I would recommend using the GUI script editor to make any changes and then saving the file. If using the CLI you can use the customscript command to load an edited file.
Firstly, navigate to the connect_string section. The best example to add a change is similar to the existing one for azure as shown below.