Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

MDB vs DB approach

 
raj joe
Ranch Hand
Posts: 99
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a scenerio wherein I am calulating stock indices for large volume.
there are two approaches as listed below, pls help in identifing the best one.

1.We have MDB and all incomming requests are fullfilled and index in calulated in the java application.

2.I have a incomming requested put in DB and a trigger is attached and an Stored Procedure does the calculation does the processing.
 
Nathaniel Stoddard
Ranch Hand
Posts: 1258
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The MDB option would give you more control over the resources used. Having a trigger would may just bog down the database server.
 
Chris Mathews
Ranch Hand
Posts: 2712
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Database Triggers are also notorious difficult to put decent exception handling around. Given the choice between Database Triggers and Anything Else... I usually chose the Anything Else.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!