Module 2 - Unit 4 - Using Databases Flashcards
Database
An organized collection of information. The information is stored in a structured manner for easier access.
Database processes
a. Creation
b. Import/Input
c. Storage
d. Queries
e. Reports
Flat File systems
A system of files in which every file in the system must have a different name. Flat file is used to refer to files that are for data storage
Database v.s. Flat File Systems
i. Databases validates and enforce information entered
ii. Databases can create complex schemas
iii. Databases can support more storage
iv Databases are more scalable
vi. Database provide access controls
Relational database
A highly structured database where information is organized in tables that contains columns and rows.
Primary Key
A unique key in a table and can be used to reference from another table.
Foreign Key
When a primary key is referenced in another table, it is called a foreign key.
Database Schema
Describes the structure of the database by the relations of foreign and primary keys.
Garbage In, Garbage Out (GIGO)
A phrase to describe that if nonsense is inputted into the computer, nonsense will also come out on the other end. This emphasizes the important of input and that it has to conform and are consistent with what the information the field is supposed to store.
Database constraints
Constraints are place to enforce data types, or a way to validate the values input into the table.
Structured Data
Structured data allow easy access to stored information and gives the flexibility over what to access. Information stored in a relational database is structured.
Unstructured Data
Unstructured data provides no rigid formatting of the data. Images and text files, Word documents, and PowerPoint presentations are examples of unstructured data.
Semi-Structured Data
This is a structure that lies in between structured and unstructured data. It has metadata that helps identify the data.
Document database
An example of a semi-structured database. Rather than define tables and fields, the database grows by adding documents to it. The structure within the documents would commonly use eXtensible Markup Language (XML) to provide structure.
Key/Value pair database
Storing the properties of objects without predetermining the filed used to define an object. One use of this is JSON.