Unit 11 - Databases

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/23

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 11:00 AM on 5/21/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

24 Terms

1
New cards

Attributes

All the different fields in a table for example, firstname, surname, age, address.

2
New cards

Primary key

every value stored in a table has a unique identifier

3
New cards

Entity

category of object/person/event which data needs to be recorded.

4
New cards

Entity Relationship Diagram (ERD)

Shows how each table is linked up by attributes and shows what type of relationship it has between them.

5
New cards

Example of One

to

6
New cards

Example of One

to

7
New cards

Example of Many

to

8
New cards

Composite primary key

2 or more attributes are needed to uniquely define a record. E.g. : EventTicket (EventID, SeatID)

9
New cards

Relations

tables in a relational database. A relation has rows, each row containing one record.

10
New cards

Relational Database

Organised tables that are stored in rows and columns to make it easy to search through.

11
New cards

SQL

A declarative language used for querying/updating tables in a relational database.

12
New cards

1st Normal form

“A database is in 1nf it has no repeating / grouped attributes”.

13
New cards

2nd Normal form

“Already in 1nf, where all its non key attributes (columns) are dependent on the primary key”.

14
New cards

3rd Normal form

“Already in 2nf and contains no attributes that are also dependent on another attribute in a table”

15
New cards

A client server database

provides simultaneous access to the database for several clients.

16
New cards

Database Management System (DBMS)

software on server processes requests for clients, which are individual workstations.

17
New cards

Transaction

A single operation is performed on a database

18
New cards

Records

The rows in tables, storing information.

19
New cards

Foreign key

A field in one table that is linked to another primary key in another table.

20
New cards

Record locking

This prevents simultaneous access to the objects in a database to stop more than 1 person at a time from accessing it.

21
New cards

Serialisation

Transactions are processed one after the other in a queue. Which prevents 2 transactions from overlapping and prevents lost updates.

22
New cards

Commitment ordering

This method prevents data from being lost when 2 users are updating a record simultaneously

23
New cards

How does Commitment Ordering order transactions?

Transactions are ordered by time.Transactions are based on the commit time (when they are completed) rather than when the transactions begun.

24
New cards

How does Seralisation order transactions?

The first transaction that started has to finish before the next transaction can be done.