• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 2 out of 6 pages
Class notes

College Notes Databases Week 1 (X_401008)

Document preview thumbnail
Preview 2 out of 6 pages

Lecture notes Databases Week 1 (X_401008) for artificial intelligence and computer science at VU

Content preview

Databases Week 1 – Introduction and Overview

Database is a collection of data with:
a certain logical structure
a specific semantics
a specific group of users
Database Management System (DBMS) allows to
create, modify and manipulate a database
query (retrieve) the data using a query language
support persistent storage of large amounts of data
enable durability and recovery from failure
control access to the data by many users in parallel
without unexpected interactions among users (isolation)
actions on the data should never be partial (atomicity)
Why not store data in files?
no query language
weak logical structure (limited to directories)
no efficient access (searching through files take many hours)
no or limited protection from data loss
no access control for parallel manipulation of data
ANSI SPARC architecture
Motivation for DBMS
Data independence
logical view on the data independent of physical storage
user interacts with a simple view of the data
behind scenes are complex storage structures that allow rapid access
and manipulation
Avoidance of duplication
different views on the same database
for different users or different applications
Hiding parts of data for privacy or security

,  Achieved by ANSI SPARC architecture:
Physical level: where data is stored
how the data is stored
“disk pages, index structures, byte layout, record order”
Logical level: Simplified view on physical data
describes data stored in database
and relations among the data
View (external): different views of users and applications on logical level
application programs hide details of data types
hide information (“exam grades”) for privacy or security
 This ensures logical and physical data independence
Logical data independence = the ability to modify the logical schema
without breaking existing applications
applications access the views, not the logical database
Physical data independence = the ability to modify the physical schema
without changing the logical schema
“a change in workload might cause the need for:
different indexing structures
different database engine
distributing the database on multiple machines”


Relational Model
We work with relational databases. View and logical level represent data
as relations/tables.
“Relational database instance = table with all info on customer (ID,
name, address)
In the Pure relational model, a table is a set of tuples:
has no duplicate tuples (rows)
no order on the tuples
Database schema = structure of the database, that is, relations +
constraints




2

Document information

Study
Uploaded on
May 30, 2023
Number of pages
6
Written in
2022/2023
Type
Class notes
Professor(s)
J. endrullis (jörg)
Contains
Week 1
$4.04

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
simonvanrens
4.0
(1)
Sold
11
Followers
9
Items
10
Last sold
2 year ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions