AMANDEEP KAUR LECTURER I.T GPCG PATIALA 9.11.2012 1.

48
AMANDEEP KAUR LECTURER I.T GPCG PATIALA 9.11.2012 1

Transcript of AMANDEEP KAUR LECTURER I.T GPCG PATIALA 9.11.2012 1.

Page 1: AMANDEEP KAUR LECTURER I.T GPCG PATIALA 9.11.2012 1.

AMANDEEP KAURLECTURER I.T

GPCG PATIALA9.11.2012

1

Page 2: AMANDEEP KAUR LECTURER I.T GPCG PATIALA 9.11.2012 1.

NORMALIZATION

2

Page 3: AMANDEEP KAUR LECTURER I.T GPCG PATIALA 9.11.2012 1.

Contents

• The purpose of normailization• Data redundancy and Update Anomalies• Why Normalization• Functional Dependencies• The Process of Normalization• First Normal Form (1NF)• Second Normal Form (2NF)• Third Normal Form (3NF)

3

Page 4: AMANDEEP KAUR LECTURER I.T GPCG PATIALA 9.11.2012 1.

Contents

• General Definition of Second and Third Normal Form

• Boyce-Codd Normal Form (BCNF)• Fourth Normal Form (4NF)• Fifth Normal Form (5NF)• Denormalization

4

Page 5: AMANDEEP KAUR LECTURER I.T GPCG PATIALA 9.11.2012 1.

Normalization

• In relational database theory• Normalization is the process of restructuring

the logical data model of a database to eliminate redundancy, organize data efficiently and reduce repeating data and to reduce the potential for anomalies during data operations.

5

Page 6: AMANDEEP KAUR LECTURER I.T GPCG PATIALA 9.11.2012 1.

Normalization

• Data normalization also may improve data consistency and simplify future extension of the logical data model.

• The formal classifications used for describing a relational database's level of normalization are called normal forms

• Normal Forms is abbreviated as NF

6

Page 7: AMANDEEP KAUR LECTURER I.T GPCG PATIALA 9.11.2012 1.

The Purpose of Normalization

7

Normalization is a technique for producing a set of relations with desirable properties, given the data requirements of an enterprise.

The process of normalization is a formal method that identifies relations based on their primary or candidatekeys and the functional dependencies among their attributes.

Page 8: AMANDEEP KAUR LECTURER I.T GPCG PATIALA 9.11.2012 1.

Why Normalization….• A non-normalized database can suffer from

data anomalies:

• A non-normalized database may store data representing a particular referent in multiple locations. An update to such data in some but not all of those locations results in an update anomaly, yielding inconsistent data. A normalized database prevents such an anomaly by storing such data (i.e. data other than PRIMARY KEYS) in only one location.

8

Page 9: AMANDEEP KAUR LECTURER I.T GPCG PATIALA 9.11.2012 1.

Why Normalization….• A non-normalized database may have inappropriate

dependencies, i.e. relationships between data with no functional dependencies. Adding data to such a database may require first adding the unrelated dependency. A normalized database prevents such insertion anomalies by ensuring that database relations mirror functional dependencies.

• Similarly, such dependencies in non-normalized databases can hinder deletion. That is, deleting data from such databases may require deleting data from the inappropriate dependency. A normalized database prevents such deletion anomalies by ensuring that all records are uniquely identifiable and contain no extraneous information.

9

Page 10: AMANDEEP KAUR LECTURER I.T GPCG PATIALA 9.11.2012 1.

Update Anomalies

10

Relations that have redundant data may have problems called update anomalies, which are classified as ,

Insertion anomaliesDeletion anomaliesModification anomalies

Page 11: AMANDEEP KAUR LECTURER I.T GPCG PATIALA 9.11.2012 1.

Example of Update Anomalies

11

To insert a new staff with branchNo B007 into the StaffBranch relation;To delete a tuple that represents the last member of staff located at a branch B007;To change the address of branch B003.

staffNo sName position salary branchNo bAddress

SL21 John White Manager 30000 B005 22 Deer Rd, London

SG37 Ann Beech Assistant 12000 B003 163 Main St,Glasgow

SG14 David Ford Supervisor 18000 B003 163 Main St,Glasgow

SA9 Mary Howe Assistant 9000 B007 16 Argyll St, Aberdeen

SG5 Susan Brand Manager 24000 B003 163 Main St,Glasgow

SL41 Julie Lee Assistant 9000 B005 22 Deer Rd, London

StaffBranch

Figure 1 StraffBranch relation

Page 12: AMANDEEP KAUR LECTURER I.T GPCG PATIALA 9.11.2012 1.

Example of Update Anomalies (2)

12

staffNo sName position salary branceNo

SL21 John White Manager 30000 B005

SG37 Ann Beech Assistant 12000 B003

SG14 David Ford Supervisor 18000 B003

SA9 Mary Howe Assistant 9000 B007

SG5 Susan Brand Manager 24000 B003

SL41 Julie Lee Assistant 9000 B005

branceNo bAddress

B005 22 Deer Rd, London

B007 16 Argyll St, Aberdeen

B003 163 Main St,Glasgow

Figure 2 Straff and Branch relations

Staff

Branch

Page 13: AMANDEEP KAUR LECTURER I.T GPCG PATIALA 9.11.2012 1.

Normalized Databases

• Normalized databases have a design that reflects the true dependencies between tracked quantities, allowing quick updates to data with little risk of introducing inconsistencies.

• Instead of attempting to lump all information into one table, data is spread out logically into many tables.

• Normalizing the data is decomposing a single relation into a set of smaller relations which satisfy the constraints of the original relation.

13

Page 14: AMANDEEP KAUR LECTURER I.T GPCG PATIALA 9.11.2012 1.

Normalized Databases

• Redundancy can be solved by decomposing the tables. However certain new problems are caused by decomposition.

• Normalization helps us to make a conscious decision to avoid redundancy keeping the pros and cons in mind.

• One can only describe a database as having a normal form if the relationships between quantities have been rigorously defined.

14

Page 15: AMANDEEP KAUR LECTURER I.T GPCG PATIALA 9.11.2012 1.

Normalized Databases

• It is possible to use set theory to express this knowledge once a problem domain has been fully understood, but most database designers model the relationships in terms of an "idealized schema". (The mathematical support came back into play in proofs regarding the process of transforming from one form to another.)

• The transformation of conceptual model to computer representation format is known as Normalization.

15

Page 16: AMANDEEP KAUR LECTURER I.T GPCG PATIALA 9.11.2012 1.

Functional Dependencies

16

Functional dependency describes the relationship betweenattributes in a relation.For example, if A and B are attributes of relation R, and B is functionally dependent on A ( denoted A B), if each value ofA is associated with exactly one value of B. ( A and B may eachconsist of one or more attributes.)

A BB is functionally

dependent on A

Determinant Refers to the attribute or group of attributes on the left-hand side of the arrow of a functional dependency

Page 17: AMANDEEP KAUR LECTURER I.T GPCG PATIALA 9.11.2012 1.

Trival functional dependency means that the right-handside is a subset ( not necessarily a proper subset) of the left-hand side.

Functional Dependencies (2)

17

For example: (See Figure 1)staffNo, sName sNamestaffNo, sName staffNo

They do not provide any additional information about possible integrity constraints on the values held by these attributes.

We are normally more interested in nontrivial dependencies because they represent integrity constraints for the relation.

Page 18: AMANDEEP KAUR LECTURER I.T GPCG PATIALA 9.11.2012 1.

Functional Dependencies (3)

Main characteristics of functional dependencies in normalization

• Have a one-to-one relationship between attribute(s) on the left- and right- hand side of a dependency;

• hold for all time;

• are nontrivial.

18

Page 19: AMANDEEP KAUR LECTURER I.T GPCG PATIALA 9.11.2012 1.

Functional Dependencies (4)

Identifying the primary key

19

Functional dependency is a property of the meaning or semantics of the attributes in a relation. When a functional dependency is present, the dependency is specified as a constraint between the attributes.

An important integrity constraint to consider first is theidentification of candidate keys, one of which is selected to be the primary key for the relation using functional dependency.

Page 20: AMANDEEP KAUR LECTURER I.T GPCG PATIALA 9.11.2012 1.

Functional Dependencies (5)

20

Inference RulesA set of all functional dependencies that are implied by a givenset of functional dependencies X is called closure of X, writtenX+. A set of inference rule is needed to compute X+ from X.Armstrong’s axioms

1. Relfexivity: If B is a subset of A, them A B2. Augmentation: If A B, then A, C B3. Transitivity: If A B and B C, then A C4. Self-determination: A A5. Decomposition: If A B,C then A B and A C6. Union: If A B and A C, then A B,C7. Composition: If A B and C D, then A,C B,

Page 21: AMANDEEP KAUR LECTURER I.T GPCG PATIALA 9.11.2012 1.

Functional Dependencies (6)

21

Minial Sets of Functional Dependencies

A set of functional dependencies X is minimal if it satisfies the following condition:

• Every dependency in X has a single attribute on its right-hand side

• We cannot replace any dependency A B in X withdependency C B, where C is a proper subset of A, andstill have a set of dependencies that is equivalent to X.

• We cannot remove any dependency from X and still have a set of dependencies that is equivalent to X.

Page 22: AMANDEEP KAUR LECTURER I.T GPCG PATIALA 9.11.2012 1.

Functional Dependencies (7)

22

Example of A Minial Sets of Functional Dependencies

A set of functional dependencies for the StaffBranch relation satisfies the three conditions for producing a minimal set.

staffNo sNamestaffNo positionstaffNo salarystaffNo branchNostaffNo bAddressbranchNo bAddressbranchNo, position salarybAddress, position salary

Page 23: AMANDEEP KAUR LECTURER I.T GPCG PATIALA 9.11.2012 1.

The Process of Normalization

23

• Normalization is often executed as a series of steps. Each step corresponds to a specific normal form that has known properties.

• As normalization proceeds, the relations become progressively

more restricted in format, and also less vulnerable to update anomalies.

• For the relational data model, it is important to recognize thatit is only first normal form (1NF) that is critical in creatingrelations. All the subsequent normal forms are optional.

Page 24: AMANDEEP KAUR LECTURER I.T GPCG PATIALA 9.11.2012 1.

Normal Forms

• The first normal form requires that tables be made up of a primary key and a number of atomic fields, and the second and third deal with the relationship of non-key fields to the primary key.

• These have been summarized as requiring that all non-key fields be dependent on "the key, the whole key and nothing but the key".

24

Page 25: AMANDEEP KAUR LECTURER I.T GPCG PATIALA 9.11.2012 1.

Normal Forms

• In practice, most applications in 3NF are fully normalized. However, research has identified potential update anomalies in 3NF databases.

• BCNF (Boyce-Codd Normal Form)is a further refinement of 3NF that attempts to eliminate such anomalies.

• The fourth and fifth normal forms (4NF and 5NF) deal specifically with the representation of many-many and one-many relationships. Sixth normal form (6NF) only applies to temporal databases.

25

Page 26: AMANDEEP KAUR LECTURER I.T GPCG PATIALA 9.11.2012 1.

First Normal Form (1NF)

26

Unnormalized form (UNF)A table that contains one or more repeating groups.

ClientNo cName propertyNo pAddress rentStart rentFinish rent ownerNo oName

CR76John

kay

PG4

PG16

6 lawrence

St,Glasgow

5 Novar Dr,

Glasgow

1-Jul-00

1-Sep-02

31-Aug-01

1-Sep-02

350

450

CO40

CO93

Tina Murphy

Tony Shaw

CR56Aline

Stewart

PG4

PG36

PG16

6 lawrence

St,Glasgow

2 Manor Rd,

Glasgow

5 Novar Dr,

Glasgow

1-Sep-99

10-Oct-00

1-Nov-02

10-Jun-00

1-Dec-01

1-Aug-03

350

370

450

CO40

CO93

CO93

Tina Murphy

Tony Shaw

Tony ShawFigure 3 ClientRental unnormalized table

Repeating group = (propertyNo, pAddress, rentStart, rentFinish, rent, ownerNo, oName)

Page 27: AMANDEEP KAUR LECTURER I.T GPCG PATIALA 9.11.2012 1.

Definition of 1NF

27

First Normal Form is a relation in which the intersection of eachrow and column contains one and only one value.

There are two approaches to removing repeating groups from unnormalized tables:

1. Removes the repeating groups by entering appropriate data in the empty columns of rows containing the repeating data.

2. Removes the repeating group by placing the repeating data, along with a copy of the original key attribute(s), in a separate relation. A primary key is identified for the new relation.

Page 28: AMANDEEP KAUR LECTURER I.T GPCG PATIALA 9.11.2012 1.

1NF ClientRental relation with the first approach

28

ClientNo

propertyNo cName pAddress rentStart rentFinish rent ownerNo oName

CR76 PG4John

Kay

6 lawrence

St,Glasgow1-Jul-00 31-Aug-01 350 CO40

Tina Murphy

CR76 PG16John

Kay

5 Novar Dr,

Glasgow1-Sep-02 1-Sep-02 450 CO93

Tony Shaw

CR56 PG4Aline

Stewart

6 lawrence

St,Glasgow1-Sep-99 10-Jun-00 350 CO40

Tina Murphy

CR56 PG36Aline

Stewart

2 Manor Rd,

Glasgow10-Oct-00 1-Dec-01 370 CO93

Tony Shaw

CR56 PG16Aline

Stewart

5 Novar Dr,

Glasgow1-Nov-02 1-Aug-03 450 CO93

Tony Shaw

Figure 4 1NF ClientRental relation with the first approach

The ClientRental relation is defined as follows,ClientRental ( clientNo, propertyNo, cName, pAddress, rentStart, rentFinish, rent,

ownerNo, oName)

With the first approach, we remove the repeating group(property rented details) by entering the appropriate client data into each row.

Page 29: AMANDEEP KAUR LECTURER I.T GPCG PATIALA 9.11.2012 1.

1NF ClientRental relation with the second approach

29

With the second approach, we remove the repeating group (property rented details) by placing the repeating data along with a copy of the original key attribute (clientNo) in a separte relation.

Client (clientNo, cName)PropertyRentalOwner (clientNo, propertyNo, pAddress, rentStart,

rentFnish, rent, ownerNo, oName)

ClientNo cName

CR76 John KayCR56 Aline Stewart

ClientNo propertyNo pAddress rentStart rentFinish rent ownerNo oName

CR76 PG46 lawrence

St,Glasgow1-Jul-00 31-Aug-01 350 CO40

Tina Murphy

CR76 PG165 Novar Dr,

Glasgow1-Sep-02 1-Sep-02 450 CO93

Tony Shaw

CR56 PG46 lawrence

St,Glasgow1-Sep-99 10-Jun-00 350 CO40

Tina Murphy

CR56 PG362 Manor Rd,

Glasgow10-Oct-00 1-Dec-01 370 CO93

Tony Shaw

CR56 PG165 Novar Dr,

Glasgow1-Nov-02 1-Aug-03 450 CO93

Tony Shaw

Figure 5 1NF ClientRental relation with the second approach

Page 30: AMANDEEP KAUR LECTURER I.T GPCG PATIALA 9.11.2012 1.

Full functional dependency

30

Full functional dependency indicates that if A and B are attributes of a relation, B is fully functionally dependent on A if B is functionally dependent on A, but not on any proper subset of A.

A functional dependency AB is partially dependent if there is some attributes that can be removed from A and the dependency still holds.

Page 31: AMANDEEP KAUR LECTURER I.T GPCG PATIALA 9.11.2012 1.

Second Normal Form (2NF)

31

Second normal form (2NF) is a relation that is in first normal form and every non-primary-key attribute is fully functionally dependent on the primary key.

The normalization of 1NF relations to 2NF involves theremoval of partial dependencies. If a partial dependency exists, we remove the function dependent attributes fromthe relation by placing them in a new relation along witha copy of their determinant.

Page 32: AMANDEEP KAUR LECTURER I.T GPCG PATIALA 9.11.2012 1.

2NF ClientRental relation

32

The ClientRental relation has the following functional dependencies:

fd1 clientNo, propertyNo rentStart, rentFinish (Primary Key)fd2 clientNo cName (Partial dependency)fd3 propertyNo pAddress, rent, ownerNo, oName (Partial dependency)fd4 ownerNo oName (Transitive Dependency)fd5 clientNo, rentStart propertyNo, pAddress,

rentFinish, rent, ownerNo, oName (Candidate key)fd6 propertyNo, rentStart clientNo, cName, rentFinish (Candidate key)

Page 33: AMANDEEP KAUR LECTURER I.T GPCG PATIALA 9.11.2012 1.

2NF ClientRental relation

33

After removing the partial dependencies, the creation of the three new relations called Client, Rental, and PropertyOwner

ClientNo

cName

CR76 John Kay

CR56 Aline Stewart

Client

ClientNo propertyNo rentStart rentFinishCR76 PG4 1-Jul-00 31-Aug-01

CR76 PG16 1-Sep-02 1-Sep-02

CR56 PG4 1-Sep-99 10-Jun-00

CR56 PG36 10-Oct-00 1-Dec-01

CR56 PG16 1-Nov-02 1-Aug-03

Rental

propertyNo pAddress rent ownerNo oName

PG4 6 lawrence St,Glasgow 350 CO40 Tina Murphy

PG16 5 Novar Dr, Glasgow 450 CO93 Tony Shaw

PG36 2 Manor Rd, Glasgow 370 CO93 Tony Shaw

PropertyOwner

Client (clientNo, cName)Rental (clientNo, propertyNo, rentStart, rentFinish)PropertyOwner (propertyNo, pAddress, rent, ownerNo, oName)

Figure 6 2NF ClientRental relation

Page 34: AMANDEEP KAUR LECTURER I.T GPCG PATIALA 9.11.2012 1.

Third Normal Form (3NF)

34

Transitive dependency A condition where A, B, and C are attributes of a relation such thatif A B and B C, then C is transitively dependent on A via B(provided that A is not functionally dependent on B or C).

Third normal form (3NF)A relation that is in first and second normal form, and in which no non-primary-key attribute is transitively dependent on the primary key.

The normalization of 2NF relations to 3NF involves the removal of transitive dependencies by placing the attribute(s) in a new relation along with a copy of the determinant.

Page 35: AMANDEEP KAUR LECTURER I.T GPCG PATIALA 9.11.2012 1.

3NF ClientRental relation

35

The functional dependencies for the Client, Rental and PropertyOwner relations are as follows:

Clientfd2 clientNo cName (Primary Key)

Rentalfd1 clientNo, propertyNo rentStart, rentFinish (Primary Key)fd5 clientNo, rentStart propertyNo, rentFinish (Candidate key)fd6 propertyNo, rentStart clientNo, rentFinish (Candidate key)

PropertyOwnerfd3 propertyNo pAddress, rent, ownerNo, oName (Primary Key)fd4 ownerNo oName (Transitive Dependency)

Page 36: AMANDEEP KAUR LECTURER I.T GPCG PATIALA 9.11.2012 1.

3NF ClientRental relation

36

The resulting 3NF relations have the forms:

Client (clientNo, cName)Rental (clientNo, propertyNo, rentStart, rentFinish)PropertyOwner (propertyNo, pAddress, rent, ownerNo)Owner (ownerNo, oName)

Page 37: AMANDEEP KAUR LECTURER I.T GPCG PATIALA 9.11.2012 1.

ClientNo cNameCR76 John Kay

CR56 Aline Stewart

ClientClientNo propertyNo rentStart rentFinishCR76 PG4 1-Jul-00 31-Aug-01

CR76 PG16 1-Sep-02 1-Sep-02

CR56 PG4 1-Sep-99 10-Jun-00

CR56 PG36 10-Oct-00 1-Dec-01

CR56 PG16 1-Nov-02 1-Aug-03

Rental

propertyNo pAddress rent ownerNo

PG4 6 lawrence St,Glasgow 350 CO40

PG16 5 Novar Dr, Glasgow 450 CO93

PG36 2 Manor Rd, Glasgow 370 CO93

PropertyOwner

3NF ClientRental relation

37

ownerNo oName

CO40 Tina Murphy

CO93 Tony Shaw

Owner

Figure 7 2NF ClientRental relation

Page 38: AMANDEEP KAUR LECTURER I.T GPCG PATIALA 9.11.2012 1.

Boyce-Codd Normal Form (BCNF)

38

Boyce-Codd normal form (BCNF)A relation is in BCNF, if and only if, every determinant is a candidate key.

The difference between 3NF and BCNF is that for a functionaldependency A B, 3NF allows this dependency in a relation if B is a primary-key attribute and A is not a candidate key, whereas BCNF insists that for this dependency to remain in arelation, A must be a candidate key.

Page 39: AMANDEEP KAUR LECTURER I.T GPCG PATIALA 9.11.2012 1.

Example of BCNF

39

fd1 clientNo, interviewDate interviewTime, staffNo, roomNo (Primary Key)fd2 staffNo, interviewDate, interviewTime clientNo (Candidate key)fd3 roomNo, interviewDate, interviewTime clientNo, staffNo (Candidate key)fd4 staffNo, interviewDate roomNo (not a candidate key)

As a consequece the ClientInterview relation may suffer from update anmalies.For example, two tuples have to be updated if the roomNo need be changed for staffNo SG5 on the 13-May-02.

ClientNo interviewDate interviewTime staffNo roomNoCR76 13-May-02 10.30 SG5 G101

CR76 13-May-02 12.00 SG5 G101

CR74 13-May-02 12.00 SG37 G102

CR56 1-Jul-02 10.30 SG5 G102

Figure 8 ClientInterview relation

ClientInterview

Page 40: AMANDEEP KAUR LECTURER I.T GPCG PATIALA 9.11.2012 1.

Example of BCNF(2)

40

To transform the ClientInterview relation to BCNF, we must remove the violating functional dependency by creating two new relations called Interview and SatffRoom as shown below,

Interview (clientNo, interviewDate, interviewTime, staffNo)StaffRoom(staffNo, interviewDate, roomNo)

ClientNo interviewDate interviewTime staffNoCR76 13-May-02 10.30 SG5

CR76 13-May-02 12.00 SG5

CR74 13-May-02 12.00 SG37

CR56 1-Jul-02 10.30 SG5

staffNo interviewDate roomNoSG5 13-May-02 G101

SG37 13-May-02 G102

SG5 1-Jul-02 G102

Interview

StaffRoom

Figure 9 BCNF Interview and StaffRoom relations

Page 41: AMANDEEP KAUR LECTURER I.T GPCG PATIALA 9.11.2012 1.

Fourth Normal Form (4NF)

41

Multi-valued dependency (MVD) represents a dependency between attributes (for example, A, B and C) in a relation, such that for each value of A there is a set of values for B and a set of value for C. However, the set of values for B and C are independent of each other.

A multi-valued dependency can be further defined as being trivial or nontrivial. A MVD A > B in relation R is defined as being trivial if

• B is a subset of A or• A U B = R

A MVD is defined as being nontrivial if neither of the above twoconditions is satisfied.

Page 42: AMANDEEP KAUR LECTURER I.T GPCG PATIALA 9.11.2012 1.

Fourth Normal Form (4NF)

42

Fourth normal form (4NF) A relation that is in Boyce-Codd normal form and containsno nontrivial multi-valued dependencies.

Page 43: AMANDEEP KAUR LECTURER I.T GPCG PATIALA 9.11.2012 1.

Fifth Normal Form (5NF)

43

Lossless-join dependencyA property of decomposition, which ensures that no spurioustuples are generated when relations are reunited through anatural join operation.

Join dependencyDescribes a type of dependency. For example, for a relation R with subsets of the attributes of R denoted as A, B, …, Z, arelation R satisfies a join dependency if, and only if, every legal value of R is equal to the join of its projections on A, B, …, Z.

Page 44: AMANDEEP KAUR LECTURER I.T GPCG PATIALA 9.11.2012 1.

Denormalization• Databases intended for Online Transaction

Processing (OLTP) are typically more normalized than databases intended for On Line Analytical Processing (OLAP).

• OLTP Applications are characterized by a high volume of small transactions such as updating a sales record at a super market checkout counter.

• The expectation is that each transaction will leave the database in a consistent state.

44

Page 45: AMANDEEP KAUR LECTURER I.T GPCG PATIALA 9.11.2012 1.

Denormalization

• By contrast, databases intended for OLAP operations are primarily "read only" databases

• OLAP applications tend to extract historical data that has accumulated over a long period of time. For such databases, redundant or "denormalized" data may facilitate Business Intelligence applications.

45

Page 46: AMANDEEP KAUR LECTURER I.T GPCG PATIALA 9.11.2012 1.

Denormalization

• Specifically, dimensional tables in a star schema often contain denormalized data.

• The denormalized or redundant data must be carefully controlled during ETL processing, and users should not be permitted to see the data until it is in a consistent state.

46

Page 47: AMANDEEP KAUR LECTURER I.T GPCG PATIALA 9.11.2012 1.

Denormalization

• The normalized alternative to the star schema is the snowflake schema.

• Denormalization is also used to improve performance on smaller computers as in computerized cash-registers. Since these use the data for look-up only (e.g. price lookups), no changes are to be made to the data and a swift response is crucial.

47

Page 48: AMANDEEP KAUR LECTURER I.T GPCG PATIALA 9.11.2012 1.

THANK YOU….

48