Explain the difference between a database, collection, and document in MongoDB? Be sure to detail which contains
Question:
Explain the difference between a database, collection, and document in MongoDB? Be sure to detail which contains which.
2) Explain at least two differences between MongoDB schema validation and PostgreSQL constraint
3) MongoDB makes extensive use of JSON, why might this make it more appealing to a developer?
4 ) Why does MongoDB make sure that each document has a unique id? Does this make it easier or more difficult to shard a MongoDB database? Why?
5 )A developer wishing to use MongoDB approaches you because they are concerned that they don't have a strong enough background in SQL. How would you explain to them that this isn't a major concern? What language would you suggest they have a good handle on for working in MongoDB?
6)MongoDB uses a binary representation of its documents called BSON. Why doesn't MongoDB use just straight JSON? When you interface with MongoDB via the mongo shell, does it expect input in JSON or BSON?
International Money and Finance
ISBN: 978-0123852472
8th edition
Authors: Michael Melvin, Stefan C. Norrbin