StudentShare
Contact Us
Sign In / Sign Up for FREE
Search
Go to advanced search...
Free

Database Design - Essay Example

Cite this document
Summary
This paper 'Database Design' tells that The conceptual design of a database is the element part of the overall development of the design forms a critical segment of the design process. The conceptual design stage of the database predominantly includes the description of the various entities…
Download full paper File format: .doc, available for editing
GRAB THE BEST PAPER93.1% of users find it useful
Database Design
Read Text Preview

Extract of sample "Database Design"

Database Design The database design is presented in three stages as identified by Gavin Powell (2005)i. These include Conceptual Design, Logical Design and the Physical Design as described below. Conceptual Design The conceptual design of a database being the element part of the overall development of the design forms a critical segment of the design process. The conceptual design stage of the database predominantly includes the description of the various entities and their relationship with regards to the envisaged business application at a strategic level. In the light of the aforementioned arguments an insight into the validations system design is as follows The primary entity in the validations information model is the meter assigned to the customer, as this is a unique entity for every customer. The meter assigned to the domestic customers in the market not only provides the flexibility for the organization to effectively identify the customer and his/her consumption but also provides the ability for the company to conduct regular maintenance on the meters so as to prevent any malfunctioning and abuse of the facility provided to the customers. Furthermore, the information model comprises of the customer and the details of the meter including the intricate technical details as well as the maintenance schedules apart from the measurements that quantify for billing. This is necessary for the effective management of the information system and conduct regular checks on the meters in order to prevent errors in the readings leading to unwanted reconciliations for the organization. The conceptual design of the database model also includes the use of the billing efficiently both during the period of operation for the meter as well as at the time of removal and installation of the new meter. This method although straight forward in words is actually a complex procedure as it not only involves the company and the customer but also the supplier for the meter that is installed at the customer site. The need for policy compliance and related issues make the process complex and the information model should address this. The conceptual design being the high level specification of the information model to be deployed without any system restrictions into account or technical considerations, the conceptual design also comprises of the following at a strategic level implementation 1. The billing section to be notified of any new changes in the metering for a given customer once the change is completed. 2. The information system should account for the price of the gas that is dynamic on a day-to-day basis. The gas price being fixed using a dynamic bidding process in the UK energy market should be accounted for whilst calculating the bills and any reconciliation to the customers. 3. The information model should also include the dynamic transportation charges for the gas from the source to the customer, which is additional to the gas pricing on a day-to-day basis for the quantity of gas being transported every day. Logical Design: The logical design is implemented using the Entity Relationship diagrams as follows Entities: The entities identified in the logical design of the application include 1. Customer 2. Validation 3. Meter 4. Supplier 5. Billing and Reconciliation Among the aforementioned the first four are the primary entities in the database with the Billing and Reconciliation forming the transaction in the system. This makes it clear that any trigger implemented with regards to the finance processing will reflect upon the transactions on billing and reconciliation entity only. The relationships between the entities identified are discussed below followed by the entity relationship diagram adhering to the UML standards. The customer being the first and important element of the system identified is placed central to establish the relationship with other entities based upon the customer. Customer - Meter: the relationship between the customer and the meter is deemed to be 1N. This is because of the fact that a customer can have more than one meter assigned to him/her. Although only one meter can be assigned to the domestic customers at a given time, the de-commissioning of a meter and installation of another meter apparently explains the aforementioned argument. Hence the relationship between the meter and the customer is 1N. Customer - Validation: From the arguments for the meter mentioned above, the relationship between the customer and the validation for the meter is also deemed as 1N. This is because a validation of the meter can fail which can be conducted again after maintenance to secure a pass. This makes it clear that more than one validation is possible for a given meter. Hence the relationship 1N is justified. Meter - Validation: From the above arguments it is further clear that a meter can have more than one validation thus making it clear that the relationship between the two entities is 1N (i.e.) a meter can have more than one validation. Supplier -Meter: The supplier although appears only in times of replacement of the meters, it is essential to note that a relationship is established between the supplier and the meter in order to avoid any duplication of data. Hence the supplier to meter relationship is deemed as 1-1. This is because a meter to a customer can have only one supplier whilst a supplier can supply more than one meter. Hence the overall relationship is derived the relationship between the customer - meter - supplier, which is deemed as 1N1. Billing and Reconciliation is the more complex relationship with the customer because of the following reasons. 1. A customer cannot be billed more than once for a given time period to a given meter and the fact that at a given instance only one meter exists further makes it clear that there is no room for duplication in the billing to the customer. Although this is a straight forward concept, the reconciliation to the bills already sent to the customer is a complex approach and can occur as many time as required in order to correct errors in the reading which will either benefit the customer or the company. 2. There can be more than one reconciliation to a given customer, which can comprise more than one meter making it clear that the duration of the reconciliation can include more than one billing period. Hence the relationship is broken in two sub-transaction entities ass follows Customer - Bill: This relationship is deemed as 1-1 relationship (one - to - one). Customer - Reconciliation: This relationship can be drilled down further with the presence of the bill in the middle making the entity relationship as customer - Bill- Reconciliation. This approach justifies the arguments presented above. Hence the relationship for the entities identified can be derived as 1-N-1. This makes it clear that the bill although identified as the central element is the transaction entity in the relationship explaining a customer can have more than one bill, a reconciliation can cover more than one bill sent to the customer thus making it clear that there cannot be a direct relationship between the customer and the reconciliation. The Entity Relationship diagrams for the aforementioned discussion are presented below The aforementioned diagram summarises the high-level entity relationship diagram for the designed database application. The attributes to the aforementioned entities are presented in the UML Relational database design later in the report. The use of Unified Modelling Language (UML) in the design and implementation of the system is argued as the effective method of database design by many researchers and authors including Gavin Powell (2005). This is not only because of the ability for a designer to replicate the database design virtually to the finest possible details but also the flexibility in the UML to treat the objects as entities irrespective of their data types or other attributes. This makes it clear that the implementation of the UML design is palpable even with the detail of the object attributes without actually signifying the attributes of the object. This form of pseudo design approach is the key for the successful design using UML. Using the object-oriented approach for the database design the object oriented UML database model is presented in Fig 2 below. The aforementioned entity database design is implemented using Oracle and Postgres the interpretation for which is presented in the next section. Object - Relational Analysis Kevin Loney (2004)ii argues that the object relational database implementation using Oracle 10g not only provide the flexibility in the operations of the database in case of editing or updating tables where the PL/SQL code sequence can be easily edited using the object reference rather than actually creating the procedures to replicate the table being worked upon. This approach actually creates a virtual database table relationship without actually affecting the tables in the database, which helps eliminate any errors in the data entered. This approach helps maintain the integrity in the data being entered as well as providing the flexibility to the designers. The object design relational codes for the database design presented are discussed below. Abstract Data types The abstract data types option of the Oracle 10g helps mirror the exact design of the table without altering the table itself. This approach helps the programmer to actually verify the validity of the information entered by the end user in comparison with the data type designed instead of actually checking every single field. The abstract data type creation for the customer entity is given below CREATE TYPE Customer_TY as object { cust_ID Varchar2(40), Cust_MeterID Varchar2 (40), Cust_Name Varchar2 (50), Cust_Address Varchar2 (150), Cust_PostCode Char (6), Cust_Region Varchar2 (40), Cust_BillingReference Varchar2 (40), Cust_DOB Date}; / The aforementioned abstract data type created can not only help in encapsulating the customer table in the database but also prevent the direct access to the table thus eliminating the locking of the table by a given user. The exclusive locking of a table in the databases has been a critical issue in the design of application as argued by Steven Feuerstein and Bill Pribyl (2004)iii. This makes it clear that the object relational approach is an effective method of encapsulating the tables from the users whilst enabling the presence of the tables for transactions in the front end. Postgres on the other hand deploys the object relational approach in a different manner by treating the table as the object and creating instances of the table design rather than creating an abstract data type. This approach although different in the initial level is exactly similar in operation to its Oracle counterpart making it clear that the object relational approach is predominantly to enable flexibility in coding and manipulation from the front end systems. In both the cases, the forms created for front end can access only objects replicating the tables in the databases instead of accessing the tables itself. This approach is efficient because of the fact that it not only eliminates the exclusive locking of the tables but also enables the effective trigger operations within the tables thus eliminating the issues of referential integrity and data access hierarchy to the tables. Although the documentation of the Postgres relational database application describes the aforementioned ability to deploy the object relational database, the actual application does not have the total application functionality described. The only capability for Postgres is the ability to inherit the table design to the objects, which again cannot be created for multiple instances. This makes it clear that the efficiency of the Postgres in the application development especially in the front-end back-end application proposed in this case is not effective as with the use of Oracle. The fact that the object relational database model is implemented as the key update in the Oracle 10g version providing utmost flexibility to the programmers justifies the use of Oracle as the database backend for the application. Alongside, the database design proposed for the objects in the Validations application further makes it clear that the object-relational implementation is not only necessary for the purpose of creating a mirror for the front end but also to enable the effective operations of the triggers for the tables. Triggers: The triggers for the database application proposed are discussed below The type of triggers used in this application is under the category of Data Manipulation Triggers as the information in the tables are the ones targeted by the triggers and not the design. Change of Meter to the customer The first trigger for the database is when the meter changes, the system should automatically generate the billing details for the meter to the customer and store it in the Billing Table. The code for the trigger is as follows CREATE TRIGGER Update_Bill AFTER UPDATE OF Cust_MeterID ON TblCustomer FOR TblBilling.Bill_EndDate Read More
Cite this document
  • APA
  • MLA
  • CHICAGO
(“Database Design Essay Example | Topics and Well Written Essays - 3500 words”, n.d.)
Database Design Essay Example | Topics and Well Written Essays - 3500 words. Retrieved from https://studentshare.org/technology/1524097-database-design
(Database Design Essay Example | Topics and Well Written Essays - 3500 Words)
Database Design Essay Example | Topics and Well Written Essays - 3500 Words. https://studentshare.org/technology/1524097-database-design.
“Database Design Essay Example | Topics and Well Written Essays - 3500 Words”, n.d. https://studentshare.org/technology/1524097-database-design.
  • Cited: 0 times

CHECK THESE SAMPLES OF Database Design

Principles of Database Design

As information technology systems have become the focus of all areas of business,… A Business Continuity Plan identifies a business' vulnerability to both internal and external threats and manufactures soft and hard assets that offer efficient prevention Principles of Database Design Principles Of Database Design Disaster Recovery and Business Continuity Plans Business continuity and disaster recovery refer to the contingency plans and measures designed and executed by a business to guarantee operational flexibility in case of any service interruptions....
2 Pages (500 words) Essay

Database Design- Dependency Diagram

Database Design using entity-relationship diagrams.... However, in the dependency diagrams… These dependency diagrams are used to assist in the normalization of data in a given database.... They are used to show the high level of dependence between modules in a database structure. It might s Dependency diagram and its use A dependency diagram is a graphical representation of a dependency chart graphs.... These dependency diagrams are used to assist in the normalization of data in a given database....
1 Pages (250 words) Essay

Analysis of Customer and User Needs

Although not directly related to Database Design, another feasibility issue that could impact on how well the design is implemented and how many essential design features are incorporated, is the budget.... It is therefore essential to minimise data redundancy and lack of coherency issues at the design stage through normalisation and ensuring that relationships between the relational tables are clearly and appropriately defined.... The proposal is certainly feasible and possible because a relational database such as MySQL can easily handle the data storage and retrieval complexity required, PHP can be used to facilitate data entry and retrieval, and the use of CSS can help to ensure consistency in the… However, a number of possible redundancy and coherency issues and other challenges should be acknowledged and dealt with, which are detailed below. In addition, an issue of data coherency could arise if care is not taken to different data pertaining to the same entity For example, if a patients current condition is required to be known, then all the necessary particulars of the patient will be required along with details of the treatments given, the response of the treatments and general health progress....
2 Pages (500 words) Essay

Improving Electronic Store Database Design

Improving Electronic Store Database Design Insert Insert Improving Database Design through Normalization The tables are already in 1, 2, and 3rd Normal Forms.... database in depth.... Expert Oracle database architecture.... That is to say, in the first normal form, there is no more than one row of data that has a repeating group of information (Date, 2005)....
1 Pages (250 words) Essay

Ralational Database Design

"Relational Database Design" paper describes the process of creating a relational database.... hellip; The hallmark of the relational database is that when one table changes in the database all other tables are updated and are current.... The Relational database specification required nine tables in the following relationships.... These consist of the Create database Relational....
16 Pages (4000 words) Lab Report

Database Design Conflicts

The basic aim of this paper “Database Design Conflicts” is to assess these conflicts and issues and afterward suggest several mitigation policies for such issues.... Moreover, in Database Design process, system developers judge a lot of issues all through the design stage, for instance, how to produce a user-friendly interface, how to effectively normalize the data and various other issues.... For the reason that an accurate design is necessary for attaining an organization's objectives in functioning with a database, spending the time necessary to proficiently discover the standards of high-quality design seems sensible....
9 Pages (2250 words) Research Paper

Logical Database Design

This paper declares that upon exploring and analyzing the Health and Lifestyle functionality of the NHS website, the following tables are proposed to be designed which could record all the information entered in the forms under all the tabs of Health and Lifestyle section.... hellip; According to the paper, this table holds information about weight, height, alcohol, smoking, calories, blood type, blood pressure, blood sugar, cholesterol, resting heart rate, maximum heart rate and peak flow under heath details, lifestyle details, blood and heart and lungs tabs....
14 Pages (3500 words) Assignment

Conceptual And Logical Database Design

Conceptual Database Design focuses on the theoretical aspects of a database.... A logical Database Design analyses the flow of data in a database.... For the purpose of this study, we will critically apply the fundamental principles involved in Database Design and modeling.... conceptual Database Design captures how data is modeled.... Database systems and design focus on the creation and implementation of a database to suit an information system....
12 Pages (3000 words) Assignment
sponsored ads
We use cookies to create the best experience for you. Keep on browsing if you are OK with that, or find out how to manage cookies.
Contact Us