Even more when you compare to a script executing the inserts, instead the
mysql client...

Olaf



On 6/5/08 12:06 PM, "mos" <[EMAIL PROTECTED]> wrote:

> At 10:30 AM 6/5/2008, you wrote:
>> Simon,
>> 
>> In my experience load data infile is a lot faster than a sql file htrough
>> the client.
>> I would parse the sql file and create a csv file with just the columns of
>> your table and then use load data infile using the created csv file
>> 
>> Olaf
> 
> Olaf,
>         Using a Load Data on an empty file is at least 10x faster than
> using SQL inserts. But I thought his blob field was binary (images) in
> which case Load Data won't work. If his blob field is plain text, then of
> course Load Data will work nicely. :)
> 
> Mike 
> 

----------------------------------------- Confidentiality Notice:
The following mail message, including any attachments, is for the
sole use of the intended recipient(s) and may contain confidential
and privileged information. The recipient is responsible to
maintain the confidentiality of this information and to use the
information only for authorized purposes. If you are not the
intended recipient (or authorized to receive information for the
intended recipient), you are hereby notified that any review, use,
disclosure, distribution, copying, printing, or action taken in
reliance on the contents of this e-mail is strictly prohibited. If
you have received this communication in error, please notify us
immediately by reply e-mail and destroy all copies of the original
message. Thank you.

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to