MongoDB Preliminary interview

Source: Internet
Author: User
Tags mongodb driver

First go to the official website to download MongoDB down.

Different versions of MongoDB are installed differently. So be careful when installing.

After MongoDB decompression, the directory has Mongo.exe open the program, the DOS interface appears. The connection status is displayed successfully.

(preferably added to the WINDWOS service)

closing the Mongo.exe will cause the MongoDB service to shut down and the database will not be available.

MongoDB may not be accustomed to people who are accustomed to relational databases at first. It's not working the same way. But as long as they are familiar with memcached, they will soon get started.

Using the Mongovue Client management program to manage MONGODB, the program requires a fee, but it can also be cracked. Overwrite its EXE file.

  

Because there is no better mongodb data source access plug-in than currently available, you also need to download the MongoDB driver.

Create a new project file in VS, then reference the DLL in this driver, and then introduce the namespace, just as you would access the ADO data source.

Where Mongodb needs attention:

Currently only CRUD, in-depth is still to be added.

MONGODB automatically generates primary keys and is automatically incremented.

The data in Mongodb is the key values form. JSON is the most straightforward way to read and write.

Mongodb does not need to set data type or table structure or anything. It is uniformly present in a single table. The table has only 3 columns, 1,key 2, Values 3,type

  

Related Article

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.