Chapter 6 Database Architecture Flashcards
What are the components of MySQL architecture?
MySQL architecture consists of various components and relationships that facilitate database management.
What are the four layers of MySQL architecture?
The four layers are Tools Layer, Query Processor, Connectors, and Storage Engine.
What is the Tools Layer in MySQL architecture?
The Tools Layer includes user interfaces and applications for database interaction.
What does the Query Processor do?
The Query Processor manages connections and compiles SQL queries.
What are Connectors in MySQL?
Connectors are APIs that link applications to the query processor.
What is the purpose of APIs in MySQL?
APIs are older programming interfaces for database interaction.
What is MySQL Workbench?
MySQL Workbench is a desktop application for managing MySQL databases.
What are Utility Programs in MySQL?
Utility Programs are tools for database administration and management.
What is the Command-Line Client?
The Command-Line Client is an interactive tool for processing SQL queries.
What are Database Transactions?
Database Transactions are operations that ensure data integrity and consistency.
What is System Data in MySQL?
System Data in MySQL is the information stored in the mysql system schema. This schema contains tables with metadata about the server itself, including:
- Data Dictionary Tables: Store information about database objects like tables and columns.
- System Tables: Used for operational purposes like user accounts and server logs.
How do users interact with User Data in MySQL?
User Data is created and managed by database users.
What are High-End Installations?
High-End Installations are advanced setups requiring additional Enterprise features.
What is a Connection in MySQL?
A Connection specifies the database name and credentials.
What does the Connection Manager do?
The Connection Manager creates and manages connections to databases.
What is a Query Compilation?
Query Compilation generate a detailed execution plan for queries.
What is the CSV Storage Engine?
The CSV Storage Engine stores data in comma-separated values format.
What is the MEMORY Storage Engine?
The MEMORY Storage Engine stores data in RAM for fast access.
What is a Storage Engine?
A Storage Engine manages how data is stored in tables.
Who is a Database Administrator?
A Database Administrator manages database configurations and storage engines.
What is Block Replacement?
Block Replacement is the process of removing stale blocks from the buffer.
What is a Data Update?
A Data Update is the modification of existing data in a block.
What is Buffer Capacity?
Buffer Capacity is the maximum number of blocks the buffer can hold.
What is Block Discarding?
Block Discarding is removing blocks from the buffer to free space.
What is the File System Layer?
The File System Layer organizes data stored on physical storage media.
What are Database Queries?
Database Queries are requests for data retrieval or manipulation.
Multi-Tier Architecture is used how in management?
Multi-Tier Architecture groups computers in layers for application management.
What is the Top Tier in architecture?
The Top Tier interacts directly with end-users.
What does the Bottom Tier manage?
The Bottom Tier manages resources like databases and email.
What functions does the Middle Tier execute?
The Middle Tier executes functions like user authorization and business logic.
What is Web Architecture?
Web Architecture is a multi-tier architecture for web applications.
What role do Web Browsers play in web architecture?
Web Browsers are the top tier managing user interaction.
What do Web Servers do?
Web Servers are the middle tier generating web pages and handling requests.
What is the function of Application Servers?
Application Servers process requests and communicate with databases.
What does the Services Tier provide?
The Services Tier provides database and authentication services.
What is Single-tier architecture?
Single-tier architecture contains one layer of software components.
What does Multi-tier architecture contain?
Multi-tier architecture contains two or more interconnected software tiers.
What is On-premise software?
On-premise software is installed and run on customer computers.
What are Cloud services?
Cloud services are software provided over the internet for a fee.
What is Infrastructure-as-a-Service (IaaS)?
IaaS involves renting virtual computing resources from cloud providers.
What does Platform-as-a-Service (PaaS) provide?
PaaS provides a platform for developers to create and manage applications
What is Software-as-a-Service (SaaS) & Platform as a Service?
- SaaS is about delivering ready-to-use software applications (like renting a furnished apartment)
- PaaS provides a platform for developers to create and manage applications (like leasing land to build a house).
What is Elastic Compute Cloud (EC2)?
EC2 is Amazon’s IaaS offering for virtual computing.
What is Microsoft Azure?
Microsoft Azure is Microsoft’s PaaS offering with various cloud services.
What is Salesforce?
Salesforce is a SaaS for sales management and customer relations.
What is a Cloud database?
A Cloud database is offered as a PaaS cloud service.
What is a Virtual machine (VM)?
A VM emulates a complete computing environment on a server.
Who is a Customer in cloud services?
A Customer is an end-user accessing cloud services.
What is Storage media?
Storage media are physical devices for storing data in the cloud.
What is a Network?
A Network connects multiple computers for data exchange.
What is an Operating system?
An Operating system is software managing computer hardware and resources.
What is a Database?
A Database is a structured collection of data for storage and retrieval.
What is a Server in a computer network?
A Server is a computer providing data or services to other computers.
What is a Shared memory computer?
A Shared memory computer has processors that share the same memory and storage.
What is a Shared storage computer?
A Shared storage computer has processors that share storage but have private memory.
What is a Shared nothing computer?
A Shared nothing computer has processors that share neither memory nor storage.
What are Parallel computers?
Parallel computers have multiple processors working under a single OS.
What is a Local area network?
A Local area network consists of cables connecting devices within a small area.
What is the Ethernet protocol?
The Ethernet protocol is a common communication protocol for local area networks.
What are Data transmission risks?
Data transmission risks are potential vulnerabilities when sending data online.
What is a corp Cloud service provider?
Cloud service providers are companies offering database management in the cloud.
What is Scalable storage?
Scalable storage is adjustable storage capacity based on customer needs.
What are Peak processing loads?
Peak processing loads refer to high demand periods requiring additional resources.
What is a Wide Area Network?
A Wide Area Network spans multiple facilities across large distances.
What is a Node in networking?
A Node is a computer connected in a network.
What is Shared Memory?
Shared Memory is when multiple processors share both memory and storage.
What is Shared Storage?
Shared Storage is when multiple processors share storage but not memory.
What is Shared Nothing?
Shared Nothing means each processor has private memory and storage.
What is the Ethernet Protocol?
The Ethernet Protocol is a standard for connecting computers in a network.
What is a Parallel Database?
A Parallel Database runs on parallel computers or clusters.
What is a Distributed Database?
A Distributed Database operates on multiple computers via a wide area network.
What is Query Decomposition?
Query Decomposition is breaking queries into parts for concurrent execution.
What is a Local Area Network?
A Local Area Network covers a small geographic area.
What are Technical Challenges in databases?
Technical Challenges arise from slow wide area networks.
What is a Unified View of Data?
A Unified View of Data provides consistent data representation for users and programmers.
What is Data Location Impact?
Data Location Impact refers to the significance of data placement on query processing.
What are Remote Queries?
Remote Queries access data from different locations.
What is Cluster Management Software?
This software coordinates nodes in a cluster.
Node: computer on network
What are Memory Access Limitations?
Memory Access Limitations indicate local networks can’t support shared memory access.
What is Data Visibility?
Data Visibility means only administrators see physical data locations.
What is Concurrency in databases?
Concurrency is the simultaneous execution of processes or queries.
What is Query Execution Speed?
Query Execution Speed is the time taken to process database queries.
What is Employee Data Storage?
Employee Data Storage refers to local nodes storing data for geographically distributed employees.
What are Communication Protocols?
Communication Protocols are rules for data exchange between networked devices.
What is a Processor?
A Processor is a component that executes instructions and processes data.
What is the Two-Phase Commit protocol?
The Two-Phase Commit protocol ensures all nodes commit or rollback updates.