go to post Dmitry Maslennikov · Nov 16, 2018 When you going to do it in production, you will stop it anyway for some time.But just for testing, I think you can extract backup with any empty ensemble on a new server, and use this extracted data on IRIS.
go to post Dmitry Maslennikov · Nov 16, 2018 I think it will not be possible to restore backups from Caché/Ensemble to IRIS.I'm sure that in most cases, it is possible to just rename CACHE.DAT to IRIS.DAT, and configure it exactly as it was in Ensemble, should work. And maybe it will work for you as well.If you can easily repeat configuration on any just installed Ensemble server, do it in the same way for IRIS.
go to post Dmitry Maslennikov · Nov 16, 2018 I'm not sure if this static test will answer our question, but maybe a good point to start.
go to post Dmitry Maslennikov · Nov 16, 2018 I think we don't have any other possibilities how to catch changes in source code. Do you know how to catch if any object in any class was changed, outside of this class, if you don't have any triggers there? No easy task. But I think it is possible to find some tricky ways if you don't care about just in time notifications. You can monitor any changes in the data, and filter by changing particular globals and subscripts. If you will describe what are you going to achieve exactly, it will be easier to help you.
go to post Dmitry Maslennikov · Nov 16, 2018 Ok, then, why it is so important, why I it is not recommend to use bitmap in case of so many unique values? And what should be used instead?
go to post Dmitry Maslennikov · Nov 16, 2018 I think you meant 64000, not 6400.But it is not limitation actually. It is only length of bit string used in InterSystems products. And you have more values, it will add next chunk. I have system where we have billions IDs in bitmap indices, and it works fine. Even when we have terabytes just only indices.
go to post Dmitry Maslennikov · Nov 14, 2018 To edit code, you should have it locally like in Atelier. This mode just server view, you can see a code, but not edit. You can export all code as files, from a server by command `Export sources`. After that by editing this code, it will be saved to a server and compiled if configured.
go to post Dmitry Maslennikov · Nov 14, 2018 It is possible to develop and never use ObjectScript, but you will be limited with used language and will not most of the breakthrough features we have in Caché/IRIS. Likely with IRIS you have more capabilities, and even almost as in ObjectScript.Yes, you can move from Caché to IRIS, maybe you will need some changes in your code. But it's not so much work.But if speaking about conversion to any other language. How do you think, is it possible to convert let's say, C# application to Python, or to Java or vice versa? This, of course, depends on, how big is your application, and how much time you ready to spend on this process. No easy way, just complete rewrite, no other ways.
go to post Dmitry Maslennikov · Nov 13, 2018 Evgeny already mentioned just released preview version of IRIS 2018.2. And fortunately documentation from this version already available online, and they offer to use new dialect org.hibernate.dialect.InterSystemsIRISDialect. You can try to use it.
go to post Dmitry Maslennikov · Oct 24, 2018 Very interesting question. Actually, it mostly depends on your application and how do you work with private data there. You can make application for any number of customers working in one database, with good security which does not allow to access data from one customer by another. But in this case mostly means, that your application should be designed so, from the beginning.Another and maybe simplest way is making separate databases for each customer. In Caché you can create multiple namespaces with different databases for each customer, but with the same database for a code of your application. So, you can update all sites at the same time.Nowadays, I would recommend looking at containerization of application. And with kubernetes you can very fast deploy any new site with completely separate code and data between customers. But it means some work on how to prepare your application to be deployable with kubernetes.
go to post Dmitry Maslennikov · Oct 23, 2018 I have done kubernetes deployments on a couple of projects, but both of them is private. And I can't share it. If you need some help, you can contact me directly, and I can share some ideas about how it can be done.
go to post Dmitry Maslennikov · Oct 22, 2018 %CacheObject was replaced with %Compiler.Type.Object. But this class was and still for internal use, how do you use it?
go to post Dmitry Maslennikov · Oct 16, 2018 Silent install uses exactly the same manifest file, as for interactive. And it will install all components. But you can choose which one you really need with ISC_PACKAGE_CLIENT_COMPONENTS parameter and when this parameter empty will be installed all components.
go to post Dmitry Maslennikov · Oct 15, 2018 Why do you need so? By default with silent install, will be installed all components. But if you need to switch off some packages, you can configure really custom installation. More details in the documentation.
go to post Dmitry Maslennikov · Oct 14, 2018 This rouitine should be available from %SYS namespace, and stored in CACHESYS database. All routines and globals which starts with Z,z from %SYS namespace, or %Z,%z from any namespace will be stored there.
go to post Dmitry Maslennikov · Sep 30, 2018 InterSystems has licenses for Linux various systems, so, they can offer license for it, and they have license type especially for docker version based on ubuntu. I'm don't see any issues in performance, and mostly because I don't have so much big projects, yet, and don't use it in production. Current cases are only CI/CD.
go to post Dmitry Maslennikov · Sep 29, 2018 Well, how I would dive into this issue.Run %SYS.MONLBL in production, for a relevant time gap, at least 1 hour. You can filter it by classes which you care, and get the only line counts, to decrease impact on speed.So, you can collect summary time for all such Methods.Change a few of them to the new way as a ClassMethod, from MONLBL you can find the list of frequently used ones. So, will be easy to find what to change.Run %SYS.MONLBL with the same conditions as in the first time.Compare results.DecideOf course, this way not so easy to realize, and depends on how you deploy code in production. Or maybe it even possible to measure in the testing environment.
go to post Dmitry Maslennikov · Sep 27, 2018 if you working on Linux, you can try to use device-mapper as storage-driver, which is also supported by InterSystems.
go to post Dmitry Maslennikov · Sep 27, 2018 This behaviour expected if you use default Docker configuration, look at mention about aufs above in comments.But, you should use docker version 18.06, because in newest version already deleted support for AUFS, and InterSystems does not work on overlay driver wchich is used by default in Docker.when your container run, and you can find it in running state, you can use command docker ps -a which will show all existing containers in any state. and then you can look at the logs of particular container docker logs `hash shown after run command or assigined name visible in docker ps -a`
go to post Dmitry Maslennikov · Sep 27, 2018 It happens because you still have $ensemble, replace all occurrences, and everything will be okay