Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I found that the most resource hogger for our sql server is the sp_ge… #1506

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

safigi
Copy link

@safigi safigi commented Sep 11, 2019

…tapplock. This server is a huge report server with many data load (importing data from the cloud), and we get the the most wait time is sp_getapplock.

I would recommend a new option and we can dequeue jobs without applock. WITH (ROWLOCK) for update should be enough

isafar added 2 commits September 10, 2019 16:41
…tapplock. This server is a huge report server with many data load (importing data from the cloud), and we get the the most wait time is sp_getapplock.

I would recommend a new option and we can dequeue jobs without applock. WITH (ROWLOCK) for update should be enough
@odinserj
Copy link
Member

Blocking fetch is only used when SqlServerStorageOptions.QueuePollInterval value is less than one second. You can simply use any value starting from TimeSpan.FromSeconds(1) to avoid calls to the sp_getapplock procedure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants