Assignment 62suppose your database system has failed

Assignment Help Database Management System
Reference no: EM13371178

Assignment 6.2

Suppose your database system has failed. Describe the database recovery process and the use of deferred-write and write-through techniques.

Suppose you are asked to evaluate a DBMS in terms of lock granularity and the different locking levels. Create a simple database environment in which these features would be important.

Research the Dining Philosophers problem on the Internet. Summarize what you find and explain how this classic problem relates to deadlock and concurrency control. Explain how you could prevent this problem from occurring.

There are several different kinds of locks used with databases. Using your text, the Internet, and any other sources you have available, study the concept of locking. Briefly describe each type of lock that you uncover during your studies, along with its advantages and disadvantages.

Write or find (online) SQL statements that might be used in transaction management and explain how they work. Here's an example with the answer:

The following transaction registers the credit sale of a product to a customer. Start transaction

INSERT INTO INVOICE -- Add record to invoice

(INV_NUM, INV_DATE, ACCNUM, TOTAL)

UPDATE INVENTRY -- Update the quantity on hand of the product

SET ON_HAND = ON_HAND - 100

WHERE PROD_CODE = '345TYX';

UPDATE ACCREC -- Update the customer balance account

The above statement have accomplished:

Create the invoice record.

Update the inventory data.

Update the customer account data.

The DBMS will ensure that all SQL statements are executed and completed before committing all work. If, for any reason, one or more of the SQL statements in the transaction cannot be completed, the entire transaction is aborted and the database is rolled back to its previous consistent state.

Assignment 6.3

This is a group assignment.

Make sure that your E-R diagram and your data dictionary are accurate in every detail. (entities and attributes are the same.)

Use the group E-R diagram and data dictionary from the previous two weeks to develop SQL statements that will create tables.

After your tables are created, enter a minimum of 3 sets of data for each table.

Use the SQL examples from the last two weeks and anything you can find on the Internet as examples on how to write the SQL instructions.

Attach your SQL code for creating the tables and adding data to each table to this assignment in a single text document.  Post your the ERD and Data Dictionary that you use to generate your code to your file exchange.

Note: The attached pvfc1.txt file used in week 1 is an example of what you code should look like.  Except that your code should include comments for each block of text.


Attachment:- Full_Requirement.zip

Reference no: EM13371178

Questions Cloud

Describe an algorithm to play the game of nim using all of : describe an algorithm to play the game of nim using all of the three tools discussed in class pseudocode flowchart
Thermometry is the science of temperature measurementnbsp : thermometry is the science of temperature measurement.nbsp for a thermometer to work we infer the temperature from the
Valuation case - andrew hawks founder of a caribbean based : valuation case - andrew hawks founder of a caribbean based start-up firm nabr publishing ltd. just completed
Unit iiiresearch article analysisnbspfor this assignment : unit iiiresearch article analysisnbspfor this assignment review at least five articlesaccording to the following
Assignment 62suppose your database system has failed : assignment 6.2suppose your database system has failed. describe the database recovery process and the use of
Unit i research proposal topicnbspyou need to select and : unit i research proposal topicnbspyou need to select and present their own researchable topic for the research proposal
In a triangle abc if nbspr1 is the exradius of the excircle : in a triangle abc if nbspr1 is the exradius of the excircle opposite to a r2nbspis the exradius of the excircle
Credit scorecards are used by banks and financial : credit scorecards are used by banks and financial institutions to determine whether applicants will receive loans. the
1 according to investment digest diversification and the : 1. according to investment digest diversification and the riskreward relationship spring 2011 1-3 the mean of the

Reviews

Write a Review

Database Management System Questions & Answers

  Develop preliminary database tables for huffman trucking log

Use Microsoft Access to develop preliminary (no keys and no relationships) database tables for Huffman Trucking Driver Log.

  How to connect to the oracle database

Instructions: You can use any source you prefer, the text, Internet, etc. The answers should not take more than 1 - 2 paragraphs of text, please submit a word processing document, please make sure it's compatible with MS Word.

  Find names of students who have higher gpa from table

List the students ID, name, GPA, and course Number such that all students have GPA greater than 3 . 5 and enrolled in a course in Jan 1, 2011. Find the names of all students who have GPA greater than 3.

  Create an idefix or er diagram for the database

Import your IDEF1X diagram into Oracle and create the appropriate tables and relationships. Your design should include a specification of tables, attributes, primary and foreign keys, referential integrity constraints, and referential integrity ac..

  Develop an er model

You are required to develop an ER model to represent the information requirements for a database that Queensland Liquor National online trader system will use as described on last page.

  What is bitcoin mining

Discuss BitCoin. What are they? Who made them? How long have they been around? What is BitCoin Mining? In your opinion, will BitCoins stick around? Why or Why Not?

  Questioncandywarehouse is an online candy store the store

questioncandywarehouse is an online candy store. the store purchases candies from various vendors and one of them is

  How would you change the current design

How would you change the current design and how does your new design address the problems you have identified with the current design.

  Implement a database of courses and students for a school

implement a database of courses and students for a school keeping track of which students are taking which courses.

  Knowledge and data warehousing adventure works cycles the

knowledge and data warehousing adventure works cycles the fictitious company on which the adventureworks sample

  Sketch hash table to result from using hash function

Sketch hash table of length 11 which results from using hash function h(i) = (2i + 5) mod 11, to hash the keys 12, 44, 13, 88, 23, 94, 11, and 39,

  List and explain the defined business rules

The Relational Data Model (RDM) which corresponds to the ERD in the format shown below. The RDMMUSTidentify all primary keys, alternate keys and foreign key constraints. Raw SQL Create Table script dumps from a modeling tool, or SQL Server WILL NO..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd