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 / Databases / March 2006

Tip: Looking for answers? Try searching our database.

Jdbc Oracle getMetaData is slow?

Thread view: 
Meetlint - 20 Mar 2006 22:40 GMT
Hello,

I am fetching MetaData using the Oracle jdbc thin driver and find it
very slow.

Are there any global parameters or settings to be done to tune this?

thanks,
Peter
Joe Weinstein - 20 Mar 2006 22:52 GMT
> Hello,
>
[quoted text clipped - 5 lines]
> thanks,
> Peter

The getMetaData call itself isn't slow, right? Certain DatabaseMetaData
calls can certainly be slow, because some of them can make some complicated
queries.... I don't think there's much you can easily do from the client
to make the metadata querires faster, but if you collect the trace from
the DBMS and examine those queries, your DBA *may* be able to do some
admin stuff to make those queries faster. Other than that, how volatile
is the metadata you're asking for? Can you cache and re-use it?
Good luck,
Joe Weinstein at BEA Systems
Meetlint - 29 Mar 2006 07:38 GMT
>> Hello,
>>
[quoted text clipped - 7 lines]
>
> The getMetaData call itself isn't slow, right?
Right.
Certain DatabaseMetaData
> calls can certainly be slow, because some of them can make some complicated
> queries.... I don't think there's much you can easily do from the client
> to make the metadata querires faster, but if you collect the trace from
> the DBMS and examine those queries, your DBA *may* be able to do some
> admin stuff to make those queries faster. Other than that, how volatile
> is the metadata you're asking for? Can you cache and re-use it?
We are caching it. But actually the information is only used once. :-)
It is sort of a databinding check routine against the database fields.
We are now hiding it behind an interface to experiment with direct
Oracle selects.
> Good luck,
Thanks,
Peter


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



©2008 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.