Versión de CRM: 2011 con UR11
El job ejecuta el siguiente comando en SQL Server:
if exists (select * from sys.database_mirroring where (mirroring_role = 1 or mirroring_role is null) and database_id = DB_ID('MSCRM_CONFIG')) begin exec('use MSCRM_CONFIG; exec p_CleanupSiteWideNotifications ') end
La tabla dbo.Notification tiene 42.000.000 de registros y aumenta en 2.000.000 cada 25 minutos.
Al ejecutar manualmente el job "MSCRM_CONFIG.SiteWideCleanup" , la MSCRM_CONFIG_log crece hasta 50 GB y llena el espacio en disco.
Sql Message ID 9002
Message:
Executed as user: CXP\svcsql. The transaction log for database 'MSCRM_CONFIG' is full. To find out why space in the log cannot be reused, see the log_reuse_wait_desc column in sys.databases [SQLSTATE 42000] (Error 9002). The step failed.