Databases Flashcards

(9 cards)

1
Q

What is data?

What is created whern you process data?

A

Data is building blocks of information

Information is created as a result of processing data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Provide a description of a database

A

A database is a shared integrated computer structure that stores end user data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is a RDMS? What does it do?

A

Relational Database Management System

An RDMS helps to manage database content

Changes user commands into queries

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is a relational database?

A

Data is stroed once centrally. In a table(Relation)

A realtion is an association of many things

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Attributes & tuples make a relation

Define an attribute:

Define a tuple:

A

Attributes are properties(column)

Tuples are occurences(rows)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Define OLTP

Define OLAP

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

List advanatages of a Relational Dabatbase

List disadvantages of a relational Database

A

Advantages

  • Sound mathematical theory
  • No repetition of data
  • Declarative language for query

Disadvantages

  • Requires memory/processing power
  • Requires data modelling
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is data redunancy? What does it cause?

What are the three anomalies?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly