Forum Moderators: open
mysql> load data local infile 'c:/path/file.txt' into table table_name
-> fields terminated by ','
-> enclosed by '"'
-> lines terminated by '\n'
-> (column1, column2, column3, column4)
-> ;
I processed about 96 million records on a xp pro machine with 2 gigs in about 45 minutes. not bad at all.
The one thing to keep in mind is using / as the directory path instead of \. Thats what hung me up, heeh.
Now I get to work with a database that is 4.3 gigs, and somehow pull out relevant data so that I can win a million bucks!