简体   繁体   English

SSIS包执行需要很长时间(不经常)

[英]SSIS Package Execution taking long time (Not frequently)

I have a ETL job running, which is scheduled for every 5 minutes from 1 AM to 9 PM everyday. 我正在运行一个ETL作业,该作业计划每天从凌晨1点到晚上9点每5分钟进行一次。 Generally it takes 10 minutes to execute that package, But unfortunately the first cycle ie at 1AM is taking 2 hour or 3 hours or 4 hours from last few days . 通常执行该程序包需要10分钟,但是不幸的是,第一个周期(即凌晨1点)从最近几天开始需要2个小时或3个小时或4个小时。 When I see the Reports from integration service catalogue I see following message: 当我看到来自集成服务目录的报告时,看到以下消息:

Data Flow Task:Information: The buffer manager failed a memory allocation call for 65520 bytes, but was unable to swap out any buffers to relieve memory pressure. 数据流任务:信息:缓冲区管理器未能进行65520字节的内存分配调用,但是无法调出任何缓冲区以减轻内存压力。 74 buffers were considered and 72 were locked. 考虑了74个缓冲区,并锁定了72个。 Either not enough memory is available to the pipeline because not enough are installed, other processes were using it, or too many buffers are locked 管道可用的内存不足,因为未安装足够的内存,其他进程正在使用该内存或锁定了太多缓冲区

and then: 接着:

Data Flow Task: The buffer manager has allocated 65520 bytes,even though the memory pressure has been detected and repeated attempts to swap buffers have failed 数据流任务:即使已检测到内存压力并且重复尝试交换缓冲区失败,缓冲区管理器仍分配了65520字节

Can you stop your SSIS package or SQL job for some time and do a Pro cache flush on your DB server; 您可以在一段时间内停止SSIS包或SQL作业,并在数据库服务器上刷新Pro缓存吗? Once completed can you please try to rerun the package ? 完成后,您可以尝试重新运行该软件包吗?

Otherwise try to get touch with DBA team and perform some cleanup in TempDB , try to find out enough space is available in TempDB;If not try doing shrink the space within TempDB and try to run the SSIS package manually ? 否则尝试与DBA团队联系并在TempDB中进行一些清理,尝试在TempDB中查找足够的可用空间;如果不尝试缩小TempDB中的空间并尝试手动运行SSIS包?

If it all fails, Please check you Prod DB server for any memory pressure / RAM usage / CPU processing time ? 如果全部失败,请检查Prod DB服务器是否有内存压力/ RAM使用率/ CPU处理时间?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM