Is there a tool to get the slowests queries ?
InterSystems Caché is a multi-model DBMS and application server. See more details here.
InterSystems Caché is a multi-model DBMS and application server. See more details here.
Is there a tool to get the slowests queries ?
In writing some code on:
Cache for Windows (x86-64) 2015.1 (Build 429U) Fri Feb 13 2015 14:37:23 EST
I noticed an unexpected "ROLLFAIL" error when a Unique Index fail was generated in a %Save() call.
The object SHOULD fail to save, since the Unique criteria is not met, but I didn't expect to see a ROLLFAIL error as the "Last Error".
When running the following class code:
Class BUG.Test Extends %Persistent
{
Property Field1 As %String;
Property Field2 As %String;
Index idx1 On Field1 [ Unique ];
ClassMethod Test()
{
kill ^BUG.TestD
kill ^BUG.Hi -
I know that when specifying Caché password rules (i.e. what constitutes a valid password definition) that the "Pattern Matching" logic is what is getting leveraged under the covers to enforce the "A Password Must conform to X" rule. I was hoping that people could share some more sophisticated pattern matching rules. (in particular, I was wondering what a rule that would require non-repeating mixture of letter, numbers, & punctuation of an overall minimal size)
I have a Zen page, and I would like to have an onload handler to run a bit of javascript when the page is ready. Unfortunately, the page inherits from a template, and the template already has an onload handler that does all kinds of useful things. Is there any way to override the onload handler in my page, while still being able to call the onload handler that is inherited from the template? In ObjectScript, there is ##super, but in javascript, there is no equivalent of that.
Coming from a C/C++/C# background, I was expecting the & and | operators in Cache ObjectScript to perform bitwise operations on integers, but apparently they don't.
I checked the online documentation http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY…
but couldn't find any information on bitwise integer arithmetic.
So given the following code:
set x = 10 //bit pattern is : 1010
set y=3 //bit pattern is: 0011
What operator can be used to return z = x <BITWISE OR> y = 1011 (binary) = 11 (decimal)
Thanks,
Bill
Good day
Additional tool for MUMPS servers MiniM InterConnect:
http://www.minimdb.com/tools/interconnect.html
to connect job on one MUMPS server to other job on other MUMPS server in client-server mode. This tool can connect different MUMPS systems on different OS and with different processors - MiniM, Cache and GT.M in any pairs.
Regards,
Eugene Karataev
Hello
I have to receive GPS tracks through a TCIP port using SOCKET listen port from INTERNET, how can I implement this in CACHE? through websocket ?. Thanks if you can help me.
Does anyone have a snippet to create the Namespace and database with defaults in one command?
Something like:
do ##class(Utils.Namespace).Create(Name)Please share?
Thank you in advance!
I had a table which contained data and worked fine, without changes the code of the persistent classes I now get the following error:
II have tried to browse the data for a 'clue' but no result.
What is the explanation of the error message?
Thanks in advance!
Hi all, Basically i have 2 queries..
Is there any simple way to fetch the data directly from the database (using the URL and credentials) from the csp file without creating a link table for that particular Table...?? If there is, could you please share the syntax of using them ..?
Can we have an object return type from the below mentioned method to a javascript function.. ???
<script language="cache" method="methodName" arguments="argument1" returntype= "Not sure of the return type"> QUIT object </script>
Just curious how many companies use in their work Docker containers, I mean not only with InterSystems products. And if such companies exist, which of them uses docker and doesn't use it for InterSystems products by some reasons. What are the reasons? For companies which already uses InterSystems in containers, how do you use it? Development environment, testing or even in production ?
And if you don't use but thought about it, what are the reasons which stop you.
Does anyone know how to connect a Cache client to a GT.M database? I recently installed Osehra VistA on my PC and it uses GT.M, but we're supposed to use Cache Studio to develop. I tried adding a server to Cache (specifying 2222 as the port) and I get an "access denied" error. Port 2222 is the correct port which I use for for VirtuaBox and I have no problem connecting to VistA. I also tried going into the Management Portal to set up a local connection but this isn't working. There are some sites that say the products 'nodem' or 'node.
Good day
Let me offer Cache Tools
http://www.minimdb.com/tools/cachetools.html
Routine and Global editors for Intersystems Caché, ported to Windows, Linux, MacOSX.
Regards,
Eugene Karataev
Good Morning, All replies are appreciated.
We have a development instance of cache that was installed and the person that installed and set it up is no longer here. We have no id's that we have the passwords for. I have brought the database up in emergency mode and I can get access thru the terminal using my emergency id but I do not know how to add a user/password thru the terminal. Can someone enlighten me or point me to documentation that I haven't found yet.
We tested REST Services as described for Caché DocServer example and for requests using http protocol it works without problems. However when we use the https protocol for the same REST Service it is not available. Our infrastructure is as follows: Apache with openssl, which works on the other hand well for CSP with https. If we switch on the web gateway http trace facility we could see the request of CSP pages by https://. but again a request of a REST Service by https:// will not result in a entry in the tracer.
I would like to integrate SQL into our ObjectScript routines in order to illustrate how SQL can be used to minimize development time. However, there are two questions I have.
Hi,
is there a way to copy namespace mappings from another namespace to a new namespace programmatically with a command?
When using management portal there is an option to choose an existing namespace to copy the mappings from, I'm basically looking for the equivalent from command line / COS.
Thanks
Martin
I'm trying to use the standard TSQL DECLARE syntax but I get the following error:
[%msg: < IDENTIFIER expected, @ found^ DECLARE @>]
How do I declare a variable? For instance:
Good day! Can someone briefly explain or give me a link to documentation why in Linux Cache starts 8 Write Daemons (Main and 7 Slaves)? Thanks!
As stated in title, I want to log everything I type/get in the terminal to a log file, is there a setting like this somewhere?
Preferably I'd like to enable it once and that's it.

CLM is a tool for localization/internationalization/adding multi-language support to a project based on InterSystems Caché.
Imagine that you have a ready project where all the content is in Russian, and you need to add an English localization to it. You wrap all your strings into resources, translate them into English and call the necessary resource for Russian or English when necessary. Nothing tricky, if you think about it. But what if there are lots of strings and there are mistakes in Russian (or English)? What if you need to localize in more than one language – say, ten? This is exactly the kind of project where you should use CLM. It will help you localize the entire content of your project into the necessary language and retain the possibility to correct entries.
I saw in: http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY…
How to add a Setting to a Host, BO , BS or BP.
But, how to set a beautiful name for a setting?
Ex for properties:
Property foo As %String;
Property bar As %String;
Parameter SETTINGS = "foo,bar";
I'd like something like:
"A foo property"
"A bar Property"
i have this error
DrawTableError : <MAXSTRING> zDrawTable+349^%CSP.Util.TablePane.2
perhaps i have the possibility of Deleting all history queries, but i think better to check the table where last queries were stored and solve it by deleting wrong registries. anybody knows where is the table 'QueryHistory'.
Hi All,
I have configured my application with IIS 8.5 in windows server 2012.
I have tried to generate sample HTML report . The issue is
when the url is like 'http:\\192.168.1.2\test...mode='html'....' the reports are generated successfully.
but while using systemname like 'http:\\mysystemname\test....mode='html'...' the reports are not generated and throws error like
" The XML page cannot be displayed Cannot view XML input using XSL style sheet.
I get this on some queries in some namespaces. For instance, this query:
It works fine in HSBUS but in HSREG it throws the error.
Server closed communication device
Does anyone know what would cause this? Would it log something more useful somewhere?
I am pleased to announce the field test of Caché and Ensemble 2017.1, including many new improvements.
The product team at InterSystems looks forward to your participation in the field test and feedback over the coming months.
Some of the more significant changes in 2017.1 are the new RESTful APIs for iKnow, FIPS 140-2 validated cryptography for Caché database encryption, and improved DocBook search. As always there are a host of scalability and performance improvements to the core database and SQL. And hundreds of smaller improvements and corrections.
I have a soap webservice extended from %SOAP.WebService class
Lets say i have web method and have return type of following classes (either one of them)
Class ReturnTypeA
{
Property SelectedDoses As %XML.DataSet;
}
Class ReturnTypeB
{
Property SelectedDoses As list Of WebServices.DataTypes.Dose;
}
Which return type class has better performance while in terms of xmL serialization ? A or B
my client application is in C#
looking for what the timeout value is for the connection for shadowing. and if it is known the timeout for mirroring also.
I'm currently getting this error and when we go to mirroring it would be good to know also, this way we can go back to our network vendor and give them as much info as possible.
10/19/16-12:19:40:696 (d30b6) 2 [SHADOWING] SHADOW SERVER (PRODSHAD): <ZREAD>ReadNone+3^SHDWUTIL;ERROR #1071: TCP read timed out - remote server is not responding (repeated 16 times)
thanks
Paul
The technology of load balancing between several servers with relatively low capacity has been a standard feature of Caché for quite a while. It is based on the distributed cache technology called ECP (Enterprise Cache Protocol). ECP provides a host of possibilities for horizontal scaling of an application, and yet keeping the project budget fairly low. Another apparent advantage of ECP network is the possibility to conceal its architecture in the depths of Caché configuration so that applications developed for the traditional (vertical) architecture can be fairly easily migrated to a horizontal ECP environment. The ease of this process is so mesmerizing, that you start wishing it was always this way. For instance, everybody is used to having a possibility to control Caché processes: the $Job system variable and associated classes/functions work magic in skilful hands. Stop, but now processes can end up being on different Caché servers…
This article is about how to gain as much transparency in controlling processes in ECP environment as in traditional (non ECP) one.
Hi,
I try to programmatically create a parameter for a dataCombo ZEN Component (which is in turn created on the server side at runtime).
Set tParm = ##class(%ZEN.Auxiliary.parameter).%New()
Set tParm.id = "pRegion#"_pExamContainerCount, tParm.name = "pRegion#"_pExamContainerCount
Set tExam = ##class(%ZEN.Component.dataCombo).%New()
Set tExam.id = "Exam#"_pExamContainerCount, tExam.label = "Untersuchung", tExam.queryClass = "Inventory.ServiceCatalog", tExam.queryName = "QGetExaminations", tExam.showEmpty = "false", tExam.size = "52", tExam.onchange = "zenPage.updateExamDescription(zenThis.