on 09-25-2006 3:33 AM
Hello,
We have a scenario where we have more than 25000 rows being fetched from an external DB via JDBC. We have maxed out the query.But we need to update the tables immediatly for process flags. This is a big bear on the J2EE. Is using stored procedure the solution for this? I mean execute a stored procedure for the select and another for update? How is the resource consumption on using stored procedure? I tried reducing the poll interval too but its too risky...
Any suggesitons...
- AR
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
AR,
JDBC discourages use of stored procedure for the reason of portability. i.e. things might not work well if you change your Database in future. But as long as your query & the code accessing the query is optimised, tuned for performance , should not be an issue.
-- Amol
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.