Database Basics Flashcards
Numeric, textual, visual, or audio information that describes real world systems
Data
What is collected and processed to aid in a variety of tasks such as forecasting weather, analyzing financial investments and tracking the global spread of pandemics?
Data
Name three ways data can vary.
1) Scope
2) Format
3) Access
What is the term for the amount of data produced and collected?
Scope
What is the term for the concept that data may be produced as numbers, text, images, audio, or video?
Format
What is the term for the concept that some data sources are private while others are made publicly available?
Access
Historically, data was blank.
Analog
Historically where were data images stored?
Celluloid tapes
Today, data is mostly blank, encoded as zeros and ones on electronic and magnetic media.
Digital
The shift from analog to digital in data facilitated the rise of what?
Large computer databases
What website provides thousands of US government data sets?
data.gov
What website allows users to find and publish data sets?
kaggle.com
What website provides data sets in aerospace and other related sciences?
data.nasa.gov
Data relationships are often represented in a graphical format called what?
Visualization
What website collects and reports data info relative to cancer?
cancer.gov/research
What website collects data by the New York City government to support continuous monitoring and improvements to NYC and residents’ health.
opendata.cityofnewyork.us
What is a collection of data in a structured format that can be stored on paper and even clay tablets?
database
Modern what are stored on computers?
databases
What ensures that similar data is stored in a standardized manner?
Structure
Many modern databases contain how many bytes of data and support thousands of simultaneous users?
trillions
A blank, or a blank, is software that reads and writes data in a database, ensures data is secure, internally consistent, and available at all times?
Database system, or database management system (DBMS)
What is a request to retrieve or change data in a database?
Query
What is a specialized programming language, designed specifically for database systems?
Query language
What is a software that helps business users interact with database systems since databases are complex. and many users don’t know query languages?
A database application
What is organized into layers meaning an application interacts with a query language on one layer while the query language interacts with a database system on another layer?
Database software
What is the term for a software application that manages corporate data for a specific business functions. It usually includes a database system as well as a user interface, business logic, and interacts with other systems?
Information management system
What is the term for the person responsible for securing the database system against unauthorized users, enforces procedures for user access and database availability?
Database administrator
Who determines the format of each element and the overall database structure?
Database designer
Who develops computer programs that utilize a database, writing applications that combine database query language and general-purpose programming languages?
Database programmer
Who is a consumer of data in a database? They request, update, or use stored data to generate reports or information.
Database user
What requirement helps when many users and apps simultaneously access large databases, query response time degrades rapidly.
Performance
Database systems maintain what by structuring data properly on storage media and processing queries efficiently?
Fast response times
What states that many database users should have limited access to specific tables, columns or rows of a database?
Authorization
Database systems blank individual users to access specific data.
Authorize
What aspect of database systems ensure authorized users only access permissible data?
Security
Database systems also protect against who by encrypting data and restricting access?
Hackers
Database systems ensure data is consistent with blank and blank rules.
Structural and business
Computers, Database systems, and individual transactions occasionally blank.
fail
Database systems must blank from failures and restore the database to a consistent state without loss of data.
Recover
What interprets queries, creates a plan to modify the database or retrieve data, and returns the query results to the application
Query processor
What is a particularly challenging requirement for database systems?
Transaction management
A what is a group of queries that must either be completed or rejected as a whole?
Transaction
Execution of some, but not all, queries results in what?
Inconsistent or incomplete data
When processing transactions database systems must do what three things?
1) process transactions completely or not at all
2) prevent conflicts between concurrent transactions
3) ensure transaction results are never lost
The blank of a database system describes the internal components and the relationship between components?
Architecture
Name the five common components of a database system
Query processor
Storage manager
Transaction manager
Log
Catalog
What performs query optimization to ensure the most efficient instructions are executed to the data?
Query processor
What translates the query processor instructions into low-level file system commands that modify or retrieve data?
Storage manager
Database sizes range from what to what do the storage manager used indexes to quickly locate data?
Megabytes terabytes
What ensures transactions are properly executed?
Transaction manager
What prevents conflicts between concurrent transactions?
Transaction manager
What restores the database to a consistent state in the event of a transaction system failure?
Transaction manager
What is a file containing a complete record of all insert, updates, and deletes processed by the database?
Log
What writes log records before applying changes to the database?
Transaction manager
In the event of a failure, the transaction manager uses what to restore the database?
Log records
The what also known as what is a directory of tables, columns, indexes, and other database objects
Catalog
Data dictionary
Other database components use what to process and then execute queries?
Catalog information
What is the term for data about databases, such as column names and the numbers of rows in each table?
Metadata
Database systems store metadata where and use metadata to do what?
Catalog
Process queries
Most leading database systems are blank.
Relational
A blank stores data in tables, columns and rows, similar to a spreadsheet.
Relational database
All data in a what has the same format?
Column
All data in a what represents a single object.
Row
All relational database systems support what?
SQL
What does SQL stand for?
Structured query language
What includes statements that read and write data, create and delete tables, and administer the database system?
SQL
Blank databases are ideal for databases that require an accurate record of every transaction.
Relational
What is the term for massive volumes of data?
Big data
The newer non-relational systems are called blank meaning blank and are optimized for big data.
NoSQL
Not only SQL
Blank software is software that anyone can inspect, copy, and modify with no licensing fee
Open source
A blank is a command for a database that typically inserts new data, retrieves data, updates data or deletes data from a database.
Query
A what is a computer programming language for writing database queries.
Query language
What does CRUD stand for
Create, Read, Update, Delete
What inserts new data into the database?
Insert query
What retrieves information from the database?
A select query
What changes existing data in the database?
An update query
What removes data from the database?
Delete query
Who sponsors the SQL standard?
American National Standards Institute (ANSI) and the International organization for standardization (ISO)
Who developed SQL in the 1970s?
IBM
All relational databases support what?
SQL
What SQL statement creates a new table by specifying the table and column names?
CREATE TABLE
In a create table query, each column is assigned a what?
Data type
What stores integer values?
INT
What stores fractional number values?
DECIMAL
What stores textual values?
VARCHAR
What stores year, months, and day?
DATE
Some data types are followed by one of two numbers in parentheses indicating the what of the data type?
Size
A what is a specification of database objects such as tables, columns, data types, and indexes?
Database design
What refers to the process used to develop the specification?
Database design
For large, complex databases, database design has what three phases?
1) Analysis
2) Logical Design
3) physical design
The blank phase specifies database requirements without regard to a specific database system.
Analysis