In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
A basic introduction to MongoDB
MongoDB is a cross-platform, multi-document database. High performance, high availability, and easy scalability. Is an open source database system based on distributed file storage, in the case of high load, add more nodes, can ensure server performance.
MongoDB is a product between relational database and Philippine relational database, which is the most feature-rich and most similar to relational database among non-relational databases. MongoDB no longer has the concept of "rows," and its operation mode is mainly based on two concepts: collections and documents.
Features of MongoDB
MongoDB features collection-oriented storage, schema freedom, rich query statements and multi-level indexes, replication set mechanism, easy horizontal scaling, pluggable storage engine, cross-platform multi-language support, etc.
MongoDB is easy to install and provides document-oriented storage capabilities, making it easy to operate.
MongoDB provides replication, high probability, and auto-fragmentation capabilities. If the load is added (requiring more storage space and processing power), it can be distributed across other nodes in the computer network, which is called fragmentation.
MongoDB supports query expressions for ordered queries. Query instructions use JSON tags to easily query objects and arrays embedded in documents.
Mongo supports rich query expressions. Query instructions use JSON tags to easily query objects and arrays embedded in documents.
MongoDB supports a variety of programming languages: Ruby, Pyhen, Java, C++, PHP, C#and many more.
III. MongoDB application fields
MongoDB provides a scalable, high-performance data storage solution for Web applications. MongoDB is mainly used for website data, distributed scenarios, data caching, and JSON document format storage. Internet applications with large data volume, high concurrency and weak transactions have built-in horizontal scaling mechanisms that provide millions to billions of data processing capabilities, which can well meet the data storage requirements of Web 2.0 and mobile Internet applications.
Simple installation of MongoDB
1. Experimental environment: CentOS7
2. Operation steps
Here you first need to configure a YUM source repository
Clean up the YUM cache and reload the YUM source
After loading, install MongoDB directly with yum install
Modify the MongoDB configuration file here, located in/etc/mongod.conf. Change the listening address inside to listen to all.
Start MongoDB and view port 27017
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.