Chapter 7 - Database Fundamentals Flashcards
5.1, 5.2, 5.3
Database
a structured collection of organized data that is stored and managed in a way that allows for efficient retrieval, modification, and analysis of information
- stored locally, on a server, or the cloud
- resembles spreadsheet but contain tables instead
Create
defining what information the database will store, where it will be stored and how the information will be accessed
Input/Import
populating a database with data records
Query
a question or request for specific information from a database and is the way in which we retrieve data stored in the database
Report
visual summary of queried data that is designed to provide a clear, concise, and structured view of the data
Database Records
collections of related data fields that represent a single unit of information or entity within a database. It is often used to store and retrieve specific information about an object or item
Structure Data
data that is highly organized each piece of data has a well-defined data type
- organized into tables
- easy to query and analyze
Unstructured Data
lacks a predefined structure or format it included text, images, video, audio, and other forms of content that do not fit neatly into a table format.
Semi-structured Data
data that doesn’t adhere to organized tables but is not completely unstructured
- included data such as text, images, video, and audio accompanied by various meta tags
Schema
outline or a blueprint for a database that describes its components and how they work
- table names
- fields (attributes or details) in each table
- data types required for each field
- primary key, foreign keys, and other constraints
DDL Commands
SQL commands that manage the structure of your database
When Should We Use A Database?
- Multiple concurrent users
- Scalability
- Speed
- Variety of Data
- Security
Relational Database
structured to recognize relationships among stored items of information, known as datasets.
- predictable and organized with tables containing columns and rows of text or numerical data
Primary Key
is a unique identifier that helps you define a record (or content in a row)
- There can only be one Primary key per record
Relational Database Management Systems (RDBMS)
are software used to manage a database
- add, remove, update records
- retrieve data
- SQL, Oracle, Sybase, Informix, MySQL
Foreign Key
is a key or field in a table that is used to link two tables together
Non-Relational Database
does not use the tabular schema of rows and columns
- uses a storage model that is optimized for the specific requirements of the type of data being stored
- Also known as “NoSQL” databases
**Include Non-structured data & Semi-structured data
Key/Value Databases
represent data as a collection of key/value pairs
- Redia
- Dynamo DB
- Microsoft Azure
- Amazon
- Oracle NoSQL
Database Dumps
one-time logical backup of a database
- Data is dumped into an empty database that is already set up with the schema (fields, tables, etc.)
Database Backup
done through a program and creates a physical backup
- can be scheduled and repeated
- used to restore a database without needing to create a new on
Manual Access
going directly into tables to view or change data, suitable method for working with a database that is stored locally
Direct Access
accessing via a direct connection across a network suitable for LANs
Programming Access
accessing a database through a programming language like SQL
User Interface and Utility Access
A method of accessing a database using forms that allow users to interact with the database that create
an SQL query to retrieve data from the database.