Abstract
In Chapter 2, you learned how to install MongoDB on two commonly used platforms (Windows and Linux), as well as how to extend the database with some additional drivers. In this chapter, you will shift your attention from the operating system and instead examine the general design of a MongoDB database. Specifically, you’ll learn what collections are, what documents look like, how indexes work and what they do, and finally, when and where to reference data instead of embedding it. We touched on some of these concepts briefly in Chapter 1, but in this chapter, we’ll explore them in more detail. Throughout this chapter, you will see code examples designed to give you a good feeling for the concepts being discussed. Do not worry too much about the commands you’ll be looking at, however, because they will be discussed extensively in Chapter 4.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsAuthor information
Authors and Affiliations
Rights and permissions
Copyright information
© 2015 David Hows, Peter Membrey, Eelco Plugge, Tim Hawkins
About this chapter
Cite this chapter
Hows, D., Membrey, P., Plugge, E., Hawkins, T. (2015). The Data Model. In: The Definitive Guide to MongoDB. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-1182-3_3
Download citation
DOI: https://doi.org/10.1007/978-1-4842-1182-3_3
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-1183-0
Online ISBN: 978-1-4842-1182-3
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)