当前位置:网站首页>mongodb的认识
mongodb的认识
2022-07-02 11:01:00 【黄昏后的田野】
mongodb的认识
Mongodb 是一个介于关系数据库和非关系数据库之间的产品(Nosal),是非关系数据库当中功 能最丰富,最像关系数据库的,语法有点类似 javascript 面向对象的查询语言,它是一个面 向集合的,模式自由的文档型数据库。
database mongodb 说明
table collection 数据库表/集合
row document 数据记录行/文档
column field 数据字段/域
index index 索引
table joins 表连接,MongoDB不支持
primary key primary key 主键,MongoDB自动将 _id字段设置为主键
redis 有16个库 ,mongodb想建几个库就建几个
•1.2、 应用范围.
优点:高性能、易部署、易使用、存储数据非常方便,能永久存储
缺点:不支持连表查询,不支持 sal 语句,不支持事务存储过程等,所以不适合存储数 据间关系比较复杂的数据。
适用于:日志系统,股票数据等。
不适于:电子商务系统等需要连多表查询的功能。
边栏推荐
猜你喜欢
Just 1000 fans, record it
浏览器驱动的下载
2022 home projector preferred! Dangbei F5 brings the ultimate audio-visual experience with its powerful audio-visual effect
Selenium installing selenium in pycharm
Pycharm连接远程服务器
[Hongke technology sharing] how to test DNS server: DNS performance and response time test
Qt新项目_MyNotepad++
<口算練習機 方案開發原理圖>口算練習機/口算寶/兒童數學寶/兒童計算器 LCD液晶顯示驅動IC-VK1621B,提供技術支持
Error: eacces: permission denied, access to "/usr/lib/node_modules"
Federated Search: all requirements in search
随机推荐
OpenHarmony笔记-----------(四)
Custom events, global event bus, message subscription and publishing, $nexttick
Selenium installing selenium in pycharm
抓包工具fiddler学习
腾讯云 TStor 统一存储通过信通院首批文件存储基础能力评测
默认插槽,具名插槽,作用域插槽
[to be continued] [UE4 notes] l5ue4 model import
The xftp connection Haikang camera reported an error: the SFTP subsystem application has been rejected. Please ensure that the SFTP subsystem settings of the SSH connection are valid
QT new project
千元投影小明Q1 Pro和极米NEW Play谁更好?和哈趣K1比哪款配置更高?
Who is better, Qianyuan projection Xiaoming Q1 pro or Jimi new play? Which configuration is higher than haqu K1?
QT - make a simple calculator - realize four operations
How to use SAP's metadata framework (MDF) to build custom business rules?
kaggle如何使用utility script
In 2021, the global styrene butadiene styrene (SBS) revenue was about $3722.7 million, and it is expected to reach $5679.6 million in 2028
freemarker的使用
[Hongke technology sharing] how to test DNS server: DNS performance and response time test
uni-app中使用computed解决了tab切换中data()值显示的异常
[usaco05jan]watchcow s (Euler loop)
Launcher startup process