microsoft / microsoft/sql-server-samples
Probe IndexStatistics failed to obtain data: Execution Timeout
Nobody has claimed this yet.
- Dominant language
- PowerShell
- Stars
- 11.2k
- Forks
- 9.1k
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 14
Description
We are encountering following error while running SQL Assessment. Can you please suggest how to fix it.
Invoke-SqlAssessment : Check IndexFragmentation: Probe IndexStatistics failed to obtain data: Execution Timeout
Expired. The timeout period elapsed prior to completion of the operation or the server is not responding. Check ID:
IndexFragmentation. Target: Server[@Name='XXXXXXXX-DB01']/Database[@Name='XXXXXXXXX']. IndexStatistics:
Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not
responding.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Invoke-SqlAssessment command and the IndexFragmentation check named in the report. Reproduce or investigate the IndexStatistics execution timeout against the affected database, then document a confirmed fix or the conditions that cause the check to fail.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell, sql
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100