All,
I have done some more digging and I'm now stuck at writing about 6k
new
records within one transaction. I don't know what I might be
missing but
depending on different variations I get a max of 5k or 6k and then
a READU
threshold reached error will break the transaction.
Any more insights will be greatly appreciated. I have pasted info
of my last
test below.
Regards,
Andre Meij
Innovate-IT
DELETE.FILE TEST06
DELETEd "TEST06", Type 30.
DELETEd file "D_TEST06", Type 3, Modulo 1.
DELETEd file definition record "TEST06" in the VOC file.
CREATE.FILE TEST06 30 MINIMUM.MODULUS 1024 SEQ.NUM
Creating file "TEST06" as Type 30.
Creating file "D_TEST06" as Type 3, Modulo 1, Separation 2.
Added "@ID", the default record for RetrieVe, to "D_TEST06".
ANALYZE.FILE TEST06
File name .................. TEST06
Pathname ................... TEST06
File type .................. DYNAMIC
Hashing Algorithm .......... SEQUENTIAL
No. of groups (modulus) .... 1024 current ( minimum 1024 )
Large record size .......... 1628 bytes
Group size ................. 2048 bytes
Load factors ............... 80% (split), 50% (merge) and 0%
(actual)
Total size ................. 2101248 bytes
RUN BP test 15000 50000
Starting writing 50000 records
READU threshold reached, lock on 11521224 denied!
Completed writing 6223 records
Error: WARNING, 'TEST06' record '11521224' locked, try again later.
GROUP.STAT.DETAIL TEST06
Type description= Hashed, keys end in numbers.
Bytes Record.id File= TEST06 Modulo= 1024 Sep= 4 Type= 30
32 11518037
32 11520098
32 11519718
32 11516722
32 11517008
------
160 Bytes 5 Records in Group 1
32 11518036
32 11517009
32 11520099
32 11519719
32 11516723
------
160 Bytes 5 Records in Group 2
32 11518038
32 11517011
32 11520096
32 11519716
32 11516720
LIST.READU (started before the end of the transaction after the READU
error.
Active Record Locks:
Device.... Inode.... Netnode Userno Lmode Pid Login Id
Item-ID.............
22282244 1258068 0 11 5 RU 21074 ameij
11515011
22282244 1258068 0 11 5 RU 21074 ameij
11515033
22282244 1258068 0 11 5 RU 21074 ameij
11515068
22282244 1258068 0 11 5 RU 21074 ameij
11515102
22282244 1258068 0 11 5 RU 21074 ameij
11515135
22282244 1258068 0 11 5 RU 21074 ameij
11515146
22282244 1258068 0 11 5 RU 21074 ameij
11515161
22282244 1258068 0 11 5 RU 21074 ameij
11515179
22282244 1258068 0 11 5 RU 21074 ameij
11515218
22282244 1258068 0 11 5 RU 21074 ameij
11515235
22282244 1258068 0 11 5 RU 21074 ameij
11515284
22282244 1258068 0 11 5 RU 21074 ameij
11515298
22282244 1258068 0 11 5 RU 21074 ameij
11515315
22282244 1258068 0 11 5 RU 21074 ameij
11515334
22282244 1258068 0 11 5 RU 21074 ameij
11515351
22282244 1258068 0 11 5 RU 21074 ameij
11515364
22282244 1258068 0 11 5 RU 21074 ameij
11515420
22282244 1258068 0 11 5 RU 21074 ameij
11515453
22282244 1258068 0 11 5 RU 21074 ameij
11515468
22282244 1258068 0 11 5 RU 21074 ameij
11515477
22282244 1258068 0 11 5 RU 21074 ameij
11515510
22282244 1258068 0 11 5 RU 21074 ameij
11515548
22282244 1258068 0 11 5 RU 21074 ameij
11515565
22282244 1258068 0 11 5 RU 21074 ameij
11515579
22282244 1258068 0 11 5 RU 21074 ameij
11515608
22282244 1258068 0 11 5 RU 21074 ameij
11515627
22282244 1258068 0 11 5 RU 21074 ameij
11515649
22282244 1258068 0 11 5 RU 21074 ameij
11515685
22282244 1258068 0 11 5 RU 21074 ameij
11515718
22282244 1258068 0 11 5 RU 21074 ameij
11515751
22282244 1258068 0 11 5 RU 21074 ameij
11515769
22282244 1258068 0 11 5 RU 21074 ameij
11515791
22282244 1258068 0 11 5 RU 21074 ameij
11515798
22282244 1258068 0 11 5 RU 21074 ameij
11515824
22282244 1258068 0 11 5 RU 21074 ameij
11515860
22282244 1258068 0 11 5 RU 21074 ameij
11515893
22282244 1258068 0 11 5 RU 21074 ameij
11515928
22282244 1258068 0 11 5 RU 21074 ameij
11515945
22282244 1258068 0 11 5 RU 21074 ameij
11515965
22282244 1258068 0 11 5 RU 21074 ameij
11515999
22282244 1258068 0 11 5 RU 21074 ameij
11516013
22282244 1258068 0 11 5 RU 21074 ameij
11516040
22282244 1258068 0 11 5 RU 21074 ameij
11516049
22282244 1258068 0 11 5 RU 21074 ameij
11516082
22282244 1258068 0 11 5 RU 21074 ameij
11516121
22282244 1258068 0 11 5 RU 21074 ameij
11516136
22282244 1258068 0 11 5 RU 21074 ameij
11516171
22282244 1258068 0 11 5 RU 21074 ameij
11516178
22282244 1258068 0 11 5 RU 21074 ameij
11516215
22282244 1258068 0 11 5 RU 21074 ameij
11516240
22282244 1258068 0 11 5 RU 21074 ameij
11516273
22282244 1258068 0 11 5 RU 21074 ameij
11516290
22282244 1258068 0 11 5 RU 21074 ameij
11516323
22282244 1258068 0 11 5 RU 21074 ameij
11516350
22282244 1258068 0 11 5 RU 21074 ameij
11516353
22282244 1258068 0 11 5 RU 21074 ameij
11516410
22282244 1258068 0 11 5 RU 21074 ameij
11516432
22282244 1258068 0 11 5 RU 21074 ameij
11516452
22282244 1258068 0 11 5 RU 21074 ameij
11516469
22282244 1258068 0 11 5 RU 21074 ameij
11516482
22282244 1258068 0 11 5 RU 21074 ameij
11516499
22282244 1258068 0 11 5 RU 21074 ameij
11516512
22282244 1258068 0 11 5 RU 21074 ameij
11516564
22282244 1258068 0 11 5 RU 21074 ameij
11516581
22282244 1258068 0 11 5 RU 21074 ameij
11516621
22282244 1258068 0 11 5 RU 21074 ameij
11516654
22282244 1258068 0 11 5 RU 21074 ameij
11516660
22282244 1258068 0 11 5 RU 21074 ameij
11516672
22282244 1258068 0 11 5 RU 21074 ameij
11516719
22282244 1258068 0 11 5 RU 21074 ameij
11516726
22282244 1258068 0 11 5 RU 21074 ameij
11516767
22282244 1258068 0 11 5 RU 21074 ameij
11516796
22282244 1258068 0 11 5 RU 21074 ameij
11516826
22282244 1258068 0 11 5 RU 21074 ameij
11516859
22282244 1258068 0 11 5 RU 21074 ameij
11516888
22282244 1258068 0 11 5 RU 21074 ameij
11516910
22282244 1258068 0 11 5 RU 21074 ameij
11516921
22282244 1258068 0 11 5 RU 21074 ameij
11516957
22282244 1258068 0 11 5 RU 21074 ameij
11516991
22282244 1258068 0 11 5 RU 21074 ameij
11517005
22282244 1258068 0 11 5 RU 21074 ameij
11517012
22282244 1258068 0 11 5 RU 21074 ameij
11517053
22282244 1258068 0 11 5 RU 21074 ameij
11517083
22282244 1258068 0 11 5 RU 21074 ameij
11517100
22282244 1258068 0 11 5 RU 21074 ameij
11517114
22282244 1258068 0 11 5 RU 21074 ameij
11517145
22282244 1258068 0 11 5 RU 21074 ameij
11517160
22282244 1258068 0 11 5 RU 21074 ameij
11517198
22282244 1258068 0 11 5 RU 21074 ameij
11517228
22282244 1258068 0 11 5 RU 21074 ameij
11517239
22282244 1258068 0 11 5 RU 21074 ameij
11517254
22282244 1258068 0 11 5 RU 21074 ameij
11517287
22282244 1258068 0 11 5 RU 21074 ameij
11517319
22282244 1258068 0 11 5 RU 21074 ameij
11517334
22282244 1258068 0 11 5 RU 21074 ameij
11517347
22282244 1258068 0 11 5 RU 21074 ameij
11517379
22282244 1258068 0 11 5 RU 21074 ameij
11517409
22282244 1258068 0 11 5 RU 21074 ameij
11517439
22282244 1258068 0 11 5 RU 21074 ameij
11517466
22282244 1258068 0 11 5 RU 21074 ameij
11517483
22282244 1258068 0 11 5 RU 21074 ameij
11517520
22282244 1258068 0 11 5 RU 21074 ameij
11517538
22282244 1258068 0 11 5 RU 21074 ameij
11517555
22282244 1258068 0 11 5 RU 21074 ameij
11517578
22282244 1258068 0 11 5 RU 21074 ameij
11517598
22282244 1258068 0 11 5 RU 21074 ameij
11517611
22282244 1258068 0 11 5 RU 21074 ameij
11517646
22282244 1258068 0 11 5 RU 21074 ameij
11517677
22282244 1258068 0 11 5 RU 21074 ameij
11517698
22282244 1258068 0 11 5 RU 21074 ameij
11517752
22282244 1258068 0 11 5 RU 21074 ameij
11517761
22282244 1258068 0 11 5 RU 21074 ameij
11517788
22282244 1258068 0 11 5 RU 21074 ameij
11517823
22282244 1258068 0 11 5 RU 21074 ameij
11517845
22282244 1258068 0 11 5 RU 21074 ameij
11517856
22282244 1258068 0 11 5 RU 21074 ameij
11517873
22282244 1258068 0 11 5 RU 21074 ameij
11517906
22282244 1258068 0 11 5 RU 21074 ameij
11517923
22282244 1258068 0 11 5 RU 21074 ameij
11517978
22282244 1258068 0 11 5 RU 21074 ameij
11518009
22282244 1258068 0 11 5 RU 21074 ameij
11518026
22282244 1258068 0 11 5 RU 21074 ameij
11518035
22282244 1258068 0 11 5 RU 21074 ameij
11518074
22282244 1258068 0 11 5 RU 21074 ameij
11518110
22282244 1258068 0 11 5 RU 21074 ameij
11518123
22282244 1258068 0 11 5 RU 21074 ameij
11518143
22282244 1258068 0 11 5 RU 21074 ameij
11518172
22282244 1258068 0 11 5 RU 21074 ameij
11518189
22282244 1258068 0 11 5 RU 21074 ameij
11518216
22282244 1258068 0 11 5 RU 21074 ameij
11518251
22282244 1258068 0 11 5 RU 21074 ameij
11518257
22282244 1258068 0 11 5 RU 21074 ameij
11518272
22282244 1258068 0 11 5 RU 21074 ameij
11518305
22282244 1258068 0 11 5 RU 21074 ameij
11518337
22282244 1258068 0 11 5 RU 21074 ameij
11518352
22282244 1258068 0 11 5 RU 21074 ameij
11518374
22282244 1258068 0 11 5 RU 21074 ameij
11518406
22282244 1258068 0 11 5 RU 21074 ameij
11518436
22282244 1258068 0 11 5 RU 21074 ameij
11518457
22282244 1258068 0 11 5 RU 21074 ameij
11518495
22282244 1258068 0 11 5 RU 21074 ameij
11518510
22282244 1258068 0 11 5 RU 21074 ameij
11518549
22282244 1258068 0 11 5 RU 21074 ameij
11518567
22282244 1258068 0 11 5 RU 21074 ameij
11518582
22282244 1258068 0 11 5 RU 21074 ameij
11518607
22282244 1258068 0 11 5 RU 21074 ameij
11518616
22282244 1258068 0 11 5 RU 21074 ameij
11518638
22282244 1258068 0 11 5 RU 21074 ameij
11518664
22282244 1258068 0 11 5 RU 21074 ameij
11518698
22282244 1258068 0 11 5 RU 21074 ameij
11518727
22282244 1258068 0 11 5 RU 21074 ameij
11518781
22282244 1258068 0 11 5 RU 21074 ameij
11518788
22282244 1258068 0 11 5 RU 21074 ameij
11518811
22282244 1258068 0 11 5 RU 21074 ameij
11518841
22282244 1258068 0 11 5 RU 21074 ameij
11518866
22282244 1258068 0 11 5 RU 21074 ameij
11518885
22282244 1258068 0 11 5 RU 21074 ameij
11518900
22282244 1258068 0 11 5 RU 21074 ameij
11518935
22282244 1258068 0 11 5 RU 21074 ameij
11518950
22282244 1258068 0 11 5 RU 21074 ameij
11518983
22282244 1258068 0 11 5 RU 21074 ameij
11519001
22282244 1258068 0 11 5 RU 21074 ameij
11519034
22282244 1258068 0 11 5 RU 21074 ameij
11519070
22282244 1258068 0 11 5 RU 21074 ameij
11519097
22282244 1258068 0 11 5 RU 21074 ameij
11519125
22282244 1258068 0 11 5 RU 21074 ameij
11519140
22282244 1258068 0 11 5 RU 21074 ameij
11519174
22282244 1258068 0 11 5 RU 21074 ameij
11519191
22282244 1258068 0 11 5 RU 21074 ameij
11519200
22282244 1258068 0 11 5 RU 21074 ameij
11519243
22282244 1258068 0 11 5 RU 21074 ameij
11519272
22282244 1258068 0 11 5 RU 21074 ameij
11519308
22282244 1258068 0 11 5 RU 21074 ameij
11519339
22282244 1258068 0 11 5 RU 21074 ameij
11519349
22282244 1258068 0 11 5 RU 21074 ameij
11519372
22282244 1258068 0 11 5 RU 21074 ameij
11519405
22282244 1258068 0 11 5 RU 21074 ameij
11519429
22282244 1258068 0 11 5 RU 21074 ameij
11519444
22282244 1258068 0 11 5 RU 21074 ameij
11519462
22282244 1258068 0 11 5 RU 21074 ameij
11519519
22282244 1258068 0 11 5 RU 21074 ameij
11519534
22282244 1258068 0 11 5 RU 21074 ameij
11519561
22282244 1258068 0 11 5 RU 21074 ameij
11519581
22282244 1258068 0 11 5 RU 21074 ameij
11519596
22282244 1258068 0 11 5 RU 21074 ameij
11519642
22282244 1258068 0 11 5 RU 21074 ameij
11519656
22282244 1258068 0 11 5 RU 21074 ameij
11519704
22282244 1258068 0 11 5 RU 21074 ameij
11519713
22282244 1258068 0 11 5 RU 21074 ameij
11519728
22282244 1258068 0 11 5 RU 21074 ameij
11519748
22282244 1258068 0 11 5 RU 21074 ameij
11519783
22282244 1258068 0 11 5 RU 21074 ameij
11519802
22282244 1258068 0 11 5 RU 21074 ameij
11519812
22282244 1258068 0 11 5 RU 21074 ameij
11519843
22282244 1258068 0 11 5 RU 21074 ameij
11519868
22282244 1258068 0 11 5 RU 21074 ameij
11519881
22282244 1258068 0 11 5 RU 21074 ameij
11519890
22282244 1258068 0 11 5 RU 21074 ameij
11519923
22282244 1258068 0 11 5 RU 21074 ameij
11519938
22282244 1258068 0 11 5 RU 21074 ameij
11519997
22282244 1258068 0 11 5 RU 21074 ameij
11520028
22282244 1258068 0 11 5 RU 21074 ameij
11520047
22282244 1258068 0 11 5 RU 21074 ameij
11520095
22282244 1258068 0 11 5 RU 21074 ameij
11520102
22282244 1258068 0 11 5 RU 21074 ameij
11520119
22282244 1258068 0 11 5 RU 21074 ameij
11520142
22282244 1258068 0 11 5 RU 21074 ameij
11520153
22282244 1258068 0 11 5 RU 21074 ameij
11520168
22282244 1258068 0 11 5 RU 21074 ameij
11520202
22282244 1258068 0 11 5 RU 21074 ameij
11520235
22282244 1258068 0 11 5 RU 21074 ameij
11520270
22282244 1258068 0 11 5 RU 21074 ameij
11520276
22282244 1258068 0 11 5 RU 21074 ameij
11520309
22282244 1258068 0 11 5 RU 21074 ameij
11520324
22282244 1258068 0 11 5 RU 21074 ameij
11520377
22282244 1258068 0 11 5 RU 21074 ameij
11520384
22282244 1258068 0 11 5 RU 21074 ameij
11520421
22282244 1258068 0 11 5 RU 21074 ameij
11520440
22282244 1258068 0 11 5 RU 21074 ameij
11520451
22282244 1258068 0 11 5 RU 21074 ameij
11520476
22282244 1258068 0 11 5 RU 21074 ameij
11520511
22282244 1258068 0 11 5 RU 21074 ameij
11520520
22282244 1258068 0 11 5 RU 21074 ameij
11520553
22282244 1258068 0 11 5 RU 21074 ameij
11520577
22282244 1258068 0 11 5 RU 21074 ameij
11520592
22282244 1258068 0 11 5 RU 21074 ameij
11520610
22282244 1258068 0 11 5 RU 21074 ameij
11520648
22282244 1258068 0 11 5 RU 21074 ameij
11520685
22282244 1258068 0 11 5 RU 21074 ameij
11520689
22282244 1258068 0 11 5 RU 21074 ameij
11520719
22282244 1258068 0 11 5 RU 21074 ameij
11520757
22282244 1258068 0 11 5 RU 21074 ameij
11520794
22282244 1258068 0 11 5 RU 21074 ameij
11520830
22282244 1258068 0 11 5 RU 21074 ameij
11520860
22282244 1258068 0 11 5 RU 21074 ameij
11520878
22282244 1258068 0 11 5 RU 21074 ameij
11520893
22282244 1258068 0 11 5 RU 21074 ameij
11520898
22282244 1258068 0 11 5 RU 21074 ameij
11520915
22282244 1258068 0 11 5 RU 21074 ameij
11520935
22282244 1258068 0 11 5 RU 21074 ameij
11520960
22282244 1258068 0 11 5 RU 21074 ameij
11520993
22282244 1258068 0 11 5 RU 21074 ameij
11521030
22282244 1258068 0 11 5 RU 21074 ameij
11521047
22282244 1258068 0 11 5 RU 21074 ameij
11521058
22282244 1258068 0 11 5 RU 21074 ameij
11521090
22282244 1258068 0 11 5 RU 21074 ameij
11521120
22282244 1258068 0 11 5 RU 21074 ameij
11521150
22282244 1258068 0 11 5 RU 21074 ameij
11521159
22282244 1258068 0 11 5 RU 21074 ameij
11521190
22282244 1258068 0 11 13 RU 21074 ameij
11515014
22282244 1258068 0 11 13 RU 21074 ameij
11515067
22282244 1258068 0 11 13 RU 21074 ameij
11515074
22282244 1258068 0 11 13 RU 21074 ameij
11515096
22282244 1258068 0 11 13 RU 21074 ameij
11515129
22282244 1258068 0 11 13 RU 21074 ameij
11515154
22282244 1258068 0 11 13 RU 21074 ameij
11515169
22282244 1258068 0 11 13 RU 21074 ameij
11515184
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andre Meij
Sent: Saturday, March 10, 2007 10:51 AM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] Dynamic files, big transactions
Rick, Charles, et others,
Thank you for the quick answers. I have quickly tried your
solutions and
both the initial create with bigger hash and the change+resize on an
existing file seem to work, I can now easily lock 20k records in one
transaction.
I have yet to find out why we hit this issue on live servers in our
application (so why the hash on the affected files is apparently so
small. I
will take a look at that Monday.
For now I am quite happy because I have a solution for the immediate
problem.
Also I have been trying to SELECT 40k records after the write of
20k new
ones and that worked also, I am very confused now because I have been
"brought up" with the idea that there is no thing more disastrous
then a
SELECT in a Universe transaction (locking table problems all around
I am
told.)
Is that something you have heard of? Or is it just another fable?
Thanks again for the help, it is very much appreciated.
Regards,
Andre Meij
Innovate-IT
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Stevenson,
Charles
Sent: Saturday, March 10, 2007 7:04 AM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] Dynamic files, big transactions
Andre,
I'm with Rick. He suggested "new partfile". But maybe some kind of
queue or workfile, that routinely gets flushed, merging to modulo 1.
And maybe zero length record or very small, so that 250 ids all
land in
the same group? Is group size 4KB?
What does that have to do with the lock table in memory, you (or some
lurker) may ask?
When a record is locked, UV uses the inode & group# to determine where
to plant the lock in the lock table. So that means that all these
records will be assigned to the same lock group, since inode & group#
(i.e., 1) will be the same for all.
If you gave it a larger minimum.modulus, or converted that queue/work
file to static, then, when you lock many or all records at once, that
would spread the load across several lock groups, since the
inode&group#
combo would vary from record to record.
cds
P.S. I *think* splits and merges are suspended on groups that have
records currently in the lock table. (Since group# determines where
something is in the lock table, you couldn't have that being
changed out
from under you.) So as long as a record remains locked, your dynamic
file will be not quite so dynamic. You might be hitting that, too.
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/