SlideShare a Scribd company logo
5
Most read
13
Most read
21
Most read
IBM Technical Contest
  National Level Database Designing

       Narendran Thangarajan,
             @naren_live
 SSN College of Engineering, Chennai.
The Problem Statement
• Consider an Airline Company, AIRCONNECT.



• It was launched as a Low-Cost carrier in 2005. Now
  it is emerging as one of the market leaders.



• Need for a renewed database structure.
1. Gathering Requirements
• Collection of details about existing airline reservation
  systems.

• Experiencing the usage of the different sales
  channels available.

• Planning the non-functional requirements to
  enhance performance, reliability and robustness.
2. Requirements Analysis
• Analysis of the collected information to extract the required
  details, constraints, necessities etc.

• Identification of entities.
   – Categorization
   – Noun Phrase method


• Deduction of relationships among the entities in terms of
  Functional Dependencies.

• Generation of new entities (based on relationships).

• Identification of attributes from the requirements.
Conceptual Schema
Mandatory Features
 All details related to Customers - PASSENGER, TRAVEL_AGENT

                                     Customer Details – Derived :
                                     Further specializes to Passenger
                                     and Travel Agent




Person – Base Entity : Has all the
details like Name, Address, etc.
Mandatory Features


     All details related to Flight - FLIGHT,FLIGHT_LEG, LEG_INSTANCE

                         A Flight is a travel from
                         origin to destination




The Flight_legs for every day are
instances of the same Flight_leg entity




                                                     Each Flight has one or more
                                                     Flight_legs, depending upon
                                                     number of intermediate stops
Mandatory Features




• Details about Airplane : AIRCRAFT_TYPE, AIRPLANE,
  LEG_INSTANCE

 Aircraft Types are the different varieties of
                                                                     Each Leg Instance is
 airplanes like AirBus, Boeing
                                                                     assigned an Airplane


                                    Airplane includes all the
                                    individual Flights. Each Flight is
                                    of a particular Aircraft Type
Mandatory Features




   Airports – AIRPORT

                                   Each Flight Leg must have an
                                   airport as the origin and
                                   destination.

Airport entity holds the details
about each airport, including
its geodetic details
Mandatory Features


• Origins and Destination – ROUTE




Route consists of all the
routes possible as defined
by IATA.



  Each Flight Leg has a cost associated with it.
Airline reservation system db design
Systematically convert the EER model
      to a relational schema
• First make a flat conversion of attributes  fields.

• Propagate keys based on participation constraints.

• Normalization.
Relational Schema
Database Design
• Choice of ORM – Why not RM.

• Better support for composition of services.

• ER vs EER :
  – Extensibility
  – Need for Aggregation

• OOM based ORDBMS – Oracle 11g R2
Efficiency
• Selection of Data model – ORDMS.

• Creation of correct indices.
  – Spatial Indices
  – Organizational Indices (for nested relations)

• Indexing specific fields to enable faster JOINs.
Innovation
• Automated distance/fare calculation using Spatial
  Features.

• Promoting Flight Services using Data Mining.

• Find airports in proximity during emergency
  situations.

• Using Ad-hoc queries to generate Demographic
  details.
Security
• Access Control with tuple-level and field-level granularity.

• Role Based Access Control
   – Separate set of privileges for Passenger, Travel Agent and
     Moderator


• Sensitive Data are encrypted using SHA-1 hashing
  algorithm.

• Monitoring DBA and restricting privilege escalation.
Presence of Bugs in SQL
• Extensively tested my system and ensured it satisfies all the
  considered requirements.
• Tested using the tool QUEST CODE TESTER FOR ORACLE
Extendibility
• Class – Sub Class relationship.

• Hierarchical structure enables addition of
  extra features.

• Relations are properly normalized.
Best Practices
• Adapted SDLC for arriving at the design.

• Requirements Analysis – 5 rounds of discussion with the
  users and travel agents.

• Visited websites to understand the existing Internet
  Booking implementations.

• Booked a Ticket in SpiceJet using TeleBooking to
  understand the Telebooking system.

• Documentation of every SDLC stage.
References
1. Fundamentals of DATABASE SYSTEMS, Fifth Edition -Ramez
   Elmasri, Shamkant B. Navathe

2. An Introduction to Database Systems - C. J. Date

3. Maruthi Air Links Pvt. Ltd – Chennai.

4. Amadeus Global Reservation System

5. www.spicejet.com

6. www.flykingfisher.com
SDLC stages in this project :
1. Requirements Gathering - Users, Travel Agents.
2. Requirements Specification Document.
3. Requirements Analysis – Documented
4. Conceptual Design : EER Model.
5. EER to Schema Mapping.
6. Implementation using Oracle 11g.
7. Testing using Quest Code Tester.

More Related Content

DOCX
Airlines Database Design
DOCX
Airlines Reservation System
PDF
Airline reservation system
PDF
Airline Database Design
PPTX
Airline Reservation Sytem
PPT
Air line reservation system software engeniring
PPT
Airlines Mis
PPTX
Online Airway Reservation System
Airlines Database Design
Airlines Reservation System
Airline reservation system
Airline Database Design
Airline Reservation Sytem
Air line reservation system software engeniring
Airlines Mis
Online Airway Reservation System

What's hot (20)

DOCX
Airline ticket reservation system
DOC
Airline Flight Tracking
PPTX
Airline Reservation presentation (1) (1).pptx
PPSX
Flight reservation and ticketing system Final PPT
PPT
Overview of airline booking process
PPTX
Online Airline Ticket reservation System
PPTX
Airline Reservation System - Model Driven Software Engineering Approach
PPT
Air ticket reservation system presentation
PPTX
Airline Reservation System
PPT
Airline Reservation system(project report of six week training)-ppt
PPTX
Presentation On Online Airline Ticket Booking Project Planning
DOC
construction of Reservation software solution for Airline Companies project ...
PDF
Airline reservation system
DOC
Airline reservation system project report (1)
DOCX
Finale project 1
PPTX
Flight reservation and ticketing system ppt
DOCX
SRS on airline reservation system
PPT
AIS, Airline Information System, Pilot Project
PDF
Design and implementation of airline flight information system
PPT
Airline reservation system
Airline ticket reservation system
Airline Flight Tracking
Airline Reservation presentation (1) (1).pptx
Flight reservation and ticketing system Final PPT
Overview of airline booking process
Online Airline Ticket reservation System
Airline Reservation System - Model Driven Software Engineering Approach
Air ticket reservation system presentation
Airline Reservation System
Airline Reservation system(project report of six week training)-ppt
Presentation On Online Airline Ticket Booking Project Planning
construction of Reservation software solution for Airline Companies project ...
Airline reservation system
Airline reservation system project report (1)
Finale project 1
Flight reservation and ticketing system ppt
SRS on airline reservation system
AIS, Airline Information System, Pilot Project
Design and implementation of airline flight information system
Airline reservation system
Ad

Viewers also liked (15)

DOC
Project of Airline booking system
PPTX
Railway reservation system
PPT
enhanced er diagram
PPTX
Railway booking & management system
PDF
Online railway reservation system
PPTX
DFMA design for manufacturing and assembly
DOCX
Documentation of railway reservation system
DOCX
Online railway reservation system
DOCX
srs for railway reservation system
PPTX
Railway Reservation System
DOC
Airline reservation system documentation
PDF
DFM BIT Coursework
PDF
Development Framework & Methods
PPTX
Presentation on Railway Reservation System
PPT
Introduction to airline reservation systems
Project of Airline booking system
Railway reservation system
enhanced er diagram
Railway booking & management system
Online railway reservation system
DFMA design for manufacturing and assembly
Documentation of railway reservation system
Online railway reservation system
srs for railway reservation system
Railway Reservation System
Airline reservation system documentation
DFM BIT Coursework
Development Framework & Methods
Presentation on Railway Reservation System
Introduction to airline reservation systems
Ad

Similar to Airline reservation system db design (20)

PDF
S7 amruta bppoddar
PDF
S7 amruta bppoddar_2
PDF
Er2
PDF
Airlineppt 160621085220 (1)
PDF
Airline Reservation System - Software Engineering
PDF
Airline Reservation System - Java, Servlet ASP.NET, Oracle, HTML
PDF
All personas
DOCX
simple airline database project..By Amarulla khan, :- [email protected]
PPTX
Gill.paul
DOCX
Flight Reservation SystemThe flight reservation system” proje.docx
DOCX
Charles WilliamsSystems Analysis, Design and Integration(IT425-1.docx
PDF
Building a data warehouse
PPTX
Lec2 Airportfhfgyfgdyudhsmsdisdsidsi.pptx
PDF
Datawarehouse Kimball Text Ch12 Transportation
PPTX
Radixxl Overview2009
PDF
Design Of An Electric Cart For Airport Terminal
PDF
Beyond Compliance RFID Smart Assets in Aviation12
DOCX
ppt-of-airline-reservation-system-project-report.docx
PDF
Using a modern data stack to explore and visualize the impact of a global pan...
PPTX
Airport engineering PART-1
S7 amruta bppoddar
S7 amruta bppoddar_2
Er2
Airlineppt 160621085220 (1)
Airline Reservation System - Software Engineering
Airline Reservation System - Java, Servlet ASP.NET, Oracle, HTML
All personas
simple airline database project..By Amarulla khan, :- [email protected]
Gill.paul
Flight Reservation SystemThe flight reservation system” proje.docx
Charles WilliamsSystems Analysis, Design and Integration(IT425-1.docx
Building a data warehouse
Lec2 Airportfhfgyfgdyudhsmsdisdsidsi.pptx
Datawarehouse Kimball Text Ch12 Transportation
Radixxl Overview2009
Design Of An Electric Cart For Airport Terminal
Beyond Compliance RFID Smart Assets in Aviation12
ppt-of-airline-reservation-system-project-report.docx
Using a modern data stack to explore and visualize the impact of a global pan...
Airport engineering PART-1

More from UC San Diego (20)

PDF
A primer on network devices
PDF
Datacenter traffic demand characterization
PDF
Smart Homes, Buildings and Internet-of-things
PDF
Social Networks analysis to characterize HIV at-risk populations - Progress a...
PDF
eyeTalk - A system for helping people affected by motor neuron problems
PDF
Pirc net poster
PDF
Ajaxism
PDF
Basic terminologies for a developer
PDF
Fields in computer science
PDF
Understanding computer networks
PDF
FOSS Introduction
PDF
Network Programming with Umit project
PDF
Introduction to Python
PDF
Workshop on Network Security
PPTX
Socket programming in Java (PPTX)
PDF
Socket programming using java
PDF
Routing basics
PDF
Technology Quiz
PDF
Android application development
PDF
Pervasive Web Application Architecture
A primer on network devices
Datacenter traffic demand characterization
Smart Homes, Buildings and Internet-of-things
Social Networks analysis to characterize HIV at-risk populations - Progress a...
eyeTalk - A system for helping people affected by motor neuron problems
Pirc net poster
Ajaxism
Basic terminologies for a developer
Fields in computer science
Understanding computer networks
FOSS Introduction
Network Programming with Umit project
Introduction to Python
Workshop on Network Security
Socket programming in Java (PPTX)
Socket programming using java
Routing basics
Technology Quiz
Android application development
Pervasive Web Application Architecture

Recently uploaded (20)

PDF
Approach and Philosophy of On baking technology
PDF
A comparative study of natural language inference in Swahili using monolingua...
PPTX
Programs and apps: productivity, graphics, security and other tools
PPTX
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
PDF
Empathic Computing: Creating Shared Understanding
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PPTX
Machine Learning_overview_presentation.pptx
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
August Patch Tuesday
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PDF
Machine learning based COVID-19 study performance prediction
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Approach and Philosophy of On baking technology
A comparative study of natural language inference in Swahili using monolingua...
Programs and apps: productivity, graphics, security and other tools
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
Empathic Computing: Creating Shared Understanding
Unlocking AI with Model Context Protocol (MCP)
Assigned Numbers - 2025 - Bluetooth® Document
Mobile App Security Testing_ A Comprehensive Guide.pdf
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Machine Learning_overview_presentation.pptx
MIND Revenue Release Quarter 2 2025 Press Release
Diabetes mellitus diagnosis method based random forest with bat algorithm
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
August Patch Tuesday
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
Group 1 Presentation -Planning and Decision Making .pptx
Machine learning based COVID-19 study performance prediction
Per capita expenditure prediction using model stacking based on satellite ima...
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx

Airline reservation system db design

  • 1. IBM Technical Contest National Level Database Designing Narendran Thangarajan, @naren_live SSN College of Engineering, Chennai.
  • 2. The Problem Statement • Consider an Airline Company, AIRCONNECT. • It was launched as a Low-Cost carrier in 2005. Now it is emerging as one of the market leaders. • Need for a renewed database structure.
  • 3. 1. Gathering Requirements • Collection of details about existing airline reservation systems. • Experiencing the usage of the different sales channels available. • Planning the non-functional requirements to enhance performance, reliability and robustness.
  • 4. 2. Requirements Analysis • Analysis of the collected information to extract the required details, constraints, necessities etc. • Identification of entities. – Categorization – Noun Phrase method • Deduction of relationships among the entities in terms of Functional Dependencies. • Generation of new entities (based on relationships). • Identification of attributes from the requirements.
  • 6. Mandatory Features All details related to Customers - PASSENGER, TRAVEL_AGENT Customer Details – Derived : Further specializes to Passenger and Travel Agent Person – Base Entity : Has all the details like Name, Address, etc.
  • 7. Mandatory Features All details related to Flight - FLIGHT,FLIGHT_LEG, LEG_INSTANCE A Flight is a travel from origin to destination The Flight_legs for every day are instances of the same Flight_leg entity Each Flight has one or more Flight_legs, depending upon number of intermediate stops
  • 8. Mandatory Features • Details about Airplane : AIRCRAFT_TYPE, AIRPLANE, LEG_INSTANCE Aircraft Types are the different varieties of Each Leg Instance is airplanes like AirBus, Boeing assigned an Airplane Airplane includes all the individual Flights. Each Flight is of a particular Aircraft Type
  • 9. Mandatory Features Airports – AIRPORT Each Flight Leg must have an airport as the origin and destination. Airport entity holds the details about each airport, including its geodetic details
  • 10. Mandatory Features • Origins and Destination – ROUTE Route consists of all the routes possible as defined by IATA. Each Flight Leg has a cost associated with it.
  • 12. Systematically convert the EER model to a relational schema • First make a flat conversion of attributes  fields. • Propagate keys based on participation constraints. • Normalization.
  • 14. Database Design • Choice of ORM – Why not RM. • Better support for composition of services. • ER vs EER : – Extensibility – Need for Aggregation • OOM based ORDBMS – Oracle 11g R2
  • 15. Efficiency • Selection of Data model – ORDMS. • Creation of correct indices. – Spatial Indices – Organizational Indices (for nested relations) • Indexing specific fields to enable faster JOINs.
  • 16. Innovation • Automated distance/fare calculation using Spatial Features. • Promoting Flight Services using Data Mining. • Find airports in proximity during emergency situations. • Using Ad-hoc queries to generate Demographic details.
  • 17. Security • Access Control with tuple-level and field-level granularity. • Role Based Access Control – Separate set of privileges for Passenger, Travel Agent and Moderator • Sensitive Data are encrypted using SHA-1 hashing algorithm. • Monitoring DBA and restricting privilege escalation.
  • 18. Presence of Bugs in SQL • Extensively tested my system and ensured it satisfies all the considered requirements. • Tested using the tool QUEST CODE TESTER FOR ORACLE
  • 19. Extendibility • Class – Sub Class relationship. • Hierarchical structure enables addition of extra features. • Relations are properly normalized.
  • 20. Best Practices • Adapted SDLC for arriving at the design. • Requirements Analysis – 5 rounds of discussion with the users and travel agents. • Visited websites to understand the existing Internet Booking implementations. • Booked a Ticket in SpiceJet using TeleBooking to understand the Telebooking system. • Documentation of every SDLC stage.
  • 21. References 1. Fundamentals of DATABASE SYSTEMS, Fifth Edition -Ramez Elmasri, Shamkant B. Navathe 2. An Introduction to Database Systems - C. J. Date 3. Maruthi Air Links Pvt. Ltd – Chennai. 4. Amadeus Global Reservation System 5. www.spicejet.com 6. www.flykingfisher.com
  • 22. SDLC stages in this project : 1. Requirements Gathering - Users, Travel Agents. 2. Requirements Specification Document. 3. Requirements Analysis – Documented 4. Conceptual Design : EER Model. 5. EER to Schema Mapping. 6. Implementation using Oracle 11g. 7. Testing using Quest Code Tester.