Transfer csv files into a mysql database

Reply

Join Date: Aug 2008
Posts: 5
Reputation: Kei is an unknown quantity at this point 
Solved Threads: 0
Kei Kei is offline Offline
Newbie Poster

Transfer csv files into a mysql database

 
0
  #1
Aug 6th, 2008
Hey everybody,

My company decided to improve the management of some data contained in csv files by loading their content in a mysql database.

I heard that this is part of the process called ETL. Is that right?
If that's so, which tool can I use in order to do what I describe above.

thanks.
Last edited by Kei; Aug 6th, 2008 at 5:58 pm.
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 31
Reputation: gtd is an unknown quantity at this point 
Solved Threads: 4
gtd gtd is offline Offline
Light Poster

Re: Transfer csv files into a mysql database

 
0
  #2
Aug 7th, 2008
Hi kei,

As a matter of fact you have two ways to do it depending on your technical background. You can either write a script yourself or use an ETL tool that will write the most part of the script for you.

Are you more of a technical user or more of a business user ?
Talend, provider of open source data integration software.
Reply With Quote Quick reply to this message  
Join Date: Aug 2008
Posts: 5
Reputation: Kei is an unknown quantity at this point 
Solved Threads: 0
Kei Kei is offline Offline
Newbie Poster

Re: Transfer csv files into a mysql database

 
0
  #3
Aug 9th, 2008
I would say that I am more on the "business side" than on the technical one.
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 4,267
Reputation: peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of 
Solved Threads: 493
Moderator
Featured Poster
peter_budo's Avatar
peter_budo peter_budo is offline Offline
Code tags enforcer

Re: Transfer csv files into a mysql database

 
-1
  #4
Aug 9th, 2008
MySQL documentation - LOAD DATA INFILE Syntax. Search page for references of csv for faster location
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)

LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 31
Reputation: gtd is an unknown quantity at this point 
Solved Threads: 4
gtd gtd is offline Offline
Light Poster

Re: Transfer csv files into a mysql database

 
0
  #5
Aug 11th, 2008
Indeed, if it is a one-shot project, the fastest way to do it is indeed with :

LOAD DATA INFILE 'path/file.csv' INTO TABLE your_table;

However, if you plan on doing it on a regular basis (if you receive, these very csv files regularly) you may want to use, indeed, an ETL tool.
Talend, provider of open source data integration software.
Reply With Quote Quick reply to this message  
Join Date: Aug 2008
Posts: 5
Reputation: Kei is an unknown quantity at this point 
Solved Threads: 0
Kei Kei is offline Offline
Newbie Poster

Re: Transfer csv files into a mysql database

 
0
  #6
Aug 11th, 2008
Thanks gtd and peter.

As you said gtd, I would like to do it 3 or 4 times a week.

I will do with "load data infile" now and I will wait for your other suggestion concerning the etl tool.

Why would it be better to use an etl tool if I plan to do it "on a regular basis" ?
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 31
Reputation: gtd is an unknown quantity at this point 
Solved Threads: 4
gtd gtd is offline Offline
Light Poster

Re: Transfer csv files into a mysql database

 
0
  #7
Aug 12th, 2008
It would not be better but simpler, because you can automate the task with an etl tool, thus allowing you to run the task on a user-defined basis.
Talend, provider of open source data integration software.
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 4,267
Reputation: peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of 
Solved Threads: 493
Moderator
Featured Poster
peter_budo's Avatar
peter_budo peter_budo is offline Offline
Code tags enforcer

Re: Transfer csv files into a mysql database

 
-1
  #8
Aug 12th, 2008
This may help you with choosing ETL tool
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)

LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Reply With Quote Quick reply to this message  
Join Date: Aug 2008
Posts: 5
Reputation: Kei is an unknown quantity at this point 
Solved Threads: 0
Kei Kei is offline Offline
Newbie Poster

Re: Transfer csv files into a mysql database

 
0
  #9
Aug 12th, 2008
Thanks for the link peter, it is very interesting.

but the full study need to be purchased...

Anyway, this survey seems a bit old (more than 2 years ago) and since I can't afford to dedicate a budget to the operations mentioned above, I have to choose an open source etl tool which pretty much narrows down the choice.

I will think about it and give my feedback afterwards.
Reply With Quote Quick reply to this message  
Join Date: Aug 2008
Posts: 5
Reputation: Kei is an unknown quantity at this point 
Solved Threads: 0
Kei Kei is offline Offline
Newbie Poster

Re: Transfer csv files into a mysql database

 
0
  #10
Aug 22nd, 2008
I have been using Talend Open Studio for a few days now, and it IS very user-friendly.

I also manage to export an access database to a postgre database very simply.

Thanks for this tool, very very useful and easy to use.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:




Views: 2558 | Replies: 9
Thread Tools Search this Thread



Tag cloud for MySQL
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC