Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MYSQL IMPORT

Status
Not open for further replies.

prav5110

IS-IT--Management
Sep 17, 2003
8
US
HI Guys,

AM importing a CSV file having 136000 rows to access DB, the import takes place in 2 mins. When I do the same to an MYSQL server table, it imports 54000 records only and that too in 1 hr.

Could you help?
 
Not enough information to answer.

What are you running? Linux, windoz.

Are you usign a GUI or mysqlimport?

Post your MySQLimport script if you are using it. If you are using a GUI that could be your problem. Try using mysqlimport.


Bye

Qatqat



Life is what happens when you are making other plans.
 
HI,

thanx for your help so far. Well am using windows NT . When i tried importing the csv file using script like

load data infile 'C:\\LucentNonPerfRpts.csv' into table tblluc_non_perf fields terminated by ',' enclosed by '"' lines terminated by '\r\n';

It imported only 29000 rows, now am using a GUI called NAVICAT and am able to import 58000 rows.
 
I have never heard of NAVICAT

I usually use mysqlimport




You may try it but I think that mysqlimport utility issues a LOAD DATA INFILE command so I don't know if it is going to make any difference.

Bye

Qatqat

Life is what happens when you are making other plans.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top