MongoDB for Developers with Python Transcripts
Chapter: What is NoSQL?
Lecture: Introducing MongoDB
Login or
purchase this course
to watch this video and the rest of the course contents.
0:01
Now that we've talked about what NoSQL is, where it came from and a little bit about document databases,
0:06
let's move to focusing specifically on MongoDB. First off, I want to point out that MongoDB is open source
0:15
so if we come down here, you can see we've got github.com/mongodb/mongo, there's actually all what are called drivers
0:24
so like how do you access MongoDB from Python, or CSharp, or Java or whatever, and a bunch of other stuff out here on their github,
0:32
but Mongo is the actual database server. So it's cool that it's open source, now there's a lot of things that are on github
0:39
that are technically open source, but not really active, it's like oh that's been changed, four years ago,
0:46
and it's got 50 pull requests that haven't been even addressed in the last six months. That's not good; that's not the case with Mongo, obviously,
0:54
eleven thousand stars, three thousand forks, when was the last check in— it was three hours ago, okay?
1:00
So that's really awesome, and they're fixing the build on 'Windos' so that must be a slightly different version of Windows,
1:09
I'm just kidding, I'm sure they lost the w there but you know, it runs on the major platforms,
1:13
Windows, Linux and MacOS, if we look over at the pull request you can see these are only a few days old,
1:21
there's 1129 that are closed, so these are all really good signs for MongoDB's open source site, open source repository to be active and real,
1:32
not just it's up here, but it's a really active thing with a huge company and hundreds of engineers working on it.
1:40
If we look at what it's made of, it's basically a C++ app, there is a decent amount of Javascript
1:46
and there as well as we'll see Javascript is fundamental in the raw query api and some other stuff.
1:51
Now we can get the source code here, but that's not how we get MongoDB. So the way we get MongoDB is we go to mongodb.com,
1:58
and we click download and it takes us here, so you can see there is the free community server version
2:04
and if we come over here we could get the OS10 version with ssl we could download it just as a binary
2:11
or we could install it with home brew, that's pretty cool. If we want to install it on Linux, let's pick something,
2:17
let's say we want to install it on Ubuntu, okay, here is how you install it with aptitude, right
2:23
so on Windows you just get an msi and install it directly that way. But notice, they all have ssl support, I believe there's a time
2:31
when ssl support was actually an enterprise feature or like a paid feature,
2:35
but thankfully that went away, and the community edition has this right here. So if you get a chance, I would recommend installing it
2:43
especially on Linux from one of the package manager type things like here with apt, because then the underlying system will know
2:51
that there's an update for your database server, not a feature on Windows, you just have to keep track.
2:58
You can go and get the enterprise server which has an in memory version, an encrypted at rest version, and sort of
3:05
advanced identity control features within it but if you just want a standard database without those things you don't care about say encryption at rest
3:17
or integration with active directory or something like that, then the free version is totally good.