Quantcast
Channel: SQL Server Master Data Services forum
Viewing all articles
Browse latest Browse all 1311

Cumulative update 15 for SQL Server 2012 SP1 is released

$
0
0

Cumulative update 15 for SQL Server 2012 SP1 is released
http://support.microsoft.com/en-us/kb/3038001

MDS related fix is:

FIX: Add three stored procedures to clean up history that is created when you use SQL Server 2012 MDShttp://support.microsoft.com/en-us/kb/3036601

After using MDS for a while, the transaction/validation/staging history may grow very large. In this CU we provide 3 store procedure to clean them up manually.

The fix will be ported over to SQL 2012 SP2 and SQL 2014 CUs in the coming 2 months.

In next SQL Server release, it will be automated by MDS maintenance job.

--@ModelID is the model ID that you clean up the log for.
--@CLeanupOlderThanDate is the date before that the logs or records is deleted.

DECLARE @CleanupOlderThanDate date = '<Date>', @ModelID INT = <ID>
--Cleanup Transaction History
EXEC mdm.udpTransactionsCleanup @ModelID, @CleanupOlderThanDate;

--Cleanup Validation History
EXEC mdm.udpValidationsCleanup @ModelID, @CleanupOlderThanDate;

--Cleanup entity-based staging table
EXEC mdm.udpEntityStagingBatchTableCleanup @ModelID, @CleanupOlderThanDate;


Viewing all articles
Browse latest Browse all 1311

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>