Nosql: Understanding and installation of mongodb and comparison with relational databases

Source: Internet
Author: User
Tags install mongodb database sharding
I wrote about mongodb installation a few years ago, but a friend popped up and said that the service could not be started after the installation. Here, I will refresh the installation in windows and Linux, by the way, you can write out some solutions to the problems you may encounter. In fact, mongodb installation is relatively simple. with the rise of Internet Web websites, traditional relational databases

I wrote about mongodb installation a few years ago, but a friend popped up and said that the service could not be started after the installation. Here, I will refresh the installation in windows and Linux, by the way, you can write out some solutions to the problems you may encounter. In fact, mongodb installation is relatively simple. with the rise of Internet Web websites, traditional relational databases

I wrote about mongodb installation a few years ago, but a friend popped up and said that the service could not be started after the installation. Here, I will refresh the installation in windows and Linux, by the way, you can write out some solutions to the problems you may encounter. In fact, mongodb installation is relatively simple.

With the rise of Internet Web websites, traditional relational databases are insufficient in Hong Kong Space.

High-concurrency database read/write requirements

High concurrent database load, website space, tens of thousands of read/write requests per second, disk I/O bottleneck

High-efficiency access to massive data

Efficient query of hundreds of millions or even billions of records

High scalability and high availability

Big Data Processing in the traditional SQL database Era

Single-form database era: increasing user volume and increasing data volume lead to excessive pressure

Replication and master-slave Separation

In the era of table sharding and database sharding: data is sharded to different databases based on service keys. The virtual hosts in hong kong usually use the modulo algorithm.

Increase maintenance costs and continuous repetitive work

Required storage: high performance, distributed, and scalable

Nosql = Not Only SQL supplements the deficiencies of relational databases based on the characteristics of massive data volumes

NoSQL Use Cases

MongoDB features

Collection-orented)

Schema-free)

Document type)

MongoDB features

Set-oriented storage: easy to store object-type data

MongoDB application scenarios

Persistent cache layer suitable for Information Infrastructure

Efficient real-time performance: MongoDB supports the replication and high scalability required for real-time website data storage.

Large-sized and low-value data storage

Apsaradb for MongoDB is not applicable

Highly transactional Systems

Traditional Business Intelligence applications

Complex Multi-table queries

MongDB Data Management

Primary Key policy of MongoDB

Install MongoDB in Linux

[Root @ localhost mrms] # wget http://downloads.mongodb.org/linux/mongodb-linux-x86_64-1.4.4.tgz

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.