If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > Long Transaction aborted

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-15-11, 07:06
wnoori wnoori is offline
Registered User
 
Join Date: Mar 2011
Posts: 1
Unhappy Long Transaction aborted

Hi Friends,

Following is environment details.

Informix version = IBM Informix Dynamic Server Version 11.50.FC6
Table name = daily_records
Total Columns = 210
No of rows = 64 Millions
Size of Logical Logs = 10 GB
Transaction/minutes = 50
Existing no of indexes = 24
Reference/referenced tables = 0

OnConfig Settings related to long transaction:

LTXHWM 50
LTXEHWM 60


we were creating online index on two columns i-e date (datetime),status(char(1)). After 14 hours we got error long transaction aborted error. Here are my two questions

1. How to calculate INDEX size in informix? (if possible share any formula)
2. What steps should we do to avoid long transaction issue? Increase logical logs or modify some parameters of onconfig file?
3. Any other things we can look?

Regards,
Waseem
Reply With Quote
  #2 (permalink)  
Old 03-15-11, 08:17
InformixWilli InformixWilli is offline
Registered User
 
Join Date: Sep 2010
Location: Germany, Brunswick
Posts: 52
There are some ways to avoid the long transaction:
- increase logical logs, you could create some in your datadbs
- increase LTXHWM and LTXEHWM
- set the log mode to no log, create index and set the log mode back
- create a new empty table with the index and then copy the data to the new table
- little crazy way: set LTXHWM and LTXEHWM to 100 and DYNAMIC_LOGS to 2

I think there is no easy way to calculate the index size because it depends on the data.
__________________
WilhelmW
IBM Certified Database Associate

wilhelmw.de - www.isr.de
Reply With Quote
Reply

Tags
long transactions

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On