telegraf for windows - [inputs.sqlserver] Set deadlock priority to LOW
Hello, I use telegraf 1.22.0 for windows. I have few deadlock.
When I trace telegraf's queries, I see all queries dont use SET DEADLOCK_PRIORITY -10 Only queries SQLServerPerformanceCounters and SQLServerDatabaseIO do "SET DEADLOCK_PRIORITY -10"
Personnally, iI use queries SQLServerRequests, SQLServerVolumeSpace, SQLServerCpu, SQLServerProperties, SQLServerMemoryClerks and it make deadlocks.
next steps: look into adding SET DEADLOCK_PRIORITY -10; to all queries.
Sorry, I'm french and beginner with github :).
next steps: look into adding
SET DEADLOCK_PRIORITY -10;to all queries.
I dont understand. Where I must look ?
Sorry, I'm french and beginner with github :).
No worries :)
The team was going through older issues yesterday and evaluating them. We agree with your request and in order to mark it ready for development, I like to put a note on the issue with what the next steps are and add the help wanted label.
If you are interested in working on this, all the queries are kept in the inpus.sqlserver folder. That's where those would need to be updated to include the deadlock priority option.
Happy to have you, or anyone else in the community work on updating this.
Thank you for your answer.
I'm waiting a next version of telegraf for windows (actually i have 1.2.2).
Hello,
Up about this subject. Do you know if the next version will use SET DEADLOCK_PRIORITY -10 ?
Hi,
Do you know if the next version will use SET DEADLOCK_PRIORITY -10 ?
Once this issue is closed it will show up in our next release.
Ok, Thank you.
This would be helpful for me as I am also running into this issue when restoring databases to my QA and Development Environments. Thanks for all your help with this
As a reference, a similar issue that was temporarily solved in previous versions: [inputs.sqlserver] Set deadlock priority to LOW #4988
Hi,
Is it planned to be fixed in the next version?
As a reference, a similar issue that was temporarily solved in previous versions: [inputs.sqlserver] Set deadlock priority to LOW #4988
#11522 added these priorities, this will go out in the next bug fix release, v1.23.3 possibly next week.