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