What is the Disadvantage of StoredProcedure?

Questions by sbehera02   answers by sbehera02

Showing Answers 1 - 9 of 9 Answers

Chand Basha

  • Jan 3rd, 2007
 

It increase the load on server. if other applications are using same DB server, they become solw.

Chand.

  Was this answer useful?  Yes

Guest

  • Jan 9th, 2007
 

It is possible that the statistics have changed since a stored procedure was compiled and thus may be executing a less the optimal executionplan, thus it may run slower.

  Was this answer useful?  Yes

When a procedure is created a execution plan is created, proc is executed according to that execution plan. When we modify the proc it also follow this execution plan.
When index is rebuild, new index structure is created, but the proc follows the old execution plan because it was compiled, so there is a chance of unexpected result.
For this there is need to recompile the proc.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions