Тёмный

Use mongoimport to Import a CSV file into a MongoDB Database and Collection 

Becoming a Data Scientist
Подписаться 23 тыс.
Просмотров 44 тыс.
50% 1

Опубликовано:

 

21 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 106   
@HussainAhmed-pz2yb
@HussainAhmed-pz2yb 3 года назад
I almost spent 2 hours and didn't figured out my mistake. But you my bro saved my day.
@anjakimberley4769
@anjakimberley4769 3 года назад
This video is so helpful, really hard to find a walk through but this was perfect (uploading CSV files to MongoDB on a Mac as a newbie)
@adamkenawell6774
@adamkenawell6774 3 года назад
Thanks so much, very helpful! I am working on my final project for a college class and it required me to import a csv file into mongodb. This video was extremely easy to follow and it took me a total of 10 minutes from installation of mongodb to working with my csv in the mongo command line. You definitely saved me 4 hours!!! 😁
@zak9934
@zak9934 3 года назад
Do you have an idea to import data directly from Hive into MongoDB
@jeremeymanuelpillai6848
@jeremeymanuelpillai6848 2 года назад
I am in your position, just 1 year later
@rod5732
@rod5732 2 года назад
thank you thank you thank youu a lot!! I tried everything but your video was the most helpful
@ndtgroup
@ndtgroup 2 года назад
Thank you so much. Even my instructor failed to show us how to do this.
@FireSwordOfMagic
@FireSwordOfMagic Год назад
Thank you so much! I've been trying to figure how to get the mongoimport tool. It mentions in the documentation that it no longer comes with mongodb, but it doesn't mention how to get it. Much appreciated again.
@mohammedibrahim5577
@mohammedibrahim5577 2 года назад
Not the hero we deserve but the hero we need
@NikitaSharma-bs4gg
@NikitaSharma-bs4gg 2 года назад
Yes ...the tools for database tools It took me 2 hrs and nothing Thank you for sharing
@dericuspaul9319
@dericuspaul9319 4 года назад
Thanks man!!! I’m doing some homework and been trying to figure this out for a long time as well. Your video was straight to the point helpful! Great job.
@Tsukasa1929
@Tsukasa1929 3 года назад
Thanks for the share, tip: write CMD in the address bar folder you are, that will open a cmd windows in that folder
@noumantelusko1722
@noumantelusko1722 3 года назад
your 4 hours work paid of my 6 hours! thanks man!
@danieltessema4270
@danieltessema4270 3 года назад
Thank you! I have been struggling with this thing, not 4 hours but 4 days! again thank you
@ABHISHEKKUMAR-ie3hl
@ABHISHEKKUMAR-ie3hl 3 года назад
Thanks a lot for the video! 👍🙏 One side note, you can save the path to the mongo executables as PATH environment variable. That will save some time by eliminating the need to copy the entire path to the bin and doing a cd before running mongo.exe or other executables present in bin directory.
@happyshokeen4110
@happyshokeen4110 4 года назад
thanks a lot man, been suffering for 3,4 hours trying to find the exact same thing .
@rubeshmohan8322
@rubeshmohan8322 2 года назад
Awesome man🔥it was very useful to me, respect your hardwork bro👍🏼
@paperboy1116
@paperboy1116 4 года назад
Cool video dude! Been trying to figure this out using MongoDB Atlas for the last few days
@mr.ramnani
@mr.ramnani 2 года назад
Thanks man for saving my 3 hours and 30 minutes
@kushaldavda5892
@kushaldavda5892 2 года назад
You are awesome! You saved my 3 hours and 53 mins
@abeercodes
@abeercodes 4 года назад
Thank you soooo much!!! super helpful. I spent 3 hours and finally...
@dhanshriful
@dhanshriful 3 года назад
Thanks a lot... i was struggling for two hours!
@jasmeetdhaliwal3379
@jasmeetdhaliwal3379 3 года назад
Thanks a lot, man!! I was trying to figure it out from last 3 hours .
@jbrew1237
@jbrew1237 3 года назад
Instead of having the csv file in the bin, you can put the full file path leading to the file after the "--file" and it works.
@abhishekshrivastava9683
@abhishekshrivastava9683 3 года назад
Why didn't you use the 'Compass' tool to import the .csv file. It's easier. I just imported 32,000 documents in my collection. You are a cool guy and I love your presentation way. Also, I learned a new way to import .csv in the MongoDB database collection via 'Command Prompt'. Thank you :)
@snoopshaggy5213
@snoopshaggy5213 3 года назад
Thankyou very much, you just saved me hours on this for a University project.
@nononnomonohjghdgdshrsrhsjgd
Thanks so much! Concise and exact explanation.
@EdYoungHEY
@EdYoungHEY 2 года назад
Thank you so much for this! Great job! So helpful and clear and I'm even using a mac and your clarity made it easy to understand as to how it applied to the mac environment.
@drraxinarc12
@drraxinarc12 4 года назад
Hi Nathan watched your video on aggregate functions in SQL and was super useful. Can you make more SQL videos?
@sabiyatabassum2206
@sabiyatabassum2206 Год назад
Yes, It really helped me. Thanks for making this video.
@saptarshiroy7764
@saptarshiroy7764 3 года назад
Hi, your video was really helpful for me,thanks man!One question I would like to ask,I have a requirement of importing multiple csv files into mongdb,for that do I really need to write query for each csv file,or there is a way by which I can do it all at once?
@kajalpareek8291
@kajalpareek8291 2 года назад
Hey saptarshi did you got your answer?
@saptarshiroy7764
@saptarshiroy7764 2 года назад
@@kajalpareek8291 No unfotunately,I had to cut down on the no of csv files I could import and had to do seperate import for each file
@kajalpareek8291
@kajalpareek8291 2 года назад
@@saptarshiroy7764 ohh 😅
@PsclKmn
@PsclKmn 3 года назад
Good video, clear and concise. Thank you!
@mohammadrnemati9702
@mohammadrnemati9702 2 года назад
Thanks alot for this very very helpful video . You saved our time and peace.
@ramessurhusanand9931
@ramessurhusanand9931 3 года назад
Great job sir....Awesome...fabulous
@krishnamoorthynatarajan7983
@krishnamoorthynatarajan7983 3 года назад
Thanks a ton, searching this info for long time. Great that u included right from downloading the zip.. 🙌
@nunziamarotta4005
@nunziamarotta4005 2 года назад
Had same issue, thank you so much!
@darsul3200
@darsul3200 4 года назад
Thank you for making this tutorial. I was about to bust a vein because i couldn't figure out how to import data from local to mongo atlas
@indojinsama6303
@indojinsama6303 2 года назад
U have made my life easier bro :)
@davidallen4529
@davidallen4529 3 года назад
you are a damn life saver. i gave you a like, subscribe and notification turn on. thank you good sir!
@kevinmorte3959
@kevinmorte3959 2 года назад
Hi! How did you manage to have an excel with values separated but tabs (or let's say heach value on its own cell) and still, even the extension of the file is indeed .csv, and work properly. I do the exact thing an the items get saved as {name,surname: john dohner}. Thanks!
@monikaverma4599
@monikaverma4599 3 года назад
Thank you....looking for this...great job
@ololadeakinyimika6210
@ololadeakinyimika6210 3 года назад
Thank you so much. So straight forward and save time
@buvaneshb423
@buvaneshb423 2 года назад
you are godman thankyou for saving my time😌
@lankoprivc2053
@lankoprivc2053 3 года назад
Thanks a lot probably saved me quite some time
@MichaelGTadesse
@MichaelGTadesse 3 года назад
thanks for sharing this - really helpful!
@safalpatel2839
@safalpatel2839 3 года назад
Thanks a lot bro it did helped me👍
@쎄니-j1g
@쎄니-j1g 3 года назад
감사합니다. 저한테 꼭 필요한 영상이었어요 !
@digitama
@digitama 2 года назад
not sure if this is a mongodb version 6.0 but when I type the command mongoimport, I got "'mongoimport' is not recognized as a internal or external command, operable program or batch file". How do I fix it??
@wasiushina9567
@wasiushina9567 3 года назад
You are a live saver . Thanks a lot ...
@hrishikeshdeshmukh6903
@hrishikeshdeshmukh6903 Год назад
Thank you for the help sir.
@max477
@max477 3 года назад
Thank you so much I wasted my whole day trying to figuring out whats wrong with my installation ..! I think this is new update
@journeydivine
@journeydivine 3 года назад
Great video thank you so much!
@sedesf
@sedesf 3 года назад
Muchas gracias!!! muy buen video
@showyouhow3801
@showyouhow3801 4 года назад
Great Job, Thanks so much!
@arktos09
@arktos09 3 года назад
An lazy method without copying anything, and don't dealing with paths would be to use the MongoDB Compass which should be directly installed with MognoDB. Import tools etc, are already included. Only be sure MongoDB ist started, and then create a new database and add the data via new collection.
@rishivarmad7942
@rishivarmad7942 3 года назад
Thank You. It helped a lot.
@soundofmusic94
@soundofmusic94 3 года назад
THANK YOU YOU LOVELY MAN!
@dopamine1921
@dopamine1921 3 года назад
finally i found the solution, thanks a lot ♥
@sachinkahandal4104
@sachinkahandal4104 3 года назад
Tysm, but smh I'm getting E11000 duplicate key error collection {id : null} How should I pass id? Isn't it something mongo takes care of by itself?
@henrychen8171
@henrychen8171 3 года назад
Thank you for help my homework ;)
@zak9934
@zak9934 3 года назад
I need to move data from Hive to Mongo DB. Can I use import at MongoDB? Also, can I schedule task for importing data from Hive into MongoDB
@rupeshghule8495
@rupeshghule8495 3 года назад
Thanks alot man😁✌️
@needle6782
@needle6782 3 года назад
thanks but how we can use this with Mongodb Atlas , I can connect it but can't send any files TT
@beingpeterkevin
@beingpeterkevin 3 года назад
Thank you, man!
@elizabethbabykuriakose7499
@elizabethbabykuriakose7499 2 года назад
Thank you for this video
@sanadhahri5744
@sanadhahri5744 3 года назад
Thank youu so much so helpfuul
@sushantbaweja424
@sushantbaweja424 3 года назад
Is there a way to upload an object or an array of objects from csv to mongodb ?
@nomadsoulkarma
@nomadsoulkarma 3 года назад
Not sure why but my Mongo download already had the import exe within. Finding the mongodb msi link was frustrating for me because with firefox mongo's website didn't have a link to the msi but was there when I used google chrome.
@danilocorreia5104
@danilocorreia5104 3 года назад
Thanks for the video! Now, how do I upload this to my Atlas? hahahahah
@jennikuvaja6800
@jennikuvaja6800 2 года назад
Everything seemed to work fine at the beginning, but I didn't get the mongo.exe file. So still struggling...
@rahulmahajan2412
@rahulmahajan2412 4 года назад
How to add multiple excel columns into a field as array?
@scottwright2473
@scottwright2473 3 года назад
cheers buddy you're legend
@kapilvalhe96
@kapilvalhe96 3 года назад
Thanks alot, its amazing
@hanumantripathi717
@hanumantripathi717 2 года назад
it was really helpful thanks I spend more than you
@synthstatic9889
@synthstatic9889 2 года назад
Mine is still saying mongoimport is not recognized.
@brandoricardosanchezrodrig2363
@brandoricardosanchezrodrig2363 3 года назад
Thanks a lot bro
@JonhMalcovich
@JonhMalcovich 3 года назад
Excelent thanks!!!
@jvniorrodrigo
@jvniorrodrigo 3 года назад
¡Muchas gracias!
@charankumar1323
@charankumar1323 Год назад
sir can i know how to import csv file in mongosh
@mczfender
@mczfender 3 года назад
how to import file from different path? Is this possible?
@mczfender
@mczfender 3 года назад
or simply start mongo cli from other folder?
@ashleykhoo53
@ashleykhoo53 3 года назад
THANK YOUUUU
@sujatasingh2827
@sujatasingh2827 3 года назад
thank you so much
@nenadlukic4365
@nenadlukic4365 3 года назад
thanks man :)
@anushachaturvedi3755
@anushachaturvedi3755 Год назад
you are amazing
@damixs8964
@damixs8964 2 года назад
Thank you
@dan125874
@dan125874 3 года назад
wonderful
@harounamor614
@harounamor614 3 года назад
Man u saved my ass !!!!
@imade_8515
@imade_8515 2 года назад
mongoimport not available on v5
@YoomarTuNoOmar
@YoomarTuNoOmar 4 года назад
I can't believe I just had to download the MongoDB Database Tools...
@becomingADS
@becomingADS 4 года назад
Haha, yes - I tried so many things... I was updating my computer's registry even trying to figure it out. I don't know why they "hide" how to do this simple task!
@mdirfankhan1775
@mdirfankhan1775 3 года назад
Super
@giancarloandrebravoabanto7091
@giancarloandrebravoabanto7091 3 года назад
Im trying 4hours and still #headache
@JakubSK
@JakubSK 3 года назад
It's called a collection of documents because it's not tabular... Simple.
@aniketroy5221
@aniketroy5221 2 года назад
thanks
@JakubSK
@JakubSK 3 года назад
Funny, this is super easy in a Unix environment. Figures it sucks in Windows.
@Mufaz187
@Mufaz187 3 года назад
Collection means table for normal people 😂😂😂
@alhdo9231
@alhdo9231 Год назад
Hi for those who are trying with version 6.0.X i had to do this command to make it work : mongoimport --db your_db_name --collection your_collection_name --drop --type csv --headerline --file your_csv_file.csv
@Pareshbpatel
@Pareshbpatel 3 года назад
Very informative video. Thank you. PS Subscribed! {2021-06-25} - {2022-10-17}
@vichht
@vichht 2 года назад
Thanks a bunch! Clear and Easy to understand
@ismailqaddah7784
@ismailqaddah7784 3 года назад
you have been so helpful, thank you
@petarbratic9772
@petarbratic9772 3 года назад
thank you
Далее
How to Import CSV Files as Data Frames into R
8:06
Просмотров 32 тыс.
MongoDB Schema Design Best Practices
50:39
Просмотров 172 тыс.
Ребенок по калькуляции 😂
00:32
Просмотров 110 тыс.
How to get skins for FREE? #standoff #skins #coins
00:34
MongoDB Schema Design Best Practices
9:58
Просмотров 160 тыс.
Solving one of PostgreSQL's biggest weaknesses.
17:12
Просмотров 205 тыс.
How to clone / dump MongoDB Atlas database
15:28
Просмотров 11 тыс.
Learn JSON in 10 Minutes
12:00
Просмотров 3,2 млн
MongoDB Compass: Import JSON and CSV files
4:36
Просмотров 51 тыс.