MongoDB Learning (1) installation and configuration

Source: Internet
Author: User
Tags mongodb client
Introduction MongoDB is a distributed file storage-based database. It is designed to provide scalable, high-performance data storage solutions for WEB applications. It is a product between relational databases and non-relational databases. It has the most abundant functions and is the most similar to relational databases. The supported data structure is very loose and is similar to the json bson format.

Introduction MongoDB is a distributed file storage-based database. It is designed to provide scalable, high-performance data storage solutions for WEB applications. It is a product between relational databases and non-relational databases. It has the most abundant functions and is the most similar to relational databases. The supported data structure is very loose and is similar to the json bson format.

Introduction

MongoDB is a distributed file storage-based database. It is designed to provide scalable, high-performance data storage solutions for WEB applications.

It is a product between relational databases and non-relational databases. It has the most abundant functions and is the most similar to relational databases. The supported data structure is very loose and is similar to the json bson format, so it can store more complex data types. The biggest feature of Mongo is that it supports a very powerful query language. Its syntax is somewhat similar to an Object-Oriented Query Language. It can almost implement most of the functions similar to single-table queries in relational databases, data Indexing is also supported.

Features

* High Performance, easy to deploy, and easy to use, making it easy to store data.

* It is designed for set storage and is easy to store object-type data.

* Free mode.

* Supports dynamic query.

.....

Blah

Download and install

You can download http://www.mongodb.org/downloads on the official website based on the number of digits of your system

I downloaded Windows 32-bit 2.2.0.

Install

1. Create a new file folder. Unzip the downloaded installation package to the directory. Copy the package to the created mongodb folder.

2. Create a "data" folder under mongodb as the root folder for data storage.

Configuration Service

Open the dos window and press ENTER

If the following information is printed, the service is successfully started.


Access: http: // localhost: 27017/

The following information appears in the browser:

You are trying to access MongoDB on the native driver port. For http diagnostic access,
Add 1000 to the port number

Create a database

Double-click the cmd.exe file under DBAs (MongoDB Client Management Tool)

Create and insert data

Query


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.