optimized insert - bulk copy (possible?)
Hi there,
i'm porting a database from PostgreSQL to MySQL.
In Postgres we use for optimized insert a specific class, in detail the code is:
PGConnection underlyingconnection = null;
// org.postgresql.PGConnection
CopyManager copy = null;
//org.postgresql.copy.CopyManager
InputStream fileIn = null;
try {
fileIn = new FileInputStream(newTempFile);
underlyingconnection = connection.unwrap(PGConnection.class);
copy = underlyingconnection.getCopyAPI();
etc..
There is something similar in MySQL J/Connector? I hear about LOAD_DATA but i'm not sure specific to this function..
THANKS in advance.
Subject
Written By
Posted
optimized insert - bulk copy (possible?)
July 18, 2012 03:54AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.