注意:为什么我在编辑存储过程中的代码时我的SSMS突然卡住了... [英] Reg: Why My SSMS get stuck suddenly while i am editing the code in the stored procedure...

查看:222
本文介绍了注意:为什么我在编辑存储过程中的代码时我的SSMS突然卡住了...的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨专家,

当我在更改模式下通过SSMS编辑具有多行代码的大型存储过程时,我的SSMS卡住了。

My SSMS get stuck while i am editing the big stored procedure having the several lines of code through SSMS in alter mode.

当我看到任务管理器时,它显示SSMS占用更多内存,如图所示。

when i saw the Task manager ,it shows that SSMS is taking more memory as shown in pic.

任何人都可以建议根本原因并解决这个问题..

Can any one suggest what is the root cause and work around for this problem..

谢谢,

Ramesh。

推荐答案

这不是SSMS,它占用你的记忆,它是SQL。 SSMS只是应用程序。可能你的存储过程应该写得更好,看看执行计划,它会给你瓶颈(如果存在)。否则它只是一个正常的加载
的数据,你不能做任何事情,但是:

It is not SSMS which is taking your memory, it is SQL. SSMS is only the application. Probably your Stored procedure should be written better, take a look at the execution plan, it will give you the bottleneck (if exists). Otherwise it is just a normal loading of the data and you can't do nothing but:

1)摆脱程序并在SSIS中执行ETL

1) Get rid of the procedure and do the ETL in SSIS

2)重写程序

3)设置最大内存服务器端(在磁盘中)。

3) set max memory server side (in the disk).

如果这篇文章对你有所帮助,请标记为答案

Please mark as answer if this post helped you


这篇关于注意:为什么我在编辑存储过程中的代码时我的SSMS突然卡住了...的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆