otmfaqForumsBlogsRegister
FAQMembers ListCalendarToday's PostsSearch


 Subscribe Blogs:RSS
 Subscribe Forums:RSS
OTMFAQ Home
OTMFAQ Blogs
OTMFAQ Forums
OTMFAQ Tutorials

OTM SIG
MavenWire


Database Administration Database installation, creation, administration and related topics.

Tags: , ,

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old October 13th, 2007, 22:36
Junior Member
 
Join Date: Mar 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
ajoybasu is on a distinguished road
Exclamation Stored Procedures

Hi,

I am using Stored Procedures to perform certain calculations and set the statuses based on the rules. But we found that any updates being my made the Stored procedure does not reflect immediatley on the OTM screens. The changes become visible only after a certain amount of time.

Can you let me know why this is so . Is there some Cache settings that needs to be updated or changed.

Are there are any disadvantages of using Stored Procedures when compared to Agents with DirectSQL?

Regards
Ajoy
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old October 15th, 2007, 02:46
chrisplough's Avatar
Site Moderator
 
Join Date: Jun 2006
Location: West Chester, PA
Posts: 816
Blog Entries: 7
Thanks: 53
Thanked 199 Times in 121 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 10
chrisplough has a spectacular aura aboutchrisplough has a spectacular aura aboutchrisplough has a spectacular aura about
Send a message via AIM to chrisplough
Re: Stored Procedures

Ajoy,

You've hit against the main disadvantage of stored procedures within OTM. The App server utilizes many large caches in order to maintain performance levels. Disabling these caches isn't an option within the application -- and if it was, would degrade performance significantly.

The only supported way to ensure that these changes are immediately reflected are to utilize Agents with DirectSQL, so that the application becomes aware of the execution and then updates the appropriate caches. The disadvantage of this approach is that Agents are significantly more expensive (in terms of performance) than stored procedures.

Thanks!
--Chris
__________________
Chris Plough
MavenWire

www.MavenWire.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to chrisplough For This Useful Post:
cunninghamg (October 15th, 2007)
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
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can 2 Mail ids be stored in a single Contact screen moshe Execution 6 October 6th, 2008 14:10
Stored Procedure in Direct SQL muthaharotm Workflow 3 April 15th, 2008 11:49
stored query nikesh mohanlal Branding, Screen Sets, XSL/CSS and Translations 1 March 14th, 2008 21:39



All times are GMT. The time now is 23:08.
Copyright © 2008, Open Book Solutions LLC. All rights reserved.

Sponsored by MavenWire - MavenWire.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37