4.5 Databases Flashcards

(12 cards)

1
Q

DBMS

A

A DBMS is a database management system which allows an admin to maintain one or more relational databases. Most of are proprietary (commerical products) however MySQL and SQLite are free. They provide a GUI to allow admins to work efficiently and easily and the ability to modify the data stucture, create indexes, browse data etc.

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

Database

A

A structured and organised collection of data used for efficientt storage and retireval of that data.

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

Composite Primary Key

A

Used when a single primary key isnt adequate enough to act as a unique identifer for a record.

For example a table of a students classes will have two primary keys, a student ID and a Course ID as one wouldnt suffice, as if it was just student ID and he appeared on that table multiple times, his ID would appear multiple times which is redundant

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

Data consistency, integrity and redudancy

A

Data Consistency - all data written must be valid

Data Integrity - refers to the correctness of the data as it must be correct when added and queried

Data Redudancy - repeated data

Redudancy can lead to integrity issues as if a table with 10 of the same reocrds needs a field change then each one has to be manually overwritten which can lead to integrity issues.

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

Flat File Database

A

Data stored in one single tables. simple and easy to use for small datasets but becomes inefficient with large data sets

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

Relational Database

A

Stored data in multiple tables that are connect thorugh through relationships. Reduces redudandant data, improves data integrity and supports complex queries

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

Big Data

A

Big data refers to data sets that are too large or complex for traditional data processing to deal with.

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

5 V’s

A

Volume - Huge amount of data being processed

Veracity - Inconsistencies and uncertainy in data whic involves filtering and translating to ensure accuracy

Velocity - High speed of accumulation of data. Big Data can handle real time ensuring rapid data flow from sources.

Variety - Different formats of data (text, video etc) from various sources, Big Data can be structured, semi - structured or unstructured

Value - Extract useful data, goal is to manage valuable data to drivem business decisions

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

Distrubuted Systems

A

A system whose componenets are located on different network locations.

+ Scalability: System can handle growing amount of work and can increasing processing power without dropping performace

Vertical Stability involves adding more resources to a single node (e.g upgrading RAM), Horizontal Scalbility involves adding more nodes to the system to distrubute work more evenly

Reliability: If one node fails, other can continue to work, reducing riks of system-wide failure, cooridnating reovering can be hard

Performance - Tasks can be processed in parrallel leading to faster completetion times. Sounds faster in theroy but to do so communication has to be sent across network which cna introduce latency

Flexibility- different parts of the system can be optimised for different tasks

Geographical Distrubution- data and processing power can be placed closer to wheres it needed to reduce latency and improve user experience

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

Data Warehousing

A

Where the large amounts of data from various sorces is stored and managed. Put data into consistent form for querying

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

Data Mining

A

The process of analysing large volumes of stored data to identify patterns, trends and relationships. Supports decision makings.

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

Data Dictionary

A

A component of DBMS that stores the names, defintions and attributes for data elements.

Consistency - Esnrues all data follows the same rules and terminlogy, ensures consistency and intergity in data stored in db

Maintanance - Manages the design structure the helps mapping during design, offers documentation for traceability

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