Section 3: Basic Database Terminology Flashcards
2 Types of databases
- Relational Databases
2. Non-relational Databases
Relational Databases
- Regards more complex Systems.
2. Mathematics and programming.
Relational Datase Purpose
Organize huge amounts of data that can be quickly retrieved.
What is relational Database
The smallest units in the entire system can carry integral logical meaning.
RDMS (What is it)
Relational Database Management System.
When the database combined with its existing relations
Spreadsheet
An electronic ledger.
An electronic version of paper accounting worksheets.
Spreadsheet vs Databases (Similarities)
- Can contain large amounts of tabular data.
- Can use existing data to make calculations.
- Are used by many users.
Spreadsheet vs Databases (Differences)
Relational Databases. - Retrieval of data - Updating of data - Efficiency - Data consistency - Data Integrity - Speed Spreadsheets. - Extensive analysis
Database designer
Plot the entire database system on a canvas using a visualization tool
ER Diagram
Entity-Relation Diagram
- Different data entities and the relationship that exsists between the 2
Relational Schema
An existing idea of how the database must be organized.
Database creation
Use SQL to set up the database physically
Database manipulation
Allows you to use your dataset to extract business insights to improve performance and efficiency
Database Management
The steps that a business takes to: 1. Database design 2. Creation 3. manipulation Successfully
Database Adminstration
The person providing daily care and maintenance of the database
Relational Schema (Primary Key)
A column or set of columns whose value exists a
1. Each table can only have 1 primary Key
(Unique Identifiers)
Primary Key Limitations
- Each table can only have 1 Primary Key
- Primary key cannot be blank
- Not all tables will have a primary Key
Relational Schemas (Foreign Key)
Identifies the relationships between tables and not the table itself
1. Identify
Unique Key
Used whenever you would like to specify that you don’t want to see duplicate data in a given field
Primary Key vs Unique Key
- unique keys can contain null values (Unknown phone # of a business)
- A table can have multiple unique keys but multiple Primary Keys.
Relationships
Tell how much of the data from a foreign field can be seen in the primary key column of the table and the data is related to and vice versa.
One-to-many type of relationship vs Many-to-one Relationship
For example, if one department can employ for several employees then, department to employee is a one to many relationship (1 department employs many employees), while employee to department relationship is many to one (many employees work in one department)
Cardinality Constraints
Symbols showing relationship limitations.
I,>,M,N,O