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 / August 2005

Tip: Looking for answers? Try searching our database.

JDBC Drivers and Fastest Datatypes

Thread view: 
nicholas.wakefield@gmail.com - 30 Jul 2005 18:27 GMT
Basically I want to read a table as fast as possible and rewrite on a
different db and was wondering if getBytes would be the fastest
approach. On some drivers I've made use of dbms specific extensions but
I was wondering if anyone had looked into this or had any better ideas.

I'm dealing with 100 million row tables and yes I could use a tool but
I'm still interested in peoples opinions.
Joan - 30 Jul 2005 21:42 GMT
> Basically I want to read a table as fast as possible and
> rewrite on a
[quoted text clipped - 7 lines]
> tool but
> I'm still interested in peoples opinions.

Is it 100 (million row tables)
or (100 million) (row tables)
;-)
nicholas.wakefield@gmail.com - 31 Jul 2005 00:26 GMT
100 million rows.
Malte - 31 Jul 2005 05:26 GMT
> Basically I want to read a table as fast as possible and rewrite on a
> different db and was wondering if getBytes would be the fastest
[quoted text clipped - 3 lines]
> I'm dealing with 100 million row tables and yes I could use a tool but
> I'm still interested in peoples opinions.

I'd assume that the database you use can link to another database. In
this case I would look into using a stored procedure and have the
databases fight it out.
nicholas.wakefield@gmail.com - 01 Aug 2005 05:12 GMT
The databases cannot link, the transfer has to be done via jdbc for
this test.

> > Basically I want to read a table as fast as possible and rewrite on a
> > different db and was wondering if getBytes would be the fastest
[quoted text clipped - 7 lines]
> this case I would look into using a stored procedure and have the
> databases fight it out.
steve - 01 Aug 2005 14:18 GMT
> The databases cannot link, the transfer has to be done via jdbc for
> this test.
[quoted text clipped - 10 lines]
>> this case I would look into using a stored procedure and have the
>> databases fight it out.

which data base, if it is oracle then you can setup a static link between 2
or more database tables, and you do not need java.

Steve
Malte - 01 Aug 2005 15:38 GMT
> which data base, if it is oracle then you can setup a static link between 2
> or more database tables, and you do not need java.
>
> Steve

The OMjust said that a link is out of the question.
steve - 05 Aug 2005 23:20 GMT
>> which data base, if it is oracle then you can setup a static link between 2
>> or more database tables, and you do not need java.
>>
>> Steve
>>
> The OMjust said that a link is out of the question.

why?

then use remote login.
nicholas.wakefield@gmail.com - 06 Aug 2005 17:22 GMT
You're killing me,

A static link is out of the question, the db could be anything and the
question is more about the JDBC api than anything?

JDBC is the only way it can be done in this case.

> >> which data base, if it is oracle then you can setup a static link between 2
> >> or more database tables, and you do not need java.
[quoted text clipped - 6 lines]
>
> then use remote login.
steve - 07 Aug 2005 10:47 GMT
> You're killing me,
>
[quoted text clipped - 14 lines]
>>
>> then use remote login.

>>> I was wondering if anyone had looked into this or had any better ideas.

your the one that asked for better ideas.

>>> I'm dealing with 100 million row tables .

how do you think you are going to maintain data integrity, by pulling 100
million rows off 1 database to put them back into another database.

if you are going to be silly about it then:

you are going to need a  linux/unix machine with java &  multiple >2ghz
processors.

and a fiber link between the machine & the 2 servers.

and perhaps the visigenic drivers, as they are the fastest.



nicholas.wakefield@gmail.com - 09 Aug 2005 03:25 GMT
The better idea, was only within the realm of what is offered by JDBC.
As for the hardware, I think the e10K will suffice. Though I've never
tried the Visigenic drivers, so I'll look into that.
Frank - 07 Aug 2005 14:00 GMT
> Basically I want to read a table as fast as possible and rewrite on a
> different db and was wondering if getBytes would be the fastest
[quoted text clipped - 3 lines]
> I'm dealing with 100 million row tables and yes I could use a tool but
> I'm still interested in peoples opinions.

Not JDBC-related, and probably fairly common knowledge, but make sure
you drop indexes from the destination database before a bulk insert like
this.


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.