Best Practice : Import CSV to MYSQL Database using PHP 5.x

Posted by ArneRie on Stack Overflow See other posts from Stack Overflow or by ArneRie
Published on 2009-07-07T14:24:02Z Indexed on 2010/05/01 0:57 UTC
Read the original article Hit count: 329

Filed under:
|

Howdy Folks,

what is the best solution to import large amounts of records into an MySQL or Oracle Database. I Think there are two ways :

  • Insert every record with an persistent connection
  • Create on BIG SQL-Statement and query the Database

Iam not sure wich is performing better ? Is there any Best Practice Solutions for this kind of operation ??

© Stack Overflow or respective owner

Related posts about sql

Related posts about php