Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / November 2005

Tip: Looking for answers? Try searching our database.

a servlet to access two db at the same tiem

Thread view: 
RandyTh - 11 Nov 2005 07:48 GMT
I am trying to create the servlet that searchs tables with the same
strcuture but on different DB( Oracle and MSSQL ) and get search result
based on the search condition specified. Currently I am going one by one to
through the SQL sentence and assemble the search result. However, the each
table has about 400000 rows so takes time get all result
back to the browser. I was thinking if i can throw the sql sentence to each
table on the difference db at the same time
time takes to get the search result will be shorter. Is it possible to do
this?

W
Richard Huddleston - 14 Nov 2005 03:30 GMT
> I am trying to create the servlet that searchs tables with the same
> strcuture but on different DB( Oracle and MSSQL ) and get search result
[quoted text clipped - 7 lines]
>
> W

Yes
Malte - 14 Nov 2005 14:57 GMT
> I am trying to create the servlet that searchs tables with the same
> strcuture but on different DB( Oracle and MSSQL ) and get search result
[quoted text clipped - 7 lines]
>
> W

Use multithreading. If the two database systems are on different
machines, you should see a big improvement.
You are not going to put 400K rows unto a browser, I take it.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.