当前位置:网站首页>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)
边栏推荐
猜你喜欢

About the web docking pin printer, lodop uses

IM即时通讯开发优化提升连接成功率、速度等

Wake up after being repeatedly upset by MQ! Hate code out this MQ manual to help the journey of autumn recruitment

有趣的 Kotlin 0x07:Composition

Two of C language programming!! Role of

Ansa secondary development - build ansa secondary development environment on Visual Studio code

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

优化Hypermesh脚本性能的几点建议

队列的介绍与实现(详解)

Sort 1-insert sort and Hill sort
随机推荐
redis源码优化--绑核
Qt学习之安装
Qt学习第一天
QT packaging
Pop up layer prompt in the background
PHP image synthesis technology
LeetCode-学会对无序链表进行插入排序(详解)
“蔚来杯“2022牛客暑期多校训练营3 A.Ancestor LCA+暴力计数
Wechat official account to obtain material list
Quickly master kotlin set functions
Interesting kotlin 0x07:composition
The local area network cannot access the Apache server
排序4-堆排序与海量TopK问题
asp.net大文件分块上传断点续传demo
Splash (渲染JS服务)介绍安装
Several methods of HyperMesh running script files
Early in the morning, pay Bora SMS to say that you won the "prize"? Dealing with server mining virus - kthreaddi
排序1-插入排序与希尔排序
UNP前六章 回射服务模型 解析
HM二次开发 - Data Names及其使用