NEW
Font size
WorksheetsADBMS REVIEWER
Total questions: 64
Worksheet time: 32mins
Capture, collect, integrate, store and analyze data, Generate information to support business decision making
Framework that allows a business to transform:
• Data into information
• Information to knowledge
• Knowledge to wisdom
Business Intelligence
Comprehensive, cohesive, integrated tools and processes
Master data management (MDM)
Key performance indicators (KPI)
Operational data
Collection of concepts, technique, and processes for the proper identification, definition, and management of data elements within an organization.
Business Intelligence
Comprehensive, cohesive, integrated tools and processes
Master data management (MDM)
Key performance indicators (KPI)
Operational data
Measurements that assess company’s effectiveness or success in reaching goals. KPIs are determined after the main strategic, tactical, and operational goals are defined for a business.
Business Intelligence
Comprehensive, cohesive, integrated tools and processes
Master data management (MDM)
Key performance indicators (KPI)
Operational data
Mostly stored in a relational database. Optimized to support transactions representing daily operations.
Business Intelligence
Comprehensive, cohesive, integrated tools and processes
Master data management (MDM)
Key performance indicators (KPI)
Operational data
differs from operational data in three main areas:
• Time span
• Granularity
• Dimensionality
Decision support data
The Data Warehouse
Data modeling technique.
Numeric measurements
Integrated, subject-oriented, time-variant and non-volatile collection of data.
1. Provides support for decision making.
2. Usually a read-only database optimized for data analysis and query processing.
Decision support data
The Data Warehouse
Data modeling technique.
Numeric measurements
Maps multidimensional decision support data into relational database.
Decision support data
The Data Warehouse
Data modeling technique.
Numeric measurements
represent specific business aspects or activity
Normally stored in a fact table that is center of star schema
Decision support data
The Data Warehouse
Data modeling technique.
Numeric measurements
Data are processed and viewed as part of a multidimensional structure.
Multidimensional Data Analysis Technique
Advanced Database Support
Easy-to-use End-use Interface
Data Analytics
Data are processed and viewed as part of a multidimensional structure.
Multidimensional Data Analysis Technique
Advanced Database Support
Easy-to-use End-use Interface
Data Analytics
Advanced data access feature include:
• Access to many different kinds of DBMSs, flat files, and internal and external data sources.
• Access to aggregated data warehouse data.
Multidimensional Data Analysis Technique
Advanced Database Support
Easy-to-use End-use Interface
Data Analytics
An analytical interface that permits the user to navigate the data in a way that simplifies and accelerate decision making or data analysis.
Multidimensional Data Analysis Technique
Advanced Database Support
Easy-to-use End-use Interface
Data Analytics
A subset of business intelligence functionality that encompasses a wide range of mathematical, statistical, and modelling techniques.
Multidimensional Data Analysis Technique
Advanced Database Support
Easy-to-use End-use Interface
Data Analytics
it is a tools that do the following:
• Analyze data.
• Uncover problems or opportunities hidden in data relationships.
• Form computer models based on their findings.
• Use models to predict business behavior
• Requires minimal end-user intervention.
Data mining
Predictive Analytics
Distributed Database
Distributed database management system (DDBMS)
Refers to the use of advanced mathematical, statistical, and modeling tools to predict future
Data mining
Predictive Analytics
Distributed Database
Distributed database management system (DDBMS)
A set of databases in a distributed system that can appear to applications as a single data source.
Data mining
Predictive Analytics
Distributed Database
Distributed database management system (DDBMS)
A set of databases in a distributed system that can appear to applications as a single data source.
Data mining
Predictive Analytics
Distributed Database
Distributed database management system (DDBMS)
shared among two or more physically independent sites that are connected through a network.
Distributed processing
Distributed databases
Data fragments
Transaction processor (TP)
shared among two or more physically independent sites that are connected through a network.
Distributed processing
Distributed databases
Data fragments
Transaction processor (TP)
stores a logically related database over two or more physically independent sites. The sites are connected via a computer network.
Distributed processing
Distributed databases
Data fragments
Transaction processor (TP)
a subset of distributed database.
Distributed processing
Distributed databases
Data fragments
Transaction processor (TP)
Software component of a system that requests data. Known as application processor (AP) or the transaction manager (TM).
Distributed processing
Distributed databases
Data fragments
Transaction processor (TP)
Software component on a system that stores and retrieves data from its location.
Data processor (DP) or data manager (DM)
Single-Site Processing, Single-Site Data (SPSD)
Multiple-Site Processing, Single-Site Data (MPSD)
Client/server architecture
Processing is done on a single host computer.
Data processor (DP) or data manager (DM)
Single-Site Processing, Single-Site Data (SPSD)
Multiple-Site Processing, Single-Site Data (MPSD)
Client/server architecture
Multiple processes run on different computers that share a single data repository. Requires a network file server running conventional applications. Accessed through LAN
Data processor (DP) or data manager (DM)
Single-Site Processing, Single-Site Data (SPSD)
Multiple-Site Processing, Single-Site Data (MPSD)
Client/server architecture
Reduces network traffic., Processing is distributed., Support data at multiple sites.
Data processor (DP) or data manager (DM)
Single-Site Processing, Single-Site Data (SPSD)
Multiple-Site Processing, Single-Site Data (MPSD)
Client/server architecture
Roll transactions back and forward with the help of the system’s transaction log entries.
DO-UNDO-REDO protocol
Write-ahead protocol
Network latency
Network partitioning
Forces the log entry to be written to permanent storage before actual operation takes place.
DO-UNDO-REDO protocol
Write-ahead protocol
Network latency
Network partitioning
Forces the log entry to be written to permanent storage before actual operation takes place.
DO-UNDO-REDO protocol
Write-ahead protocol
Network latency
Network partitioning
delay imposed by the amount of time required for a data packet to make a round trip.
DO-UNDO-REDO protocol
Write-ahead protocol
Network latency
Network partitioning
delay imposed when nodes become suddenly unavailable due to a network failure.
DO-UNDO-REDO protocol
Write-ahead protocol
Network latency
Network partitioning
How to partition database into fragments.
Data fragmentation
Data replication
Data allocation.
Horizontal fragmentation
Which fragments to replicate.
Data fragmentation
Data replication
Data allocation.
Horizontal fragmentation
Where to locate those fragments and replicas.
Data fragmentation
Data replication
Data allocation.
Horizontal fragmentation
Division of relation into subsets (fragments) of tuples (rows).
Data fragmentation
Data replication
Data allocation.
Horizontal fragmentation
Division of a relation into attribute (column) subsets.
Vertical fragmentation
Mixed fragmentation
Fully replicated database
Partially replicated database
Division of a relation into attribute (column) subsets.
Vertical fragmentation
Mixed fragmentation
Fully replicated database
Partially replicated database
Combination of horizontal and vertical strategies.
Vertical fragmentation
Mixed fragmentation
Fully replicated database
Partially replicated database
Stores multiple copies of each database fragment at multiple sites.
Vertical fragmentation
Mixed fragmentation
Fully replicated database
Partially replicated database
Stores multiple copies of some database fragments at multiple sites
Vertical fragmentation
Mixed fragmentation
Fully replicated database
Partially replicated database
Stores each database fragment at a single site.
Un replicated database
Client Side
Server Side
Automatic Query Optimization
SQL performance tuning: Generates SQL query that returns correct answer in least amount of time. Using minimum amount of resources at server.
Un replicated database
Client Side
Server Side
Automatic Query Optimization
DBMS performance tuning: DBMS environment must be configured properly to respond to clients’ requests as fast as possible. Optimum use of existing resources.
Un replicated database
Client Side
Server Side
Automatic Query Optimization
DBMS finds the most cost-effective access path without user intervention.
Un replicated database
Client Side
Server Side
Automatic Query Optimization
Requires that the optimization be selected and scheduled by the end user or programmer.
Manual Query Optimization
Static query optimization
Dynamic query optimization
Rule-based query optimization algorithm
Requires that the optimization be selected and scheduled by the end user or programmer.
Manual Query Optimization
Static query optimization
Dynamic query optimization
Rule-based query optimization algorithm
Best optimization strategy is selected when the query is compiled by the DBMS. It takes place at compilation time.
Manual Query Optimization
Static query optimization
Dynamic query optimization
Rule-based query optimization algorithm
Access strategy is dynamically determined by the DBMS at run time, using the most up-to-date information about the database.
Manual Query Optimization
Static query optimization
Dynamic query optimization
Rule-based query optimization algorithm
based on a set of user-defined rules to determine the best query access strategy
Manual Query Optimization
Static query optimization
Dynamic query optimization
Rule-based query optimization algorithm
refers to a number of measurements about database objects, such as number of processors used, processor speed, and temporary space available.
Database Statistics
PARSING
EXECUTION
FETCHING
The DBMS parses the SQL query and chooses the most efficient access/execution plan.
Database Statistics
PARSING
EXECUTION
FETCHING
The DBMS executes the SQL query using the choses execution plan.
Database Statistics
PARSING
EXECUTION
FETCHING
The DBMS fetches the data and sends the result set back to the client.
Database Statistics
PARSING
EXECUTION
FETCHING
Analyzes SQL query and finds most efficient way to access data.
Query optimizer
Access plans
Indexes
Data sparsity
DBMS-specific and translate client’s SQL query into series of complex I/O operations.
Query optimizer
Access plans
Indexes
Data sparsity
Help speed up data access. Facilitate searching, sorting, using aggregate functions and join operations.
Query optimizer
Access plans
Indexes
Data sparsity
number different values a column could have.
Query optimizer
Access plans
Indexes
Data sparsity
Five components typically causes bottlenecks:
CPU, RAM, Hard disk, Network, Application code
CPU, Motherboard, Hard drive, Internet, Application code
CPU, RAM, Hard drive, Internet, Application code
CPU, Fan, Hard disk, Internet, Application code
used to implement indexes:
Hash index, B-tree index,Bitmap index
Data structures
Rule-based optimizer
Cost-based optimizer
Optimizer hints
used to implement indexes:
Hash index, B-tree index,Bitmap index
Data structures
Rule-based optimizer
Cost-based optimizer
Optimizer hints
Uses preset rules and points to determine the best approach to execute a query.
Data structures
Rule-based optimizer
Cost-based optimizer
Optimizer hints
Uses algorithms based on statistics about objects being accessed to determine the best approach to execute a query.
Data structures
Rule-based optimizer
Cost-based optimizer
Optimizer hints
special instructions for the optimizer, embedded in the SQL command text.
Data structures
Rule-based optimizer
Cost-based optimizer
Optimizer hints
Store large portions of the database in primary memory.
Data structures
In-memory database
Cost-based optimizer
Optimizer hints
