Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Update sql-performance.md #3846

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

Open
FranciscoNabas wants to merge 1 commit into MicrosoftDocs:main
base: main
Choose a base branch
Loading
from FranciscoNabas:patch-2

Conversation

@FranciscoNabas
Copy link

@FranciscoNabas FranciscoNabas commented May 3, 2023

The default retention period for change tracking on MS SQL Server is 2 days, but for the configuration manager, it should always be 5 days. The places where I got this info from:

  • When installing a site server, the database auto cleanup retention period is 5 days.
  • When looking the code for the stored procedure 'spDiagChangeTracking', while gathering change tracking information we can see a comment saying that for SCCM it should always be 5 days.

image

  • While troubleshooting a change tracking issue, I've set the retention for two days, and the auto cleanup couldn't keep up.

I understand that while troubleshooting performance issues, cleaning the change tracking information up to 2 days can improve performance, however this can be misleading, since this query will always return 'there is change tracking backlog, please contact Microsoft support'. Cleaning more change tracking than default can also mask the real cause for performance issues.

Thank you!

The default retention period for change tracking on MS SQL Server is 2 days, but for the configuration manager, it should always be 5 days.
The places where I got this info from:
 - When installing a site server, the database auto cleanup retention period is 5 days.
 - When looking the code for the stored procedure 'spDiagChangeTracking', while gathering change tracking information we can see a comment saying that for SCCM it should always be 5 days (screen shot will be included in the PR).
 - While troubleshooting a change tracking issue, I've set the retention for two days, and the auto cleanup couldn't keep up.
I understand that while troubleshooting performance issues, cleaning the change tracking information up to 2 days can improve performance, however this can be misleading, since this query will always return 'there is change tracking backlog, please contact Microsoft support'.
Cleaning more change tracking than default can also mask the real cause for performance issues.
Thank you!
Copy link
Contributor

@FranciscoNabas : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Copy link
Contributor

@FranciscoNabas : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Copy link
Contributor

Learn Build status updates of commit f0bc9a9 :

✅ Validation status: passed

File Status Preview URL Details
memdocs/configmgr/core/servers/manage/replication/sql-performance.md ✅Succeeded

For more details, please refer to the build report.

For any questions, please:

Copy link
Contributor

Banreet commented May 4, 2023

#sign-off

Copy link
Contributor

@FranciscoNabas : Thanks for your contribution! The author(s) and reviewer(s) have been notified to review your proposed change.

Copy link
Contributor

@FranciscoNabas Hi Francisco - This PR has a merge conflict. If it's still needed, can you create a new pull request? We want to make sure you get credit.

@MandiOhlinger MandiOhlinger added the doc-wont-fix Doc issue that doesn't meet the bar to fix label Dec 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@Banreet Banreet Awaiting requested review from Banreet

@mestew mestew Awaiting requested review from mestew

@aczechowski aczechowski Awaiting requested review from aczechowski

1 more reviewer

@JohanFreelancer9 JohanFreelancer9 JohanFreelancer9 approved these changes

Reviewers whose approvals may not affect merge requirements

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /