System and method for supporting common transaction identifier (XID) optimization based on resource manager (RM) instance awareness in a transactional environment
First Claim
Patent Images
1. A method for supporting transaction processing in a transactional system comprising:
- a plurality of transactional servers including a first group of transactional servers including a first transaction manger and a second group of transactional servers including a second transaction manager, and a plurality of resource manager instances for managing access to a database, the method comprising;
receiving a global transaction from said plurality of transactional servers directed via said first transaction manager and said second transaction to a shared resource manager instance of said plurality of resource manager instances;
using the first transaction manager in the first group of transactional servers as the coordinator for said global transaction;
propagating, via the coordinator for said global transaction, a common transaction identifier and information for said resource manager instance to both of said first transaction manager and second transaction manager participating in said global transaction in the transactional environment;
allowing said first transaction manager and second transaction manager which share said shared resource manager instance, to use the common transaction identifier; and
processing the global transaction, via the coordinator and shared resource manager instance using one transaction branch.
2 Assignments
0 Petitions
Accused Products
Abstract
A system and method can support transaction processing in a transactional environment. A coordinator for a global transaction operates to propagate a common transaction identifier and information for a resource manager instance to one or more participants of the global transaction in the transactional environment. The coordinator allows said one or more participants, which share resource manager instance with the coordinator, to use the common transaction identifier, and can process the global transaction for said one or more participants that share the resource manager instance using one transaction branch.
56 Citations
18 Claims
-
1. A method for supporting transaction processing in a transactional system comprising:
-
a plurality of transactional servers including a first group of transactional servers including a first transaction manger and a second group of transactional servers including a second transaction manager, and a plurality of resource manager instances for managing access to a database, the method comprising; receiving a global transaction from said plurality of transactional servers directed via said first transaction manager and said second transaction to a shared resource manager instance of said plurality of resource manager instances; using the first transaction manager in the first group of transactional servers as the coordinator for said global transaction; propagating, via the coordinator for said global transaction, a common transaction identifier and information for said resource manager instance to both of said first transaction manager and second transaction manager participating in said global transaction in the transactional environment; allowing said first transaction manager and second transaction manager which share said shared resource manager instance, to use the common transaction identifier; and processing the global transaction, via the coordinator and shared resource manager instance using one transaction branch. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A system for supporting transaction processing in a transactional environment, comprising:
-
a plurality of networked computer systems each comprising one or more microprocessor and memory; a plurality of transactional servers operating on said plurality of networked computer systems, wherein said plurality of transactional servers include a first group of transactional servers including a first transaction manger, and a second group of transactional servers including a second transaction manager; a database; a plurality of resource manager instances for managing access to the database; wherein said plurality of transactional servers are configured to generate a global transaction directed via said first transaction manager and said second transaction to a shared resource manager instance of said first plurality of resource manager instances and second plurality of resource manager instances; wherein the first transaction manager functions as the coordinator for the global transaction; wherein the coordinator for said global transaction is configured to propagate a common transaction identifier and information for said resource manager instance to both of said first transaction manager and second transaction manager participating in said global transaction in the transactional environment; wherein said first transaction manager and second transaction manager which share said shared resource manager instance are configured to use the common transaction identifier to coordinate the global transaction; and wherein the coordinator is configured to process the global transaction, via the coordinator and shared resource manager instance to the database, using one transaction branch. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17)
-
-
18. A non-transitory machine readable storage medium having instructions stored thereon for supporting transaction processing in a transactional system comprising:
-
a plurality of transactional servers including a first group of transactional servers including a first transaction manger and a second group of transactional servers including a second transaction manager, and a plurality of resource manager instances for managing access to a database, which instructions, when, executed, cause the transactional system to perform steps comprising; receiving a global transaction from said plurality of transactional servers directed via said first transaction manager and said second transaction to a shared resource manager instance of said first plurality of resource manager instances and second plurality of resource manager instances; using the first transaction manager in the first group of transactional servers as the coordinator for said global transaction; propagating, via the coordinator for said global transaction, a common transaction identifier and information for said resource manager instance to both of said first transaction manager and second transaction manager participating in said global transaction in the transactional environment; allowing said first transaction manager and second transaction manager which share said shared resource manager instance, to use the common transaction identifier; and processing the global transaction, via the coordinator and shared resource manager instance using one transaction branch.
-
Specification