Question

In: Computer Science

1. A transaction is sequence of database operations that access the database. list and explain the...

1. A transaction is sequence of database operations that access the database. list and explain the six states in which a transaction can exit.

2. Explain the techniques that transaction recovery procedures follow.

Solutions

Expert Solution

1. There are a total of six states in which a database transaction can exist.

  1. Active : It is the first state of a transaction, and a transaction remains active till its getting executed.
  2. Partially Committed State : Just before the transaction is getting completed, that is when the last instruction is finished, the transaction enters into partially committed state but not in fully, as the transaction remains in memory buffer.
  3. Committed State : When a transaction completed successfully, it stores all the data in database and then enters into the state called committed. It can not be rolled back after that, even if the hardware or software crashes.
  4. Failed : When a transaction enters into a partially committed state and due to some reason(either hardware or software crashes or power failure or anything) the transaction is unable to execute further then it enters into failed state where all the forward instructions are unreachable.
  5. Aborted : After getting failed, the transaction needs to rollback all the events it did till the partially committed state to preserve the previous state before the transaction started. After rolling back transaction gets aborted.
  6. Terminated : After getting successfully committed or aborted the transaction comes to an end which is the last step of its lifecycle. This state is called terminated.

Related Solutions

Database - SQL - Operations CS 203 Discrete Structure 2 Create a Microsoft Access Database consisting...
Database - SQL - Operations CS 203 Discrete Structure 2 Create a Microsoft Access Database consisting of the following two tables: Part_needs and Parts_Inventory Part_needs Supplier Part_number Project 23 1092 1 23 1101 3 23 9048 4 31 4975 3 31 3477 2 32 6984 4 32 9191 2 33 1001 1 Parts_Inventory Part_number Project Quantity Color_code 1001 1 14 8 1092 1 2 2 1101 3 1 1 3477 2 25 2 4975 3 6 2 6984 4 10...
1.Create a Database in Access with the information The database must include: Database name: Monaco Enterprise  Mark...
1.Create a Database in Access with the information The database must include: Database name: Monaco Enterprise  Mark Johnson #87451 Table name: Contacts Delete the Primary key. Fields name and data type are (remember to choose the data type): Field Name Data Types Employee Name Short text Name Short text Last Name Short Text Work Yes/No 2.Go to the “Datasheet View” and enter the data. * Remember to save the table. 3.Move the last name field after the employee name. 4.The (data)...
Explain why a database and a database management system are fundamental to business operations. Short Essay...
Explain why a database and a database management system are fundamental to business operations. Short Essay Question
1. Download the EXCEL file: Access Exercise Tables 2. Open a new blank database in ACCESS...
1. Download the EXCEL file: Access Exercise Tables 2. Open a new blank database in ACCESS and name it “Exercise-Your Name” where you replace Your Name with your name. 3. Import each worksheet in the EXCEL file into ACCESS as a separate table as follows: a. External Data Tab -> Import Excel icon b. In the dialog box browse for the destination of the excel file you saved in step 1, it should default to “import the source data in...
1.Explain the difference between file-oriented transaction processing systems and relational database systems. Discuss the advantages and...
1.Explain the difference between file-oriented transaction processing systems and relational database systems. Discuss the advantages and disadvantages of each system. 2. What is the difference in logical view and physical view? 3. Describe the differences between the data definition language (DDL), data manipulation language (DML), and the data query language (DQL). 4. Describe a data dictionary. 5. Explain the relational database data model.
how do you access the icf crosswalk database?
how do you access the icf crosswalk database?
Your organization's database needs include the following: Multiple departments will require access to the database, including...
Your organization's database needs include the following: Multiple departments will require access to the database, including eCommerce, manufacturing, sales, and customer service Employees will use the database to: Enter data Reference data Use data to auto-populate new orders and customer service records Analyze data and create reports Recommend three of the following six database architecture types that would work for your organization: Hierarchical Network Relational Distributed Relational Object-Oriented Cloud Include the following in your recommendation: Your top three recommended architectures,...
list and explain the internal and external factors that an organization need to access for formation...
list and explain the internal and external factors that an organization need to access for formation of successful stratergies
Mainstream spreadsheet and database software, such as Excel and Access, are often sufficient for analyzing the...
Mainstream spreadsheet and database software, such as Excel and Access, are often sufficient for analyzing the variety and volume presented by big data. T or F ? Organizations that spend more on legacy systems tend to experience a lower incidence of security breaches. True or False ? One of the challenges the accounting profession faces is that the tools accountants have traditionally used are ill-equipped for analyzing the types and quantity of data present in big data. True or Flase
Fortunately, once an application that accesses a database is tuned for optimal relational access to the...
Fortunately, once an application that accesses a database is tuned for optimal relational access to the data, there is never any performance degradation after that. .True .False 2 Monitoring a database system for performance management purposes means to watch the system as it runs, paying particular attention to statistics gathered by the RDBMS . True . False 3. RDBMS, in general, during normal operational use, use _______________ cache(s). Choose the best answer a. exactly two b. no c. a number...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT