Question

Suppose you are in charge of your company database. Explain the concrete steps you would take...

Suppose you are in charge of your company database. Explain the concrete steps you would take if there is a power-failure during the entry of daily transactions into your database. How can you assure the integrity of the database after this event?

Homework Answers

Answer #1

Explanation is given below:

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

When a database fails, it must possess the facilities for fast recovery. It must also have atomicity i.e. either transactions are completed successfully and committed (the effect is recorded permanently in the database) or the transaction should have no effect on the database.

Recovery techniques are heavily dependent upon the existence of a special file known as a system log. It contains information about the start and end of each transaction and any updates which occur in the transaction. The log keeps track of all transaction operations that affect the values of database items. This information is needed to recover from transaction failure.

A transaction T reaches its commit point when all its operations that access the database have been executed successfully i.e. the transaction has reached the point at which it will not abort (terminate without completing). Once committed, the transaction is permanently recorded in the database. Commitment always involves writing a commit entry to the log and writing the log to disk. At the time of a system crash, item is searched back in the log for all transactions T that have written a start_transaction(T) entry into the log but have not written a commit(T) entry yet; these transactions may have to be rolled back to undo their effect on the database during the recovery process

Backup techniques:-

Full database backup In this full database including data and database, Meta information needed to restore the whole database, including full-text catalogs are backed up in a predefined time series.

Differential backup It stores only the data changes that have occurred since last full database backup.

Transaction log backup In this, all events that have occurred in the database, like a record of every single statement executed is backed up. It is the backup of transaction log entries and contains all transaction that had happened to the database.

Integrity

Integrity is the assurance that the information being accessed has not been altered and truly represents what is intended. Integrity can be lost unintentionally, such as when a computer power surge corrupts a file or someone authorized to make a change accidentally deletes a file or enters incorrect information.

In order to ensure the confidentiality, integrity, and availability of information, organizations can choose from a variety of tools.

Under committed access, if the server crashes, Essbase rolls back all database updates by transactions that were in progress when the server stopped, ensuring that changes made by the aborted transactions are undone.

After a server interruption such as a crash, Essbase recovers a database, rolling back all transactions that were active when the interruption occurred. Recovery time depends on the index size. The larger the index, the longer it takes.

Recovery phases:

- Transaction recovery rolls back all transactions that were active when the interruption occurred.

- Index file recovery truncates files to their previously committed sizes.

- Data free space recovery rebuilds the data free space tables. The size of the index determines the duration of this phase

When Power loss on server, Essbase Server stops. When you restart the server, Essbase recovers the database.

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

Thankyou !!

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
sustainability is high on the agenda of many major global corporations. What steps would you take...
sustainability is high on the agenda of many major global corporations. What steps would you take to make sure that your International company stays educated?
sustainability is high on the agenda of many major global corporations. What steps would you take...
sustainability is high on the agenda of many major global corporations. What steps would you take to make sure that your International company stays educated?
how would you approach implementing ISO9000 in your company? Define at least 10 steps in chronological...
how would you approach implementing ISO9000 in your company? Define at least 10 steps in chronological order.
unless you develop plans and take steps during your lifetime to accumulate, preserve and distribute your...
unless you develop plans and take steps during your lifetime to accumulate, preserve and distribute your wealth upon your death, chances are that your heirs and beneficiaries will receive only a part of your estate. It would be a shame if your lack of action reduced what your dependents are due.It would also be a burden to your loved ones if you died early and they had unexpected expenses and responsibilities. What do you believe your responsibilities should be now...
3.6.1 Let’s take some baby steps. Step 1: Replace wire with single point charge. You and...
3.6.1 Let’s take some baby steps. Step 1: Replace wire with single point charge. You and a friend have been given the task of designing a display for the Physics building that will demonstrate the strength of the electric force. Your friend comes up with an idea that sounds neat theoretically, but you are not sure it is practical. She suggests you use an electric force to hold a marble in place on a sloped plywood ramp. She would get...
To assess your personal risk for developing osteoporosis and bring awareness to steps you can take...
To assess your personal risk for developing osteoporosis and bring awareness to steps you can take today to reduce those risks. Inadequate calcium in the diet is just one of many risk factors for osteoporosis. Heredity plays an important role as well as many other life style factors. A self assessment from the resource below will provide you a quick picture of your osteoporosis risk down the road. This is a disease of aging and can be prevented. Take steps...
When you rub the balloon through your hair, invisible electrons (with a negative charge) build up...
When you rub the balloon through your hair, invisible electrons (with a negative charge) build up on the surface of the balloon. This is called static electricity, which means “non-moving electricity” The electrons have the power to pull very light objects (with a positive charge) toward them – like the soda can. 1) Scientists were able to create electric charge only on nonmetallic materials and never on metals. Please explain why? 2) How much water can you put in the...
Hello, Please explain the steps of the solution thoroughly. Thank you in advance for your time!...
Hello, Please explain the steps of the solution thoroughly. Thank you in advance for your time! Bond contract rate = 7% semi-annual Bond par                 = $10,000 Bond market rate   = 6% semi-annual Bond life                   = 10 years Find the selling price of this bond Will it be sold at a discount or premium? Do the journal entry for the issuance Calculate the discount/premium amortization per period (use the straight-line method) Do the entry for the payment of cash interest per period Do the...
3) A) Suppose a company is contemplating investing in a project that would pay out $50,000...
3) A) Suppose a company is contemplating investing in a project that would pay out $50,000 3 years from today. The company would finance the cost of the investment with equity. The company’s return on equity from the balance sheet has remained steady at 15% per year. What is the most the company should pay for the investment B) What if you started investing in your retirement on the day you were born. Say your parents invested $2,000 that day...
Like explained in the experiment, suppose you first charge the capacitors in your RC circuit until...
Like explained in the experiment, suppose you first charge the capacitors in your RC circuit until the potential difference on the capacitor saturates at some initial value supplied by the power supply. Then you start to discharge your capacitor and read the potential difference on the capacitor in at different times. When you plot your data as lnV versus time, you make a linear fit which looks like the one on page 5 of your lab sheet. If the slope...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT