当前位置:网站首页>NoSQL introduction practice notes I
NoSQL introduction practice notes I
2022-07-28 16:47:00 【Royal shadow time】
1. First time to know NoSql
- Definition
- The subject conforms to the non relational 、 Distributed 、 Open source and next generation database with horizontal expansion capability
- Database classification
- TRDB Traditional relational databases
- Use strong storage mode technology . Refers specifically to database tables 、 That's ok 、 Field creation , All need to be defined in advance , And related attribute constraints
- use SQL Count standard to define and operate the database
- Use strong transactions to ensure availability and security
- It mainly adopts single machine centralized processing (CP) The way
- NoSql database
- Using weak storage mode technology
- There is no SQL Technical standards to define and operate databases
- Weak transactions are used to ensure data availability and security, or there is no transaction processing mechanism at all
- It mainly adopts multi machine distributed processing mode
- NewSql database
- To achieve NoSql Technology is fast 、 Effective big data processing capability , But also to achieve the traditional relational database SQL、 Advantages of transaction processing
- The main products PostgreSQL、SequoiaDB( domestic ) 、SAPHANA 、MariaDB、VoltDB、Clustrix
- TRDB Traditional relational databases
2. TRDB And NoSql Technical comparison of
- Stand alone instructions contain opcode and Operands Two parts
- Hat theorem (CAP)
- Uniformity – Meet the function of synchronous data replication
- Usability – Meet the operation function of updating at any time
- Partition tolerance – Meet the function of reading valid data at any time
- ACID
- Atomicity A transaction is an indivisible unit of work , Many operations contained in transactions are either done , Either not
- Uniformity The transaction must be to move the database from one consistency state to another consistency state . Consistency and atomicity make closely related
- Isolation, The execution of one transaction cannot be interfered by other transactions . Concurrent transactions cannot interfere with each other
- persistence Once a transaction is committed , Its changes to the data in the database should be permanent , Subsequent operations or failures should not have any impact on it
- NoSQL characteristic BASE
- Basic available (BA) Partial failure is allowed , But the rest can continue to work
- Soft state (S) Allow data status to be temporarily inconsistent , But after error correction, it will finally be consistent
- Final agreement (E) The final processing result will be consistent
- SQL technical standard
- Data query language (Select)DQL
- Data operation language (Insert、Update、Delete) DML
- Transaction language (Begin Transaction、Commit and Rollback)
- Data control language ( adopt Grant and Revoke Get permission to )DCL
- Data definition language (Create and Drop)DDL
- Pointer control language (Declare Cursor、Fetch Into and Update Where Current)
边栏推荐
- MySQL5.7及SQLyogV12安装及使用破解及常用命令
- Multiple commands produce ‘.../xxx.app/Assets.car‘问题
- Microsoft question 100 - do it every day - question 11
- WSL+Valgrind+Clion
- Interesting kotlin 0x06:list minus list
- Use js direct OSS to store files in Alibaba cloud and solve the limitation of large file upload server
- Best Cow Fences 题解
- Fx3 development board and schematic diagram
- Kubeedge releases white paper on cloud native edge computing threat model and security protection technology
- Redis series 4: sentinel (sentinel mode) with high availability
猜你喜欢

ANSA二次开发 - 在PyCharm上搭建ANSA/META二次开发环境

ANSYS二次开发 - MFC界面调用ADPL文件

Using pyqt to design gui in ABAQUS

egg(十九):使用egg-redis性能优化,缓存数据提升响应效率

ANSA二次开发 - 抽中面的两种方法

ABAQUS GUI interface solves the problem of Chinese garbled code (plug-in Chinese garbled code is also applicable)

Ansa secondary development - build ansa/meta secondary development environment on pycharm

Leetcode daily practice - 160. Cross linked list

排序5-计数排序

在vs code上配置Hypermesh二次开发环境
随机推荐
Quickly master kotlin set functions
排序3-选择排序与归并排序(递归实现+非递归实现)
“蔚来杯“2022牛客暑期多校训练营3 ACFHJ
Leetcode topic
Ansa secondary development - apps and ansa plug-in management
排序2-冒泡排序与快速排序(递归加非递归讲解)
Redis系列4:高可用之Sentinel(哨兵模式)
CRC16数据校验支持ModelBus和XMODEM校验模式(C语言)
Hdu1847 problem solving ideas
有趣的 Kotlin 0x06:List minus list
What does it remote operation and maintenance mean? Which is the best remote operation and maintenance software?
小程序:scroll-view默认滑倒最下面
Ansa secondary development - build ansa secondary development environment on Visual Studio code
微软100题-天天做-第16题
LeetCode每日一练 —— 160. 相交链表
有趣的 Kotlin 0x08:What am I
Qt学习第一天
HyperMesh auto save (enhanced) plug-in instructions
MySQL view event status statements and modification methods
LeetCode-学会对无序链表进行插入排序(详解)