Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Remember me

Go Back   Tutorialized ForumsDatabasesSybase

Add This Thread To:   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
Unread Tutorialized Forums Sponsor:
Old August 17th, 2013, 02:31 AM
raghav56 raghav56 is offline
Registered User
Tutorialized Newbie (0 - 499 posts)
Join Date: Aug 2013
Posts: 1 raghav56 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 10 m 57 sec
Reputation Power: 0
Performance problem with SP

Hi All,

Currently i have modified the stored procedure to handle the some additional functionality. I deployed the modified procedure and ran it was completed successfully in 1 hour. I ran the same procedure without changing anything( both the code and data) and the proceudre took 5 hours to complete.
once again I dropped the procedure and re-deployed and ran the proceudre and it completed in 1 hour. So whenever i ran the procedure after the 1 ran of deploymnet i am facing the performance problem. could you please help me on this asap?????

In our stored procedure we are using more temp tables and indexes on temp tables.
I also check the transcation log and temp db utilisation during the both the ran(when it took 1 hr to complete and 5 hour to complete). In both the case the tempdb utilisation was less than the 5%.

From the query plan i have seen that the query taking more time during the second run. Buffer Replacement Strategy for data pages is LRU for temp table during the first and it was MRU during second time.

Please let me know your thoughts on this ASAP.


Reply With Quote

Viewing: Tutorialized ForumsDatabasesSybase > Performance problem with SP

Developer Shed Advertisers and Affiliates

Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:

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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 

Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.

© 2003-2019 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap