Question

In: Computer Science

"Database design" is the second phase in the database life cycle. This phase focuses on the...

"Database design" is the second phase in the database life cycle. This phase focuses on the design of the database model that will support an organisation’s operations and objectives. Explain key activities along with relevant examples in the context of designing a database to support the medical practice’s patient appointments system.  

Based on the definition of a transaction as “a logical unit of work that must be entirely completed or aborted; no intermediate states are accepted”, use a specific example to demonstrate why no intermediate states are accepted.

Solutions

Expert Solution

Sol:

Database design.

We know that designing is nothing but modeling . So Database design is nothing but making an effective database that will fulfill the requirements of the user and system. lets analyse the steps and activities of designing a database to support the medical practice’s patient appointments system.  

* For a patient appointments system , the database are needed to store the details of the patients.

* The necessory datas of hospital need to be stored in DBMS

* Needed to store the payments details.

The above mentioned are some activities

All the datas are stored in tables hence it is very essential to create separate tables for the project. Here in the medical practice’s patient appointments system the main objective is to take the details from the patients and stored it in database and output them the list .

Lets take an example of doctor availability checking - for that first only we need to create a table of doctors , when the patient select a specific doctor for consulting , the patient data should stored in the queue/table of that doctor.

********************************

There is no intermediate state in the transaction . lets take an example of online payment and analyse the statement.

We know that a successfull transaction will result the change of the state of database . When we trasfer our money to another account same time the money in our account debited and it should add in the other person account . The process should be completed fully or it should cancel initially itself . else it will create a inconsistancy in the state.

Hence for avoiding such problems there is no intermediate state accepted in transaction .


Related Solutions

Based on concepts related to a project life cycle, initiation phase, planning phase, the constraints and...
Based on concepts related to a project life cycle, initiation phase, planning phase, the constraints and challenges of executing projects and controlling projects. Reflect on the aspects of project management you feel can be applied to the project manager?
The introduction phase of the product life cycle for an industry is usually characterized by ________.
The introduction phase of the product life cycle for an industry is usually characterized by ________.
IPOD is an example of a product in the decline phase of the product life cycle....
IPOD is an example of a product in the decline phase of the product life cycle. The device was first launched in 2001, and was officially withdrawn from manufacture in mid-2017. It started off as a revolutionary product, making it possible for music to be stored in one small easy to transport location. New versions have been released over the years, but now the ipod is fading into history. Only the ipod touch model is still widely available, however the...
Database __________ which is the logical design of the database, and the database _______ which is...
Database __________ which is the logical design of the database, and the database _______ which is a snapshot of the data in the database at a given instant in time. a) Instance, Schema b) Relation, Schema c) Relation, Domain d) Schema, Instance
a)What are the phases of the life cycle of an entity? b)What effect does each phase...
a)What are the phases of the life cycle of an entity? b)What effect does each phase have on the amounts reported in a statement of cash flows? c)Contrast the advantages and disadvantages of the direct and indirect methods of reporting on cash flows from operating activities. d)Give an example of a cash-based ratio to measure these characteristics of an entity: 1.liquidity 2.solvency 3.profitability.
True or False: Logical database design is the process of modifying the physical database design to...
True or False: Logical database design is the process of modifying the physical database design to improve performance. The two major logical database design techniques are conversion of E-R diagrams to relational tables and data normalization. Multivalued attributes are not permitted in unnormalized data. A many-to-many binary relationship in an E-R diagram requires the creation of a total of three tables in a relational database. A one-to-one unary relationship in an E-R diagram requires the creation of a total of...
Creating a Database Design Lab 1: Creating a Database Design (Wk 3) - OR - Draw...
Creating a Database Design Lab 1: Creating a Database Design (Wk 3) - OR - Draw with pencil and paper diagram (take photo of it and submit) along with a summary of the diagram you prepared in a Word document. Use the scenario from Assignment 1: Business Rules and Data Models to complete the lab: Suppose a local college has tasked you to develop a database that will keep track of students and the courses that they have taken. In...
For each phase of the cell cycle,: G1 Phase - Growth, S PHase - DNA Replication,...
For each phase of the cell cycle,: G1 Phase - Growth, S PHase - DNA Replication, G2 - Growth, M Phase - Mitosis) state what the overall (general) histone methylation state OR acetylation state of  the inactive X (Xi) and active X (Xa) chromosomes in human females. Xi Xa G1 S G2 M
Database Design Design a database and show the relationship between each tables. I need multiple tables....
Database Design Design a database and show the relationship between each tables. I need multiple tables. *Must meet the requirements for Third Normal Form. These are the information for employee DB. Employee Number, First Name, Last Name, Date of birth, Address, city, state, zip, department, job title, supervisor, health insurance number, health insurance provider, dental insurance number, dental insurance provider, spouse/partner, children, children's ages.
What is the goal of the design phase?
What is the goal of the design phase?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT