Applies ToSQL Server 2012 Developer SQL Server 2012 Enterprise SQL Server 2012 Standard SQL Server 2014 Business Intelligence - duplicate (do not use) SQL Server 2014 Enterprise - duplicate (do not use) SQL Server 2014 Developer - duplicate (do not use) SQL Server 2014 Standard - duplicate (do not use)

Síntomas

Al usar Microsoft SQL Server 2012 o 2014 Master Data Services (MDS), el historial puede crecer muy grande y no hay ninguna función integrada para limpiarlo. Se han agregado tres procedimientos almacenados para limpiar el historial de ensayo, la validación y la transacción. El uso es el siguiente:

--@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 HistoryEXEC mdm.udpTransactionsCleanup @ModelID, @CleanupOlderThanDate; --Cleanup Validation HistoryEXEC mdm.udpValidationsCleanup @ModelID, @CleanupOlderThanDate; --Cleanup entity-based staging tableEXEC mdm.udpEntityStagingBatchTableCleanup @ModelID, @CleanupOlderThanDate;

Nota Las tablas centrales que crecen grandes son MDM. tblTransaction, MDM. tblTransactionAnnotation, MDM. tblValidationLog, MDM. tblValidationHistory y MDM. tblStgBatch.

Cada actualización acumulativa para SQL Server contiene todas las revisiones y todas las revisiones de seguridad incluidas en la actualización acumulativa anterior. Consulte las últimas actualizaciones acumulativas para SQL Server:

Estado

Microsoft ha confirmado que se trata de un problema de los productos de Microsoft recogidos en la sección "Se aplica a".

¿Necesita más ayuda?

¿Quiere más opciones?

Explore las ventajas de las suscripciones, examine los cursos de aprendizaje, aprenda a proteger su dispositivo y mucho más.

Las comunidades le ayudan a formular y responder preguntas, enviar comentarios y leer a expertos con conocimientos extensos.