Here is the context. I've got a ruby on rails application deployed on Heroku. I'm using Postgres database.
I'd like to import a very large csv file (69MB) (it's the allCountries file from geonames) into my heroku database.
How to make it ?
i think it's a bad idea to put this large file in my repo and after to make a rake task to import it via activerecord. It's a bad idea according to me because it will slow down pushes to heroku. Do you agree ?
with a psql client from my local machine to heroku postgres database like described herre : https://gist.github.com/jboesch/5605747 Are there any restricitions by heroku to import large files like that ? No timeout issue or something like that ?
Do you see a more appropriated way to import my large csv file ?
Thank you in advance for your answers !
Christophe http://www.merciedgar.com