• Complain

David Hows Peter Membrey Eelco Plugge - The definitive guide to MongoDB a complete guide to dealing with big data using MongoDB

Here you can read online David Hows Peter Membrey Eelco Plugge - The definitive guide to MongoDB a complete guide to dealing with big data using MongoDB full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. City: Berkeley;CA;New York, year: 2013, publisher: Apress, Distributed to the Book trade worldwide by Springer Science+Business Media, genre: Home and family. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

David Hows Peter Membrey Eelco Plugge The definitive guide to MongoDB a complete guide to dealing with big data using MongoDB
  • Book:
    The definitive guide to MongoDB a complete guide to dealing with big data using MongoDB
  • Author:
  • Publisher:
    Apress, Distributed to the Book trade worldwide by Springer Science+Business Media
  • Genre:
  • Year:
    2013
  • City:
    Berkeley;CA;New York
  • Rating:
    4 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 80
    • 1
    • 2
    • 3
    • 4
    • 5

The definitive guide to MongoDB a complete guide to dealing with big data using MongoDB: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "The definitive guide to MongoDB a complete guide to dealing with big data using MongoDB" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

David Hows Peter Membrey Eelco Plugge: author's other books


Who wrote The definitive guide to MongoDB a complete guide to dealing with big data using MongoDB? Find out the surname, the name of the author of the book and a list of all author's works by series.

The definitive guide to MongoDB a complete guide to dealing with big data using MongoDB — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "The definitive guide to MongoDB a complete guide to dealing with big data using MongoDB" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
Part 1
MongoDB Basics
David Hows , Peter Membrey , Eelco Plugge and Tim Hawkins The Definitive Guide to MongoDB A Complete Guide to Dealing with Big Data Using MongoDB 10.1007/978-1-4302-5822-3_1
David Hows 2013
1. Introduction to MongoDB
David Hows 1, Peter Membrey 1, Eelco Plugge 1 and Tim Hawkins 1
(1)
NSW, Australia
Abstract
Imagine a world where using a database is so simple that you soon forget youre even using it. Imagine a world where speed and scalability just work , and theres no need for complicated configuration or setup. Imagine being able to focus only on the task at hand, get things done, and thenjust for a changeleave work on time. That might sound a bit fanciful, but MongoDB promises to help you accomplish all these things (and more).
Imagine a world where using a database is so simple that you soon forget youre even using it. Imagine a world where speed and scalability just work , and theres no need for complicated configuration or setup. Imagine being able to focus only on the task at hand, get things done, and thenjust for a changeleave work on time. That might sound a bit fanciful, but MongoDB promises to help you accomplish all these things (and more).
MongoDB (derived from the word humongous ) is a relatively new breed of database that has no concept of tables, schemas, SQL, or rows. It doesnt have transactions, ACID compliance, joins, foreign keys, or many of the other features that tend to cause headaches in the early hours of the morning. In short, MongoDB is a very different database than youre probably used to, especially if youve used a relational database management system (RDBMS) in the past. In fact, you might even be shaking your head in wonder at the lack of so-called standard features.
Fear not! In the following pages, you will learn about MongoDBs background and guiding principles, and why the MongoDB team made the design decisions that it did. Well also take a whistle-stop tour of MongoDBs feature list, providing just enough detail to ensure that youll be completely hooked on this topic for the rest of the book.
Well start by looking at the philosophy and ideas behind the creation of MongoDB, as well as some of the interesting and somewhat controversial design decisions. Well explore the concept of document-oriented databases, how they fit together, and what their strengths and weaknesses are. Well also explore JSON and examine how it applies to MongoDB. To wrap things up, well step through some of the notable features of MongoDB.
Reviewing the MongoDB Philosophy
Like all projects, MongoDB has a set of design philosophies that help guide its development. In this section, well review some of the databases founding principles.
Using the Right Tool for the Right Job
The most important of the philosophies that underpin MongoDB is the notion that one size does not fit all . For many years, traditional relational (SQL) databases (MongoDB is a document-oriented database) have been used for storing content of all types. It didnt matter whether the data was a good fit for the relational model (which is used in all RDBMS databases, such as MySQL, PostgresSQL, SQLite, Oracle, MS SQL Server, and so on); the data was stuffed in there, anyway. Part of the reason for this is that, generally speaking, its much easier (and more secure) to read and write to a database than it is to write to a file system. If you pick up any book that teaches PHP, such as PHP for Absolute Beginners , by Jason Lengstorf (Apress, 2009), youll probably find that almost right away the database is used to store information, not the file system. Its just so much easier to do things that way. And while using a database as a storage bin works, developers always have to work against the flow. Its usually obvious when were not using the database the way it was intended; anyone who has ever tried to store information with even slightly complex data, had to set up five tables, and then tried to pull it all together knows what were talking about!
The MongoDB team decided that it wasnt going to create another database that tries to do everything for everyone. Instead, the team wanted to create a database that worked with documents rather than rows and that was blindingly fast, massively scalable, and easy to use. To do this, the team had to leave some features behind, which means that MongoDB is not an ideal candidate for certain situations. For example, its lack of transaction support means that you wouldnt want to use MongoDB to write an accounting application. That said, MongoDB might be perfect for part of the aforementioned application (such as storing complex data). Thats not a problem, though, because there is no reason why you cant use a traditional RDBMS for the accounting components and MongoDB for the document storage. Such hybrid solutions are quite common, and you can see them in production apps such as the New York Times website.
Once youre comfortable with the idea that MongoDB may not solve all your problems, you will discover that there are certain problems that MongoDB is a perfect fit for resolving, such as analytics (think a real-time Google Analytics for your website) and complex data structures (for example, blog posts and comments). If youre still not convinced that MongoDB is a serious database tool, feel free to skip ahead to the Reviewing the Feature List section, where you will find an impressive list of features for MongoDB.
Note
The lack of transactions and other traditional database features doesnt mean that MongoDB is unstable or that it cannot be used for managing important data.
Another key concept behind MongoDBs design is that there should always be more than one copy of the database. If a single database should fail, then it can simply be restored from the other servers. Because MongoDB aims to be as fast as possible, it takes some shortcuts that make it more difficult to recover from a crash. The developers believe that most serious crashes are likely to remove an entire computer from service anyway; this means that even if the database were perfectly restored, it would still not be usable. Remember: MongoDB does not try to be everything to everyone. But for many purposes (such as building a web application), MongoDB can be an awesome tool for implementing your solution.
So now you know where MongoDB is coming from. Its not trying to be the best at everything, and it readily acknowledges that its not for everyone. However, for those who do choose to use it, MongoDB provides a rich document-oriented database thats optimized for speed and scalability. It can also run nearly anywhere you might want to run it. MongoDBs website includes downloads for Linux, Mac OS, Windows, and Solaris.
MongoDB succeeds at all these goals, and this is why using MongoDB (at least for us) is somewhat dream-like. You dont have to worry about squeezing your data into a tablejust put the data together, and then pass it to MongoDB for handling.Consider this real-world example. A recent application co-author Peter Membrey worked on needed to store a set of eBay search results. There could be any number of results (up to 100 of them), and he needed an easy way to associate the results with the users in his database.
Had Peter been using MySQL, he would have had to design a table to store the data, write the code to store his results, and then write more code to piece it all back together again. This is a fairly common scenario and one most developers face on a regular basis. Normally, we just get on with it; however, for this project, he was using MongoDB, and so things went a bit differently.
Specifically, he added this line of code:
Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «The definitive guide to MongoDB a complete guide to dealing with big data using MongoDB»

Look at similar books to The definitive guide to MongoDB a complete guide to dealing with big data using MongoDB. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «The definitive guide to MongoDB a complete guide to dealing with big data using MongoDB»

Discussion, reviews of the book The definitive guide to MongoDB a complete guide to dealing with big data using MongoDB and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.