Hi Chris,
Thanks a lot for your help.
As per your suggestion, I increased the –iqrlvmem to 4096
And also, set option public.RV_Auto_Merge_Eval_Interval = 1
But, still have the same behavior.
Here you can see the state of the IQ server just a few seconds before it hang.
select SpCount/2 from
sp_iqtransaction()
where TxnID = 119410926
SELECT TOTAL FROM sp_iqrlvmemory('myTable', 'DBA')
exec sp_iqstatus
sp_iqtransaction.SpCount/2
-----------------------------
72607.5 (approximate number of tables already loaded on the RLV part of the table)
1 record(s) selected [Fetch MetaData: 0ms] [Fetch Data: 0ms]
TOTAL
--------
252
1 record(s) selected [Fetch MetaData: 0ms] [Fetch Data: 0ms]
1 record(s) affected
Name Value
-------------------------------------------- -----------------------------------------------------------------------------------
Sybase IQ (TM) Copyright (c) 1992-2013 by SAP AG or an SAP affiliate company. All rights reserved.
Version: 16.0.0.653/131122/P/sp03/Sun_Sparc/OS 5.10/64bit/2013-11-22 01:16:26
Time Now: 2014-04-01 15:10:00.672
Build Time: 2013-11-22 01:16:26
File Format: 23 on 03/18/1999
Server mode: IQ Server
Catalog Format: 2
Stored Procedure Revision: 1
Page Size: 131072/8192blksz/16bpp
Number of Main DB Files: 4
Main Store Out Of Space: N
Number of Cache Dbspace Files: 0
Number of Shared Temp DB Files: 0
Shared Temp Store Out Of Space: N
Number of Local Temp DB Files: 1
Local Temp Store Out Of Space: N
DB Blocks: 1-8716280 IQ_SYSTEM_MAIN_16384
DB Blocks: 9408960-18125239 IQ_SYSTEM_MAIN_2_16387
DB Blocks: 19863360-22484791 SF1
DB Blocks: 22999680-24965759 IQ_RLVFile1
Local Temp Blocks: 1-1966072 IQ_SYSTEM_TEMP_16388
Create Time: 2011-08-07 09:24:11.169
Update Time: 2014-04-01 14:52:51.422
Main IQ Buffers: 32652, 4096Mb
Temporary IQ Buffers: 32652, 4096Mb
Main IQ Blocks Used: 3144428 of 21993858, 14%=23Gb, Max Block#: 23117643
Cache Dbspace IQ Blocks Used: 0 of 0, 0%=0Mb, Max Block#: 0
Shared Temporary IQ Blocks Used: 0 of 0, 0%=0Mb, Max Block#: 0
Local Temporary IQ Blocks Used: 113 of 1940472, 0%=0Mb, Max Block#: 241
Main Reserved Blocks Available: 26214 of 26214, 100%=204Mb
Shared Temporary Reserved Blocks Available: 0 of 0, 0%=0Mb
Local Temporary Reserved Blocks Available: 25600 of 25600, 100%=200Mb
IQ Dynamic Memory: Current: 9502mb, Max: 9526mb
Main IQ Buffers: Used: 2251, Locked: 0
Temporary IQ Buffers: Used: 7, Locked: 0
Main IQ I/O: I: L18549/P79 O: C2336/D2740/P2581 D:519 C:39.7
Temporary IQ I/O: I: L110366/P0 O: C2568/D2592/P32 D:2561 C:97.1
Other Versions: 1 = 69Mb
Active Txn Versions: 0 = C:0Mb/D:0Mb
Last Full Backup ID: 119254657
Last Full Backup Time: 2014-03-30 19:00:00
Last Backup ID: 119415062
Last Backup Type: INCR
Last Backup Time: 2014-04-01 15:00:00
DB Updated: 1
Blocks in next ISF Backup: 8928 Blocks: =69Mb
Blocks in next ISI Backup: 0 Blocks: =0Mb
IQ large memory space: 4096Mb
IQ large memory flexible percentage: 50
IQ large memory flexible used: 0Mb
IQ large memory inflexible percentage: 90
IQ large memory inflexible used: 0Mb
IQ large memory anti-starvation percentage: 50
DB File Encryption Status: OFF
RLV memory limit: 4096Mb
RLV memory used: 348Mb
56 record(s) selected [Fetch MetaData: 1ms] [Fetch Data: 2ms]
[Executed: 01/04/2014 3:10:01 PM] [Execution: 140ms]
Follow the last records on the iqmsg file (Note the frequency in with the last records are written):
- I. 04/01 15:10:00. 0000000027 Dictionary: 17247
- I. 04/01 15:10:00. 0000000027 nullBitMap: 132232
- I. 04/01 15:10:00. 0000000027 SubFragArray*s: 64
- I. 04/01 15:10:00. 0000000027 nullWriter*: 24
- I. 04/01 15:10:00. 0000000027 ridMap: 24688
- I. 04/01 15:10:00. 0000000027 allocatedMemory: 16777216
- I. 04/01 15:10:00. 0000000027 inserter*: 1072
- I. 04/01 15:10:00. 0000000027 Size of Tkn-ColFrag for Priority: 88
- I. 04/01 15:10:00. 0000000027 Dictionary: 9471
- I. 04/01 15:10:00. 0000000027 nullBitMap: 132232
- I. 04/01 15:10:00. 0000000027 SubFragArray*s: 64
- I. 04/01 15:10:00. 0000000027 nullWriter*: 24
- I. 04/01 15:10:00. 0000000027 ridMap: 24688
- I. 04/01 15:10:00. 0000000027 allocatedMemory: 16777216
- I. 04/01 15:10:00. 0000000027 inserter*: 1072
- I. 04/01 15:10:00. 0000000027 Size of Tkn-ColFrag for DelayReason: 88
- I. 04/01 15:10:00. 0000000027 Dictionary: 9471
- I. 04/01 15:10:00. 0000000027 ColFrag for ExcludeFlag: 64
- I. 04/01 15:10:00. 0000000027 nullBitMap: 992
- I. 04/01 15:10:00. 0000000027 SubFragArray*s: 64
- I. 04/01 15:10:00. 0000000027 nullWriter*: 24
- I. 04/01 15:10:00. 0000000027 ridMap: 24688
- I. 04/01 15:10:00. 0000000027 allocatedMemory: 262144
- I. 04/01 15:10:00. 0000000027 inserter*: 1072
- I. 04/01 15:10:00. 0000000027 PseudoCol frag: 64
- I. 04/01 15:10:00. 0000000027 nullBitMap: 132232
- I. 04/01 15:10:00. 0000000027 SubFragArray*s: 64
- I. 04/01 15:10:00. 0000000027 SubFragmentFixColumn: 96
- I. 04/01 15:10:00. 0000000027 nullWriter*: 24
- I. 04/01 15:10:00. 0000000027 ridMap: 24688
- I. 04/01 15:10:00. 0000000027 allocatedMemory: 16777216
- I. 04/01 15:10:00. 0000000027 inserter*: 1072
- I. 04/01 15:10:00. 0000000027 ColStore array sizeof: 840
- I. 04/01 15:10:00. 0000000027 Pseudo ColStore sizeof: 48
- I. 04/01 15:10:00. 0000000027 Total: 263865842
- I. 04/01 15:10:00. 0000000027 ExistanceBM: 0
- I. 04/01 15:10:00. 0000000027 ------------------------------------------------
- I. 04/01 15:10:00. 0000000027 Cmt 119415977
- I. 04/01 15:10:00. 0000000027 PostCmt 0
- I. 04/01 15:10:00. 0000000027 Txn 119415978 0 119415978
- I. 04/01 15:10:00. 0000000027 Cmt 119415979
- I. 04/01 15:10:00. 0000000027 PostCmt 0
- I. 04/01 15:10:02. 0000001885 Txn 119415980 0 119415980
- I. 04/01 15:10:02. 0000001885 Cmt 119415981
- I. 04/01 15:10:02. 0000001885 PostCmt 0
- I. 04/01 15:10:04. 0000001886 Txn 119415982 0 119415982
- I. 04/01 15:10:04. 0000001886 Cmt 119415983
- I. 04/01 15:10:04. 0000001886 PostCmt 0
- I. 04/01 15:10:06. 0000001887 TabFrag sizeof: 96
- I. 04/01 15:10:06. 0000001887 ColFrag*s sizeof: 120
- I. 04/01 15:10:06. 0000001887 nullBitMap: 992
- I. 04/01 15:10:06. 0000001887 SubFragArray*s: 64
- I. 04/01 15:10:06. 0000001887 nullWriter*: 24
- I. 04/01 15:10:06. 0000001887 ridMap: 24688
- I. 04/01 15:10:06. 0000001887 allocatedMemory: 16777216
- I. 04/01 15:10:06. 0000001887 inserter*: 1072
- I. 04/01 15:10:06. 0000001887 Size of Tkn-ColFrag for Program: 88
- I. 04/01 15:10:06. 0000001887 Dictionary: 10535
- I. 04/01 15:10:06. 0000001887 nullBitMap: 992
- I. 04/01 15:10:06. 0000001887 SubFragArray*s: 64
- I. 04/01 15:10:06. 0000001887 nullWriter*: 24
- I. 04/01 15:10:06. 0000001887 ridMap: 24688
- I. 04/01 15:10:06. 0000001887 allocatedMemory: 16777216
- I. 04/01 15:10:06. 0000001887 inserter*: 1072
- I. 04/01 15:10:06. 0000001887 Size of Tkn-ColFrag for EncNum: 88
- I. 04/01 15:10:06. 0000001887 Dictionary: 2972353
- I. 04/01 15:10:06. 0000001887 nullBitMap: 992
- I. 04/01 15:10:06. 0000001887 SubFragArray*s: 64
- I. 04/01 15:10:06. 0000001887 nullWriter*: 24
- I. 04/01 15:10:06. 0000001887 ridMap: 24688
- I. 04/01 15:10:06. 0000001887 allocatedMemory: 16777216
- I. 04/01 15:10:06. 0000001887 inserter*: 1072
- I. 04/01 15:10:06. 0000001887 Size of Tkn-ColFrag for MRN: 88
- I. 04/01 15:10:06. 0000001887 Dictionary: 2716353
- I. 04/01 15:10:06. 0000001887 nullBitMap: 992
- I. 04/01 15:10:06. 0000001887 SubFragArray*s: 64
- I. 04/01 15:10:06. 0000001887 nullWriter*: 24
- I. 04/01 15:10:06. 0000001887 ridMap: 24688
- I. 04/01 15:10:06. 0000001887 allocatedMemory: 16777216
- I. 04/01 15:10:06. 0000001887 inserter*: 1072
- I. 04/01 15:10:06. 0000001887 Size of Tkn-ColFrag for IntervalStartDtm: 88
- I. 04/01 15:10:06. 0000001887 Dictionary: 1656530
- I. 04/01 15:10:06. 0000001887 nullBitMap: 992
- I. 04/01 15:10:06. 0000001887 SubFragArray*s: 64
- I. 04/01 15:10:06. 0000001887 nullWriter*: 24
- I. 04/01 15:10:06. 0000001887 ridMap: 24688
- I. 04/01 15:10:06. 0000001887 allocatedMemory: 16777216
- I. 04/01 15:10:06. 0000001887 inserter*: 1072
- I. 04/01 15:10:06. 0000001887 Size of Tkn-ColFrag for IntervalEndDtm: 88
- I. 04/01 15:10:06. 0000001887 Dictionary: 3393473
- I. 04/01 15:10:06. 0000001887 nullBitMap: 992
- I. 04/01 15:10:06. 0000001887 SubFragArray*s: 64
- I. 04/01 15:10:06. 0000001887 nullWriter*: 24
- I. 04/01 15:10:06. 0000001887 ridMap: 24688
- I. 04/01 15:10:06. 0000001887 allocatedMemory: 16777216
- I. 04/01 15:10:06. 0000001887 inserter*: 1072
- I. 04/01 15:10:06. 0000001887 Size of Tkn-ColFrag for IntervalType: 88
- I. 04/01 15:10:06. 0000001887 Dictionary: 10535
- I. 04/01 15:10:06. 0000001887 nullBitMap: 992
- I. 04/01 15:10:06. 0000001887 SubFragArray*s: 64
- I. 04/01 15:10:06. 0000001887 nullWriter*: 24
- I. 04/01 15:10:06. 0000001887 ridMap: 24688
- I. 04/01 15:10:06. 0000001887 allocatedMemory: 16777216
- I. 04/01 15:10:06. 0000001887 inserter*: 1072
- I. 04/01 15:10:06. 0000001887 Size of Tkn-ColFrag for IntervalDuration: 88
- I. 04/01 15:10:06. 0000001887 Dictionary: 140422
- I. 04/01 15:10:06. 0000001887 nullBitMap: 992
- I. 04/01 15:10:06. 0000001887 SubFragArray*s: 64
- I. 04/01 15:10:06. 0000001887 nullWriter*: 24
- I. 04/01 15:10:06. 0000001887 ridMap: 24688
- I. 04/01 15:10:06. 0000001887 allocatedMemory: 16777216
- I. 04/01 15:10:06. 0000001887 inserter*: 1072
- I. 04/01 15:10:06. 0000001887 Size of Tkn-ColFrag for PhysFirstName: 88
- I. 04/01 15:10:06. 0000001887 Dictionary: 14687
- I. 04/01 15:10:06. 0000001887 nullBitMap: 992
- I. 04/01 15:10:06. 0000001887 SubFragArray*s: 64
- I. 04/01 15:10:06. 0000001887 nullWriter*: 24
- I. 04/01 15:10:06. 0000001887 ridMap: 24688
- I. 04/01 15:10:06. 0000001887 allocatedMemory: 16777216
- I. 04/01 15:10:06. 0000001887 inserter*: 1072
- I. 04/01 15:10:06. 0000001887 Size of Tkn-ColFrag for PhysLastName: 88
- I. 04/01 15:10:06. 0000001887 Dictionary: 14687
- I. 04/01 15:10:06. 0000001887 nullBitMap: 132232
- I. 04/01 15:10:06. 0000001887 SubFragArray*s: 64
- I. 04/01 15:10:06. 0000001887 nullWriter*: 24
- I. 04/01 15:10:06. 0000001887 ridMap: 24688
- I. 04/01 15:10:06. 0000001887 allocatedMemory: 16777216
- I. 04/01 15:10:06. 0000001887 inserter*: 1072
- I. 04/01 15:10:06. 0000001887 Size of Tkn-ColFrag for PhysNum: 88
- I. 04/01 15:10:06. 0000001887 Dictionary: 10535
- I. 04/01 15:10:06. 0000001887 nullBitMap: 992
- I. 04/01 15:10:06. 0000001887 SubFragArray*s: 64
- I. 04/01 15:10:06. 0000001887 nullWriter*: 24
- I. 04/01 15:10:06. 0000001887 ridMap: 24688
- I. 04/01 15:10:06. 0000001887 allocatedMemory: 16777216
- I. 04/01 15:10:06. 0000001887 inserter*: 1072
- I. 04/01 15:10:06. 0000001887 Size of Tkn-ColFrag for Location: 88
- I. 04/01 15:10:06. 0000001887 Dictionary: 10535
- I. 04/01 15:10:06. 0000001887 nullBitMap: 992
- I. 04/01 15:10:06. 0000001887 SubFragArray*s: 64
- I. 04/01 15:10:06. 0000001887 nullWriter*: 24
- I. 04/01 15:10:06. 0000001887 ridMap: 24688
- I. 04/01 15:10:06. 0000001887 allocatedMemory: 16777216
- I. 04/01 15:10:06. 0000001887 inserter*: 1072
- I. 04/01 15:10:06. 0000001887 Size of Tkn-ColFrag for DiseaseSite: 88
- I. 04/01 15:10:06. 0000001887 Dictionary: 17247
- I. 04/01 15:10:06. 0000001887 nullBitMap: 132232
- I. 04/01 15:10:06. 0000001887 SubFragArray*s: 64
- I. 04/01 15:10:06. 0000001887 nullWriter*: 24
- I. 04/01 15:10:06. 0000001887 ridMap: 24688
- I. 04/01 15:10:06. 0000001887 allocatedMemory: 16777216
- I. 04/01 15:10:06. 0000001887 inserter*: 1072
- I. 04/01 15:10:06. 0000001887 Size of Tkn-ColFrag for Priority: 88
- I. 04/01 15:10:06. 0000001887 Dictionary: 9471
- I. 04/01 15:10:06. 0000001887 nullBitMap: 132232
- I. 04/01 15:10:06. 0000001887 SubFragArray*s: 64
- I. 04/01 15:10:06. 0000001887 nullWriter*: 24
- I. 04/01 15:10:06. 0000001887 ridMap: 24688
- I. 04/01 15:10:06. 0000001887 allocatedMemory: 16777216
- I. 04/01 15:10:06. 0000001887 inserter*: 1072
- I. 04/01 15:10:06. 0000001887 Size of Tkn-ColFrag for DelayReason: 88
- I. 04/01 15:10:06. 0000001887 Dictionary: 9471
- I. 04/01 15:10:06. 0000001887 ColFrag for ExcludeFlag: 64
- I. 04/01 15:10:06. 0000001887 nullBitMap: 992
- I. 04/01 15:10:06. 0000001887 SubFragArray*s: 64
- I. 04/01 15:10:06. 0000001887 nullWriter*: 24
- I. 04/01 15:10:06. 0000001887 ridMap: 24688
- I. 04/01 15:10:06. 0000001887 allocatedMemory: 262144
- I. 04/01 15:10:06. 0000001887 inserter*: 1072
- I. 04/01 15:10:06. 0000001887 PseudoCol frag: 64
- I. 04/01 15:10:06. 0000001887 nullBitMap: 132232
- I. 04/01 15:10:06. 0000001887 SubFragArray*s: 64
- I. 04/01 15:10:06. 0000001887 SubFragmentFixColumn: 96
- I. 04/01 15:10:06. 0000001887 nullWriter*: 24
- I. 04/01 15:10:06. 0000001887 ridMap: 24688
- I. 04/01 15:10:06. 0000001887 allocatedMemory: 16777216
- I. 04/01 15:10:06. 0000001887 inserter*: 1072
- I. 04/01 15:10:06. 0000001888 Txn 119415984 0 119415984
- I. 04/01 15:10:06. 0000001888 Cmt 119415985
- I. 04/01 15:10:06. 0000001888 PostCmt 0
- I. 04/01 15:10:08. 0000001889 Txn 119415986 0 119415986
- I. 04/01 15:10:08. 0000001889 Cmt 119415987
- I. 04/01 15:10:08. 0000001889 PostCmt 0
- I. 04/01 15:10:10. 0000001890 Txn 119415988 0 119415988
- I. 04/01 15:10:10. 0000001890 Cmt 119415989
- I. 04/01 15:10:10. 0000001890 PostCmt 0
- I. 04/01 15:10:12. 0000001891 Txn 119415990 0 119415990
- I. 04/01 15:10:12. 0000001891 Cmt 119415991
- I. 04/01 15:10:12. 0000001891 PostCmt 0
- I. 04/01 15:10:14. 0000001892 Txn 119415992 0 119415992
- I. 04/01 15:10:14. 0000001892 Cmt 119415993
- I. 04/01 15:10:14. 0000001892 PostCmt 0
- I. 04/01 15:10:35. 0000000000 Cancellation request received: SA connHandle: 1 SA connID: 19 IQ connID: 0000000019 User: DBA
- I. 04/01 15:10:55. 0000000000 Cancellation request received: SA connHandle: 1 SA connID: 19 IQ connID: 0000000019 User: DBA
- I. 04/01 15:10:55. 0000001894 Collation ISO_BINENG, Case Respect, Blank Padding On, Comparisons are Binary
- I. 04/01 15:12:55. 0000000000 Cancellation request received:
- I. 04/01 15:13:31. 0000001897 Collation ISO_BINENG, Case Respect, Blank Padding On, Comparisons are Binary
- I. 04/01 15:14:55. 0000000000 Cancellation request received:
- I. 04/01 15:15:31. 0000000000 Cancellation request received:
- I. 04/01 15:16:31. 0000001898 Collation ISO_BINENG, Case Respect, Blank Padding On, Comparisons are Binary