Re: XA and NON-XA Transactions
- From: "Gert E.R. Drapers" <GertD@SQLDevNet>
- Date: Wed, 4 May 2005 00:19:46 +0200
sp_cursoropen can be part of both transaction types.
GertD@xxxxxxxxxx
Please reply only to the newsgroups.
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use.
Copyright © SQLDev.Net 1991-2005 All rights reserved.
"chinn" <chinn@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:3372D66E-E3A9-4CFB-A2D0-17FE2521BF7B@xxxxxxxxxxxxxxxx
> Ok then..all the DTC transactions are XA transactions and all the
> sp_Cursoropen
> statements are non-xa transactions am i right,because i wanted to see
> where
> there
> are more xa or non-xa transactions coming to the database i wanted to
> change
> the selctmode to direct instead of cursor ..just to try but the vendor of
> one particular app says it wouldn't work for xa datasources so i wanted to
> see if there
> are more xa or non-xa transactions so that if we change for non-xa.it will
> make the difference.
>
> Thanks Very Much..
>
>
>
> "Gert E.R. Drapers" wrote:
>
>> If it is an XA transaction there will be a distributed transaction
>> started,
>> so if you include event 19, DTCTransaction with columns for
>> EventSubClass,
>> TextData and BinaryData, you will see the distributed transaction events,
>> which if they come from a JDBC clients are XA events. You will not see
>> the
>> XA info inside SQL, since SQL does not understand XA directly, it gets
>> mapped using xaswitch in to a MS-DTC transaction, in to which SQL Server
>> will enlist.
>>
>> GertD@xxxxxxxxxx
>>
>> Please reply only to the newsgroups.
>> This posting is provided "AS IS" with no warranties, and confers no
>> rights.
>> You assume all risk for your use.
>> Copyright © SQLDev.Net 1991-2005 All rights reserved.
>>
>> "chinn" <chinn@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
>> news:B9EF0F66-A379-4073-8E4E-08CC61861D81@xxxxxxxxxxxxxxxx
>> > Hello,
>> >
>> > In a profiler how to find out if a particular transaction is an XA
>> > transaction or an non-XA transaction.
>> >
>> > Thanks In Advnace!
>> >
>>
>>
>>
.
- References:
- Re: XA and NON-XA Transactions
- From: Gert E.R. Drapers
- Re: XA and NON-XA Transactions
- From: chinn
- Re: XA and NON-XA Transactions
- Prev by Date: Re: cancelled at the user's request
- Next by Date: Re: cancelled at the user's request
- Previous by thread: Re: XA and NON-XA Transactions
- Next by thread: Re: DISTINCT not working
- Index(es):
Relevant Pages
|
Loading