Beruflich Dokumente
Kultur Dokumente
Author(s)
Authorized by
Creation/Revision Date
Version
Srikantan Moorthy
Apr- 2008
4.0
INTERNAL
COPYRIGHT NOTICE
All ideas and information contained in this document are the intellectual property of
Education and Research Department, Infosys Technologies Limited. This document is
not for general distribution and is meant for use only for the person they are
specifically issued to. This document shall not be loaned to anyone, within or outside
Infosys, including its customers. Copying or unauthorized distribution of this
document, in any form or means including electronic, mechanical, photocopying or
otherwise is illegal.
Education and Research Department
Infosys Technologies Limited
Electronics City
Hosur Road
Bangalore - 561 229, India.
Tel: 91 80 852 0261-270
Fax: 91 80 852 0362
www.infy.com
mailto:E&R@infy.com
Date
May - 2004
Author(s)
Dharini Venkataraman
1.0
Jun - 2004
Dharini Venkataraman
2.0
Aug - 2005
Seema Acharya
3.0
Feb - 2007
Seema Acharya
Hanumesh VJ,
Sundar KS
4.0
Apr-2008
Sundaresan Krishnan
Iyer
ER/CORP/CRS/DB07/0019
Reviewer(s)
Ram Prasad Patnaik,
Alok Tiwari
Ram Prasad Patnaik,
Alok Tiwari
Sundar KS
Version No.4.0
Comments
LDD prepared according to
CDM
Baseline version
LDD prepared according to
restructured syllabus of
RDBMS
LDD prepared according to
restructured syllabus of
RDBMS
LDD prepared according to
restructured syllabus of
RDBMS
Table of Contents
Contents
Document Revision History ...................................................................... i
Contents............................................................................................. ii
LDD for Relational Database Management System ........................................ 1
1
Introduction ................................................................................... 1
1.1
1.2
1.3
ER Modeling ................................................................................... 1
2.1
2.2
ER modeling notations................................................................. 2
2.3
2.4
2.5
Normalization ................................................................................ 4
3.1
3.2
3.3
Normalization ........................................................................... 4
3.4
3.5
3.6
SQL .............................................................................................. 4
4.1
4.2
4.3
4.4
4.5
4.6
Views ...................................................................................... 5
4.7
4.8
ER/CORP/CRS/DB07/0019
Version No.4.0
ii
Table of Contents
OLTP ............................................................................................ 5
5.1
5.2
5.3
5.4
5.5
Recovery ................................................................................. 6
5.6
OLAP ...................................................................................... 6
ER/CORP/CRS/DB07/0019
Version No.4.0
iii
2 ER Modeling
2.1 ER Modeling basic concepts
2.1.1 Entity type
2.1.1.1 Strong entity
2.1.1.2 Weak entity
2.1.1.3 Entity instance
ER/CORP/CRS/DB07/019
Page 1 of 6
2.1.2 Attributes
2.1.2.1 Key attribute
2.1.2.2 Simple attribute
2.1.2.3 Composite attribute
2.1.2.4 Stored attribute
2.1.2.5 Derived attribute
2.1.2.6 Single valued attribute
2.1.2.7 Multi-valued attribute
2.2.2 Attribute
2.2.2.1 Key attribute
2.2.2.2 Multi valued attribute
2.2.2.3 Composite attribute
ER/CORP/CRS/DB07/019
Page 2 of 6
2.2.3 Relationship
2.2.3.1 Unary
2.2.3.2 Binary
2.2.3.3 Ternary
2.2.3.4 Role names
2.2.3.5 1:1 relationship
2.2.3.6 1:M relationship
2.2.3.7 N:M relationship
2.2.3.8 Relationship participation
2.2.3.9 Attributes of relationships
ER/CORP/CRS/DB07/019
Page 3 of 6
3 Normalization
3.1 Well structured table
3.2 Insert, update and delete anomalies
3.3 Normalization
3.4 Functional dependency
3.4.1 Full dependency
3.4.2 Partial dependency
3.4.3 Transitive dependency
4 SQL
4.1 DDL statements
4.2 Concept of an index
4.3 DML statements
ER/CORP/CRS/DB07/019
Page 4 of 6
4.6 Views
4.7 DCL statements
4.8 Embedded SQL
5 OLTP
5.1 Basic concepts of transaction processing
5.2 ACID properties of transaction
ER/CORP/CRS/DB07/019
Page 5 of 6
5.5 Recovery
5.5.1 Log based recovery
5.5.1.1 Immediate update
5.5.1.2 Deferred update
5.6 OLAP
5.6.1 Comparison between OLTP and OLAP
5.6.2 Data warehouse and data mart
5.6.3 Dimensional modeling
5.6.3.1 Facts and dimensions tables
5.6.3.2 Star and Snowflake schema
ER/CORP/CRS/DB07/019
Page 6 of 6