Re: Insert speed (JDBC and MySQL)



On Tue, 24 Jan 2006 14:33:10 +0000, John <no@email> wrote, quoted or
indirectly quoted someone who said :

>Does anyone know how to improve the performance of these INSERTs?

You want to turn off any sort of transaction processing, commits or
failure looks.

Failing that, write a program that execs a fast flat-file import of a
chunk, does something then spans the import of another chunk.

If it is an opensource DB, have a look at the tricks the import uses
to turn off overhead.
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
.



Relevant Pages

  • Looking for comprehensive list of all IDS event class id and message parameters with associated seve
    ... just need to know that what each individual CLASS ID has for a Severity Level. ... No error has occurred, but some routine event completed successfully (for example, checkpoint or log backup completed). ... This event does not compromise data or prevent the use of the system; however, it warrants attention (for example, one chunk of a mirrored pair goes down). ... Something unexpected occurred that might compromise data or access to data (assertion failure, ...
    (comp.databases.informix)
  • Re: data manipulation
    ... > am failing to understand exactly what is happening here. ... It adds an element to the array @chunks with what's been stored in ... $chunk from previous iterations, ... My suggestion means that the whole log file ends up in memory in the ...
    (comp.lang.perl.misc)
  • Re: data manipulation
    ... Bob wrote: ... > failing to understand exactly what is happening here. ... if $chunk is a true value, then the value of $chunk gets tacked onto ... Fort Worth, Texas ...
    (comp.lang.perl.misc)
  • Re: Training Week Ending September 16, 2007
    ... big chunk at MP, so I call this a failure ... Hardly a failure after back to back 12-15-16 days...it's all you could do, ... from forcing things. ... workouts that followed. ...
    (rec.running)