Bejelentkezés Microsoft-fiókkal
Jelentkezzen be, vagy hozzon létre egy fiókot.
Üdvözöljük!
Válasszon másik fiókot.
Több fiókja van
Válassza ki a bejelentkezéshez használni kívánt fiókot.
Angol
Sajnáljuk. Ez a cikk nem érhető el az Ön nyelvén.

This update adds a new stored procedure that enables you to manually clean up the side table (change_tracking_objectid) in a database on which the change tracking is enabled.

Syntax

sp_flush_CT_internal_table_on_demand [ @TableToClean= ] 'TableName'

Arguments

[@TableToClean= ] 'TableName' is the name of the table, for which change tracking is enabled. The backlogs are left for the automatic cleanup by change tracking.

Expected output

When you run the stored procedure, one of the following scenarios happens:

  • If the table doesn't exist or if change tracking isn't enabled, appropriate error messages will be thrown.

  • This stored procedure will call another internal stored procedure that cleans up contents from the change tracking side table that's based on the invalid cleanup version by using the sys.change_tracking_tables dynamic management view. When it's running, it will show the information of total rows deleted (for every 5000 rows).


Resolution

Service pack information for SQL Server

This update is fixed in the following service packs for SQL Server:

SQL Server 2016 Service Pack 1

Service Pack 3 for SQL Server 2014

Service Pack 4 for SQL Server 2012

Service packs are cumulative. Each new service pack contains all the fixes that are in previous service packs, together with any new fixes. Our recommendation is to apply the latest service pack and the latest cumulative update for that service pack. You don't have to install a previous service pack before you install the latest service pack. Use Table 1 in the following article for finding more information about the latest service pack and latest cumulative update.

How to determine the version, edition and update level of SQL Server and its components

ReferenceFor more information about change tracking cleanup, see Change Tracking Cleanup (Part 1) and Change Tracking Cleanup (Part 2).

További segítségre van szüksége?

További lehetőségeket szeretne?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Hasznos volt ez az információ?

Mi volt hatással a felhasználói élményére?
Ha elküldi a visszajelzést, a Microsoft felhasználja azt a termékei és szolgáltatásai továbbfejlesztéséhez. Az informatikai rendszergazda képes lesz ezeket az adatokat összegyűjteni. Adatvédelmi nyilatkozat.

Köszönjük a visszajelzését!

×