码农知识堂 - 1000bd
  •   Python
  •   PHP
  •   JS/TS
  •   JAVA
  •   C/C++
  •   C#
  •   GO
  •   Kotlin
  •   Swift
  • 非关系数据库


    非关系数据库nosql

    用来解决特定问题的数据库

    特点:

    1.没有关系模式schema-free/non-relational,与关系数据库不同

    2.快速处理rapid process,数据放在内存中处理

    3.distributed process分布式

    4.big data

    5.easy program

    6.open-source

    7.水平式(横向拓展性)horizontally scalable

    类型

    1.Document store文档数据库,以xml与json的形式存储,例子:视频网站,blog

    2.key value/tuple store以个数,键值对的形式存储,处理速度快

    3.

    4.Graph Database Management System

    5.Multimodel Database Management System

    键值数据库Key Value Store

    特点:简单,速度快,在内存中

    键值要成对,形成映射关系

    命名空间namespace:java的包(package)

    内存中的in-memory:利用了缓存技术,把常用的数据放在内存中

    redis is an open-source in memory storage, used as a distributed, in-memory key-value database

    优势:轻量级lightweight,快速rapid,分布式系统distributed system

    劣势:查询能力弱weakly retrieve ability,缺少数据之间的约束lack of data constraints,难解决数据之间的关系hardly handle data relationship

    原则(扬长避短)

    1.编程,

    文档数据库document store

    A document - oriented database , or document store , is a computer program and data storage system designed for storing , retrieving and managing document - oriented information , also known as semi - structured data .

    半结构化的数据库

    优势:无需事先定义结构Simple(schema—free),相对关系数据库高效Relatively eficient,文档格式Standard document format,查询能力强Powerful retrieve ability(semi-structured),分布式Distributed system

    劣势:没有数据约束Lack of data constraints,数据会出现冗余Data redundancy,相对键值对数据库低效Relatively ineficient

    列族数据库Column families store

    A column families database(or wide—column store) is a column-oriented DBMS and therefore a special type of NosQL database. It uses tables, rows, and columns,but unlike a relational database, the names and format of the columns can vary from row to row in the same table

    优势:为大数据准备suitable for big data processing,易于增加新的列easy to add new columns,开发工具多tons of development tool,检索能力强powerful retrieve ability,数据读写快High-speed data I/O

    劣势:系统复杂complex system,数据结构复杂complex data structure,难学难用hard to learn/use

  • 相关阅读:
    Mybatis-plus-generator 自定义模板生成自定义 DTO、VO等
    java Internal error in the mapping processor java.lang.NullPointerException解决方案
    2023-10-21:用go语言,一共有三个服务A、B、C,网络延时分别为a、b、c 并且一定有:1 <= a <= b <= c <= 10^9 但是具体的延时数字丢失了,只有单次调用的时间 一次调
    grpc、https、oauth2等认证专栏实战6:openssl配置文件openssl.cnf介绍
    在AndroidR user版本的设备上,如何默认打开USB调试,如何去掉USB调试确认弹窗
    16.左侧导航菜单制作
    智能井盖传感器建设信息化时代智慧城市
    【Java 基础篇】Java Set 集合详解:轻松管理不重复元素
    NCCL后端
    2.1.2 运算放大器的组成与分类、运算放大器的发展历程
  • 原文地址:https://blog.csdn.net/David_Hzy/article/details/132751990
  • 最新文章
  • 攻防演习之三天拿下官网站群
    数据安全治理学习——前期安全规划和安全管理体系建设
    企业安全 | 企业内一次钓鱼演练准备过程
    内网渗透测试 | Kerberos协议及其部分攻击手法
    0day的产生 | 不懂代码的"代码审计"
    安装scrcpy-client模块av模块异常,环境问题解决方案
    leetcode hot100【LeetCode 279. 完全平方数】java实现
    OpenWrt下安装Mosquitto
    AnatoMask论文汇总
    【AI日记】24.11.01 LangChain、openai api和github copilot
  • 热门文章
  • 十款代码表白小特效 一个比一个浪漫 赶紧收藏起来吧!!!
    奉劝各位学弟学妹们,该打造你的技术影响力了!
    五年了,我在 CSDN 的两个一百万。
    Java俄罗斯方块,老程序员花了一个周末,连接中学年代!
    面试官都震惊,你这网络基础可以啊!
    你真的会用百度吗?我不信 — 那些不为人知的搜索引擎语法
    心情不好的时候,用 Python 画棵樱花树送给自己吧
    通宵一晚做出来的一款类似CS的第一人称射击游戏Demo!原来做游戏也不是很难,连憨憨学妹都学会了!
    13 万字 C 语言从入门到精通保姆级教程2021 年版
    10行代码集2000张美女图,Python爬虫120例,再上征途
Copyright © 2022 侵权请联系2656653265@qq.com    京ICP备2022015340号-1
正则表达式工具 cron表达式工具 密码生成工具

京公网安备 11010502049817号