Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
IBM Technical Contest  National Level Database Designing       Narendran Thangarajan,             @naren_live SSN College ...
The Problem Statement• Consider an Airline Company, AIRCONNECT.• It was launched as a Low-Cost carrier in 2005. Now  it is...
1. Gathering Requirements• Collection of details about existing airline reservation  systems.• Experiencing the usage of t...
2. Requirements Analysis• Analysis of the collected information to extract the required  details, constraints, necessities...
Conceptual Schema
Mandatory Features All details related to Customers - PASSENGER, TRAVEL_AGENT                                     Customer...
Mandatory Features     All details related to Flight - FLIGHT,FLIGHT_LEG, LEG_INSTANCE                         A Flight is...
Mandatory Features• Details about Airplane : AIRCRAFT_TYPE, AIRPLANE,  LEG_INSTANCE Aircraft Types are the different varie...
Mandatory Features   Airports – AIRPORT                                   Each Flight Leg must have an                    ...
Mandatory Features• Origins and Destination – ROUTERoute consists of all theroutes possible as definedby IATA.  Each Fligh...
Systematically convert the EER model      to a relational schema• First make a flat conversion of attributes  fields.• Pr...
Relational Schema
Database Design• Choice of ORM – Why not RM.• Better support for composition of services.• ER vs EER :  – Extensibility  –...
Efficiency• Selection of Data model – ORDMS.• Creation of correct indices.  – Spatial Indices  – Organizational Indices (f...
Innovation• Automated distance/fare calculation using Spatial  Features.• Promoting Flight Services using Data Mining.• Fi...
Security• Access Control with tuple-level and field-level granularity.• Role Based Access Control   – Separate set of priv...
Presence of Bugs in SQL• Extensively tested my system and ensured it satisfies all the  considered requirements.• Tested u...
Extendibility• Class – Sub Class relationship.• Hierarchical structure enables addition of  extra features.• Relations are...
Best Practices• Adapted SDLC for arriving at the design.• Requirements Analysis – 5 rounds of discussion with the  users a...
References1. Fundamentals of DATABASE SYSTEMS, Fifth Edition -Ramez   Elmasri, Shamkant B. Navathe2. An Introduction to Da...
SDLC stages in this project :1. Requirements Gathering - Users, Travel Agents.2. Requirements Specification Document.3. Re...
Airline reservation system db design
Upcoming SlideShare
Loading in …5
×

20

Share

Download to read offline

Airline reservation system db design

Download to read offline

Won in the National Level DB Design Competition held at IIT Kharagpur. The topic was Airline Reservation System.

Related Books

Free with a 30 day trial from Scribd

See all

Related Audiobooks

Free with a 30 day trial from Scribd

See all

Airline reservation system db design

  1. 1. IBM Technical Contest National Level Database Designing Narendran Thangarajan, @naren_live SSN College of Engineering, Chennai.
  2. 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. 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. 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.
  5. 5. Conceptual Schema
  6. 6. Mandatory Features All details related to Customers - PASSENGER, TRAVEL_AGENT Customer Details – Derived : Further specializes to Passenger and Travel AgentPerson – Base Entity : Has all thedetails like Name, Address, etc.
  7. 7. Mandatory Features All details related to Flight - FLIGHT,FLIGHT_LEG, LEG_INSTANCE A Flight is a travel from origin to destinationThe Flight_legs for every day areinstances of the same Flight_leg entity Each Flight has one or more Flight_legs, depending upon number of intermediate stops
  8. 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. 9. Mandatory Features Airports – AIRPORT Each Flight Leg must have an airport as the origin and destination.Airport entity holds the detailsabout each airport, includingits geodetic details
  10. 10. Mandatory Features• Origins and Destination – ROUTERoute consists of all theroutes possible as definedby IATA. Each Flight Leg has a cost associated with it.
  11. 11. Systematically convert the EER model to a relational schema• First make a flat conversion of attributes  fields.• Propagate keys based on participation constraints.• Normalization.
  12. 12. Relational Schema
  13. 13. 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
  14. 14. Efficiency• Selection of Data model – ORDMS.• Creation of correct indices. – Spatial Indices – Organizational Indices (for nested relations)• Indexing specific fields to enable faster JOINs.
  15. 15. 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.
  16. 16. 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.
  17. 17. 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
  18. 18. Extendibility• Class – Sub Class relationship.• Hierarchical structure enables addition of extra features.• Relations are properly normalized.
  19. 19. 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.
  20. 20. References1. Fundamentals of DATABASE SYSTEMS, Fifth Edition -Ramez Elmasri, Shamkant B. Navathe2. An Introduction to Database Systems - C. J. Date3. Maruthi Air Links Pvt. Ltd – Chennai.4. Amadeus Global Reservation System5. www.spicejet.com6. www.flykingfisher.com
  21. 21. SDLC stages in this project :1. Requirements Gathering - Users, Travel Agents.2. Requirements Specification Document.3. Requirements Analysis – Documented4. Conceptual Design : EER Model.5. EER to Schema Mapping.6. Implementation using Oracle 11g.7. Testing using Quest Code Tester.
  • PrithviR4

    Jun. 7, 2021
  • Roshan45

    Sep. 13, 2018
  • faresalsakaf

    Jun. 3, 2018
  • shereenalaa3

    Feb. 22, 2018
  • MahamAli39

    Feb. 7, 2018
  • MashalWarraich1

    Jan. 26, 2018
  • KruthikaM4

    Oct. 22, 2017
  • BeckyGibson1

    Oct. 9, 2017
  • rishabh_mishra

    Aug. 27, 2017
  • DevangTyagi2

    Jul. 16, 2017
  • jalahithreddy

    Jun. 18, 2017
  • kasireddyalaikya

    Apr. 27, 2017
  • AmrutaMaratkar

    Mar. 3, 2017
  • ShristiAgrawal1

    Jul. 26, 2016
  • andreea9128

    May. 14, 2016
  • AnayaFatima

    Jun. 26, 2015
  • oluchukwuokocha

    Mar. 12, 2015
  • darshilRathod

    Dec. 18, 2014
  • eleazarrubiosorrentino

    Oct. 26, 2014
  • falakkhan94801

    Mar. 12, 2013

Won in the National Level DB Design Competition held at IIT Kharagpur. The topic was Airline Reservation System.

Views

Total views

45,268

On Slideshare

0

From embeds

0

Number of embeds

45

Actions

Downloads

1,731

Shares

0

Comments

0

Likes

20

×