wood burning stoves*
The moose likes Servlets and the fly likes Performance Issue[JDBC ] Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Reply locked New topic
Author

Performance Issue[JDBC ]

Vikas
Greenhorn

Joined: Feb 20, 2003
Posts: 5
I am making call Oracle Function on remote database .
The values are taken in result set.The numbers of records in result set are aroung 6000.
when I do
while(rs.next())
{
//My logic
}
This takes aroung 5 min(300 sec) to get completed
Now I commented all my logic inside while loop of rs.next()
then also its taking around 4 min (250 sec) to just loop through records.
Is there any way I can minize my time to just loop through records.
I am using oracle thin driver to make connection.
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

This is a cross post

Closing this one.
 
wood burning stoves
 
subject: Performance Issue[JDBC ]
 
Similar Threads
how to set time in hh:mm:ss Format?
Performance Issue
time taken in rs.next()
while (rs.next()) not stopping at EOF.
how to get a number of record from the Resultset