Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Class notes

Databases Lecture Summary

Rating
-
Sold
-
Pages
40
Uploaded on
29-05-2021
Written in
2020/2021

Summary that goes over all of the topics discussed in lectures.

Institution
Course

Content preview

,Lecture I :
introduction



A database CDB) is a collection of data with :




-


a certain logical structure


specific semantics
'


a



specific
-


a users
group of




A database ( DBMS)
management system allows to :




create modify and manipulate database
-



. a



coetrieve) the data using language
'




greenery a
query

support persistent large of data
-




storage of amounts

-


enable durability and
recovery from failure
-



control access to the data
by many users in parallel

without unexpected interactions ( isolation)
'




among users


actions partial ( atomicity)
'



on the data should never be




Motivation for Database Management systems

why not store data in files ?

no
language
-




greenery
Ceimiled directories )
'



weak logical structure to


no efficient access
-




file
searching through large hours
'


a can take


no limited protection
-


or from data loss


no parallel manipulation data
-


access control for of




ANSI SPARC Architecture

Motivation for DBMS :




data independence
'




logical view the data independent physical storage
-


on of

-

user interacts with a simple view on the data


( invisible Ofer )
behind the the
storage structures
'



scenes to are complex

that allow rapid access and manipulation

avoidance duplication
-



of


different views on the same database
-




different users lappli cations
'



for

hiding parts the data for privacy or
security
-




of

This is achieved by the ANSI SPARC Architecture

,ANSI SPARC Architecture : 3 levees


-



different applications might use different
views

data stored physical ( good for
'


once at level


consistency)




view level :




application hide details
-




programs of data types

information
'


hide for privacy or
security
( conceptual schema)
Logical
:
level


describes data stored in database
'


the ,




describes relations data
-




among

Physical level :




how the data is stored
-




disk index record order
'



pages , structures , byte layout ,




This ensures and physical data independence
logical


Data independence

Logical data independence is the ability to modify the
logical schema without


breaking existing applications

applications views
logical database
'

access the , not the




Physical data independence is the ability to modify the physical schema


without
changing the logical schema


workload might cook need
e
change in the for
a :
-




g
- .




different indexing structures
'




different database
engine
'




distributing the database on multiple machines
"




Relational Model


in this course , we work with relational databases


view and level relations
logical represent data as 1 tables


in the pure relational model ,
a table is a



set of tuples :




crows)
'



has no duplicate tuples
-


no order on the tuples

, Relational Model :
schema


Database schema =
structure of the database .
: relations + constraints

)
'



Database instance content C database
'
=
actual State of the at some moment

/




Structured
Query Language
Motivation for database
management systems :




high level declarative
-




query languages
'




greenery tells what you want , independent of storage structure


efficient ( automatic optimisation)
'



data access
query



Declarative
greenery languages
:




describe what information is
sought
'




prescribe desired information
-


not now to retrieve the




imperative vs Declarative Languages
( Kowalski )
Algorithm logic +
=
control




imperative earrgeeages
:
Declarative ecerrgeeages :




control implicit
'




explicit control
-




implicit logic explicit
'




logic
-




(
e.g .

logic programming Prolog)
SQL ( Haskell)
functional programming
A declarative data manipulation ( HTML)
markup languages

language .
the user describes conditions

the requested data is required to ceeefill .




More concise imperative languages
:
than


expensive
-




less program development

easier maintenance
-




Database system will optimise the
query
:




decides possible
-


now to execute the fast
greenery as as




users casually) do need think about efficiency
-


not to




Data Models &
Integrity constraints

Motivation for DBMS :




defined constraints
well data models & data
integrity
- -




relational model
-




meta
language for describing
-




data
-




data relationships
-




-



data constraints

SQL can be used for table and constraint definitions

Written for

Institution
Study
Course

Document information

Uploaded on
May 29, 2021
Number of pages
40
Written in
2020/2021
Type
Class notes
Professor(s)
Jörg endrullis
Contains
All classes

Subjects

$11.47
Get access to the full document:

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


Also available in package deal

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.
marinamssantos Vrije Universiteit Amsterdam
Follow You need to be logged in order to follow users or courses
Sold
38
Member since
5 year
Number of followers
33
Documents
12
Last sold
2 year ago

5.0

1 reviews

5
1
4
0
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

Working on your references?

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

Working on your references?

Frequently asked questions