locked
Cumulative update 15 for SQL Server 2012 SP1 is released RRS feed

  • General discussion

  • 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 MDS http://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;
    

    Tuesday, March 17, 2015 6:37 PM