100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Class notes

College Notes Databases Week 1 (X_401008)

Rating
-
Sold
-
Pages
6
Uploaded on
30-05-2023
Written in
2022/2023

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

Institution
Course









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Study
Course

Document information

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

Subjects

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

Get to know the seller

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 Vrije Universiteit Amsterdam
Follow You need to be logged in order to follow users or courses
Sold
11
Member since
5 year
Number of followers
9
Documents
10
Last sold
1 year ago

4.0

1 reviews

5
0
4
1
3
0
2
0
1
0

Recently viewed by you

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

Frequently asked questions