Download presentation
Presentation is loading. Please wait.
Published byFay Osborne Modified over 9 years ago
1
An Introduction to Database Management Systems R. Nakatsu
2
Why do we need a database? n Data is easier to manage Too much data in individual files Too many separate files n Need multiple views of data n Improved data sharing (concurrent updating) n Improved data security n Databases can better enforce data quality n Leads to better data integration
3
File-Processing Systems
4
Problems with File-Processing Systems n Data are separated and isolated n Data are often duplicated n Incompatible data files n Program-Data Dependence
5
Databases are Centralized
6
What is a database? n A database is an integrated collection of logically related data elements. A database consolidates records previously stored in separate files. n A database can be viewed as the topmost element of a data hierarchy: database (a set of related files) file (a collection of related records) record (a group of logically related fields) field (an attribute) character (single alphabet, number, or other symbol)
7
Database Systems, 9th Edition
8
TableRowColumn FileRecordField RelationTuple**Attribute Related Terminology: Three ways to refer to the same thing **Rarely used terminology
9
Database Components Page 26 © 2000 Prentice Hall
10
Types of Data 1.User data 2.Metadata 3.Indexes 4.Application Metadata
11
1. User Data n A table of data is called a relation n Columns are fields or attributes n Rows are specific instances n Relations must be structured properly
12
2. Metadata or Data Dictionary “a description of the structure of the database” System tables store metadata, including: table names field names primary key fields data types field size data constraints (e.g., input masks, and validation rules) relationships between tables
13
3. Indexes n Improve performance n Improve accessibility n (Overhead data)
14
Physical vs. Logical Storage n Physical Storage is how the computer actually stores the data n Logical Storage is how the human end-user views or perceives the data Indexes create a logical view on your data.
15
4. Application Metadata Stores the structure and format of: forms reports queries other application components
16
Hierarchy of Data Elements
17
Database Management System (DBMS) A DBMS (database management system) is a set of computer programs that is used to create, maintain, and provide controlled access to user databases
18
DBMS: Main Functions n Data definition Define what data is stored, the type of data, how the data is related. You can also specify how the data can be formatted and validated n Data manipulation You can select which data you want, filter it, sort it, join it with other data, summarize it. n Application Development Graphical tools to develop menus, forms, and reports n Data control Allows you to specify security, transaction management, backup and recovery
19
Databases for Competitive Advantage: Walmart Continuous Replenishment System: Point of sale terminals record the bar code whenever a customer purchases a product. A database stores inventory data Suppliers can access Walmart’s sales and inventory data online using the Web.
20
Strategic Information Systems Computer systems that help the organization gain a competitive advantage. Systems can be created to: Explore, identify, and occupy new market niches. Understand the customer value chain better. Learn faster and more deeply than competitors.
21
RECAP n Why do we need a database? n File processing systems vs. databases n What is a database? n The DBMS n The four types of data n Databases for Competitive Advantage
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.