Intro to Database Systems - Part 1 : A quick intro to db

Let’s start with some new vocabulary and acronyms:

As data models, we can have :

relationalDB.png

The main advantages of the relational model are :

Some advantages of more complex data models like the pre-relational model (network/hierarchy) or the post-relational (OO/XML) are the fact that they have :

The advantage of the Key-value model is its simplicity, but it’s also the main drawback.

An Entity-Relationship Model is a diagram describing the requirements of the database. It contains:

A transaction is a single logical operation on the data (read/write). The ACID model, defining 4 properties, guarantees that a database transaction is processed reliably:

 
567
Kudos
 
567
Kudos

Now read this

Intro to Database Systems : Indexing

We learned in the last lecture that when data is stored on disks, it is sorted as a set of blocks of data (also called pages). A block is accessed as a whole, in its entirety. On the disk, blocks are structured as link lists: they both... Continue →