English
uniCloud
provides 2 nosql databases.
JSON document cloud database
The cloud database of uniCloud Alibaba Cloud Edition is the serverless version of MongoDB; the cloud database of uniCloud Tencent Cloud Edition is a self-developed database compatible with MongoDB.
Each record in the database is a JSON-formatted object.
A database can have multiple collections (equivalent to tables in relational data). A collection can be regarded as a JSON array. Each object in the array is a record. The format of the record is a JSON object.
This is very easy to understand and master for js engineers.
The traditional operation method of MongoDB is still relatively complicated, and uniCloud provides more simple solutions for operating the database, including SQL-like JQL syntax, clientDB and other technologies.
In uniCloud, cloud database, MongoDB database, these concepts generally refer to this database, more cloud database introduction reference.
redis database
Redis is a key-value database that can run in memory. Its capabilities are not as powerful as MongoDB, but because it can run in memory, its performance far exceeds that of conventional databases.
Redis also uses json way key/value key-value pairs to store data. More documentation reference
If developers need other databases, such as mysql, ElasticSearch, and data lakes, these databases are not built in the uniCloud service space, and cloud functions can access these remote databases through nodejs api.
If it is mysql for business, it is recommended to import mysql data into the cloud database of uniCloud through the uniCloud web console or through cloud functions, which is faster than connecting to a remote mysql database. And you can use a series of database operation technologies provided by uniCloud, such as jql and clientDB. UniCloud's huge ecosystem, such as uni-id and uni-admin, only supports uniCloud cloud databases.
If it is es search and big data analysis, you should connect these databases remotely through the nodejs API in cloud functions.