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
PPT
Air ticket reservation system presentation
PPT
Air line reservation system software engeniring
PPT
Airline reservation system 1
PDF
Airline reservation system
PDF
Airline Database Design
PPTX
Online Airway Reservation System
Airlines Database Design
Airlines Reservation System
Air ticket reservation system presentation
Air line reservation system software engeniring
Airline reservation system 1
Airline reservation system
Airline Database Design
Online Airway Reservation System

What's hot (20)

DOC
Airline reservation system documentation
PDF
Airline reservation system
PPT
Airline reservation system
PPT
Airline Reservation system(project report of six week training)-ppt
DOCX
Airline ticket reservation system
DOC
Airline reservation system project report (1)
PPTX
Online Airline Ticket reservation System
PPTX
Presentation On Online Airline Ticket Booking Project Planning
PPTX
Airline Reservation System
PPT
Introduction to airline reservation systems
PPTX
Airline Reservation Sytem
DOCX
Airline Reservation System
PDF
Airline Reservation System - Software Engineering
PPT
AIS, Airline Information System, Pilot Project
DOCX
Airline Reservation System Documentation
PPT
AIRLINE PRESENTATION.ppt
PPTX
Railway Reservation System - Requirement Engineering
PDF
Online flight booking srs document
PPTX
[Airline Information System] in Database Project presntation
PPTX
Airline Management System [for presentation]
Airline reservation system documentation
Airline reservation system
Airline reservation system
Airline Reservation system(project report of six week training)-ppt
Airline ticket reservation system
Airline reservation system project report (1)
Online Airline Ticket reservation System
Presentation On Online Airline Ticket Booking Project Planning
Airline Reservation System
Introduction to airline reservation systems
Airline Reservation Sytem
Airline Reservation System
Airline Reservation System - Software Engineering
AIS, Airline Information System, Pilot Project
Airline Reservation System Documentation
AIRLINE PRESENTATION.ppt
Railway Reservation System - Requirement Engineering
Online flight booking srs document
[Airline Information System] in Database Project presntation
Airline Management System [for presentation]
Ad

Viewers also liked (13)

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
PDF
DFM BIT Coursework
PDF
Development Framework & Methods
PPTX
Presentation on Railway Reservation System
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
DFM BIT Coursework
Development Framework & Methods
Presentation on Railway Reservation System
Ad

Similar to Airline reservation system db design (20)

PDF
S7 amruta bppoddar
PDF
S7 amruta bppoddar_2
PDF
Er2
PDF
Airlineppt 160621085220 (1)
PPTX
Airline Reservation System - Model Driven Software Engineering Approach
PDF
Airline Reservation System - Java, Servlet ASP.NET, Oracle, HTML
PDF
All personas
DOCX
simple airline database project..By Amarulla khan, :- amarullakhan8@gmail.com
PPTX
Gill.paul
DOCX
Flight Reservation SystemThe flight reservation system” proje.docx
DOCX
Charles WilliamsSystems Analysis, Design and Integration(IT425-1.docx
DOC
Airline Flight Tracking
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...
S7 amruta bppoddar
S7 amruta bppoddar_2
Er2
Airlineppt 160621085220 (1)
Airline Reservation System - Model Driven Software Engineering Approach
Airline Reservation System - Java, Servlet ASP.NET, Oracle, HTML
All personas
simple airline database project..By Amarulla khan, :- amarullakhan8@gmail.com
Gill.paul
Flight Reservation SystemThe flight reservation system” proje.docx
Charles WilliamsSystems Analysis, Design and Integration(IT425-1.docx
Airline Flight Tracking
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...

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
NewMind AI Monthly Chronicles - July 2025
PDF
Approach and Philosophy of On baking technology
PDF
Electronic commerce courselecture one. Pdf
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PPTX
Big Data Technologies - Introduction.pptx
PDF
GDG Cloud Iasi [PUBLIC] Florian Blaga - Unveiling the Evolution of Cybersecur...
PDF
cuic standard and advanced reporting.pdf
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Machine learning based COVID-19 study performance prediction
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Advanced Soft Computing BINUS July 2025.pdf
PDF
Empathic Computing: Creating Shared Understanding
PDF
Advanced IT Governance
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
KodekX | Application Modernization Development
NewMind AI Monthly Chronicles - July 2025
Approach and Philosophy of On baking technology
Electronic commerce courselecture one. Pdf
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Big Data Technologies - Introduction.pptx
GDG Cloud Iasi [PUBLIC] Florian Blaga - Unveiling the Evolution of Cybersecur...
cuic standard and advanced reporting.pdf
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Dropbox Q2 2025 Financial Results & Investor Presentation
20250228 LYD VKU AI Blended-Learning.pptx
Machine learning based COVID-19 study performance prediction
Chapter 3 Spatial Domain Image Processing.pdf
Advanced Soft Computing BINUS July 2025.pdf
Empathic Computing: Creating Shared Understanding
Advanced IT Governance
MYSQL Presentation for SQL database connectivity
Mobile App Security Testing_ A Comprehensive Guide.pdf
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
KodekX | Application Modernization Development

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.