IT 231: IT and Application
By the end of this chapter, you will be able to:
Definition: Storing data in a collection of separate, application-specific files.
Think of it like separate digital filing cabinets for each department. 🗄️
The same customer data is duplicated across departments.
customer_billing.csv
Contains: Name, Address, Bill
customer_contacts.txt
Contains: Name, Address, Phone
mailing_list.xls
Contains: Name, Address, Email
🔍 This separation created several major problems for organizations.
The same piece of information is stored in multiple places unnecessarily.
Example: A customer's address is stored in:
This wastes storage and requires multiple updates for a single change, leading to the next problem...
A direct result of redundancy. When data is not updated everywhere, it becomes inconsistent and unreliable.
A customer, Sita Rai, moves from Pokhara to Kathmandu.
Result: Which address is correct? The data cannot be trusted!
Data is scattered in different files with different formats, making it difficult to access and integrate.
Format: .xls
Format: .dat
Format: .csv
Challenge: How do you write one program to get a complete, 360-degree view of a customer?
Organizations needed a way to manage data that was centralized, consistent, and accessible.
The solution is to store all organizational data in a single, centralized location, managed by a specific software.
Database: A shared collection of logically related data.
Database Management System (DBMS): Software that controls the creation, maintenance, and use of a database (e.g., MySQL, Oracle, SQL Server).
Sales File
Acct. File
Mktg. File
...leads to...
Redundancy & Inconsistency
Sales App
Acct. App
Mktg. App
...all access...
📊 Central Database (via DBMS)
The database provides a "single source of truth" for the entire organization.
Imagine the old file-based system for vehicle ownership (the "blue book").
Problem: If you sell your scooter, the new owner's name might be updated at the Yatayat office but not in the Traffic Police's file. A traffic fine could be sent to you, the old owner! This is data inconsistency.
Solution: A modern, centralized database ensures all three departments see the same, up-to-date owner information from a single source.
Any Questions?
Next Up: Unit 5.5 - Database Management Systems (DBMS)