Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java program on Solaris runs slow when connecting to database on same system

 
Ravi Srinivas
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I'm developing a Java program to read a large no. of records (arnd 40,000) from a file and populate into an Oracle database on a Solaris system. I'm using a thin JDBC driver. The problem is that the program runs very slow on Solaris.
When I run the Java program on a Windows machine (and connect to the Solaris machine) the program runs quickly. However when I run the program on the Solaris machine itself, it runs much much slower. I need the program to run faster in the Solaris environment. Can anyone help?
The SPARC system used is SunOS 5.8, 4GB memory, 2*750MHz processors
Thanks a lot
Ravi
 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am deleting the other topic that is identicle to this one.
 
SJ Adnams
Ranch Hand
Posts: 925
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
there is something called sqlloader for stuff like this...
 
Braj Prasad
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try using the oci driver for your purpose.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic