Databases Flashcards
(9 cards)
What is data?
What is created whern you process data?
Data is building blocks of information
Information is created as a result of processing data
Provide a description of a database
A database is a shared integrated computer structure that stores end user data
What is a RDMS? What does it do?
Relational Database Management System
An RDMS helps to manage database content
Changes user commands into queries
What is a relational database?
Data is stroed once centrally. In a table(Relation)
A realtion is an association of many things
Attributes & tuples make a relation
Define an attribute:
Define a tuple:
Attributes are properties(column)
Tuples are occurences(rows)
Define OLTP
Define OLAP
Online transaction processing- Fast querying, processing, maintaining data integrity in multi access enviroments. Effectnivness measured by transactions per second
On line analytical processing- Low volume of transactions measured by response time
List advanatages of a Relational Dabatbase
List disadvantages of a relational Database
Advantages
- Sound mathematical theory
- No repetition of data
- Declarative language for query
Disadvantages
- Requires memory/processing power
- Requires data modelling
What is data redunancy? What does it cause?
What are the three anomalies?
Inslands of information stored in different georgraphical locations which causes data inconsistency, different versions of the same data existing in different places
Update anomalie- Locatig of depart changefd then many records have to be updates
Insertion anomalie- How do you create a department without an employee?
Deletion anomalie- Delete the last and only employee in a department without deleting the department