Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Entity Relationship Diagram (ERD) for Database Design, Summaries of Computer Science

DBMS assigment Lo1 Unit 19 HND

Typology: Summaries

2019/2020

Uploaded on 02/07/2023

CaptainS
CaptainS 🇮🇩

5

(1)

5 documents

1 / 7

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
DATABASE MANAGEMENT SYSTEM ASSIGNMENT
2
Date: 12/12/2019
Entity Relationship Diagram (ERD)
Database is completely a fundamental piece of programming system. To completely use ER
Diagram in database building promises you to deliver great database configuration to use in
database creation. An ER model likewise gives a way to correspondence. An ER diagram
shows the relationship among element sets. An entity set is a gathering of comparative
elements and these elements can have properties. Regarding DBMS, an entity is a table or
property of a table in database, so by demonstrating relationship among tables and their
characteristics, ER chart shows the total legitimate structure of a database. A database
management system is essential due to the fact it manages information correctly and permits
users to operate more than one duties with ease. A database management system stores,
organizes and manages a giant quantity of facts inside a single software program application.
The way a relational database works is by storing facts in tables, where each table has its
personal rows and columns. A row represents a file whilst a column represents an area or
attribute.
Designing a Relational Database Process
1
pf3
pf4
pf5

Partial preview of the text

Download Entity Relationship Diagram (ERD) for Database Design and more Summaries Computer Science in PDF only on Docsity!

DATABASE MANAGEMENT SYSTEM ASSIGNMENT

Date: 12/12/

Entity Relationship Diagram (ERD)

Database is completely a fundamental piece of programming system. To completely use ER Diagram in database building promises you to deliver great database configuration to use in database creation. An ER model likewise gives a way to correspondence. An ER diagram shows the relationship among element sets. An entity set is a gathering of comparative elements and these elements can have properties. Regarding DBMS, an entity is a table or property of a table in database, so by demonstrating relationship among tables and their characteristics, ER chart shows the total legitimate structure of a database. A database management system is essential due to the fact it manages information correctly and permits users to operate more than one duties with ease. A database management system stores, organizes and manages a giant quantity of facts inside a single software program application. The way a relational database works is by storing facts in tables, where each table has its personal rows and columns. A row represents a file whilst a column represents an area or attribute.

Designing a Relational Database Process

Components of ERD

First Normal Form (1NF): a table follows first ordinary structure if for every row and column intersection (a cell in a table) in the table, there exists a single cost and in no way a list of values. This is regarded as the atomic rule. Use the one-to-many relationship to observe 1NF. Second Normal Form (2NF): a table follows 2d normal structure if it is 1NF and each non-key column is completely dependent on the main key. This also applies when a main key has a couple of columns, every non-key column need to nevertheless depend on the complete set and now not phase of it. Third Normal Form (3NF): a table is 3NF if it is 2NF and the non-key columns are independent of every other. Column Indexing: You could create index on chosen columns to facilitate information looking and retrieval. An index is a structured file that speeds up data get right of entry to for SELECT, however may additionally cut down INSERT, UPDATE, and DELETE. Without an index structure, to procedure a SELECT query with a matching criterion the database engine desires to evaluate every data in the table. A specialized index may want to reach the file barring comparing each and every records. However, the index needs to be rebuilt each time a file is changed, which consequences in overhead related with the use of indexes. Index can be defined on a single column, a set of columns called concatenated index. You could build greater than one index in a table. For example, if you frequently search for a client the usage of both customer-name or phone-number, you should pace up the search with the aid of constructing an index on column customer-name, as nicely as phone-number. Most RDBMS builds index on the most important key automatically. Analyze Phase During the analysis phase, we find the necessities and imperatives for our proposed system. We can contract specialists and meeting potential clients so as to assemble this basic data. A requirement is a particular parameter that the system must fulfill. As a rule, determinations are point by point parameters portraying how the system should function. For instance, a requirement may express that the system should fit into a pocket, while a determination would give the accurate size and weight of the gadget. For instance, assume we wish to construct an engine controller. During the investigation stage, we would decide clear determinations, for example, go, solidness, precision, and reaction time. There might be subtler requirements to fulfill, for example, weight, size, battery life, item life, simplicity of activity, show lucidness, and unwavering quality. Regularly, improving the presentation on one parameter can be accomplished distinctly by diminishing the exhibition of another. This specialty of bargain characterizes the exchange offs a designer must make when planning an item. A requirement is a confinement, inside which the system must work. The system might be compelled to such factors as cost, well-being, similarity with different items, utilization of electronic and mechanical

parts as different gadgets, interfaces with different instruments and test gear, and improvement plan. Benefits to user:Safety: The risk to humans or the environment.  Accuracy: The difference between the expected truth and the actual parameter.  Precision: The number of distinguishable measurements.  Resolution: The smallest change that can be reliably detected.  Response time: The time between a triggering event and the resulting action.  Bandwidth: The amount of information processed per time.  Maintainability : The flexibility with which the device can be modified.  Testability: The ease with which proper operation of the device can be verified.  Compatibility: The conformance of the device to existing standards.  Mean time between failure : The reliability of the device, the life of a product.  Size and weight: The physical space required by the system.  Power: The amount of energy it takes to operate the system.  Nonrecurring engineering cost (NRE cost): The one-time cost to design and test.  Unit cost: The cost required to manufacture one additional product.  Time-to-prototype: The time required to design, build, and test an example system.  Time-to-market: The time required to deliver the product to the customer.  Human factors: The degree to which our customers like/appreciate the product. In this model, information is organized in two-dimensional tables and the relationship is maintained by storing a frequent field. Tables are also called relations. Each table has rows and columns. A row represents a column whilst a column represents an attribute. Moreover, it is possible to symbolize one to many and many to many relationships using this model. MariaDB

table, you want to outline constraints in phrases of rows and named columns as nicely as the kind of statistics that can be saved in every column. In contrast, a document-oriented database contains files, which are data that describe the data in the document, as well as the real data. Documents can be as complex as you choose; you can use nested records to provide additional sub-categories of records about your object. You can also use one or more record to symbolize a real-world object. BIBLIOGRAPHY Chen, Peter (2002). "Entity-Relationship Modeling: Historical Events, Future Trends, and Lessons Learned" (PDF). Software pioneers. Springer-Verlag. pp. 296–310. ISBN 978-3-540-43081-0. Barker, Richard (1990). CASE Method: Entity Relationship Modelling. Addison-Wesley. ISBN 978-0201416961. Barker, Richard (1990). CASE Method: Tasks and Deliverables. Addison-Wesley. ISBN 978-0201416978. Mannila, Heikki; Räihä, Kari-Jouko (1992). The Design of Relational Databases. Addison-Wesley. ISBN 978-

Thalheim, Bernhard (2000). Entity-Relationship Modeling: Foundations of Database Technology. Springer. ISBN 978- 3-540-65470-4. Bagui, Sikha; Earp, Richard (2011). Database Design Using Entity-Relationship Diagrams (2nd ed.). CRC Press. ISBN 978-1-4398-6176-9.