我经常遇到SSIS的问题,我的包似乎死了。执行报告显示包正在运行,end_time的catalog.executions视图为NULL,因此SSISDB认为包正在运行。但是包正在处理的数据库上没有活动,服务器上也没有资源使用,所以我非常确定包没有运行。此外,catalog.operation_messages视图中的最后一条消息超过12小时(并且它只是一条信息性消息,没有报告错误)。
我如何确定这里发生了什么?是否有其他日志文件可以提供帮助?或者其他方法来追踪到底发生了什么?
我的SQL版本是2014 Enterprise。
发布于 2019-04-16 18:26:36
我想我已经找到了我问题的答案。Windows应用程序日志显示了问题:
SSIS执行进程无法写入IS目录: IEDC-PTF-PSV007:SSISDB错误详细信息:无法将新消息添加到操作消息表。注意:资源池'default‘中的系统内存不足,无法运行此查询。at Microsoft.SqlServer.IntegrationServices.Server.ISServerExec.ISServerHelper.AppendEventMessage(SqlCommand cmd,Int64 operationId,Int32 message_type,DateTimeOffset message_time,Int16 message_source,String message_text,en21 1 extendedInfoId,String packageName,String packageLocationType,String packagePathFull,String eventName,String messageSource,String messageSrcId,String subComponentName,String packagePath,String,,en21`1,在Microsoft.SqlServer.IntegrationServices.Server.ISServerExec.BasicEventInfo.WriteInternal(SqlCommand sqlCommand)在Microsoft.SqlServer.IntegrationServices.Server.ISServerExec.Loggable.Microsoft.SqlServer.IntegrationServices.Server.ISServerExec.ILoggable.Write(SqlConnection conn)在Microsoft.SqlServer.IntegrationServices.Server.ISServerExec.Loggable.Microsoft.SqlServer.IntegrationServices.Server.ISServerExec.ILoggable.Write(SqlConnection eventMessageId)在Microsoft.SqlServer.IntegrationServices.Server.ISServerExec.CompositeLog.WriteInternal(SqlCommand sqlCommand)
因此,包无法写入数据库,因此失败,但它看起来仍在运行,因为它无法将状态写回数据库!
我的SSISDB已经增长到200 is,所以我认为这是一个问题。我要减小大小,缩短保留期。
https://stackoverflow.com/questions/55703775
复制相似问题