There's currently no way to do that.
- Log in to post comments
There's currently no way to do that.
You can also use this call to expand database non-interactively (size is in mb):
set $namespace = "%SYS"
set sc = ##class(SYS.Database).ModifyDatabase("/path/to/db/folder", size)It's useful for benchmarks and such.
I just like to add that SQL Gateway is an abstraction over both JDBC and ODBC connections.
I believe so, but it depends on how large the session is that you have in mind
Interoperability Visual Trace starts slowing down on sessions above 100 000 messages, and considerably slows down on 300 000 messages per session.
I'm interested in a tool that would allow me to see these large sessions graphically, currently I work with them via SQL.
Great tool!
Does it work on large sessions?
You can't bypass the challenge.
Neither by $classmetho() nor any code generator as this is all static code frozen and inflexible a runtime.
Why?
A case where user must be able to:
Can be solved in many ways, without indirection (aka executing code stored as a string).
I usually provide a base class, which a user must extend and populate with his own methods. After that in the source app, just call SubclassOf Query from %Dictionary.ClassDefinition to get all implementation and show them to a user to pick from.
Works good enough.
Might as well invoke the method directly:
<Invoke Class="%Library.EnsembleMgr" Method="SetAutoStart" CheckStatus="true" >
<Arg Value="${MyNamespace}" />
<Arg Value="myProd.Production" />
</Invoke>Or is there a reason to use a proxy method?
I think OP needs non-interactive approach.
Nice!
Yeah, zeroes make $tr($j()) trick less applicable to the current challenge.
Great investigation, Robert!
And it looks like we have a winner with this pull request.
Set in your REST broker:
Parameter CONTENTTYPE = {..#CONTENTTYPEJSON};
Parameter CHARSET = "UTF-8";The idea of a scrollable result set is to call Save/OpenId - and the result set would continue on a next row automatically. So you don't need to manage to/from indices:
Here's an example
It's also about 3 times faster since the query is only executed once:
do ##class(User.Pagination).Time("Save")
Save took 0,0048 sec
do ##class(User.Pagination).Time("NoSave")
NoSave took 0,0143 secTo reclaim disk space from the wsl docker data disk, execute:
wsl --shutdown
diskpart
select vdisk file="C:\Users\<USER>\AppData\Local\Docker\wsl\data\ext4.vhdx"
attach vdisk readonly
compact vdisk
detach vdisk
exit Alternatively (requires Windows Pro and HyperV being enabled):
wsl --shutdown optimize-vhd -Path "C:\Users\<USER>\AppData\Local\Docker\wsl\data\ext4.vhdx" -Mode full
Sure, why not.
Thank you!
Looks like exactly what I need.
Go to System > Journals, choose any 1GB journal which was just created and press Profile.
Now recalculate by size and you'll see which globals created the most journal records.
.png)
is there a way for me to execute in SQL for the above?
Of course!
Queries are TVFs, you can CALL them or SELECT from them:
SELECT * FROM %SYSTEM.License_ConnectionAppList()
.png)
Summary:
SELECT * FROM %SYSTEM.License_Counts()
You need a Reply Code Action, E=S or something more specific.
Check:
Check %SYSTEM.License queries. There are queries which provide summary and detailed information on license consumption. You can than create a task which runs every minute and if license consumption exceeds say 80%, store current license users into a separate table with a timestamp. Later you can use this table to analyze usage patterns.
I need for this operation to run in a same, separate process (on which I need to do bookkeeping) so InProc mode won't work for my use case.
¯\_(ツ)_/¯
Do you have SMP access? If so:
/csp/user.For a test try to give R to others on CSP.ini and restart Apache.
You could try submitting the message to the head of the queue
How do I do that?
Check the permissions/ownership on:
<IRIS>/csp/bin/CSP.iniMost likely irisusr is unable to access this file.
Congratulations!
Got it