由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Database版 - 如何分析Stored Procedure运行时间过长?
相关主题
query analyzer VS. Stored procedure菜鸟求救:sql server 2000 启动
请教一个mssql的问题quick question
SQL Server怎么查为什么store procedure跑的慢?SQL debug step into a store procedure from another one (转载)
请教怎么来log duration of a MYSQL procedure?SQLCODE = -1
what is optimizer statistics in Oracle?如何从一个Stored Procedure中实时返回运行信息
在win2000+sql server 2000中怎么加入中文?how to check the definition of a stored procedure in TOAD
how to open .QRY file?请问如何DEPLOY STORED PROCEDURE啊
Query 优化的问题stored procedure running 很慢的问题
相关话题的讨论汇总
话题: stored话题: procedure话题: query话题: 运行话题: sql
进入Database版参与讨论
1 (共1页)
h*****l
发帖数: 184
1
一个Stored Procedure原来只要运行两三分钟,
做了些修改以后,要运行半个多小时。
应该如何分析解决问题?
多谢了。
a*****a
发帖数: 438
2
If on sql server, its Query Analyzer has an option called
"Analyze query execution plan" which shows you how the query
(storedproc) is going to be executed.

【在 h*****l 的大作中提到】
: 一个Stored Procedure原来只要运行两三分钟,
: 做了些修改以后,要运行半个多小时。
: 应该如何分析解决问题?
: 多谢了。

d******e
发帖数: 2265
3
tell us your databse Managerment system.
不知道具体的dbms怎么帮你
并且,你可以检查的东西太多,index,i/o,存储过程的个数.
操作系统,cooked file or raw disk.参考一下你的performance guidance吧.

【在 h*****l 的大作中提到】
: 一个Stored Procedure原来只要运行两三分钟,
: 做了些修改以后,要运行半个多小时。
: 应该如何分析解决问题?
: 多谢了。

h*****l
发帖数: 184
4
My DBMS is MS SQL Server.

【在 d******e 的大作中提到】
: tell us your databse Managerment system.
: 不知道具体的dbms怎么帮你
: 并且,你可以检查的东西太多,index,i/o,存储过程的个数.
: 操作系统,cooked file or raw disk.参考一下你的performance guidance吧.

d******e
发帖数: 2265
5
oh,对mS的东西不太懂.不过你先看看性能的各种数据.

【在 h*****l 的大作中提到】
: My DBMS is MS SQL Server.
l*w
发帖数: 71
6
what version, 2000 or 7.0. There are perf tools come with the installation.
I will give you more detail tomorrow after I check some references.

【在 h*****l 的大作中提到】
: My DBMS is MS SQL Server.
l*w
发帖数: 71
7
using sql profiler you can find out the time spend on each statement.

【在 l*w 的大作中提到】
: what version, 2000 or 7.0. There are perf tools come with the installation.
: I will give you more detail tomorrow after I check some references.

1 (共1页)
进入Database版参与讨论
相关主题
stored procedure running 很慢的问题what is optimizer statistics in Oracle?
analyze 在oracle里怎么用?在win2000+sql server 2000中怎么加入中文?
刚刚结束的SENIOR SQL SERVER DBA 面试how to open .QRY file?
怎么样提高SQL SERVER的编程水平?Query 优化的问题
query analyzer VS. Stored procedure菜鸟求救:sql server 2000 启动
请教一个mssql的问题quick question
SQL Server怎么查为什么store procedure跑的慢?SQL debug step into a store procedure from another one (转载)
请教怎么来log duration of a MYSQL procedure?SQLCODE = -1
相关话题的讨论汇总
话题: stored话题: procedure话题: query话题: 运行话题: sql