Traffic and data isolation practice in vivo comments

1, Background By providing general capabilities such as comment publishing, likes, reports and custom comment sorting, vivo comment center helps the front desk business quickly build comment functions and provide comment operation capabilities, avoiding the repeated construction of front desk business and the problem of data island. At present ...

Posted by Cynthia Blue on Tue, 08 Feb 2022 09:47:22 +0100

Reverse crawler 14 Mongo introduction

Reverse crawler 14 Mongo introduction 1, The difference between MongoDB and MySQL MongoDB is a non relational database, which stores any form of json format data; MySQL is a relational database, which can only store table data with pre-defined fields. The following is a comparison of different data names between MongoDB and mysql. MySQLMongo ...

Posted by DanDaBeginner on Wed, 02 Feb 2022 12:23:15 +0100

MongoDB learning notes: copy set

This article was updated on January 8, 2022, using MongoDB 4.4.5. Create replica sets under a single server Ensure that the / data/db directory exists and that the current system user has read and write permissions. For example (permission needs to be set according to the actual situation): su root mkdir -p /data/db chmod 0777 /data /data/db ...

Posted by aeboi80 on Sun, 30 Jan 2022 10:20:30 +0100

Basic concepts and basic command usage of MongoDB

1, MongoDB concept 1. Using business application scenarios The specific application scenarios are as follows: 1) In social scenes, MongoDB is used to store user information and circle of friends information published by users, and the functions of nearby people and places are realized through geographical location index. 2) In the g ...

Posted by dragonfly4 on Fri, 28 Jan 2022 00:03:38 +0100

Build a graphql project, and the front end can specify the data returned by the interface at will

preface Last class, I mentioned that I wanted to use it directly Online mlab Build the database, but the online mlab has been unable to log in normally (or it's hard to log in, but it's cloud mongodb, which charges), so these days are delayed, so we can only choose to install mongodb locally. Briefly introduce the local installation steps of m ...

Posted by ixos on Wed, 26 Jan 2022 11:59:45 +0100

MongoDB -- common commands

Xiao Huang's Mongo chapter of self-cultivation. The course video is from the dark horse programmer Click jump There are a lot of online searches about Mongo's introduction and installation. Xiao Huang's blog is used to record how to use Mongo The example of this article comes from the situation in reality: the article comment function will ...

Posted by idnoble on Tue, 25 Jan 2022 20:05:18 +0100

MongoDB database java configuration

MongoDB RDBMS vs NoSQL RDBMS -Highly organized structured data -Structured query language (SQL) -Data and relationships are stored in separate tables. -Data manipulation language -Strict consistency -Basic transaction NoSQL -Represents more than just SQL -No declarative query language -There are no predefined patterns Key value pair storage ...

Posted by weekenthe9 on Thu, 20 Jan 2022 18:15:44 +0100

[MongoDB] install and deploy MongoDB for Ubuntu

Installing and deploying MongoDB for Ubuntu I Introduction to MongoDB MongoDB is a database based on distributed file storage. Written in C + +. It aims to provide scalable high-performance data storage solutions for Web applications. MongoDB is a product between relational database and non relational database. It is the most funct ...

Posted by iamchris on Tue, 18 Jan 2022 19:51:46 +0100

MongoDB database foundation

1, Basic knowledge 1.1. What is MongoDB MongoDB is written in C + + language and is an [open source] database system (NoSQL) based on [distributed] file storage characteristic Mass storage: convenient for expansion, multi node deployment and cluster formationDocument database: the data structure consists of key value (key = > value) pair ...

Posted by praveenhotha on Fri, 14 Jan 2022 02:50:48 +0100

Comparison of multi key index and wildCard index scenarios

This article comes from the excellent case award of 2021MongoDB technology practice and application case collection activityAuthor: Rachela citationMongoDB supports multi key indexing in earlier versions to speed up array retrieval, which is very popular with programmers; In version 4.2, the wildCard index is launched to support object and arra ...

Posted by enormousrodent on Wed, 12 Jan 2022 10:29:30 +0100