Documente Academic
Documente Profesional
Documente Cultură
PowerPoint Course Material for SCELE Graduate Program Information Technology Faculty of Computer Science UNIVERSITY OF INDONESIA
Objectives Objectives
Become familiar with several file and database formats Understand several goals of data storage Be able to optimize a relational database for data storage and data access Become familiar with indexes Be able to estimate the size of a database
PowerPoint Course Material for SCELE Graduate Program Information Technology Faculty of Computer Science University of Indonesia
PowerPoint Course Material for SCELE Graduate Program Information Technology Faculty of Computer Science University of Indonesia
PowerPoint Course Material for SCELE Graduate Program Information Technology Faculty of Computer Science University of Indonesia
PowerPoint Course Material for SCELE Graduate Program Information Technology Faculty of Computer Science University of Indonesia
PowerPoint Course Material for SCELE Graduate Program Information Technology Faculty of Computer Science University of Indonesia
PowerPoint Course Material for SCELE Graduate Program Information Technology Faculty of Computer Science University of Indonesia
PowerPoint Course Material for SCELE Graduate Program Information Technology Faculty of Computer Science University of Indonesia
Look-up files
store static values
Transaction files
store information that updates a master file
Audit files
record before and after versions of data
10
PowerPoint Course Material for SCELE Graduate Program Information Technology Faculty of Computer Science University of Indonesia
11
PowerPoint Course Material for SCELE Graduate Program Information Technology Faculty of Computer Science University of Indonesia
12
PowerPoint Course Material for SCELE Graduate Program Information Technology Faculty of Computer Science University of Indonesia
13
PowerPoint Course Material for SCELE Graduate Program Information Technology Faculty of Computer Science University of Indonesia
14
PowerPoint Course Material for SCELE Graduate Program Information Technology Faculty of Computer Science University of Indonesia
15
PowerPoint Course Material for SCELE Graduate Program Information Technology Faculty of Computer Science University of Indonesia
16
PowerPoint Course Material for SCELE Graduate Program Information Technology Faculty of Computer Science University of Indonesia
Multidimensional Multidimensional Database Database Concepts Concepts Stores data for easy aggregation and manipulation across many dimensions Used for data warehouses and data marts Summary data is pre-calculated and stored for fast access
17
PowerPoint Course Material for SCELE Graduate Program Information Technology Faculty of Computer Science University of Indonesia
18
PowerPoint Course Material for SCELE Graduate Program Information Technology Faculty of Computer Science University of Indonesia
19
PowerPoint Course Material for SCELE Graduate Program Information Technology Faculty of Computer Science University of Indonesia
Dimensions Dimensions of of Data Data Storage Storage Optimization Optimization Conflicting goals: Storage efficiency (minimizing storage space) Speed of access (minimizing time to retrieve desired information)
20
PowerPoint Course Material for SCELE Graduate Program Information Technology Faculty of Computer Science University of Indonesia
21
PowerPoint Course Material for SCELE Graduate Program Information Technology Faculty of Computer Science University of Indonesia
22
PowerPoint Course Material for SCELE Graduate Program Information Technology Faculty of Computer Science University of Indonesia
23
PowerPoint Course Material for SCELE Graduate Program Information Technology Faculty of Computer Science University of Indonesia
Indexing
24
PowerPoint Course Material for SCELE Graduate Program Information Technology Faculty of Computer Science University of Indonesia
Denormalization Denormalization
Add redundancy back to data storage design to reduce the number of joins performed in a query Ideal for frequently queried but rarely updated data
Look-up tables 1:1 relationships Add parent attributes to child Star schema design data models
25
PowerPoint Course Material for SCELE Graduate Program Information Technology Faculty of Computer Science University of Indonesia
Clustering Clustering
Reduce the number of times storage must be accessed by physically placing like records close together.
Intrafile clustering similar records in a table are stored together Interfile clustering combine records from more that one table that are typically retrieved together
26
PowerPoint Course Material for SCELE Graduate Program Information Technology Faculty of Computer Science University of Indonesia
Indexing Indexing
A minitable that contains values from one or more fields in a table and the location of the values within the table Similar to the index of a book.
27
PowerPoint Course Material for SCELE Graduate Program Information Technology Faculty of Computer Science University of Indonesia
28
PowerPoint Course Material for SCELE Graduate Program Information Technology Faculty of Computer Science University of Indonesia
Create an index for fields used frequently for grouping, sorting, or criteria
29
PowerPoint Course Material for SCELE Graduate Program Information Technology Faculty of Computer Science University of Indonesia
Volumetrics Volumetrics Estimating Estimating Data Data Storage Storage Size Size Raw data sum of the average widths of all fields in a table. Calculate overhead requirements based on DBMS vendor recommendations Estimate initial number of records Estimate growth rate of records
30
PowerPoint Course Material for SCELE Graduate Program Information Technology Faculty of Computer Science University of Indonesia
31
PowerPoint Course Material for SCELE Graduate Program Information Technology Faculty of Computer Science University of Indonesia
Summary Summary
Files are electronic lists of data generally of five types: master, look-up, transaction, audit, and history. A database is a collection of groupings of information and a DBMS is software that creates and manipulates these. There are a number of methods for optimizing data access speed and data storage efficiency, though the designers may have to make tradeoffs between these goals.
32
PowerPoint Course Material for SCELE Graduate Program Information Technology Faculty of Computer Science University of Indonesia