Database 2 Flashcards

1
Q

what is un-normalised data?

A

its characterised by redundancy and inconsistencies, there are repeated fields and multiple values of attributes

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

what is normalised data?

A

it involves the application of a set of rules to remove undesirable characteristics and problems and can be used to test the correctness of an ER model.

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

1NF?

A

all attributes are atomic and entities do not have repeating groups

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

2NF?

A

it fulfils the conditions of 1NF and all non-key attributes in the relation are fully dependent on the primary key

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

what are non-key attributes?

A

they are only partially dependent on the key are removed to a new entity along with a copy of their determinant

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

3NF?

A

as long as an attribute does not depend on another attribute which is not the primary key- this is called transitive dependency

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

advantages of normalisation

A

it will take up less storage because the duplicated data will be minimised

information retrieval will be more efficient because data is structured effectively- will be processed faster

less redundancy means less inconsistencies in data because only have been entered once

data integrity will be increased

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

disadvantages of normalisation

A

its a complex process required to create the database structure

can generate more tables than an un-normalised database

slow to run due to complex database and queries

its necessary to assign more relationships to interact with larger numbers of tables

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

what is a data dictionary?

A

its a file containing descriptions of the structure of the data stored in a database

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