Skip to content

Instantly share code, notes, and snippets.

@HostOnNet
Created January 30, 2016 20:05
Show Gist options
  • Select an option

  • Save HostOnNet/1fed35776538b3fd35a7 to your computer and use it in GitHub Desktop.

Select an option

Save HostOnNet/1fed35776538b3fd35a7 to your computer and use it in GitHub Desktop.
root@vm705:~# mongoimport -d sandbox -c history.m1 --type csv --headerline --drop --file DAT_ASCII_EURUSD_M1_2015.csv
connected to: 127.0.0.1
Sat Jan 30 15:05:15.252 dropping: sandbox.history.m1
Sat Jan 30 15:05:18.010 Progress: 11005206/20099400 54%
Sat Jan 30 15:05:18.010 203800 67933/second
Sat Jan 30 15:05:20.744 check 9 372211
Sat Jan 30 15:05:21.185 imported 372210 objects
root@vm705:~# mongo
MongoDB shell version: 2.4.10
connecting to: test
> use sandbox
switched to db sandbox
> db.history.m1.find().count()
372210
>
bye
root@vm705:~#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment