Pawel (privately) wrote: > Hi, > > I do not want to sound silly, but for me (user's perspective) there is > no explanation of 1 minute time to show this kind of information (native > locking discussed). > > I agree with everything what Jim said, but still I can not understand > why it takes 1 minute :) Can not Temenos improve this command? There is > really no way? > Very probably. > I think (from truss output) that most of the time is spent on finding > out/showing last column (port number which is keeping lock on requested > resource). > Well, the documentation tells you the difference between LIST-ITEM-LOCKS and SHOW-ITEM-LOCKS already :-) > Temenos advised us to use some other variation (LIST-RECORD-LOCKS or > something) - one that does not display last column. This worked much > faster. So locking information can probably be collected relatively > quickly. > You mean: The locking information shown by LIST-ITEM-LOCKS can be collected relatively quickly, but the extra information that SHOW-ITEM-LOCKS collects may be gathered more efficiently if the locking mechanism in use on your system allows it to be so, which it does not always do.
> Even if I am wrong with my guesses, I will claim that 1 minute time to > show basic locking information seems to be far too much (server is damn > fast). > > I am sure that the algorithm can be improved too, but the basic idea is that you: 1) Fix your application issue; 2-99) See 1; 100) First use LIST-ITEM-LOCKS 101) If you cannot work out what is going on in LIST-ITEM-LOCKS, use SHOW-ITEM-LOCKS 102) If you cannot work it out now, then become a systems analyst and leave it to the programmers ;-) The reason there are two commands is historic. SHOW-ITEM-LOCKS can be improved I am sure, but where do you want TEMENOS to spend their efforts? :-) 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 [email protected] To unsubscribe, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jBASE?hl=en -~----------~----~----~----~------~----~------~--~---
