Free Essay

Need for Dbms Normalization

In:

Submitted By hardik19
Words 520
Pages 3
The Need for Normalization

The aim of normalization is to put the data into tables in its simplest forms. We normalize the relational database management system because of its following characteristics and features. They are: 1. It helps to minimize data redundancy i.e. there should not be any multivalued attributes. Moreover eliminating the repeating groups. 2. Helps to make database structure flexible. It means it could allow to add new data values and rows in a relation structure without reorganizing the database structure. 3. To make consistency of data throughout the database i.e. it should not suffer from anomalies as given below: a. Insert Anomaly – It occurs due to lack of data i.e. data items are scattered and are not linked to each other properly, then it could lead to strange situations. This kind of anomaly can cause serious damage to the database b. Update Anomaly – It occurs because of data redundancy i.e. same value occurs multiple times in a column. This leads to inefficiency. c. Deletion Anomaly - It leads to the loss of data from rows that are not stored anywhere in the database. This could result in loss of vital data. 4. It is easy to handle complex queries that are required by the users. 5. *On decomposition of a relation into smaller relations with fewer attributes on normalization the resulting relations whenever joined must result in the same relation without any extra rows. The join operations can be performed in any order. This is known as Lossless Join decomposition.* 6. *The smaller and manageable tables obtained on normalization should possess the following properties such as each row must be identified by a unique key, no repeating groups, homogenous columns, each column is assigned a unique name etc.* 7. To built a database where it is easy to access and manipulate data easily, quickly and efficiently without compromising the integrity of data in a storage.

It is necessary to ensure that all of our data structures in a relational database are able to be implemented efficiently. Let us consider a situation - for example Customer:

Customer Number
Name
Address
Phone Number
Item Purchased
Quantity
Price
The above situation can easily be implemented in a database table. However a customer may order several items and each customer database may order a different number of items. So it difficult for us to implement the data in a relational database since we are not aware of how many Order entries to allow.

Suppose we have the situation where most of our customer orders only a single item, several other customers are ordering 2 or 3 and one is ordering 20. In this case we have to allow for up to 20 orders in our table for every customer even though most of them are ordering only one product. This will increase the storage space of the data and is a very wasteful of space and would make the database perform very poorly. Thus it is necessary to normalize in order to increase its storage efficiency, data integrity along with faster accessing of information from the database tables.

Similar Documents

Premium Essay

Mmis 630 Final Examination Guide

...MMIS 630 Database Systems – Final Exam 1. What are the issues in the normalization vs. performance trade-off? Discuss. Your essay should (1) define and describe the characteristics of normalization, (2) define and describe the characteristics of performance, and (3) define and describe what is meant by “performance trade-off”, (4) summarize your essay with recommendations and/or guidelines regarding use of normalization in database design. ANS: When we take a close look in designing a database one may not be thinking of normalization and performance, we may just be thinking, “I have this major project due in several months, I do not have time to be considering about formal techniques and performance, I will worry about this later.” Though this may occur in industry, database designers need to keep in mind that utilization of scarce resources such as processor time, network utilization, memory, etc., are very critical and can have a significant impact on database access and retrieval. As I had previously mentioned in our forum, one of the main concerns to keep in mind is that in other fields being 2 or 3 times slower may not be noticeable and certainly may not have a long term affect but in the realm of computers, having a multiplier can be detrimental in our resultant. What does this mean? It would simply mean that 1) Your database is not consistent OR 2) Your database is lacking the performance. Finding the equilibrium in this case can be a task like working...

Words: 2102 - Pages: 9

Premium Essay

Mis Tutorial Answer Sheet

...Review Questions 1. What are the problems of managing data resources in a traditional file environment and how are they solved by a database management system? List and describe each of the components in the data hierarchy. Figure 6–1 shows the data hierarchy. The data hierarchy includes bits, bytes, fields, records, files, and databases. Data are organized in a hierarchy that starts with the bit, which is represented by either a 0 (off) or a 1 (on). Bits can be grouped to form a byte to represent one character, number, or symbol. Bytes can be grouped to form a field, such as a name or date, and related fields can be grouped to form a record. Related records can be collected to form files, and related files can be organized into a database. Define and explain the significance of entities, attributes, and key fields. • Entity is a person, place, thing, or event on which information can be obtained. • Attribute is a piece of information describing a particular entity. • Key field is a field in a record that uniquely identifies instances of that unique record so that it can be retrieved, updated, or sorted. For example, a person’s name cannot be a key because there can be another person with the same name, whereas a social security number is unique. Also a product name may not be unique but a product number can be designed to be unique. List and describe the problems of the traditional file environment. Problems with the traditional file environment include...

Words: 1013 - Pages: 5

Premium Essay

Relational Databases

...Relational Databases Jason A. Mizener Professor Merkel Intro to Information Technology 17 August 2014 Relational Databases As technology as grown throughout the years, so has the information it utilizes. Early on databases were organized through the hierarchical model, which was the earliest representation of the parent-child structure (each parent can have multiple children, but each child can only have one parent). Shortly thereafter the network database model was incorporated to more effectively represent complex data relationships. Large amounts of data became better organized, which improved database performance. Additionally, the parent-child structure was improved to where children could now have multiple parents. Despite these advances, databases continued to grow increasingly cumbersome and complex, and further advances were necessary to keep everything manageable. The relational database, designed in 1970 by E. F. Codd, represented a major breakthrough in database technology for both designers and users alike. The relational model is very simple, yet very effective in concept. As strange as it may be to think, the relational database pioneered the concept of using tables to hold and organize data. An Excel spreadsheet is probably the most obvious example of a relational database that the end user can relate to today. Essentially, a relational database is the logical view, rather than the physical view, of information. (Carlos Coronel, 2013) ...

Words: 1200 - Pages: 5

Premium Essay

Dbms

... * Real-world entity − A modern DBMS is more realistic and uses real-world entities to design its architecture. It uses the behaviour and attributes too. For example, a school database may use students as an entity and their age as an attribute. * Less redundancy − DBMS follows the rules of normalization, which splits a relation when any of its attributes is having redundancy in values. * Consistency − There exist methods and techniques, which can detect attempt of leaving database in inconsistent state. A DBMS can provide greater consistency as compared to earlier forms of data storing applications like file-processing systems. * Query Language − DBMS is equipped with query language, which makes it more efficient to retrieve and manipulate data. * ACID Properties − DBMS follows the concepts of Atomicity, Consistency, Isolation, and Durability (normally shortened as ACID). These concepts are applied on transactions, which manipulate data in a database. ACID properties help the database stay healthy in multi-transactional environments and in case of failure. * Multiuser and Concurrent Access − DBMS supports multi-user environment and allows them to access and manipulate data in parallel. * Multiple views − DBMS offers multiple views for different users. A user who is in the Sales department will have a different view of database than a person working in the Production department. * Security − DBMS offers methods to impose constraints...

Words: 1010 - Pages: 5

Premium Essay

World Music

...Kenneth and Laudon, Jane Management Information Systems: Managing the Digital Firm, Ninth Edition, Prentice- Hall Do Review Questions 1, 2, and 5. 1. How does a relational database organize data and how goes it differ from an object-oriented database? * Define and explain the significance of entities: attributes, and key fields. * Define a relation database and explain how it organizes and stores information. * Explain the role of entity-relationship diagrams and normalization in the database design. * Define an Object-oriented database and explain how it differs from a relational database A relational database organizes data into two-dimensional tables also called relations with columns and rows. Each table contains data on an entity and its attributes. Each row represents a record and each column represents an attribute or field. Each table also contains a key field to uniquely identify each record for retrieval or manipulation. An object-oriented database management system (DBMS) stores data and procedures that act on the data as objects, and it can handle multimedia as well as characters and numbers. Entities are the person, place, or thing on which we store and maintain information. Entities have specific characteristics called attributes. Attributes are pieces of information describing a particular entity. Key field is a field in a record that uniquely identifies instances of that record so that it can be retrieved, updated, or sorted. A relational...

Words: 1136 - Pages: 5

Premium Essay

Database Management And Information Retrieval System Case Study

...information relevant Offer Data modelling Facility Restricted to classify of object Structured data format Unstructured data format Provide precise semantics Provide imprecise semantics Complete of query specification Incomplete of query specification Data dictionary system management Item normalization Data transformation and presentation Document database search Backup and recovery management Index database search Data store management Selective dissemination of information...

Words: 1137 - Pages: 5

Premium Essay

Database Management

...tables, query for specific data conditions, perform computations, can update/delete/insert data. Database System four components: * Database – collection of related tables and other structures * Database Management System DBMS – computer program used to create, process, and administer the database. Receives requests encoded in SQL and translates them into action on the database. Large complicated program licensed by software vendors. * Database Application – Set of one or more computer programs that serves as an intermediary between the user and the DBMS, These programs read or modify data by sending SQL statements to the DBMS. * Users – use the DB Application to keep track of things. Use forms to read, enter, and query data. Database – defined as self-describing (a description of the structure if the database is contained within the database itself) relational collection of tables. Metadata – data about the structure of the a database. (IE names of tables, names of columns, and the tables in which they belong, properties of tables and columns) Database contents – user data, metadata, indexes, and other overhead data (these improve performance). Application data (describes application elements, such as forms and reports) DBMS examples –...

Words: 2798 - Pages: 12

Premium Essay

Test

...are available to support the growing market. However, with so many methodologies to choose from, a major concern for many firms is which one to employ in a given data warehousing project. In this article, we review and compare several prominent data warehousing methodologies based on a common set of attributes. Online transaction processing (OLTP) systems are useful for addressing the operational data needs of a firm. However, they are not well suited for supporting decision-support queries or business questions that managers typically need to address. Such questions involve analytics including aggregation, drilldown, and slicing/dicing of data, which are best supported by online analytical processing (OLAP) systems. Data warehouses support OLAP applications by storing and maintaining data in multidimensional format. Data in an OLAP warehouse is extracted and loaded from multiple OLTP data sources (including DB2, Oracle, IMS databases, and flat files) using Extract, Transfer, and Load (ETL) tools. The warehouse is located in a presentation server. It can span enterprisewide data needs or can be a collection of “conforming” data marts [8]. Data marts (subsets of data warehouses) are conformed by following a standard set of attribute declarations called...

Words: 4067 - Pages: 17

Premium Essay

Week 5 Summary

...Week 5 Summary Report DBM/380 February 16, 2015 Devin Dickens Week 5 Summary Report Our learning team is getting off to a great start to our assignment we have created Visio diagrams to design and organize our database. We have also got started with the beginnings of the database by working to set up the tables that we are going to be using. We have also begun work on creating our PowerPoint presentation for the project. It has been a busy week with varied schedules, but we have sectioned the work off and kept in touch this has served us well. We followed the link to Entities and Attributes for the Fleet Truck Maintenance page and have been working on how we are going to incorporate them all into our design. We will use relational links where applicable to tie all the tables together and select appropriate primary keys for our tables. We have also gone through the process of assigning appropriate data types for your fields. All in all, I think that we are off to a good start and are looking forward to adding to our project over the coming weeks. Week 3 Summary Report Our team was required to create documentation that explains the process of creating the entity-relationship diagram (ERD) in the change request for our project. We have three parts for our ERD: Vehicles, Parts, and Maintenance. Part One: Vehicles Our entities for the first part of our ERD are Vehicles, Vehicle Types, and Vehicle Maintenance. Our attributes for the entity Vehicle consist of VIN...

Words: 1227 - Pages: 5

Premium Essay

Managing Data Resources

...Chapter 7 Managing Data Resources True-False Questions | |The benefits of a DBMS are immediately tangible. | | | | | |Answer: False Difficulty: Easy Reference: p. 234 | | |Excellent hardware and software will result in inefficient information systems if file management is poor. | | | | | |Answer: True Difficulty: Easy Reference: p. 234 | | |A record describes an entity. | | | | | |Answer: True Difficulty: Easy Reference: p. 235 | | |In traditional file processing, each functional area, by developing its own specialized applications, contributes to data ...

Words: 4937 - Pages: 20

Premium Essay

Benefits of a Database and Information-Gathering Techniques

...of tables. Each table in a database has it unique name and table duplication is not allowed. Example of database: Oracle 10g, MySQL, SQL Server, IBM DB2 etc. DBMS terms refer to the database management system. A database management system (DBMS) is a collection of software application package with some computer programs that are used to store, create, fetch, modify and extract the information from the database. Each DBMS system has some set of rules and pre-defined paradigm on which each database is working. There are many different types of DBMSs, ranging from small systems that run on personal computers to huge systems that run on mainframes or Solaris servers. Some of the example of DBMS is 1.> Air lines flight management system. 2.> Employee’s payroll management system for an organization. 3.> Inventory management system for warehouse operations. 4.> Student management system for Schools and Colleges. Advantages of DBMS 1.> It reduces the data redundancy (duplicate data in the database). 2.> Scalable: DBMS systems are highly scalable i.e. these systems can be scaled to store more data as required in the future. 3.> Multiple accesses: Database software allows data to be accessed by multiple users simultaneously without causing any locks in the database. 4.> Security: In DBMS system we can secure the stored data by providing the access to only authorized user. 5.> Backup and recovery process is very easy. We can take back up of complete...

Words: 777 - Pages: 4

Premium Essay

Normalization

...Data Dictionary and Normalization Guidelines The purpose of a data dictionary is to define the objects and data within an organization's database management system. This metadata does not contain any of the database's data, but only information about the structure, storage and use of the database's data. A data dictionary can be stored in files or documents, or can be stored within a database in the DBMS. For example, a database may contain an employee table that has an emp_no column and an identification_no column. A data dictionary can explain that the emp_no column is an integer value containing the employee number assigned by the system. When a new employee is added to the system, a next number value is retrieved from a next number table and assigned to the new employee record. The data dictionary would also explain that the identification_no column is an alpha-numeric value that contains the employee's social security number for US residents and for non-US residents contains the employee's country code followed by their work visa number. The data dictionary can also be used to define aliases for the column names since column names can become a bit cryptic. It can also provide information regarding different type of database objects such as tables, views, stored procedure, user groups, functions, triggers, etc. Furthermore, it can also provide information on how database objects are related to one another. An important aspect of a data dictionary is that it provides...

Words: 874 - Pages: 4

Premium Essay

Dbms

...DBMS vs. RDBMS • Relationship among tables is maintained in a RDBMS whereas this not the case DBMS as it is used to manage the database. • DBMS accepts the ‘flat file’ data that means there is no relation among different data whereas RDBMS does not accepts this type of design. • DBMS is used for simpler business applications whereas RDBMS is used for more complex applications. • Although the foreign key concept is supported by both DBMS and RDBMS but its only RDBMS that enforces the rules. • RDBMS solution is required by large sets of data whereas small sets of data can be managed by DBMS. 1. What is database? A database is a collection of information that is organized. So that it can easily be accessed, managed, and updated.   2. What is DBMS? DBMS stands for Database Management System. It is a collection of programs that enables user to create and maintain a database.   3. What is a Database system? The database and DBMS software together is called as Database system.   4.   What are the advantages of DBMS? I.  Redundancy is controlled. II.  Providing multiple user interfaces. III. Providing backup and recovery IV. Unauthorized access is restricted. V.  Enforcing integrity constraints.   5. What is normalization? It is a process of analysing the given relation schemas based on their Functional Dependencies (FDs) and primary key to achieve the properties (1).Minimizing redundancy, (2). Minimizing insertion, deletion and update anomalies.   6. What...

Words: 3541 - Pages: 15

Premium Essay

Chapter 2

...THEORETICAL FRAMEWORK This chapter will discuss about the work of the proposed system, along with the uses of the Website and database system. Moreover, this chapter will also present the computer programming language,, and methodologies used in the development of the system. 2.1 Introduction The basis of the development of a completely computer-based information system is very important. Such features that are comprise hereto include the database system, it consist of the Database Management System (DBMS) which is designed to manage all databases. The database is the most important structure of an information system. In this chapter, the theories used in the development of the proposed system will be discussed. In line with this is the database system, which uses a normalized database to encapsulate the constructs of a data model, to eliminate data redundancy, organized data effectively and to trim down irregularities during data operations. Another is the used of the Third-Generation Programming Language, also known as 3GL Computer Language like Visual Basic 6, a further advanced language to enable a more user-friendly interface in the system. Correspondingly, with the incorporation used of Structured Query Language or SQL to create, modify, retrieve, and operate data. other nodes is also the Graphical User interface or GUI to utilize the graphical images and text to signifies information for the end users. Indeed, GUI will aid the user to have an...

Words: 1475 - Pages: 6

Premium Essay

Normalization of Databaes

...Normalization in Databases In the process of working with databases, one must have been asked "Is that database normalized?" Usually, the reply is "Uh, yeah." Normalization is often forgotten about, touted as a luxury that only scholars have time for. However, knowing the principles of normalization and applying them to daily database design tasks really isn't all that complicated and it could drastically improve the performance of DBMS. The main problem plaguing database design is redundancy. Redundancy is storing the same data item in more one place. Redundancy creates several problems, taking up extra storage space, entering same data more than once, deleting data from more than one place, and modifying data in more than one place. It creates inconsistency and unreliability in the database. In order to solve these problems, the “raw” database needs to be normalized. Normalization is the process of efficiently organizing data in a database. There are two goals of the normalization process. The first goal of normalization is to eliminate redundant data (for example, storing the same data in more than one table). The second goal is to ensure data dependencies make sense (only storing related data in a table). Both of these are important goals as they reduce the amount of space a database consumes and ensure that data is logically stored. Un-Normalized Form (UNF) If a table contains non-atomic values at each row, it is said to be in UNF. An atomic value is something...

Words: 1000 - Pages: 4