Unit 1: Introduction to Database Systems




Introduction to Database Systems 

In today’s world, every business deals with a huge amount of data — customer details, employee information, sales records, payments, inventory, marketing data, etc.
To store, manage, and easily use this information, businesses use Database Systems.

Basic Concepts

TermMeaning in Simple WordsExample
DataRaw facts or figures"Rahul", "25", "Laptop", "₹50,000"
InformationProcessed data that has meaning"Rahul is 25 years old and bought a laptop for ₹50,000"
FieldA single piece of data (column)Customer Name, Age, Product, Price
RecordCollection of related fields (row)Rahul
FileCollection of related recordsFile of customer purchases
DatabaseOrganized collection of files and data, stored in one placeCustomer database, Sales database, HR database

Simple Example: In a shop, a register where all customer purchase details are written is like a database.

Evolution of Database Systems

StageSystemLimitationsNeed for Improvement
1Paper files, registersHard to search, slow, risk of lossSpeed & security
2Computer files (Excel/Notepad)Repetition, difficult to update, separate files for each departmentCentral system needed
3Database Systems (DBMS)Stores huge data, easy search, secure, fastBetter business operations & decision-making

Why Businesses Need Database Systems

BenefitWhy it Matters in Business
Centralized storageAll data stored in one place
Easy access & searchFaster decisions
Security & privacyCustomer & company data is protected
Avoids duplicationClean and accurate data
Better reporting & analyticsHelps in planning, forecasting, and strategy
Supports multi-user accessDifferent departments can access data at the same time (HR, Finance, Sales)

Real-Life Business Examples

Business AreaDatabase Use
BankingCustomer accounts, transactions
E-CommerceCustomer data, orders, delivery details
HospitalPatient records, doctor information
CollegeStudent records, marks, attendance
MarketingCustomer leads, campaign data

In Simple Words

A database system is like a smart digital cupboard that safely stores all business information in an organized way so that it can be used easily when needed.

Why MBA Students Should Learn This

As a future manager, you must understand how data is stored, accessed, and analyzed to:

  • make better decisions
  • improve business operations
  • manage customers & employees better
  • understand CRM, ERP, HRMS, and accounting systems

Short Summary

ConceptMeaning
DataRaw facts
InformationProcessed data
FieldSingle data item
RecordRow of data
FileCollection of records
DatabaseOrganized data storage system

Data Models 

A data model defines how data is organized, stored and related. Think of it as the blueprint for how information is structured so applications and users can use it.

1. Hierarchical Data Model

  • Idea: Data is organized like a tree (parent → child). Each child has only one parent.
  • Analogy: Company org chart (CEO → Department heads → Managers → Employees).
  • Strengths: Fast for parent-child queries; simple when data is naturally hierarchical.
  • Weaknesses: Rigid — hard to represent many-to-many relationships; restructuring is difficult.
  • Business example: Old mainframe systems for bill-of-materials or file systems.

2. Network Data Model

  • Idea: Flexible graph-like structure where records (nodes) can have multiple parent and child links (many-to-many).
  • Analogy: A business partner network where one supplier serves many factories and factories use many suppliers.
  • Strengths: More flexible than hierarchical; efficient for complex relationships.
  • Weaknesses: Complex to design and query; not widely used today.
  • Business example: Early telecommunications and inventory systems.

3. Relational Data Model

  • Idea: Data stored in tables (relations). Each table = entity (Customers, Orders), rows = records, columns = fields.
  • Analogy: Spreadsheets with rules that connect sheets using keys.
  • Strengths: Simple, mathematically grounded, powerful query languages (SQL), supports ACID transactions, widely used.
  • Weaknesses: Can be less efficient for highly nested or graph-like data unless modeled carefully.
  • Business example: Modern enterprise systems (ERP, CRM, banking) — almost all business databases use relational DBMS.

4. Object-Oriented Data Model

  • Idea: Data is stored as objects (like in object-oriented programming) with attributes and methods; supports inheritance.
  • Analogy: Product object in code with properties (price, description) and methods (calculateDiscount()).
  • Strengths: Good when application logic is object-based (e.g., CAD, multimedia); naturally handles complex data and behavior.
  • Weaknesses: Less standardised query languages; integration with other systems can be harder.
  • Business example: Complex engineering systems, multimedia applications, some specialized business apps.

File-oriented Systems vs Database Systems

File systems (traditional approach) store data in separate application files (flat files). DBMS centralizes and manages data.

AspectFile-oriented SystemDatabase System (DBMS)
Data storageSeparate files for each appCentralized database managed by DBMS
RedundancyHigh — same data repeated across filesLow — single copy via normalization
Data consistencyHard to maintainEnforced by DBMS (constraints, transactions)
Data sharingDifficult — apps own filesEasy — controlled multi-user access
SecurityLimited, app-specificStrong, centralized access control
Integrity controlApp-level, inconsistentDBMS enforces integrity rules (keys, constraints)
ConcurrencyProne to conflictsDBMS handles concurrent access safely
Backup & recoveryManual, inconsistentBuilt-in backup & recovery mechanisms
QueryingApp-specific codeFlexible & powerful query languages (e.g., SQL)
Typical useSmall, single-app setupsEnterprise-level, multi-app environments

Business impact: File systems can work for tiny stand-alone apps but quickly cause data chaos in multi-department businesses. DBMS provides control, reliability and data usefulness across the organization.

Three-Layered Architecture of DBMS (ANSI-SPARC Model)

This architecture separates what the user sees from how data is stored. It helps manage complexity, security, and independence.

1. External (View) Level — User View

  • What: Individual user’s view of the database (customized slices).
  • Who: End users, applications.
  • Business example: Sales team sees customer contact and order history; finance sees payment and invoice details.
2. Conceptual Level — Community View

  • What: Global logical view of the entire database (all entities and relationships).
  • Who: Database administrators (DBAs), system designers.
  • Business example: Unified model of Customers, Orders, Products, Employees — without physical details.
3. Internal (Physical) Level — Storage View

  • What: How data is actually stored on disk (files, indexes, paths).
  • Who: Storage engineers, DBMS internals.
  • Business example: Index on invoice_date, storage partitioning for large transaction tables.

Why this matters

  • Data independence: You can change storage (internal) without changing user applications (external).
  • Security & customization: Different users see different external views.
  • Simplicity: Developers work with conceptual models rather than low-level details.

Applications of DBMS 

DBMS are used across almost every industry. Key examples:

  • Banking & Finance: Account management, transactions, fraud detection, reporting.
  • Retail & E-commerce: Inventory, order processing, customer profiles, recommendation engines.
  • Healthcare: Patient records, appointment scheduling, clinical data.
  • Telecommunications: Customer billing, call records, network usage.
  • Manufacturing: Inventory control, supply chain, production planning, BOMs.
  • Education: Student records, attendance, grading systems.
  • Government: Citizen records, taxation, land registration.
  • Marketing & Analytics: Customer segmentation, campaign tracking, dashboards.

Advantages of DBMS

  • Reduced redundancy & consistency: Single source of truth → fewer duplicates and errors.
  • Improved data sharing: Multiple authorized users and apps can access the same data.
  • Better data security: Central access controls, roles, and audits.
  • Data integrity & constraints: DBMS enforces rules (primary keys, foreign keys, checks).
  • Concurrent access & transaction support: Multiple users can work safely together (ACID).
  • Backup & recovery: Automated backup, transaction logs, point-in-time recovery.
  • Powerful querying & reporting: SQL and BI tools let you analyze data quickly.
  • Data independence: Logical or physical changes don’t break applications.
  • Scalability & performance features: Indexes, partitioning, caching, replication.

Disadvantages / Challenges of DBMS

  • Cost: Licensing, hardware, skilled staff (DBAs) — can be expensive for small businesses.
  • Complexity: Designing a good database, maintaining performance and security needs expertise.
  • Single point of failure (if not architected properly): Centralized systems need redundancy and disaster planning.
  • Performance overhead: DBMS features (security, transactions) add overhead compared with lightweight file access; needs tuning.
  • Migration effort: Moving legacy file systems to DBMS requires time and careful planning.
  • Vendor lock-in risk: Some proprietary DBMS features can make switching expensive.
  • Privacy & compliance responsibilities: Centralized data increases regulatory responsibilities (GDPR, etc).

Quick Business Examples & Why DBMS Help

Scenario: Marketing wants to run a campaign targeting customers who bought product X in last 6 months.

  • File system: Marketers must ask IT to extract data from multiple files — slow, error-prone.
  • DBMS: Run a SQL query joining sales and customer tables — fast, accurate, repeatable.

Scenario: Finance needs month-end reconciliation and audit trail.

  • File system: Hard to trace changes and ensure completeness.
  • DBMS: Transaction logs and constraints provide reliable audit trails.

Practical Tips for MBA Students (How to think about DBMS)

  • View DBMS as business infrastructure like accounting systems — not just technical.

When designing processes, ask:
  1. Who needs the data? (external views)
  2. What entities are involved? (conceptual model)
  3. How will it be stored and protected? (internal/physical)
Emphasize data quality, governance, and security in any digital transformation plan.