Professional Documents
Culture Documents
Database Programming
What is Database?
DATA
What is File Processing?
Manual Based
What is File Processing?
Computer Based
Disadvantages of File Processing
Program-Data Dependence
All programs maintain metadata for each file they use.
5
Program-Data Dependence
Disadvantages of File Processing
Duplication of Data
Different programs have separate copies of the same
data
Duplicate Data
Disadvantages of File Processing
18
Problems with Data Redundancy
• Causes more maintenance headaches
Problems with Data Redundancy
The biggest problem:
- Data changes in one file could cause
inconsistencies
inconsistent
Problems
• Data Dependency and Redundancy
Solution
• Computerized Database Approach
The DATABASE Approach
Order Filing
System
• Program-data independence
25
Advantages of THE Database APPROACH
• Enforcement of standards
Advantages of THE Database APPROACH
29
Costs and Risks of the Database Approach
• Conversion Costs
• Organizational conflict
- on rights…
Components of the Database Environment
31
Components of the Database Environment
32
Components of the Database Environment
• Corporate Data
payrolls, inventory, sales, customers,
accounting, documents.
• Banking Systems
• Airline Systems
• Web Databases:
– Search Engines (Google, Yahoo, …)
– Social Media (Facebook, Twitter, Youtube ...)
• Easy to use
• Flexible searching
• Efficiency
• Centralized storage
Why are Databases used?
• Multi-user access
Interesting:
– Mix of different requirements
– Mix of different methodologies
– Integral part of data driven development
– Interesting real world applications
When to use a Database?
• Need for large storage of data
• Control of redundancy
When to use a Database?
• Control of consistency and integrity
• Sharing of data
When to use a Database?
• Software
– OS
– DBMS software such as MS Access, SQL, Oracle
– Application Programs
Major parts of database System
People
– System Administrator
• Oversee the database system general purpose
– Database Administrator
• Manage the DBMS use & ensure that the database is
functioning properly
– Database Designer
• Design the database structure(database architects)
Major parts of database System
People
– System Analyst and programmers
• Design and implement the application programs
– End Users
• People who use the application programs to run the
organization daily operation.
Major parts of Database System
• Procedures
• Instructions and rules that govern the design and use of
the database system
• Data
Types of Database System
• Classified according to the number of users:
– Single User
– Multi User
• Workgroup – fewer than 50 users
• Enterprise – 50 users and more
Types of Database System
• Classified according to the site locations
• Security management
DBMS Functions
• Multiuser access control
• Server-Client architecture
END of the SLIDE