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/22

flashcard set

Earn XP

Description and Tags

A Level Fundamentals of databases

Last updated 2:03 PM on 5/15/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

23 Terms

1
New cards

Data modelling

the process of of producing an abstract model representing the organisation and structure of the data within a given context.

2
New cards

Entity

A concrete or conceptual distinct object about which data must be stored. For instance, a book for a library.

3
New cards

Attribute

a single property of an entity. title of a book for instance

4
New cards

Entity identifier

An attribute or collection of attributes that uniquely identifies each instance of an entity.

5
New cards

Relationship

A two-way link between two entities.

6
New cards

Flat File databases

simple way of storing data in a text file. Each line represents a record, with fields separated by commas.

7
New cards

Relational Database

It organises data across multiple tables, where each table stores data for a particular entity. Tables are related through common fields namely primary and foreign key fields. Avoids data duplication making querying more efficient.

8
New cards

Foreign Key

The field of one table that is the primary key of another table.

9
New cards

Select from with where & and

<p></p>
10
New cards

using like

knowt flashcard image
11
New cards

using between

knowt flashcard image
12
New cards

using join on multiple tables

knowt flashcard image
13
New cards

updating tables

knowt flashcard image
14
New cards

deleting data

knowt flashcard image
15
New cards

Issues with Data Duplication

Data Redundancy - unnecessary duplication of data within the database. Increased storage costs and reduced performance because of slower querying times.

Data Inconsistency - update anomalies may cause certain instances of duplicated data to vary after updates, meaning the data is no longer reliable.

16
New cards

Database Normalisation and why

organizing data into related tables so that each piece of data is stored once. It minimizes data duplication, data redundancy, and data inconsistency by preventing update, insertion, and deletion anomalies.

17
New cards

Atomic data

fully decomposed into multiple attributes

<p>fully decomposed into multiple attributes</p>
18
New cards

Repeating group

two or more fields store data of the same attribute in a single record.

<p>two or more fields store data of the same attribute in a single record.</p>
19
New cards

Properties of 3rd normal form

Every non-key attribute is dependent upon the key, the whole key, and nothing but the key. All data is fully atomic, and there are no repeating groups.

<p>Every non-key attribute is dependent upon the key, the whole key, and nothing but the key. All data is fully atomic, and there are no repeating groups.</p>
20
New cards

Client-server database

provides simultaneous access to a single central database for multiple clients.

21
New cards

Pros and Cons of Client Server Databases

Pros: all users have access to the same, up-to-date data. Data can be accessed by all clients without duplication or distribution of data, reducing redundancy and eliminating data duplication.

Cons: simultaneous access of a server’s resources can lead to network congestion and worse performance.

22
New cards

Concurrent Access

when two client access the database simultaneously. Causes data integrity issues due to lost updates and insertion anomalies.

23
New cards

Lost Update problem

when two clients access the same record and try update it simultaneously, the second update overwrites the effects of the first on the record causing incorrect data to be written.