go to post Yaron Munz · Jan 20, 2023 How exactly are you counting, Robert? to me it looks shorter than the previous one
go to post Yaron Munz · Jan 20, 2023 Class codeGolf.Pyramid{ ClassMethod Build(f As %Integer){ F i=1:1:f K s,c S ($P(s," ",f-i+1),$P(c,"#",i*2))="" W s,c,!} }
go to post Yaron Munz · Jan 19, 2023 Read this: CSP Session Management | Using Caché Server Pages (CSP) | Caché & Ensemble 2018.1.4 – 2018.1.7 (intersystems.com) - look at "Session Timeout"
go to post Yaron Munz · Jan 19, 2023 Yes the arbiter was unable to communicate. It looks like a network issue.I recommend you to open a WRC for that
go to post Yaron Munz · Jan 10, 2023 Usually what matters on "big globals" is the capacity (and compression) on disk.For that, you may use:Set sc=##class(%GlobalEdit).GetGlobalSize(directory , GlobalName , .Allocated , .Used) %Library.GlobalEdit - InterSystems IRIS Data Platform 2022.2 - including private class members
go to post Yaron Munz · Jan 10, 2023 Hello, Basically, a namespace is a "logical" place that can have it's data from more than 1 database. You have namespace1 binded to database1.When you create a new namespace2 (binded to database2) and then create a "global mapping" for namespace2 to point for your specific globals from database1
go to post Yaron Munz · Dec 30, 2022 Ephraim, When you say "corrupted" to better understand...- Did you try to mount the DB (from the SMP of with ^MOUNT)? Sometimes if IRIS/Cache was "forced" than a *.lck file on the DB folder need to be deleted in order to allow a successful mount. - If the DB is mounted, did you got a <DATABASE> (or other) error? if so, then what was said using ^Integrity and ^Repair could help - but only if you fully understand how to use those tools (!) Most of the time, a corrupted DB is fixable using those tools, or at least data can be 99% recovered. Depending on the number of errors: if its huge than sometimes it is faster to recover the DB from a valid backup + journal files. BTW - if this is a mirrored DB than there are other considerations as well. Happy new year!
go to post Yaron Munz · Dec 30, 2022 Was the normal procedure done after the upgrade?e.g. $system.OBJ.CompileAllNamespaces("cru")
go to post Yaron Munz · Dec 30, 2022 Happy new year Udo. And many thanks and wishes to all the great community members that makes this place one of the best to acquire and share Intersystems technology knowledge.
go to post Yaron Munz · Dec 21, 2022 Hello, I have done a CSP page that allows to measure timings. This shows that using a delimited string, is somehow "a slight" faster than using a list. Running 10,000,000 iterations on the following code gives: Set a=$LB(1,2,3) Set b=$LG(a,2) 1.214642 sec. Set a="1_2_3" Set b=$P(a,"_",2) 1.1711362 sec.
go to post Yaron Munz · Nov 30, 2022 I see that all your TLS/SSL configurations are Client type.Usually, there is no need to point to the certificate, unless the "client will be asked to authenticate itself".You should go into each of your configurations, to check if this option is enabled/used. If so, then you will have to update the: "File containing this client's certificate" with the new pem file
go to post Yaron Munz · Nov 8, 2022 Hello Paul, The compression is using "zstd" type of compression, comming from %occStream.inc The function that is used is: $System.Util.Compress(%data,"zstd")
go to post Yaron Munz · Oct 28, 2022 I would open a WRC on that since it looks like a pure bug in the SQL compiler
go to post Yaron Munz · Oct 26, 2022 I assume that you want to skip one (or more) indices for specific values.You may use an "after" trigger to manually delete an index based on some of the properties.For this approach, you will need to change this trigger, every time you add/change a property or an index.
go to post Yaron Munz · Oct 11, 2022 @Jeffrey Drumm have you able to solve this ? We are having the same problem.We have the IRIS internal apache webserver configured to have HTTPS access, with self-signed certificate.Connection to the SMP portal is working fine with HTTP and HTTP.When we tried to "force" HTTPS only (by doing a HTTP->HTTPS redirect on apche level) we are not able to connect with VS-code: we get the same error: "unable to verify the first certificate".We tried to uncheck the "Http: System Certificates" and "Http: Proxy Strict SSL" but this was not solving the problem. Currently, the only workaround I see is to disable the redirection, but with this solution we will still having (even by mistake) HTTP traffic to the server, which we want to aviod. Any idea ?
go to post Yaron Munz · Oct 7, 2022 Usually, when using old VT100 sessions (CHUI) then there is a "main" function that can handle all special chars (e.g. PF1-4, ESC, HOME, CTRL-F) in one central place that is being called from all screens. I would recommend using the following a technique:Read *a Set zb=$zb,key=$keyThen, you may examine those variables zb and key to capture special keys.
go to post Yaron Munz · Sep 28, 2022 On a given machine any process can run "as fast" as the CPU clock rate (higher = faster = more operations/sec.) It is true that a single process can do approx. 15-20 MB/sec. (depends on the CPU clock rate & the disk type: SSD, Premium SSD, Nvme) The best way to overcome this limitation is do to a "heavy I/O" processes in parallel using the queue manager.On machines with 16/32 cores, you may achieve your "infrastructure limits" (160MB/sec) easily and even more (we managed to go to a 1000MB/sec of Nvme disks)
go to post Yaron Munz · Sep 13, 2022 ClassMethod MinLength(s As %String) As %Integer{F i=1:1:$L(s," "){S v($L($P(s," ",i)))=i} Quit $O(v(""))}
go to post Yaron Munz · Sep 5, 2022 Yes, you have also journal files... they keep all the changes (set, kills, start/end transactions) made to the DB (after actual write to the DBs) and also to be able to roll back transactions. The write daemon and the WIJ file is more to keep DB physical "integrity" in case of a failure, and its before actual data is being written to the DBs I see you are using windows. So just look at the windows "task manager" for the "active time" of the disk D:\ If you see that there are times that you hit the 100% "active time" then move the WIJ to a different disk. This will improve performance.