Geschreven door studenten die geslaagd zijn Direct beschikbaar na je betaling Online lezen of als PDF Verkeerd document? Gratis ruilen 4,6 TrustPilot
logo-home
College aantekeningen

Databases Lecture Summary

Beoordeling
-
Verkocht
-
Pagina's
40
Geüpload op
29-05-2021
Geschreven in
2020/2021

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

Voorbeeld van de inhoud

,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

Documentinformatie

Geüpload op
29 mei 2021
Aantal pagina's
40
Geschreven in
2020/2021
Type
College aantekeningen
Docent(en)
Jörg endrullis
Bevat
Alle colleges
€9,49
Krijg toegang tot het volledige document:

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kun je een ander document kiezen. Je kunt het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF


Ook beschikbaar in voordeelbundel

Thumbnail
Voordeelbundel
Databases Bundle
-
1 2 2021
€ 13,98 Meer info

Maak kennis met de verkoper

Seller avatar
De reputatie van een verkoper is gebaseerd op het aantal documenten dat iemand tegen betaling verkocht heeft en de beoordelingen die voor die items ontvangen zijn. Er zijn drie niveau’s te onderscheiden: brons, zilver en goud. Hoe beter de reputatie, hoe meer de kwaliteit van zijn of haar werk te vertrouwen is.
marinamssantos Vrije Universiteit Amsterdam
Bekijk profiel
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
38
Lid sinds
5 jaar
Aantal volgers
33
Documenten
12
Laatst verkocht
2 jaar geleden

5,0

1 beoordelingen

5
1
4
0
3
0
2
0
1
0

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Bezig met je bronvermelding?

Maak nauwkeurige citaten in APA, MLA en Harvard met onze gratis bronnengenerator.

Bezig met je bronvermelding?

Veelgestelde vragen