大家好!

不久前,我将SQL Runtime 统计中的配置更改为“Turn on Stats code generation to gather stats at the Open and Close of a query 。进行此更改后, CACHE的基础( cache / mgr / cache / )增长了很多,达到198GB

昨天,我将SQL运行时统计信息的配置恢复为默认值“关闭统计信息代码生成” ,并且缓存基数不再增长。

我的问题是?

如何删除在CACHE基础(cache / mgr / cache /)中创建的此数据,以及可以删除哪些数据而不影响系统。

谢谢,
法比奥(FábioLouly)。

0 0
0 107

我想在centos访问我部署在windows上的cache 数据库, 我使用了**InterSystems.Data.CacheClient.dll **在我的linux程序中,但是它不能正常的在centos机器上运行,但是可以在我的windows平台运行(改windows平台不是安装cache数据库,并且也没有安装任何cache 软件),有人知道这个怎么解决吗?
try
{
if (conn.State != ConnectionState.Open)
{
conn.Open();
}
CacheCommand cmd = new CacheCommand();
cmd.Connection = this.conn;
if (inTransaction)
cmd.Transaction = trans;

0 5
0 115
问题
· 三月 29, 2022
数据库里的可用空间

当我们在一个命名空间中运行数据清除时,数据库的大小和空间并没有改变。 我想,像Oracle一样,它留下的空白空间是可以被缓存使用的,但有没有办法看到这些空间有多少是可用的? 今天我增加了系统可用的磁盘大小,因为我们已经达到了关键的低磁盘空间,然而,随着清理的进行,我们应该有几百GB的可用空间在数据库内使用。

0 1
0 77

Journaling is NOT on. Updates will NOT be journaled
*** Missing previous 1 files that may contain TSTARTs

ERROR: <ZFILE>ScanForOpenTrans+42^JRNRESTB

There is a problem with searching for open transactions in older files.
If you decide to continue, transactions started in files earlier than
the first one to be restored might remain open after the restore.

Do you want to abort? Yes => No

请问什么情况下会触发出现Do you want to abort?

在门户网站查看数据库Global Journal也是勾选上的.

0 2
0 121

我正在使用MDX2JSON来显示数据,它使用CSP REST来检索数据并使用密码身份验证。我为此应用程序启用了LDAP身份验证,但是它不起作用。

Is it possible to authenticate via LDAP in a CSP REST application?

I am using MDX2JSON do display data, it uses CSP REST to retrieve data and uses Password Authentication. I enabled LDAP authentication for this applicaiton, but it does not work.

0 0
0 73
问题
· 五月 24, 2021
双机备份策略建议

单位cache2016.2用rose做的双机,数据库放在阵列上,通过rose切换挂载同一个阵列磁盘,本质上是一个实例,另外做了个mirror机。

这样的结构在容灾备份上有什么问题没,希望给点建议。谢谢

0 1
0 116

本地库 在打开studio、studio编译类、关闭studio等操作系统卡死,关闭后连接超时。

打开cconsole.log报错日志,提示***严重的磁盘读写错误,I/O错误***,对数据库做了一致性检查,也未发现错误,必须重启电脑或者force库后恢复使用。

请问是什么问题造成的。。。

0 1
0 201

你好!

我想知道,如果在没有运行%BuildIndices()方法的情况下向表中插入索引,是否会有问题。

需要注意的是,在索引之前插入的数据对于检索来说并不重要,所以在索引之前插入的数据在查询中不显示并不是问题。

我问这个问题的原因是,我想避免在需要插入这种索引的大表中进行索引重建。

我正在使用Cache 2018.1。

谢谢。

José

Hi!

I'd like to know if there are any issues if an index is inserted into a table without running the %BuildIndices() method.

It's important to note that data inserted before the index is not important for retrieval, so it's not a problem data inserted before the index don't show up in queries.

0 2
0 148
问题
· 九月 30, 2022
时间格式转换

访问了一个API,得到的返回结果里面有个时间字段,现在返回的格式是这样的 “2022-09-30T07:24:57.899Z”, 怎么样能转换成 YYYY/MM/DD hh:MM:ss的格式

0 1
0 117
问题
· 二月 4, 2021
DynamicArray 循环报错
ClassMethod TestArr()
{
    s arrRow = [1,2,3,4,5,6,7]
    s size = arrRow.%Size() - 1
    for i = 0 : 1 : size {
        s ii = (size / size) * i // 有size运算, 就报错
        w arrRow.%Get(ii), !
    }
    q ""
}

如上,cache循环中有 size 就报错, iris不报😂

0 1
0 135

嗨,社区!

请分享您在生产环境上进行代码部署的经验。您是否在生产系统中编译ObjectScript?可以吗

还是仅在测试环境上编译并将cache.dat复制到生产环境?

Deployment Strategies: Do You Compile ObjectScript on a Production Site?

Hi, Community!

Please share your experience on code deployment on production site. Do you compile ObjectScript on Production? Is it OK?

Or you only compile on Test site and copy cache.dat to a Production?

0 0
0 71

按照此网址的指示 https://gettingstarted.intersystems.com/language-quickstarts/java-quicks... 下载quickstarts-java示例代码 运行xepplaystocktsTask1模块程序提示InterSystems XEP is not supported by the specified server 请问有人知道具体原因吗我的server有什么不对吗。

使用客户端的server manager添加server没有server类型的选项,是因为我使用的cache版本目前不支持吗

0 3
0 109
问题
· 九月 8, 2021
DiskPercentFull

09/08/21-08:33:52:611 (11940) 1 [SYSTEM MONITOR] DiskPercentFull(d:\cachedb\hippapp\) Warning: DiskPercentFull = 95.08 ( Warnvalue is 95).
09/08/21-08:33:52:617 (11940) 1 [SYSTEM MONITOR] DiskPercentFull(d:\cachedb\hippmsg\) Warning: DiskPercentFull = 95.08 ( Warnvalue is 95).

0 2
0 154
问题
· 九月 13, 2021
怎么获取Caché的CDC数据?

1.Caché数据库有没有办法配置然后用sql读取数据库实时变化的数据,类似于mssql那样?我看了可以写类去读取global获取journal的值,但是怎么用sql读呢?

2.不行的话,那用什么方式可以读取到journal日志文件,并输出日志文件的内容?

先谢谢大家了!!!

0 7
0 324
问题
· 四月 29, 2022
csp 接口查询速度极慢排查

目前 cache 架构如上图所示,有部分 csp 接口查询速度不稳定,数据量并不大,每次查询返回也就几十个个病人数据,有时 1-4秒,有时十分慢差不多10几秒;在终端直接执行接口对应方法速度又很快。请问怎么逐步排查、定位问题出在哪一部分?有哪些工具、手段或者 cache 参数可以监控?

0 1
0 79
问题
· 八月 30, 2023
Caché 2016.1 CDC

参考 https://blog.csdn.net/InterSystems/article/details/115350635 搭建 mirror ,获取数据变更,示例给出了获取数据变更的代码:

Class ZCustom.MirrorDejournal Extends SYS.MirrorDejournal
{
Method RunFilter(
MirrorDBName As %String,
GlobalReference As %String,
RecordType As %String,
Address As %Integer) As %Integer
{
Set ^CDCLog( $I($^CDCLog))=$lb(MirrorDBName,GlobalReference,RecordType,Address)
Quit 1
}

0 1
0 102

数据库日志经常性出现如下日志,希望遇到过的朋友给出解决方法!

04/13/21-07:21:28:522 (191540) 0 ECP: Lost net connection: Error 104=(Connection reset by peer)
04/13/21-07:21:28:522 (191540) 1 ECP: connection from 'ECP1:HIS-AAA4:CACHE' dropped (1.1.1.1:14400)
04/13/21-07:21:28:672 (198470) 0 ECP: Mirror Connection request from 'ECP1:HIS-AAA:CACHE' (1.1.1.1:14419)

0 3
0 108
问题
· 六月 7, 2021
csp和webservice文件上传

为什么我用webservice上传文件比csp上传文件快?

webservice用的soap协议也得走http呀。csp直接处理http,少了xml的封装,按理来说应该更快。

经测试,1M的文件,csp慢了0.1s左右。在网关连接到1972后,有0.1s左右的停滞,不知道原因。

有什么办法能够使csp的文件上传速度比webservice快吗?

0 1
0 202
问题
· 十月 14, 2021
sql_safe_updates

Mysql里有sql_safe_updates参数,可以限制不带where条件的update/delete语句执行失败,这个参数设置后,可以防止业务bug/漏洞导致把整个表都更新或者删除(线上发生过的案例),也可以防止在线误操作更新/删除整张表。

请问Cache或者IRIS中有相关的设置吗?翻了下帮助文档,没找到,有个话,告诉下是哪个设置?谢谢

0 1
0 111