dbTalk Databases Forums  

Why a procedure with abstract plan attached got a different plan atexecution time???

sybase.public.ase.general sybase.public.ase.general


Discuss Why a procedure with abstract plan attached got a different plan atexecution time??? in the sybase.public.ase.general forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Susan Ye
 
Posts: n/a

Default Why a procedure with abstract plan attached got a different plan atexecution time??? - 08-19-2011 , 03:36 PM






Hi,

We recently upgraded to Sybase 15.0.3, and have seen radom bad query
plans since upgrade.

We added plan " " clause to one stored procedure, but still got a
different plan at execution time with totally different join orders.
It does not happy all the time, 99.9% of the time the plan is the
forced one, but that 0.1% time it took the wrong plan, the proc would
run for over a hour and had to be killed.

I'd appreciate advice or anyone sharing similar experience.

Thanks,
Susan

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.