Jim
> --
> Please read the posting guidelines at:
> http://groups.google.com/group/jBASE/web/Posting%20Guidelines
>
> IMPORTANT: Type T24: at the start of the subject line for questions
> specific to Globus/T24
>
> To post, send email to jB...@googlegroups.com To unsubscribe, send
> email to jBASE-un...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/jBASE?hl=en
Jim
> -----Original Message-----
> From: jb...@googlegroups.com [mailto:jb...@googlegroups.com] On Behalf
> Of VK
> Sent: Monday, August 15, 2011 7:56 AM
> To: jBASE
> Subject: Re: jbase problems show-items-locks
>
> dm5/bnk.run/GR0800004lib:/app/t24/dm5/bnk.run/t24lib:/app/t24/
> > > > > > dm5/
> > > > > >
> bnk.run/GR0800005lib:/app/t24/dm5/bnk.run/GR0800006lib:/app/t2
> > > > > > 4/dm5/
> > > > > >
> bnk.run/radlib:/app/t24/dm5/bnk.run/cardlib:/app/t24/dm5/bnk.r
> > > > > > un/
> > > > > >
> usrdlib:/app/t24/dm5/bnk.run/GR0800012lib:/app/t24/dm5/bnk.run/atmlib'
> > > > > > jBASE Compiler Run-time : '/app/tafc/r10SP8/R10/config/
> > > > > > system.properties'
> > > > > > Program dir (JBCDEV_BIN) : '/app/t24/dm5/bnk.run/ccsbin'
> > > > > > Subroutine dir (JBCDEV_LIB) : '/app/t24/dm5/bnk.run/ccslib'
> > > > > > Max open files : 8192 jsh aatkinso ~ -->- Hide
> > > > > > quoted text -
> >
> > > > > - Show quoted text -- Hide quoted text -
> >
> > > - Show quoted text -
>
I hope that I will finally see an (environment variable?) option in jBASE, which will cause jBASE to abort when empty id is used in database operation. All cases with an empty id I have met so far were caused by software bugs. Moreover they were relatively hard to track - usually it was complex flow to recreate problem. I do not see any reason in keeping 'empty id functionality' available for T24.
It would be nice if jBASE team could go forward and throw away some unnecessary, 'old days' things :)
Another issue that can be caused by buggy software is to put field/value/subvalue markers. Some jBASE commands will be later confused. jBASE gurus: throw these possibilities away please!
Kind regards
Pawel
Dnia 15-08-2011 o godz. 20:29 Jim Idle napisaďż˝(a):
> An empty record key is just a key without any characters. It is somewhat
> pointless, but must be supported as people inventing their own 'security'
> used it a lot in the old days of Pick.
>
> Jim
>
>
>
> > -----Original Message-----
> > From: jb...@googlegroups.com [mailto:jb...@googlegroups.com] On Behalf
> > Of VK
> > Sent: Monday, August 15, 2011 7:56 AM
> > To: jBASE
> > Subject: Re: jbase problems show-items-locks
> >
> > ... and don't forget MATREADU (though used in less number of cases)...
> >
> > BTW, it was always interesting to me - what's the idea of having lock
> > with empty record key? Does it have any sense from DBMS point of view?
> >
> > VK
> >
> > > > Another note - non-secure is really not secure :(( �Consider using
> > > > secure mode (and pay something in performance) or J4.
> > >
> > > > Yet another note... is DM something called "migration tool"?
> > >
> > > > And - your OFS.REQUEST.DETAIL is distributed? Just curious why.
> > > > Accumulating over 2Gb a day?
> > >
> > > > VK
> > >
> > > > On Aug 10, 7:45�pm, adrian <ar_atkin...@yahoo.com> wrote:
> > >
> > > > > We are using 10 threads at the moments
> > >
> > > > > we are using JR type out of the box from Temenos. (non-secure)
> > >
> > > > > we are using DM.SERVICE.DATA.FILE which we are using on a RAM
> > drive.
> > >
> > > > > as you can see below in the show-item-locks you can see blank
> > keys.
> > >
> > > > > ďż˝ ďż˝ ďż˝ 31 ďż˝ ďż˝ ďż˝ 9358 ../bnk.data/st/ FBNK_CUSTOMER_CHARGE
> > > > > 5383596
> > > > > 0x57a7c41c,W ďż˝ ďż˝ ďż˝ ďż˝---
> > > > > ďż˝ ďż˝ ďż˝ 31 ďż˝ ďż˝ ďż˝ 9358 ../bnk.data/st/ FBNK_CUSTOMER_ROLE
> > > > > 0x02300000,W ďż˝ ďż˝ ďż˝ ďż˝---
> > > > > ďż˝ ďż˝ ďż˝ 31 ďż˝ ďż˝ ďż˝ 9358 ../bnk.data/st/ FBNK_RELATION_CUSTOMER
> > > > > 5383596
> > > > > 0x57a7c41c,W ďż˝ ďż˝ ďż˝ ďż˝---
> > > > > ďż˝ ďż˝ ďż˝ 31 ďż˝ ďż˝ ďż˝ 9358 ../bnk.data/st/ FBNK_RELATION_CUSTOMER
> > > > > 11561555
> > > > > 0x5e90b3b0,W ďż˝ ďż˝ ďż˝ ďż˝---
> > > > > ďż˝ ďż˝ ďż˝ 31 ďż˝ ďż˝ ďż˝ 9358 ../bnk.data/st/ FBNK_CUSTOMER#NAU
> > > > > 5383596
> > > > > 0x57a7c41c,W
> > >
> > > > > ďż˝ ďż˝ ďż˝ 33 ďż˝ ďż˝ ďż˝ 9367 ../bnk.data/of/
> > > > > F_OFS_REQUEST_DETAIL_06
> > > > > MBDM112090115838227.05
> > > > > 0x31fc7d36,W ďż˝ ďż˝ ďż˝ ďż˝---
> > > > > ďż˝ ďż˝ ďż˝ 33 ďż˝ ďż˝ ďż˝ 9367 ../bnk.data/eb/ F_DM_SERVICE_DATA_FILE
> > > > > CCS.DM.CUSTOMER.MEMA-20110810037483638476
> > > > > 0x59b0e064,W ďż˝ ďż˝ ďż˝ ďż˝---
> > > > > ďż˝ ďż˝ ďż˝ 33 ďż˝ ďż˝ ďż˝ 9367 ../bnk.data/eb/
> > > > > F_JOB_LIST_3
> > > > > 1139
> > > > > 0x6883ccaf,W ďż˝ ďż˝ ďż˝ ďż˝---
> > > > > ďż˝ ďż˝ ďż˝ 34 ďż˝ ďż˝ ďż˝ 9371 ../bnk.data/eb/ F_LANGUAGE
> > 0x0000001c,R
> > > > > ---
> > > > > ďż˝ ďż˝ ďż˝ 34 ďż˝ ďż˝ ďż˝ 9371 ../bnk.data/st/ FBNK_CUSTOMER#NAU
> > > > > 4872036
> > > > > 0x04b9c9ed,W ďż˝ ďż˝ ďż˝ ďż˝---
> > > > > ďż˝ ďż˝ ďż˝ 34 ďż˝ ďż˝ ďż˝ 9371 ../bnk.data/of/
> > > > > F_OFS_REQUEST_DETAIL_08
> > > > > MBDM112090521738237.01
> > > > > 0x5c4e0da1,W ďż˝ ďż˝ ďż˝ ďż˝---
> > > > > ďż˝ ďż˝ ďż˝ 34 ďż˝ ďż˝ ďż˝ 9371 ../bnk.data/eb/ F_DM_SERVICE_DATA_FILE
> > > > > CCS.DM.CUSTOMER.MEMA-20110810037483537290
> > > > > 0x0f29a5e6,W ďż˝ ďż˝ ďż˝ ďż˝---
> > > > > ďż˝ ďż˝ ďż˝ 34 ďż˝ ďż˝ ďż˝ 9371 ../bnk.data/eb/
> > > > > F_JOB_LIST_3
> > > > > 250
> > > > > 0x7b754110,W ďż˝ ďż˝ ďż˝ ďż˝---
> > > > > > > System ďż˝ ďż˝ ďż˝ ďż˝ ďż˝ ďż˝ ďż˝ ďż˝ ďż˝ ďż˝ ďż˝: HP-UX vic-samt B.11.31.U ia64
> > > > > > > UNIX User ďż˝ ďż˝ ďż˝ ďż˝ ďż˝ ďż˝ ďż˝ ďż˝ ďż˝ : aatkinso (uid 187, euid 187)
> > Tty
> > > > > > > name ďż˝ ďż˝ ďż˝ ďż˝ ďż˝ ďż˝ ďż˝ ďż˝ ďż˝ ďż˝: /dev/pts/0
> > Time
> > > > > > > : Fri Aug �5 20:31:32 2011
> > >
> > > > > > > Environment
> > > > > > > ===========
> > >
> > > > > > > JBCPORTNO ďż˝ ďż˝ ďż˝ ďż˝ ďż˝ ďż˝ ďż˝ ďż˝ ďż˝ : Not Set
> > TAFC_HOME
> > > > > > > : '/app/tafc/r10SP8/R10'
> > > > > > > JBCGLOBALDIR ďż˝ ďż˝ ďż˝ ďż˝ ďż˝ ďż˝ ďż˝ ďż˝: '/app/tafc/r10SP8/R10'
> > > > > > > WARNING: JBCDATADIR is not set, Default
> > '/app/tafc/r10SP8/R10/
> > > > > > > jbase_data'
> > > > > > > WARNING: JBCDATADIR is subdirectory of JBCGLOBALDIR
> > HOME
> > > > > > > : '/app/t24/dm5/bnk.run'
> > > > > > > JEDIFILEPATH ďż˝ ďż˝ ďż˝ ďż˝ ďż˝ ďż˝ ďż˝ ďż˝: '/app/t24/dm5/bnk.run'
> > > > > > > JEDIFILENAME_MD ďż˝ ďż˝ ďż˝ ďż˝ ďż˝ ďż˝ : '/app/t24/dm5/bnk.run/VOC'
> > > > > > > JEDIFILENAME_SYSTEM ďż˝ ďż˝ ďż˝ ďż˝ : '/app/t24/dm5/bnk.run/SYSTEM'
> > > > > > > RELEASE Information ďż˝ ďż˝ ďż˝ ďż˝ : Major 10.0 , Minor 0.8 ,
> > Patch
> > > > > > > (Change
> > > > > > > 92702)
> > > > > > > Spooler dir (JBCSPOOLERDIR) : '/usr/spool/jspooler'
> > > > > > > JBCEMULATE ďż˝ ďż˝ ďż˝ ďż˝ ďż˝ ďż˝ ďż˝ ďż˝ ďż˝: 'prime'
> > > > > > > Object path (JBCOBJECTLIST) :
> > > > > > > '/app/t24/dm5/bnk.run/ccslib:/app/t24/
> > > > > > >
> > dm5/bnk.run/GR0800004lib:/app/t24/dm5/bnk.run/t24lib:/app/t24/
> > > > > > > dm5/
> > > > > > >
> > bnk.run/GR0800005lib:/app/t24/dm5/bnk.run/GR0800006lib:/app/t2
> > > > > > > 4/dm5/
> > > > > > >
> > bnk.run/radlib:/app/t24/dm5/bnk.run/cardlib:/app/t24/dm5/bnk.r
> > > > > > > un/
> > > > > > >
> > usrdlib:/app/t24/dm5/bnk.run/GR0800012lib:/app/t24/dm5/bnk.run/atmlib'
> > > > > > > jBASE Compiler Run-time ďż˝ ďż˝ : '/app/tafc/r10SP8/R10/config/
> > > > > > > system.properties'
> > > > > > > Program dir (JBCDEV_BIN) ďż˝ ďż˝: '/app/t24/dm5/bnk.run/ccsbin'
> > > > > > > Subroutine dir (JBCDEV_LIB) : '/app/t24/dm5/bnk.run/ccslib'
> > > > > > > Max open files ďż˝ ďż˝ ďż˝ ďż˝ ďż˝ ďż˝ ďż˝: 8192 jsh aatkinso ~ -->- Hide
> > > > > > > quoted text -
> >
The system is what it is, and there is no changing it. This is not the jBASE
guys saying this, this is all the users.
Jim
> -----Original Message-----
> From: jb...@googlegroups.com [mailto:jb...@googlegroups.com] On Behalf
> Of Pawel (privately)
> Sent: Monday, August 15, 2011 12:56 PM
> To: jb...@googlegroups.com
> Subject: RE: RE: jbase problems show-items-locks
>
> Hi,
>
> I hope that I will finally see an (environment variable?) option in
> jBASE, which will cause jBASE to abort when empty id is used in
> database operation. All cases with an empty id I have met so far were
> caused by software bugs. Moreover they were relatively hard to track -
> usually it was complex flow to recreate problem. I do not see any
> reason in keeping 'empty id functionality' available for T24.
> It would be nice if jBASE team could go forward and throw away some
> unnecessary, 'old days' things :)
>
> Another issue that can be caused by buggy software is to put
> field/value/subvalue markers. Some jBASE commands will be later
> confused. jBASE gurus: throw these possibilities away please!
>
> Kind regards
> Pawel
>
> > > > > Another note - non-secure is really not secure :(( Consider
> > > > > using secure mode (and pay something in performance) or J4.
> > > >
> > > > > Yet another note... is DM something called "migration tool"?
> > > >
> > > > > And - your OFS.REQUEST.DETAIL is distributed? Just curious why.
> > > > > Accumulating over 2Gb a day?
> > > >
> > > > > VK
> > > >
> > > > > On Aug 10, 7:45 pm, adrian <ar_atkin...@yahoo.com> wrote:
> > > >
> > > > > > We are using 10 threads at the moments
> > > >
> > > > > > we are using JR type out of the box from Temenos. (non-
> secure)
> > > >
> > > > > > we are using DM.SERVICE.DATA.FILE which we are using on a RAM
> > > drive.
> > > >
> > > > > > as you can see below in the show-item-locks you can see blank
> > > keys.
> > > >
> > > > > > 31 9358 ../bnk.data/st/ FBNK_CUSTOMER_CHARGE
> > > > > > 5383596
> > > > > > 0x57a7c41c,W ---
> > > > > > 31 9358 ../bnk.data/st/ FBNK_CUSTOMER_ROLE
> > > > > > 0x02300000,W ---
> > > > > > 31 9358 ../bnk.data/st/ FBNK_RELATION_CUSTOMER
> > > > > > 5383596
> > > > > > 0x57a7c41c,W ---
> > > > > > 31 9358 ../bnk.data/st/ FBNK_RELATION_CUSTOMER
> > > > > > 11561555
> > > > > > 0x5e90b3b0,W ---
> > > > > > 31 9358 ../bnk.data/st/ FBNK_CUSTOMER#NAU
> > > > > > 5383596
> > > > > > 0x57a7c41c,W
> > > >
> > > > > > 33 9367 ../bnk.data/of/
> > > > > > F_OFS_REQUEST_DETAIL_06
> > > > > > MBDM112090115838227.05
> > > > > > 0x31fc7d36,W ---
> > > > > > 33 9367 ../bnk.data/eb/ F_DM_SERVICE_DATA_FILE
> > > > > > CCS.DM.CUSTOMER.MEMA-20110810037483638476
> > > > > > 0x59b0e064,W ---
> > > > > > 33 9367 ../bnk.data/eb/
> > > > > > F_JOB_LIST_3
> > > > > > 1139
> > > > > > 0x6883ccaf,W ---
> > > > > > 34 9371 ../bnk.data/eb/ F_LANGUAGE
> > > 0x0000001c,R
> > > > > > ---
> > > > > > 34 9371 ../bnk.data/st/ FBNK_CUSTOMER#NAU
> > > > > > 4872036
> > > > > > 0x04b9c9ed,W ---
> > > > > > 34 9371 ../bnk.data/of/
> > > > > > F_OFS_REQUEST_DETAIL_08
> > > > > > MBDM112090521738237.01
> > > > > > 0x5c4e0da1,W ---
> > > > > > 34 9371 ../bnk.data/eb/ F_DM_SERVICE_DATA_FILE
> > > > > > CCS.DM.CUSTOMER.MEMA-20110810037483537290
> > > > > > 0x0f29a5e6,W ---
> > > > > > 34 9371 ../bnk.data/eb/
> > > > > > F_JOB_LIST_3
> > > > > > 250
> > > > > > 0x7b754110,W ---
> > > > > > > > System : HP-UX vic-samt B.11.31.U
> > > > > > > > ia64 UNIX User : aatkinso (uid 187,
> euid
> > > > > > > > 187)
> > > Tty
> > > > > > > > name : /dev/pts/0
> > > Time
> > > > > > > > : Fri Aug 5 20:31:32 2011
> > > >
> > > > > > > > Environment
> > > > > > > > ===========
> > > >
> > > > > > > > JBCPORTNO : Not Set
> > > TAFC_HOME
> > > > > > > > : '/app/tafc/r10SP8/R10'
> > > > > > > > JBCGLOBALDIR : '/app/tafc/r10SP8/R10'
> > > > > > > > WARNING: JBCDATADIR is not set, Default
> > > '/app/tafc/r10SP8/R10/
> > > > > > > > jbase_data'
> > > > > > > > WARNING: JBCDATADIR is subdirectory of JBCGLOBALDIR
> > > HOME
> > > > > > > > : '/app/t24/dm5/bnk.run'
> > > > > > > > JEDIFILEPATH : '/app/t24/dm5/bnk.run'
> > > > > > > > JEDIFILENAME_MD : '/app/t24/dm5/bnk.run/VOC'
> > > > > > > > JEDIFILENAME_SYSTEM :
> '/app/t24/dm5/bnk.run/SYSTEM'
> > > > > > > > RELEASE Information : Major 10.0 , Minor 0.8 ,
> > > Patch
> > > > > > > > (Change
> > > > > > > > 92702)
> > > > > > > > Spooler dir (JBCSPOOLERDIR) : '/usr/spool/jspooler'
> > > > > > > > JBCEMULATE : 'prime'
> > > > > > > > Object path (JBCOBJECTLIST) :
> > > > > > > > '/app/t24/dm5/bnk.run/ccslib:/app/t24/
> > > > > > > >
> > > dm5/bnk.run/GR0800004lib:/app/t24/dm5/bnk.run/t24lib:/app/t24/
> > > > > > > > dm5/
> > > > > > > >
> > > bnk.run/GR0800005lib:/app/t24/dm5/bnk.run/GR0800006lib:/app/t2
> > > > > > > > 4/dm5/
> > > > > > > >
> > > bnk.run/radlib:/app/t24/dm5/bnk.run/cardlib:/app/t24/dm5/bnk.r
> > > > > > > > un/
> > > > > > > >
> > >
> usrdlib:/app/t24/dm5/bnk.run/GR0800012lib:/app/t24/dm5/bnk.run/atmlib'
> > > > > > > > jBASE Compiler Run-time :
> > > > > > > > '/app/tafc/r10SP8/R10/config/ system.properties'
> > > > > > > > Program dir (JBCDEV_BIN) :
> '/app/t24/dm5/bnk.run/ccsbin'
> > > > > > > > Subroutine dir (JBCDEV_LIB) :
> '/app/t24/dm5/bnk.run/ccslib'
> > > > > > > > Max open files : 8192 jsh aatkinso ~ -->-
> > > > > > > > Hide quoted text -
> > >
>
>
> > > With Temenos we have found there is a problem at the Jbase level as
> > we
> > > have patched the F.READU program and there were no NULL records being
> > > delivered here.
Could you please elaborate kindly? Do you know what was the reason? What was fixed? Was it problem strictly related to HP-UX?
Jim suggested that these could be group/binary locks and I would agree with him.
I think that binary locks are listed like that under SHOW-ITEM-LOCKS (at least on jBASE 4.1).
You have also said that:
> > > > > > > We are not using the jbase locking but the UNIX locking (set
> > > > > > > at
> > > > > > > 24,000) on a HP box as the jDLS was causing problems. The
> > unix
> > > > > > > locking has been running fine for over a month now.
Our LIVE system is P5, AIX, jBASE 4.1 and we are also sucessfully running UNIX locking. However we have observed performance and scalability problems on P7. There are 2 facts about P7, AIX 6.1 and jBASE 4.1:
a) jRLA (pthreads) locks are bit faster than UNIX locks on P7/AIX6.1/jBASE 4.1 - proven with jBASE test programs
b) group locks in 4.1 are always taken as UNIX locks disregarding wheter you run jRLA or not. We have got information that this changed (was improved) in jBASE 5+/TAFC. Can jBASE 5+/TAFC use pthreads for group/binary locks?
In our case high 'lock collision' ratio on group locks is killing performance. JOB.LIST.x files suffer from multiple, concurrent 'SELECTs SAMPLE' (~ full scan) and multiple, concurrent READUs/WRITEs. There should be an option to jBASE added - to traverse file with no locking on groups ('dirty traversal'). It seems that this new option should be used on JOB.LIST.x files and would improve performance a lot. Each process (agent) could do 'dirty READNEXT traversal', try to lock record id and move
forward if locked / not existing.
Can somebody answer me below question? Scenario:
1. Assume you have file with 3 groups - 8192 bytes each group (2 blocks in jBASE 4.1)
2. Assume there are 35 records in total - 10, 10, 15
3. Assume there are 15 concurrent processes doing: SELECT, READNEXT (up to 1000 iterations), READU followed by READNEXT (when record locked) and SLEEP 1 or doing processing (if lock sucessfully aquired)
4. Assume response time is no limitation (say file put to RAM disk, striped SSD with multiple physical disks, OS/RAID caching enabled, etc.)
5. Assume transaction is simple / lightweight and is quickly commited.
6. Asumme all processes start exactly in the same moment.
Can (theoretically) other processes be starving? (due to greedy process #1 which start, will constantly lock group #1 preventing other processes to move forward - it will be obtaing id, processing transaction and quickly commiting)
Of course in realistic world no process will be starving, but may be significantly delayed? Am I right?
By the way: we observe very higher System:User ratio (eg. System=90, User=10). Simplifying System means - 'I am not doing a (user) job for you my friend'.
Kind regards
Pawel
Dnia 15-08-2011 o godz. 20:27 Jim Idle napisaďż˝(a):
> Are you sure you are not just seeing group/binary locks?
>
> Jim
>
> > -----Original Message-----
> > From: jb...@googlegroups.com [mailto:jb...@googlegroups.com] On Behalf
> > Of VK
> > Sent: Monday, August 15, 2011 7:35 AM
> > To: jBASE
> > Subject: Re: jbase problems show-items-locks
> >
> > Hi,
> >
> > > have patched the F.READU program and there were no NULL records being
> > > delivered here.
> >
> > What about READU? A lot of routines in core T24 still use it.
> >
> > VK
> >
> > > > Another note - non-secure is really not secure :(( �Consider using
> > > > secure mode (and pay something in performance) or J4.
> > >
> > > > Yet another note... is DM something called "migration tool"?
> > >
> > > > And - your OFS.REQUEST.DETAIL is distributed? Just curious why.
> > > > Accumulating over 2Gb a day?
> > >
> > > > VK
> > >
> > > > On Aug 10, 7:45�pm, adrian <ar_atkin...@yahoo.com> wrote:
> > >
> > > > > We are using 10 threads at the moments
> > >
> > > > > we are using JR type out of the box from Temenos. (non-secure)
> > >
> > > > > we are using DM.SERVICE.DATA.FILE which we are using on a RAM
> > drive.
> > >
> > > > > as you can see below in the show-item-locks you can see blank
> > keys.
> > >
> > > > > ďż˝ ďż˝ ďż˝ 31 ďż˝ ďż˝ ďż˝ 9358 ../bnk.data/st/ FBNK_CUSTOMER_CHARGE
> > > > > 5383596
> > > > > 0x57a7c41c,W ďż˝ ďż˝ ďż˝ ďż˝---
> > > > > ďż˝ ďż˝ ďż˝ 31 ďż˝ ďż˝ ďż˝ 9358 ../bnk.data/st/ FBNK_CUSTOMER_ROLE
> > > > > 0x02300000,W ďż˝ ďż˝ ďż˝ ďż˝---
> > > > > ďż˝ ďż˝ ďż˝ 31 ďż˝ ďż˝ ďż˝ 9358 ../bnk.data/st/ FBNK_RELATION_CUSTOMER
> > > > > 5383596
> > > > > 0x57a7c41c,W ďż˝ ďż˝ ďż˝ ďż˝---
> > > > > ďż˝ ďż˝ ďż˝ 31 ďż˝ ďż˝ ďż˝ 9358 ../bnk.data/st/ FBNK_RELATION_CUSTOMER
> > > > > 11561555
> > > > > 0x5e90b3b0,W ďż˝ ďż˝ ďż˝ ďż˝---
> > > > > ďż˝ ďż˝ ďż˝ 31 ďż˝ ďż˝ ďż˝ 9358 ../bnk.data/st/ FBNK_CUSTOMER#NAU
> > > > > 5383596
> > > > > 0x57a7c41c,W
> > >
> > > > > ďż˝ ďż˝ ďż˝ 33 ďż˝ ďż˝ ďż˝ 9367 ../bnk.data/of/
> > > > > F_OFS_REQUEST_DETAIL_06
> > > > > MBDM112090115838227.05
> > > > > 0x31fc7d36,W ďż˝ ďż˝ ďż˝ ďż˝---
> > > > > ďż˝ ďż˝ ďż˝ 33 ďż˝ ďż˝ ďż˝ 9367 ../bnk.data/eb/ F_DM_SERVICE_DATA_FILE
> > > > > CCS.DM.CUSTOMER.MEMA-20110810037483638476
> > > > > 0x59b0e064,W ďż˝ ďż˝ ďż˝ ďż˝---
> > > > > ďż˝ ďż˝ ďż˝ 33 ďż˝ ďż˝ ďż˝ 9367 ../bnk.data/eb/
> > > > > F_JOB_LIST_3
> > > > > 1139
> > > > > 0x6883ccaf,W ďż˝ ďż˝ ďż˝ ďż˝---
> > > > > ďż˝ ďż˝ ďż˝ 34 ďż˝ ďż˝ ďż˝ 9371 ../bnk.data/eb/ F_LANGUAGE
> > 0x0000001c,R
> > > > > ---
> > > > > ďż˝ ďż˝ ďż˝ 34 ďż˝ ďż˝ ďż˝ 9371 ../bnk.data/st/ FBNK_CUSTOMER#NAU
> > > > > 4872036
> > > > > 0x04b9c9ed,W ďż˝ ďż˝ ďż˝ ďż˝---
> > > > > ďż˝ ďż˝ ďż˝ 34 ďż˝ ďż˝ ďż˝ 9371 ../bnk.data/of/
> > > > > F_OFS_REQUEST_DETAIL_08
> > > > > MBDM112090521738237.01
> > > > > 0x5c4e0da1,W ďż˝ ďż˝ ďż˝ ďż˝---
> > > > > ďż˝ ďż˝ ďż˝ 34 ďż˝ ďż˝ ďż˝ 9371 ../bnk.data/eb/ F_DM_SERVICE_DATA_FILE
> > > > > CCS.DM.CUSTOMER.MEMA-20110810037483537290
> > > > > 0x0f29a5e6,W ďż˝ ďż˝ ďż˝ ďż˝---
> > > > > ďż˝ ďż˝ ďż˝ 34 ďż˝ ďż˝ ďż˝ 9371 ../bnk.data/eb/
> > > > > F_JOB_LIST_3
> > > > > 250
> > > > > 0x7b754110,W ďż˝ ďż˝ ďż˝ ďż˝---
> > > > > > > System ďż˝ ďż˝ ďż˝ ďż˝ ďż˝ ďż˝ ďż˝ ďż˝ ďż˝ ďż˝ ďż˝: HP-UX vic-samt B.11.31.U ia64
> > > > > > > UNIX User ďż˝ ďż˝ ďż˝ ďż˝ ďż˝ ďż˝ ďż˝ ďż˝ ďż˝ : aatkinso (uid 187, euid 187)
> > Tty
> > > > > > > name ďż˝ ďż˝ ďż˝ ďż˝ ďż˝ ďż˝ ďż˝ ďż˝ ďż˝ ďż˝: /dev/pts/0
> > Time
> > > > > > > : Fri Aug �5 20:31:32 2011
> > >
> > > > > > > Environment
> > > > > > > ===========
> > >
> > > > > > > JBCPORTNO ďż˝ ďż˝ ďż˝ ďż˝ ďż˝ ďż˝ ďż˝ ďż˝ ďż˝ : Not Set
> > TAFC_HOME
> > > > > > > : '/app/tafc/r10SP8/R10'
> > > > > > > JBCGLOBALDIR ďż˝ ďż˝ ďż˝ ďż˝ ďż˝ ďż˝ ďż˝ ďż˝: '/app/tafc/r10SP8/R10'
> > > > > > > WARNING: JBCDATADIR is not set, Default
> > '/app/tafc/r10SP8/R10/
> > > > > > > jbase_data'
> > > > > > > WARNING: JBCDATADIR is subdirectory of JBCGLOBALDIR
> > HOME
> > > > > > > : '/app/t24/dm5/bnk.run'
> > > > > > > JEDIFILEPATH ďż˝ ďż˝ ďż˝ ďż˝ ďż˝ ďż˝ ďż˝ ďż˝: '/app/t24/dm5/bnk.run'
> > > > > > > JEDIFILENAME_MD ďż˝ ďż˝ ďż˝ ďż˝ ďż˝ ďż˝ : '/app/t24/dm5/bnk.run/VOC'
> > > > > > > JEDIFILENAME_SYSTEM ďż˝ ďż˝ ďż˝ ďż˝ : '/app/t24/dm5/bnk.run/SYSTEM'
> > > > > > > RELEASE Information ďż˝ ďż˝ ďż˝ ďż˝ : Major 10.0 , Minor 0.8 ,
> > Patch
> > > > > > > (Change
> > > > > > > 92702)
> > > > > > > Spooler dir (JBCSPOOLERDIR) : '/usr/spool/jspooler'
> > > > > > > JBCEMULATE ďż˝ ďż˝ ďż˝ ďż˝ ďż˝ ďż˝ ďż˝ ďż˝ ďż˝: 'prime'
> > > > > > > Object path (JBCOBJECTLIST) :
> > > > > > > '/app/t24/dm5/bnk.run/ccslib:/app/t24/
> > > > > > >
> > dm5/bnk.run/GR0800004lib:/app/t24/dm5/bnk.run/t24lib:/app/t24/
> > > > > > > dm5/
> > > > > > >
> > bnk.run/GR0800005lib:/app/t24/dm5/bnk.run/GR0800006lib:/app/t2
> > > > > > > 4/dm5/
> > > > > > >
> > bnk.run/radlib:/app/t24/dm5/bnk.run/cardlib:/app/t24/dm5/bnk.r
> > > > > > > un/
> > > > > > >
> > usrdlib:/app/t24/dm5/bnk.run/GR0800012lib:/app/t24/dm5/bnk.run/atmlib'
> > > > > > > jBASE Compiler Run-time ďż˝ ďż˝ : '/app/tafc/r10SP8/R10/config/
> > > > > > > system.properties'
> > > > > > > Program dir (JBCDEV_BIN) ďż˝ ďż˝: '/app/t24/dm5/bnk.run/ccsbin'
> > > > > > > Subroutine dir (JBCDEV_LIB) : '/app/t24/dm5/bnk.run/ccslib'
> > > > > > > Max open files ďż˝ ďż˝ ďż˝ ďż˝ ďż˝ ďż˝ ďż˝: 8192 jsh aatkinso ~ -->- Hide
> > > > > > > quoted text -
I think I understand, but recreating (Universe) problems to make software portable seems to be a bit ridiculous. Not sure of the nature of problems that you recreated, but I take your point. However....
Is Universe still alive? (I am trying not to sound as ignorant!)
How many Universe customers are migrating to jBASE? How many already migrated?
Could not we finally forget about these UV compatibility issues?
<ignorant>UV seems to be dead to me :)</ignorant>
UV seems to be dead for many other customers.
Were efforts spent to be (fully) Universe compatible worth of it? Would not be better to give advices to guys who port their own software and to fix T24 to run correctly on jBASE? I bet that T24 R06 will not run on Universe :)
Migration is always a big project. I know that you were trying to make it easier.
I recall one clever Temenos guy whom we met this year at Temenos Community Forum in Lisbon. He showed us T24 compiled as Java native application (yes! :)). It looked impressive (not because it was Java). He shown us also jBASIC grammar. We have asked him - "could you share"? Answer was no: "it took over 2 years (or so) to create this bloody grammar". Explanation was simple - you can not imagine how some of the constructs execute and that some are valid. Temenos has spent a lot of time on
replicating jBASIC/compiler behaviour instead of telling some of the gus - please correct your nasty program, which does not work as intended (or miracurously works as intended).
Kind regards
Pawel
Dnia 15-08-2011 o godz. 22:31 Jim Idle napisaďż˝(a):
> > Dnia 15-08-2011 o godz. 20:29 Jim Idle napisaďż˝(a):
http://jbase.markmail.org/search/?q=fastscan
Jim
> -----Original Message-----
> From: jb...@googlegroups.com [mailto:jb...@googlegroups.com] On Behalf
> Of Pawel (privately)
> Sent: Monday, August 15, 2011 1:47 PM
> To: jb...@googlegroups.com
> Subject: RE: RE: jbase problems show-items-locks
>
> > > > > Another note - non-secure is really not secure :(( Consider
> > > > > using secure mode (and pay something in performance) or J4.
> > > >
> > > > > Yet another note... is DM something called "migration tool"?
> > > >
> > > > > And - your OFS.REQUEST.DETAIL is distributed? Just curious why.
> > > > > Accumulating over 2Gb a day?
> > > >
> > > > > VK
> > > >
> > > > > On Aug 10, 7:45 pm, adrian <ar_atkin...@yahoo.com> wrote:
> > > >
> > > > > > We are using 10 threads at the moments
> > > >
> > > > > > we are using JR type out of the box from Temenos. (non-
> secure)
> > > >
> > > > > > we are using DM.SERVICE.DATA.FILE which we are using on a RAM
> > > drive.
> > > >
> > > > > > as you can see below in the show-item-locks you can see blank
> > > keys.
> > > >
> > > > > > 31 9358 ../bnk.data/st/ FBNK_CUSTOMER_CHARGE
> > > > > > 5383596
> > > > > > 0x57a7c41c,W ---
> > > > > > 31 9358 ../bnk.data/st/ FBNK_CUSTOMER_ROLE
> > > > > > 0x02300000,W ---
> > > > > > 31 9358 ../bnk.data/st/ FBNK_RELATION_CUSTOMER
> > > > > > 5383596
> > > > > > 0x57a7c41c,W ---
> > > > > > 31 9358 ../bnk.data/st/ FBNK_RELATION_CUSTOMER
> > > > > > 11561555
> > > > > > 0x5e90b3b0,W ---
> > > > > > 31 9358 ../bnk.data/st/ FBNK_CUSTOMER#NAU
> > > > > > 5383596
> > > > > > 0x57a7c41c,W
> > > >
> > > > > > 33 9367 ../bnk.data/of/
> > > > > > F_OFS_REQUEST_DETAIL_06
> > > > > > MBDM112090115838227.05
> > > > > > 0x31fc7d36,W ---
> > > > > > 33 9367 ../bnk.data/eb/ F_DM_SERVICE_DATA_FILE
> > > > > > CCS.DM.CUSTOMER.MEMA-20110810037483638476
> > > > > > 0x59b0e064,W ---
> > > > > > 33 9367 ../bnk.data/eb/
> > > > > > F_JOB_LIST_3
> > > > > > 1139
> > > > > > 0x6883ccaf,W ---
> > > > > > 34 9371 ../bnk.data/eb/ F_LANGUAGE
> > > 0x0000001c,R
> > > > > > ---
> > > > > > 34 9371 ../bnk.data/st/ FBNK_CUSTOMER#NAU
> > > > > > 4872036
> > > > > > 0x04b9c9ed,W ---
> > > > > > 34 9371 ../bnk.data/of/
> > > > > > F_OFS_REQUEST_DETAIL_08
> > > > > > MBDM112090521738237.01
> > > > > > 0x5c4e0da1,W ---
> > > > > > 34 9371 ../bnk.data/eb/ F_DM_SERVICE_DATA_FILE
> > > > > > CCS.DM.CUSTOMER.MEMA-20110810037483537290
> > > > > > 0x0f29a5e6,W ---
> > > > > > 34 9371 ../bnk.data/eb/
> > > > > > F_JOB_LIST_3
> > > > > > 250
> > > > > > 0x7b754110,W ---
> > > > > > > > System : HP-UX vic-samt B.11.31.U
> > > > > > > > ia64 UNIX User : aatkinso (uid 187,
> euid
> > > > > > > > 187)
> > > Tty
> > > > > > > > name : /dev/pts/0
> > > Time
> > > > > > > > : Fri Aug 5 20:31:32 2011
> > > >
> > > > > > > > Environment
> > > > > > > > ===========
> > > >
> > > > > > > > JBCPORTNO : Not Set
> > > TAFC_HOME
> > > > > > > > : '/app/tafc/r10SP8/R10'
> > > > > > > > JBCGLOBALDIR : '/app/tafc/r10SP8/R10'
> > > > > > > > WARNING: JBCDATADIR is not set, Default
> > > '/app/tafc/r10SP8/R10/
> > > > > > > > jbase_data'
> > > > > > > > WARNING: JBCDATADIR is subdirectory of JBCGLOBALDIR
> > > HOME
> > > > > > > > : '/app/t24/dm5/bnk.run'
> > > > > > > > JEDIFILEPATH : '/app/t24/dm5/bnk.run'
> > > > > > > > JEDIFILENAME_MD : '/app/t24/dm5/bnk.run/VOC'
> > > > > > > > JEDIFILENAME_SYSTEM :
> '/app/t24/dm5/bnk.run/SYSTEM'
> > > > > > > > RELEASE Information : Major 10.0 , Minor 0.8 ,
> > > Patch
> > > > > > > > (Change
> > > > > > > > 92702)
> > > > > > > > Spooler dir (JBCSPOOLERDIR) : '/usr/spool/jspooler'
> > > > > > > > JBCEMULATE : 'prime'
> > > > > > > > Object path (JBCOBJECTLIST) :
> > > > > > > > '/app/t24/dm5/bnk.run/ccslib:/app/t24/
> > > > > > > >
> > > dm5/bnk.run/GR0800004lib:/app/t24/dm5/bnk.run/t24lib:/app/t24/
> > > > > > > > dm5/
> > > > > > > >
> > > bnk.run/GR0800005lib:/app/t24/dm5/bnk.run/GR0800006lib:/app/t2
> > > > > > > > 4/dm5/
> > > > > > > >
> > > bnk.run/radlib:/app/t24/dm5/bnk.run/cardlib:/app/t24/dm5/bnk.r
> > > > > > > > un/
> > > > > > > >
> > >
> usrdlib:/app/t24/dm5/bnk.run/GR0800012lib:/app/t24/dm5/bnk.run/atmlib'
> > > > > > > > jBASE Compiler Run-time :
> > > > > > > > '/app/tafc/r10SP8/R10/config/ system.properties'
> > > > > > > > Program dir (JBCDEV_BIN) :
> '/app/t24/dm5/bnk.run/ccsbin'
> > > > > > > > Subroutine dir (JBCDEV_LIB) :
> '/app/t24/dm5/bnk.run/ccslib'
> > > > > > > > Max open files : 8192 jsh aatkinso ~ -->-
> > > > > > > > Hide quoted text -
>
>
>
To be honest, the idea that any large program could be inspected and
improved to get rid of the 'dross' doesn’t work. The programs are generally
way too complicated and involved. For this reason I doubt the Thierry will
get the Java version to work 100%, though I wish him all good luck with it.
But generally it is easier for the runtime guys to accommodate a program
than have the application programmers fix their code.
Most of the UniVerse compatibility stuff was done for T24 in fact.
Jim
> -----Original Message-----
> From: jb...@googlegroups.com [mailto:jb...@googlegroups.com] On Behalf
> Of Pawel (privately)
> Sent: Monday, August 15, 2011 2:07 PM
> To: jb...@googlegroups.com
> Subject: RE: RE: RE: jbase problems show-items-locks
>
> Hi,
>
I think that at one point, we changed J4 files so that if you made them read
only, then they would not use binary/group locks. chmod a-r should tell you.
This could well have changed of course and probably is not implemented for
JR files.
Jim
We use triggers and they work like a charm :) Proposed approach with trigger could be used, but sounds like workaround of problem and would impact on performance negatively.
T24 has a lot of files - it would mean that we need to create a trigger for each one (we do not want to have blank ids in our database!). Solution would not laso work for tempfiles that can potentially be created by the system. Therefore it does not sound interesting and I would expect system solution.
I think that there is no better (and more efficient) place to add something like:
if (recordid[0] == '\0' && crash_on_empty_ids_enabled) { exit(-1); }
in right places of libjbase / (jEDI) driver(s) :)
Null ids are causing jBASE to be inconistent in a way that on non-MV database (Oracle, SQL Server, DB2) will not accept empty ids as primary keys. Such WRITEs with empty id will fail on Oracle if I remember well. RECORDID primary key on Oracle was mandatory, thus non nullable.
Ross: could you explain me why would you need to create records with blank ids? (or record ids with field/multi/value separators?)
New environment variable has been proposed, because jBASE configuration is built around environment variables. I would of course perfer some more sophisticated and documented :) configuration file.
Kind regards
Pawel
NB. I like jBASE db very much, but I expect it to be superfast and reliable :)
Dnia 16-08-2011 o godz. 1:19 Ross Ferris napisaďż˝(a):
> Dnia 15-08-2011 o godz. 20:29 Jim Idle napisaďż˝(a):
> > > > > Another note - non-secure is really not secure :(( Â Consider
> > > > > using secure mode (and pay something in performance) or J4.
> > > >
> > > > > Yet another note... is DM something called "migration tool"?
> > > >
> > > > > And - your OFS.REQUEST.DETAIL is distributed? Just curious why.
> > > > > Accumulating over 2Gb a day?
> > > >
> > > > > VK
> > > >
> > > > > On Aug 10, 7:45Â pm, adrian <ar_atkin...@yahoo.com> wrote:
> > > >
> > > > > > We are using 10 threads at the moments
> > > >
> > > > > > we are using JR type out of the box from Temenos. (non-secure)
> > > >
> > > > > > we are using DM.SERVICE.DATA.FILE which we are using on a RAM
> > > drive.
> > > >
> > > > > > as you can see below in the show-item-locks you can see blank
> > > keys.
> > > >
> > > > > > Â Â Â 31 Â Â Â 9358 ../bnk.data/st/ FBNK_CUSTOMER_CHARGE
> > > > > > 5383596
> > > > > > 0x57a7c41c,W Â Â Â Â ---
> > > > > > Â Â Â 31 Â Â Â 9358 ../bnk.data/st/ FBNK_CUSTOMER_ROLE
> > > > > > 0x02300000,W Â Â Â Â ---
> > > > > > Â Â Â 31 Â Â Â 9358 ../bnk.data/st/ FBNK_RELATION_CUSTOMER
> > > > > > 5383596
> > > > > > 0x57a7c41c,W Â Â Â Â ---
> > > > > > Â Â Â 31 Â Â Â 9358 ../bnk.data/st/ FBNK_RELATION_CUSTOMER
> > > > > > 11561555
> > > > > > 0x5e90b3b0,W Â Â Â Â ---
> > > > > > Â Â Â 31 Â Â Â 9358 ../bnk.data/st/ FBNK_CUSTOMER#NAU
> > > > > > 5383596
> > > > > > 0x57a7c41c,W
> > > >
> > > > > > Â Â Â 33 Â Â Â 9367 ../bnk.data/of/
> > > > > > F_OFS_REQUEST_DETAIL_06
> > > > > > MBDM112090115838227.05
> > > > > > 0x31fc7d36,W Â Â Â Â ---
> > > > > > Â Â Â 33 Â Â Â 9367 ../bnk.data/eb/ F_DM_SERVICE_DATA_FILE
> > > > > > CCS.DM.CUSTOMER.MEMA-20110810037483638476
> > > > > > 0x59b0e064,W Â Â Â Â ---
> > > > > > Â Â Â 33 Â Â Â 9367 ../bnk.data/eb/
> > > > > > F_JOB_LIST_3
> > > > > > 1139
> > > > > > 0x6883ccaf,W Â Â Â Â ---
> > > > > > Â Â Â 34 Â Â Â 9371 ../bnk.data/eb/ F_LANGUAGE
> > > 0x0000001c,R
> > > > > > ---
> > > > > > Â Â Â 34 Â Â Â 9371 ../bnk.data/st/ FBNK_CUSTOMER#NAU
> > > > > > 4872036
> > > > > > 0x04b9c9ed,W Â Â Â Â ---
> > > > > > Â Â Â 34 Â Â Â 9371 ../bnk.data/of/
> > > > > > F_OFS_REQUEST_DETAIL_08
> > > > > > MBDM112090521738237.01
> > > > > > 0x5c4e0da1,W Â Â Â Â ---
> > > > > > Â Â Â 34 Â Â Â 9371 ../bnk.data/eb/ F_DM_SERVICE_DATA_FILE
> > > > > > CCS.DM.CUSTOMER.MEMA-20110810037483537290
> > > > > > 0x0f29a5e6,W Â Â Â Â ---
> > > > > > Â Â Â 34 Â Â Â 9371 ../bnk.data/eb/
> > > > > > F_JOB_LIST_3
> > > > > > 250
> > > > > > 0x7b754110,W Â Â Â Â ---
> > > > > > > > System            : HP-UX vic-samt B.11.31.U
> > > > > > > > ia64 UNIX User          : aatkinso (uid 187, euid
> > > > > > > > 187)
> > > Tty
> > > > > > > > name           : /dev/pts/0
> > > Time
> > > > > > > > : Fri Aug  5 20:31:32 2011
> > > >
> > > > > > > > Environment
> > > > > > > > ===========
> > > >
> > > > > > > > JBCPORTNO Â Â Â Â Â Â Â Â Â : Not Set
> > > TAFC_HOME
> > > > > > > > : '/app/tafc/r10SP8/R10'
> > > > > > > > JBCGLOBALDIR Â Â Â Â Â Â Â Â : '/app/tafc/r10SP8/R10'
> > > > > > > > WARNING: JBCDATADIR is not set, Default
> > > '/app/tafc/r10SP8/R10/
> > > > > > > > jbase_data'
> > > > > > > > WARNING: JBCDATADIR is subdirectory of JBCGLOBALDIR
> > > HOME
> > > > > > > > : '/app/t24/dm5/bnk.run'
> > > > > > > > JEDIFILEPATH Â Â Â Â Â Â Â Â : '/app/t24/dm5/bnk.run'
> > > > > > > > JEDIFILENAME_MD Â Â Â Â Â Â : '/app/t24/dm5/bnk.run/VOC'
> > > > > > > > JEDIFILENAME_SYSTEM Â Â Â Â : '/app/t24/dm5/bnk.run/SYSTEM'
> > > > > > > > RELEASE Information     : Major 10.0 , Minor 0.8 ,
> > > Patch
> > > > > > > > (Change
> > > > > > > > 92702)
> > > > > > > > Spooler dir (JBCSPOOLERDIR) : '/usr/spool/jspooler'
> > > > > > > > JBCEMULATE Â Â Â Â Â Â Â Â Â : 'prime'
> > > > > > > > Object path (JBCOBJECTLIST) :
> > > > > > > > '/app/t24/dm5/bnk.run/ccslib:/app/t24/
> > > > > > > >
> > > dm5/bnk.run/GR0800004lib:/app/t24/dm5/bnk.run/t24lib:/app/t24/
> > > > > > > > dm5/
> > > > > > > >
> > > bnk.run/GR0800005lib:/app/t24/dm5/bnk.run/GR0800006lib:/app/t2
> > > > > > > > 4/dm5/
> > > > > > > >
> > > bnk.run/radlib:/app/t24/dm5/bnk.run/cardlib:/app/t24/dm5/bnk.r
> > > > > > > > un/
> > > > > > > >
> > > usrdlib:/app/t24/dm5/bnk.run/GR0800012lib:/app/t24/dm5/bnk.run/atmlib'
> > > > > > > > jBASE Compiler Run-time   :
> > > > > > > > '/app/tafc/r10SP8/R10/config/ system.properties'
> > > > > > > > Program dir (JBCDEV_BIN) Â Â : '/app/t24/dm5/bnk.run/ccsbin'
> > > > > > > > Subroutine dir (JBCDEV_LIB) : '/app/t24/dm5/bnk.run/ccslib'
> > > > > > > > Max open files        : 8192 jsh aatkinso ~ -->-
Jim,
AA
--
Jim
> -----Original Message-----
> From: jb...@googlegroups.com [mailto:jb...@googlegroups.com] On Behalf
> Of David McGehee
> Sent: Tuesday, August 16, 2011 5:50 PM
> To: jb...@googlegroups.com
> Subject: RE: RE: RE: jbase problems show-items-locks
>
Also don't forget that batch inputs will be processed better if you make
the files read only and do not delete anything until a cleanup at the end
(of all processing). Knowing that there is no problem with read/update
locking, J4 files will not take the locks (unless someone changed this in
jBASE 5 for instance). Also, you should look in to FASTSCAN as application
programmers.
Jim
> -----Original Message-----
> From: jb...@googlegroups.com [mailto:jb...@googlegroups.com] On Behalf
> Of John Watson
> Sent: Wednesday, August 17, 2011 2:59 AM
> To: jBASE
> Subject: Re: jbase problems show-items-locks
>
It is because Google preserves the time stamp of the email when it was received, but it won’t actually go out until it is approved. The timestamps are correct.
jim
From: jb...@googlegroups.com [mailto:jb...@googlegroups.com] On Behalf Of Charlie Noah
Sent: Wednesday, August 17, 2011 1:42 PM
To: jb...@googlegroups.com
Subject: Re: jbase problems show-items-locks
Hi VK,
I may be wrong, but is not that effect of file handles pooling? As far as I remember jBASE keeps physically not more than X (say 1000) files open. Closing a handle / file means loosing its lock, right? (not 100% wheter I am right)
Kind regards
Pawel
Dnia 17-08-2011 o godz. 6:45 Mark Hogden napisaďż˝(a):
> > > Dnia 15-08-2011 o godz. 20:29 Jim Idle napisaďż˝(a):
> > read more Âť- Hide quoted text -
Thank you very much for discussion, which was started by Adrian. I should likely create separate thread not to abuse his original post. Anyway...
Unfortunately I do not understand FASTSCAN interface. I know that there is JBASE_DISTRIB_FASTSCAN environment variable. It is already set to 1 in our config. I am not sure however of full meaning of the variable. Jim explained partly in the past and I could not understand difference / benefits from normal file traversal. I should also check my work mail - perhaps I have explanation and simply do not remember anymore.
T24 R06 is currently doing something like that (worker thread concept):
1. Allocate JOB.LIST.x file name (name completely unpredictable - can be JOB.LIST.1 or JOB.LIST.7 or something else if job is really old)
2. Store ids/transaction data to be processed. Single recordid may contain from 1 to X transaction data inside.
3. Each agent:
SELECT joblist SAMPLE number
process transaction/transaction(s) that are not being processed (locked)
again SELECT joblist SAMPLE number....
and so on, and so on...
Above pattern could be changed to avoid unnecessary SELECT joblist SAMPLE number. Say agent could keep his own, local list of items (SELECT joblist SAMPLE number result):
a) if item not existent remove it from locally kept list (already processed by other agent)
b) if item locked keep it still on the list and count (being processed, but agent may fatal out for any reason (DEADLOCK eg.))
c) if item not locked - process and remove from the list
d) if list empty or count<number - SELECT joblist SAMPLE number
5000 as number should be fine (should be fine for 500 agents 10 servers each)
Unnecessary SELECTs should be avoided. JOBLIST files can not be marked
I would prefer also that JOB.LIST names are unique and PREDICTABLE! JOB.LIST file is though thing for jBASE, because of right sizing and variable data volume. You know however that there are big jobs with more transactions and smaller jobs with less transactions - but you can not size joblists well! Currently joblist files needs to be sized (more or less) the same way, which is not perfect. AFAIK JR is not available for jBASE 4.1.
Last thing (jBASE 4.1)
We see that SELECT joblist SAMPLE number (traversing file) causes a lot of locks to be taken (each group is binary locked). I will try to paste truss output. That is normal, right? FASTSCAN could change it? (but joblist files are SELECTed and updated at the same time!)
NB. Jim I saw your (very old) post - http://groups.google.com/group/jBASE/browse_thread/thread/6133536abb4c30e7/0d4703621957b4d7?hl=en&lnk=gst&q=file+system#0d4703621957b4d7. Perhaphs you would like to give us trial of you "J5" filetype? :)
I will try to give you more information about (P7) problems we face.
Kind regards
Pawel
Dnia 17-08-2011 o godz. 18:35 Jim Idle napisaďż˝(a):
Jim
> -----Original Message-----
> From: jb...@googlegroups.com [mailto:jb...@googlegroups.com] On Behalf
> Of VK
> Sent: Friday, August 19, 2011 12:08 AM
> To: jBASE
> Subject: Re: jbase problems show-items-locks
>
Jim
> -----Original Message-----
> From: jb...@googlegroups.com [mailto:jb...@googlegroups.com] On Behalf
> Of John Watson
> Sent: Friday, August 19, 2011 1:52 AM
> To: jBASE
> Subject: Re: jbase problems show-items-locks
>