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 > How are Long Transactions Calculated?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-27-04, 03:07
pathri pathri is offline
Registered User
 
Join Date: Apr 2004
Location: zxczxczxc
Posts: 52
How are Long Transactions Calculated?

HI,
I want to know whether the server uses rowsize*noofrows or the actual size of the row(actual data stored in the row,some columns contain data less than their declared values, like char columns) multiplied by no of rows for calculating Long transactions.

Example
I have a table

Table1 (x char(10),y char(20),z integer).

I insert the rows
Table1("123","345",123)
The rowsize of the table is 30+integersize bytes

But the actual rowsize is 3+3+integer bytes.

Does the server use the former or the later calculation for Long transactions.


bye
__________________
zxczxczc
Reply With Quote
  #2 (permalink)  
Old 04-27-04, 05:08
RobP RobP is offline
Registered User
 
Join Date: Mar 2004
Location: Netherlands
Posts: 183
Answer: Neither

It is not really calculated. It just looks at the space in the logical logs between the begin work statement and the current log position. If this space is larger then the specified percentage (LTXHWM), than IDS will trigger a long transaction event.

So it is based on the space used, not calculated.

Hope this helps,

Rob Prop
Reply With Quote
  #3 (permalink)  
Old 05-24-04, 03:56
supinformix supinformix is offline
Registered User
 
Join Date: Apr 2004
Location: Brussels
Posts: 57
And the space used in the log files starting from "begin work" is also consumed by concurrent users.
The more concurrent users with tranansactions, the less space you can use before the system detects a LONG TRANSACTION.
__________________
Yves & Willy
Reply With Quote
Reply

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