Join IIUG
 for   
 

Informix News
18 Nov 13 - ZDNet - Top 20 mobile skills in demand... Read
09 Sep 13 - telecompaper - Shaspa and Tatung have shown a new smart home platform at Ifa in Berlin. Powered by the IBM Informix software... Read
06 Sep 13 - IBM data magazine - Mission Accomplished - Miami, Florida will be the backdrop for the 2014 IIUG Informix Conference... Read
01 Feb 13 - IBM Data Magazine - Are your database backups safe? Lester Knutsen (IBM Champion) writes about database back up safety using "archecker"... Read
14 Nov 12 - IBM - IBM's Big Data For Smart Grid Goes Live In Texas... Read
3 Oct 12 - The Financial - IBM and TransWorks Collaborate to Help Louisiana-Pacific Corporation Achieve Supply Chain Efficiency... Read
28 Aug 12 - techCLOUD9 - Splunk kicks up a SaaS Storm... Read
10 Aug 12 - businessCLOUD9 - Is this the other half of Cloud monitoring?... Read
3 Aug 12 - IBM data management - Supercharging the data warehouse while keeping costs down IBM Informix Warehouse Accelerator (IWA) delivers superior performance for in-memory analytics processing... Read
2 Aug 12 - channelbiz - Oninit Group launches Pay Per Pulse cloud-based service... Read
28 May 12 - Bloor - David Norfolk on the recent Informix benchmark "pretty impressive results"... Read
23 May 12 - DBTA - Informix Genero: A Way to Modernize Informix 4GL Applications... Read
9 Apr 12 - Mastering Data Management - Upping the Informix Ante: Advanced Data Tools... Read
22 Mar 12 - developerWorks - Optimizing Informix database access... Read
14 Mar 12 - BernieSpang.com - International Informix User Group set to meet in San Diego... Read
1 Mar 12 - IBM Data Management - IIUG Heads West for 2012 - Get ready for sun and sand in San Diego... Read
1 Mar 12 - IBM Data Management - Running Informix on Solid-State Drives.Speed Up Database Access... Read
26 Feb 12 - BernieSpan.com - Better results, lower cost for a broad set of new IBM clients and partners... Read
24 Feb 12 - developerWorks - Informix Warehouse Accelerator: Continuous Acceleration during Data Refresh... Read
6 Feb 12 - PRLOG - Informix port delivers unlimited database scalability for popular SaaS application ... Read
2 Feb 12 - developerWorks - Loading data with the IBM Informix TimeSeries Plug-in for Data Studio... Read
1 Feb 12 - developerWorks - 100 Tech Tips, #47: Log-in to Fix Central... Read
13 Jan 12 - MC Press online - Informix Dynamic Server Entices New Users with Free Production Edition ... Read
11 Jan 12 - Computerworld - Ecologic Analytics and Landis+Gyr -- Suitors Decide to Tie the Knot... Read
9 Jan 12 - planetIDS.com - DNS impact on Informix / Impacto do DNS no Informix... Read
8 Sep 11 - TMCnet.com - IBM Offers Database Solution to Enable Smart Meter Data Capture... Read
1 Aug 11 - IBM Data Management Magazine - IIUG user view: Happy 10th anniversary to IBM and Informix... Read
8 Jul 11 - Database Trends and Applications - Managing Time Series Data with Informix... Read
31 May 11 - Smart Grid - The meter data management pitfall utilities are overlooking... Read
27 May 11 - IBM Data Management Magazine - IIUG user view: Big data, big time ( Series data, warehouse acceleration, and 4GLs )... Read
16 May 11 - Business Wire - HiT Software Announces DBMoto for Enterprise Integration, Adds Informix. Log-based Change Data Capture... Read
21 Mar 11 - Yahoo! Finance - IBM and Cable&Wireless Worldwide Announce UK Smart Energy Cloud... Read
14 Mar 11 - MarketWatch - Fuzzy Logix and IBM Unveil In-Database Analytics for IBM Informix... Read
11 Mar 11 - InvestorPlace - It's Time to Give IBM Props: How many tech stocks are up 53% since the dot-com boom?... Read
9 Mar 11 - DBTA - Database Administration and the Goal of Diminishing Downtime... Read
2 Feb 11 - DBTAs - Informix 11.7 Flexible Grid Provides a Different Way of Looking at Database Servers... Read
27 Jan 11 - exactsolutions - Exact to Add Informix Support to Database Replay, SQL Monitoring Solutions... Read
25 Jan 11 - PR Newswire - Bank of China in the UK Works With IBM to Become a Smarter, Greener Bank... Read
12 Oct 10 - Database Trends and Applications - Informix 11.7: The Beginning of the Next Decade of IBM Informix... Read
20 Sep 10 - planetIDS.com - ITG analyst paper: Cost/Benefit case for IBM Informix as compared to Microsoft SQL Server... Read
20 Jul 10 - IBM Announcements - IBM Informix Choice Edition V11.50 helps deploy low-cost scalable and reliable solutions for Apple Macintosh and Microsoft Windows... Read
20 Jul 10 - IBM Announcements - Software withdrawal: Elite Support for Informix Ultimate-C Edition... Read
24 May 10 - eWeek Europe - IBM Supplies Database Tech For EU Smart Grid... Read
23 May 10 - SiliconIndia - IBM's smart metering system allows wise use of energy... Read
21 May 10 - CNET - IBM to help people monitor energy use... Read
20 May 10 - ebiz - IBM Teams With Hildebrand To Bring Smart Metering To Homes Across Britain... Read
19 May 10 - The New Blog Times - Misurare il consumo energetico: DEHEMS è pronto... Read
19 May 10 - ZDNet - IBM software in your home? Pact enables five-city smart meter pilot in Europe... Read
17 March 10 - ZDNet (blog) David Morgenstern - TCO: New research finds Macs in the enterprise easier, cheaper to manage than... Read
17 March 2010 - Virtualization Review - ...key components of Big Blue's platform to the commercial cloud such as its WebSphere suite of application ser vers and its DB2 and Informix databases... Read
10 February 2010 - The Wall Street Journal - International Business Machines is expanding an initiative to win over students and professors on its products. How do they lure the college crowd?... Read


End of Support Dates

IIUG on Facebook IIUG on Twitter

[ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

IDS Forum

Remote LONGTX with no userthread in 9.30 UC6 W4

Posted By: Gentsch, Sam
Date: Monday, 17 May 2004, at 4:42 p.m.


...forgive the long copy, but it has been a while, I'll post at the top to save you time...

What is the difference in the following commands?
onmode -H <address> forget heuristically completed transaction
onmode -Z <address> heuristically complete specified transaction

The admin guide says the -Z places an ENDTRANS (after a ROLLBACK) into the logical log, but what does the -H do?

Would the -Z have also worked in the scenario of the following post?

(I recently had the same situation, and the -H did the trick. I just found the section in the Admin Guide -The Heuristic Rollback Scenario this and am wondering if I did the right thing and what to do next time!).

Thanks!
Sam Gentsch

>Message 3 in thread
>From: Jonathan Leffler
>Subject: Re: Remote LONGTX with no userthread in 9.30 UC6 W4
>
>> rdtbra wrote:
>>> We use here IDS 9.30.UC6W4, running in SunOS 5.7. Both Informix
>>> and Solaris are 32 bits. For the second time we have reached a
>>> situation where the instance shows a LONG TRANSACTION marked with
>>> flags --H--G and userthread 0. When this instance is started,
>>> after the fast recovery it instantly is signed as OnLine (LONGTX)
>>> and the second header line shows the instance as blocked.
>>>
>>> On our message file, there is an indication of a distributed
>>> transaction as follows:
>>>
>>> 17:42:04 Aborting Long Transaction: tx 0x83dceef8 no user info due to
>>> XA or distributed (2-phase commit) transaction
>>> 17:42:04 Aborting Long Transaction: tx 0x83dced28 no user info due to
>>> XA or distributed (2-phase commit) transaction
>>> 17:42:04 Session completed abnormally. Rolling back tx id 170, flags
>>> 0x108463b
>>> 17:42:04 Session completed abnormally. Rolling back tx id 80, flags
>>> 0x108463b
>>>
>>> 17:58:09 Aborting Long Transaction: tx 0x83dceb58 no user info due to
>>> XA or distributed (2-phase commit) transaction
>>>
>>> After this, the instance is blocked, and the following appeared in our
>>> message log:
>>>
>>> 20:29:30 Logical Recovery has reached the transaction cleanup phase.
>>> 20:29:30 Logical Recovery Complete.
>>> 0 Committed, 0 Rolled Back, 3 Open, 0 Bad Locks
>>>
>>> 20:29:31 Dataskip is now ON for all dbspaces
>>> 20:29:32 Checkpoint Completed: duration was 1 seconds.
>>> 20:29:32 Checkpoint loguniq 109671, logpos 0x15018
>>>
>>> 20:29:32 Maximum server connections 0
>>> 20:29:32 Blocking on XA transaction, tx 0x83dceb58, till it is
>>> cleaned up.
>>> 20:29:32 Blocking on XA transaction, tx 0x83dced28, till it is
>>> cleaned up.
>>> 20:29:32 Blocking on XA transaction, tx 0x83dceef8, till it is
>>> cleaned up.
>>> 20:29:32 On-Line Mode
>>>
>>> The only solution was to call 24x7, and the problem was solved. They
>>> used an utility to clear the transactions.
>>>
>>> Unfortunatelly there was a second occurrence yesterday. Additional
>>> information:
>>>
>>> Applications using Oledb with .NET.
>>> Applications using ODBC.
>>> Applications using ESQL/C.
>
>MTS - M$ Transaction Server/Service? Is anything on the client side
>using that?
>
>>> The only distributed transaction is a .NET application that opens two
>>> connections with the same instance but two different databases.
>
>Do you know if any other database servers are involved? Or is it all
>strictly local to the current IDS server?
>
>Of itself, two separate connections are simply two separate
>connections, but .NET might be making them into one XA transaction.
>In which case, the question is - why is the XA coordinator dying? Or,
> roughly equivalently - who is turning off their PC and not
>restarting it? Or who's machine is BSoD'ing and not rebooting in a
>timely manner? Who's cleaning lady pulls the plug out from their PC
>each night?
>
>>> Does anyone has any ideas of what might be causing this situation?
>>
>> What does onstat -x show? This will detail the actual transaction.
>>
>> Ensure that all you distributed transactions use the TCP connections
>> from server to server.
>>
>> onmode -H 0x83dceef8
>>
>> might have worked in this situation.
>>
>> onmode -H <address> forget heuristically completed transaction
>
>These suggestions are, I think, reasonable.
>
>Heuristic rollbacks are inherently unsatisfactory, but until you know
>why the XA coordinator is not around, it may be your best workaround -
>more satisfactory than having Informix support come in to do that.
>
>Although the errors mention two phase (distributed) transactions,
>unless there is another IDS server that could also be in use - and it
>would be having recovery problems too, and it would be the coordinator
>system for the transactions - then the problem is that the XA
>coordinator is dying and not reappearing in a timely manner. And, as
>I suggested, that sounds like a PC using MTS that is not shutting up
>shop properly - nor restarting reliably. Since the problems happened
>in the evening (quarter to six; eight o'clock0), this is a
>semi-plausible hypothesis.
>
>I wonder; could the XA coordinator be on a DHCP host, which doesn't
>get the same IP address when it is restarted? That could screw things
>up totally. I don't know whether IDS would allow a different IP
>address to identify the original GTRID and close the transaction, or
>whether IDS would say "well, that GTRID was not originated by your
>(new DHCP) IP address, so I can say I know nothing about the XA TX; we
>can presume it was aborted", while still waiting for the original IP
>address to ask about the GTRID - or say that it was rolled back.
>
>--
>Jonathan Leffler #include <disclaimer.h>
>Email:
>Guardian of DBD::Informix v2003.04 -- http://dbi.perl.org/
>


[ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

IDS Forum is maintained by Administrator with WebBBS 5.12.