Nova postagem

Encontrar

Artigo
· jan 25 2min de leitura

第七章 C - D 开头的术语

第七章 C - D 开头的术语

当前设备 (current device)

系统

处理 I/O 命令的设备。当你登录时,当前设备是你的主设备,通常是你登录时使用的终端或个人计算机。

当前目录 (current directory)

通用

你当前工作的目录。

基于游标的 SQL (cursor-based SQL)

SQL

一种嵌入式 SQL 查询类型,打开一个游标来处理查询。当你的应用程序需要访问多行数据时,必须使用游标。游标像一个指针——它专注于访问和处理一行数据,然后移动到序列中的下一行。

游标 (cursor)

SQL

在多行数据中向前移动的迭代器。

自定义存储 (custom storage)

对象(Objects)

Discussão (0)1
Entre ou crie uma conta para continuar
Resumo
· jan 25

Join the InterSystems Technical Article Contest

Dear member of the Developer Community!

We'd like to invite you to participate in our latest article writing contest:

✍️ InterSystems Technical Article Contest ✍️

Duration: February 3rd - March 2nd, 2025

🎁 Gifts for everyone + main prizes!

🔍 What’s the challenge? Write an article on any topic related to the InterSystems products and services.

>> Full details here

Get ready to shine and inspire others with your tech skills! We can't wait to see what you come up with. ✨

Pergunta
· jan 24

Connect to iris from Visual Studio

I am a volunteer at a nonprofit that is attempting to connect to a product that uses InterSystems Cache (Clinisys LIMS). I have not used this database before, but I have used many others (MS-SQL, Oracle, etc.). I am hoping IRIS is compatible enough with Cache for this project. 

I downloaded IRIS. I learned about Terminal [IRIS]. Using it I was able to create a new table, insert data, and retrieve it. I also used the Management Portal to query the new table. It also returned the data.

Next I attempted to connect with Visual Studio (MS VS 2022 Profesional). I downloaded the InterSystems.Data.IRISClient through NuGet. It was published 1/22/2025. It has only 21 downloads. (Quite strange!) 

I am using this C# code:

   var IRISConnect = new IRISADOConnection();
   IRISConnect.ConnectionString = cs.CreateCs();
   IRISConnect.Open();

I have tried many connection strings. This one seems the most promising:

var IRISConnect = new IRISADOConnection(host: "localhost", port: "1972", nsp: "USER", username: "username1234", password: "abcd1234");
IRISConnect.Open();

String queryString = "SELECT * FROM Test.Employee";
IRISCommand cmd4 = new IRISCommand(queryString, IRISConnect);
IRISDataReader Reader = cmd4.ExecuteReader();
while (Reader.Read())
    Console.WriteLine(Reader.GetValue(0).ToString());

Reader.Close();
cmd4.Dispose();
IRISConnect.Close();

The error occurs on the line, IRISConnect.Open(). It read, "IRIS Security Error". 

I am able to login to both the terminal and management portal with the username and password. The namespace "USER" appears in the management portal, so I believe it is okay as well. The port is listed under the "iris all" terminal command.

The SuperUser roles are "%All" in the Management Portal: System > Security Management > Users > Edit User - (security settings): Roles tab: Role Name.

The "Last Reason for Failing to Login" is "ERROR #5002: ObjectScript error: <READ>Logon+118^%SYS.DBSRV.1". 

How can I login to IRIS with .NET?

 

References: 

1) https://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cls...

2) https://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cls...

3) https://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cls...

4 Comments
Discussão (4)2
Entre ou crie uma conta para continuar
Artigo
· jan 24 2min de leitura

第六章 C 开头的术语

第六章 C 开头的术语

计算机名称 (computer name)

系统

分配给一个处理器、其外围设备及所有相关数据集的名称。这个名称在整个网络中必须唯一。另见系统名称。

并发模式 (concurrency mode)

对象(Objects

并发模式决定在打开和保存对象时执行何种类型的锁定。IRIS 支持五种并发模式(0-4),允许你指定不锁定、原子锁定、共享锁定、共享保留锁定和独占锁定。

并发 (concurrency)

对象(Objects)

并发通过锁定机制控制数据完整性。IRIS 支持五种并发模式,从不锁定到在对象加载到内存直到保存期间持有独占锁。默认情况下,IRIS 对所有对象使用原子锁定。

并发备份 (concurrent backup)

系统

Discussão (0)1
Entre ou crie uma conta para continuar
Pergunta
· jan 24

CPU and Memory utilization per namespace and business component

Hello,

Very much keen if we could gather the per namespace and business component utilization of InterSystems cache server.

For e. I have a PRD server where its CPU utilization is at max all the time and I want to know which namespace and its business process (service/Operation/Process) is utilizing what number of CPU and memory.

** I can get the CPU and Memory utilization per Cache.exe and PID, but not able to get the Namespace and ConfiguratioName to which that particular PID belongs.

 

Thank you,

5 Comments
Discussão (5)2
Entre ou crie uma conta para continuar