Transaction management system pdf




















T1 is the same as we have seen earlier, while T2 is a new transaction. If we prepare a serial schedule, then either T1 will completely finish before T2 can begin, or T2 will completely finish before T1 can begin. However, if we want to create a concurrent schedule, then some Context Switching need to be made, so that some portion of T1 will be executed, then some portion of T2 will be executed and so on.

For example say we have prepared the following concurrent schedule. No problem here. We have made some Context Switching in this Schedule, the first one after executing the third instruction of T1, and after executing the last statement of T2. It is clear that a proper Context Switching is very important in order to maintain the Consistency and Isolation properties of the transactions.

But let us take another example where a wrong Context Switching can bring about disaster. Consider the following example involving the same T1 and T2. This schedule is wrong, because we have made the switching at the second instruction of T1. The result is very confusing. In the above example, we detected the error simple by examining the schedule and applying common sense. But there must be some well formed rules regarding how to arrange instructions of the transactions to create error free concurrent schedules.

This brings us to our next topic, the concept of Serializability. When several concurrent transactions are trying to access the same data item, the instructions within these concurrent transactions must be ordered in some way so as there are no problem in accessing and releasing the shared data item. Conflict Serializability deals with detecting whether the instructions are conflicting in any way, and specifying the order in which these two instructions will be executed in case there is any conflict.

A conflict arises if at least one or both of the instructions is a write operation. The following rules are important in Conflict Serializability:. It may happen that we may want to execute the same set of transaction in a different schedule on another day.

Keeping in mind these rules, we may sometimes alter parts of one schedule S1 to create another schedule S2 by swapping only the non-conflicting parts of the first schedule. The conflicting parts cannot be swapped in this way because the ordering of the conflicting instructions is important and cannot be changed in any other schedule that is derived from the first.

If these two schedules are made of the same set of transactions, then both S1 and S2 would yield the same result if the conflict resolution rules are maintained while creating the new schedule.

In that case the schedule S1 and S2 would be called Conflict Equivalent. View Serializability: This is another type of serializability that can be derived by creating another schedule out of an existing schedule, involving the same set of transactions.

These two schedules would be called View Serializable if the following rules are followed while creating the second schedule out of the first. Let us consider that the transactions T1 and T2 are being serialized to create two different schedules S1 and S2 which we want to be View Equivalent and both T1 and T2 wants to access the same data item. Home About Contact Feedback Sitemap. Upload Now you can upload your notes at EazyNotes.

Transaction Management Share. Our Other Websites www. Insert your ATM card. Select language for your transaction. Select Savings Account option. Enter the amount you want to withdraw. Enter your secret pin. Wait for some time for processing. Collect your Cash. Trasaction Completed.

Three operations can be performed in a transaction as follows. Skip to content. Change Language. Related Articles. Download Download PDF. Translate PDF. A functional information system consists of several smaller information systems that support specific activities performed in the functional area.

The specific IS applications in any functional area can be integrated to form a coherent departmental functional system, or they can be completely independent. Functional information systems interface with each other to form the organization-wide information system. Some organizational information systems interface with the environment. Transaction Processing Systems TPS Meliputi data maintenance, yaitu menyediakan, mengupdate serta menyimpan data dan Business process redesign BPR , yaitu mempelajari, menganalisa dan merancang ulang proses transaksi dasar untuk mengurangi biaya dan atau meningkatkan nilai tambah.

Data collection 2. Data editing 3. Data correction 4.



0コメント

  • 1000 / 1000