We have recently upgraded from Sybase v11.9 to V12.5 and our procedures are running soooooo slowly.
I have recreated relevant indexes and recompiled the procs.
Any ideas ?
Two things you can look at. (Well three but the third, I suspect, isn't your problem)
1 & 2: You can increase the value of the procedure cache and/or data cache value in sp_configure
3: Or run a Monitor server and check to see where/if you have bottlenexcks.
Ex: sp_configure "procedure cache size", NEW_AMOUNT_OF_MEMORY_PAGES (2k pages)
sp_configure "total data cache size", NEW_AMOUNT (in "K"
The thing with 12.5 is that you REALLY have to fine tune your settings to get the best bang for your buck. I reccommend the Sybase ASE 12.5 Performance and Tuning Guide by Garbus, Miner et al (ISBN: 1-55622-908-9)
Not sure if this is relevant, but I have had friends who encountered something similar.
With abstract query plans, and optimizer changes, they actually dropped the procedures to remove all queryplans from sysprocedures, and recreated. If I recall, they had some luck with this process....
I guess I get a little twisted with my verbiage....
I am not sure I have the right verbiage since I sometimes intertwine query plans with query trees. But they dropped procs completely, so that all query trees were removed from sysprocedures. I may be mistaken, but the trees grow as they are recompiled.
I will try to ping my friend and see if he can provide additional info.
did u try to check out the query plans
i've some problems with query plans after upgrade
there some issues like datatypes hierarchy
that cause full table scan if u'r sp's declares variables
different from the columns datatype
try to check trace flag 291
We are also experiencing performance degradation with ASE12.5 on HP-UX 11.11i after recently upgrading from ASE11.9.2 on SCO Unixware. I was interested to see that applying OS maintenance releases resolved your performance issues. What OS are you using? What area was affected?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.