由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Database版 - 面试回来发考题2
相关主题
请教sql server temptable # 和 ##[转载] intensive I/O and odbc problem
求教:Oracle trigger 中生成的数据如何送到stored procedure中?stored procedure help Please.....
最近找工作的经验 SQL DBA更新stored procedure 菜鸟一问, PLEASE HELP,在线等
SQL debug step into a store procedure from another one (转载)Stored Procedure / Trigger - 谢谢
面试回来发考题3怎末优化一个stored procedure ?
Stored Procedure?请推荐关于Stored Procedure的书
如何分析Stored Procedure运行时间过长?Can I use array in SQL stored procedure?
how can i execute pl/sql (or stored procedure) in java??Help: stored procedure in oracle
相关话题的讨论汇总
话题: procedure话题: problem话题: stored话题: data话题: new
进入Database版参与讨论
1 (共1页)
n********6
发帖数: 1511
1
Tuning:
The stored procedure usually works well. Now it run for 10 minutes which is
abnormal. What would you do.
Answer: Depends on different scenario.
1. Generally it is a maintenance problem. e.g. fragments in index,
statistics needs to be updated...
2. Not likely to be development problem. (I missed one point that it can
also be dev problem, especially in the new released package to production.
Low performance might be caused by the new data flow processed by the logic
within stored procedure
B*****g
发帖数: 34098
2


is
logic

【在 n********6 的大作中提到】
: Tuning:
: The stored procedure usually works well. Now it run for 10 minutes which is
: abnormal. What would you do.
: Answer: Depends on different scenario.
: 1. Generally it is a maintenance problem. e.g. fragments in index,
: statistics needs to be updated...
: 2. Not likely to be development problem. (I missed one point that it can
: also be dev problem, especially in the new released package to production.
: Low performance might be caused by the new data flow processed by the logic
: within stored procedure

B*****g
发帖数: 34098
3
add some points:
1. check execution plan for possible high load sql, may also need to check i
f the statistic got sth. wrong.
2. check if anything in procedure may lock the data too long.
3. Resource for this procedure like shared pool, large pool....
4. Recently major data change. Data change not only affect the statistic, al
so it may affect the performnce of the current work flow of the procedure.
5. The changes of objects referenced by this procedure. Like add a new index
to a table used in

【在 B*****g 的大作中提到】
: 顶
:
: is
: logic

1 (共1页)
进入Database版参与讨论
相关主题
Help: stored procedure in oracle面试回来发考题3
问一个crystal report的问题Stored Procedure?
Why does this Stored procedure fail ?如何分析Stored Procedure运行时间过长?
请教:how to call a COM object in a stored procedure?how can i execute pl/sql (or stored procedure) in java??
请教sql server temptable # 和 ##[转载] intensive I/O and odbc problem
求教:Oracle trigger 中生成的数据如何送到stored procedure中?stored procedure help Please.....
最近找工作的经验 SQL DBA更新stored procedure 菜鸟一问, PLEASE HELP,在线等
SQL debug step into a store procedure from another one (转载)Stored Procedure / Trigger - 谢谢
相关话题的讨论汇总
话题: procedure话题: problem话题: stored话题: data话题: new