Fundamentals of databases Flashcards

1
Q

Data model

A

An abstract model for organising data and its relationship to real world entities.

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

Entity-relationship modelling

A

A method of abstractly describing that data tabes and the relationships between them visually. They can be used to reduce redundancy and construct a relational database.

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

Attribute

A

A characteristic specification that defines a property or feature about an entity stored in a database.

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

Composite primary key

A

A primary key made up from two or more other keys.

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

Foreign key

A

A linking attribute that joins two tables in a relational database by being a primary key in one and a foreign key in the other.

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

Primary key

A

A unique identifier that identifies each record in a table.

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

Relational databases

A

A database where separate tables are made for each entity, and relationships between entities are represented by foreign keys.

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

First Normal Form (1NF)

A

A table with no repeating attributes. The intersection of each record and attribute produces exactly one value.

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

Normalisation

A

The formal process of optimally designing data tables by reducing data redundancy and repetition by connecting them into normal forms.

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

Second Normal Form (2NF)

A

A table in 1NF that has data that repeats across multiple records removed and put into a new table with appropriate relationships (no partial dependancies).

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

Third Normal Form (3NF)

A

A table in 2NF where all attributes that are not the primary key are fully dependant on the primary key (no non-key dependancies).

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

SQL

A

A language for relational database management and manipulation.

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

Client server database

A

A system that provides simultaneous access to the database for multiple clients.

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

Commitment ordering

A

A type of timestamp ordering that also takes into consideration that precedence of each transaction over other simultaneous transactions.

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

Integrity

A

The idea of keeping a database consistent by ensuring that any changes made to data or relationships associated with a table are accounted for in all the linked tables.

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

Record locks

A

A technique used to prevent simultaneous access to data in a database by locking a record when it is being edited or updated. Otherwise, inconsistencies may arise in the database.

17
Q

Serialisation

A

A technique used to preserve integrity by only allowing one transaction to be processed at a time on a client server database.

18
Q

Timestamp ordering

A

A technique to handle concurrent access by executing transactions from multiple users based on the value of their associated timestamp. Each transaction receives a timestamp whenever it begins.