-
Overview
Terminology can sometimes be ambiguous and hard to understand without a complete context.
Distinction among the DBMS in terms of :
-
a storage medium:
-
Memory
In-memory DBMS (main memory DBMS) store data primarily in memory and use the disk for recovery and logging.
Store their contents almost exclusively in RAM
-
Disk based DBMS
Disk based DBMS hold most of the data on disk and use memory for caching disk contents or as a temporary storage.
-
-
layout: Column vs. Row Oriented DBMS
-
three major categories:
- Online transaction processing databases (OLTP)
- Online analytical processing databases (OLAP)
- Hybrid transactional and analytical processing (HTAP)
-
another way:
- key-value stores
- relational databases
- document-oriented stores
- graph databases
-
-
Client/Server
Database management systems use a client/server model, where database system instances (nodes) take the role of servers, and application instances take the role of clients.
Client requests arrive through the transpot subsystem.
The storage engine has several components with dedicated responsibilities:
- Transaction manager
- Lock manager
- Access methods
- Buffer manager
- Recovery manager
-
Horizontal Scaling vs. Scaling Vertically
Scaling out: improving performance and increasing capacity by running multiple database instances acting as a single logical unit: Gamma Database Machine Project, Teradata, Greenplum, Parallel DB2.
Scaling up by moving the database to a larger, more powerful machine.
-
Database components
-
A transport layer accepting request
-
A query processor determing the most efficient way to run queries
-
An execution engine carrying out the operations
-
A storage engine(or databasa engine)
A software component of a database management system responsible for storing, retrieving, and amanging data in memory and on disk, designed to capture a persistent, long-term memory of each node.
Database management systems are applications built on top of storage engines, offering a schema, a query language, indexing, t
-
《Database Internals: A Deep-Dive into How Distributed Data System Work》读书笔记
最新推荐文章于 2024-11-29 22:29:16 发布