New post

Encontrar

Announcement
· 5 min ago

Resumen del mes de agosto, 2024

¿No habéis podido entrar en la Comunidad todo lo que os gustaría? ¡No os preocupéis! Os traemos un resumen de todo lo que hemos publicado en el mes de agosto. Seguid leyendo y no os lo perdáis ⬇️⬇️
Estadísticas generales
✓ publicaciones nuevas:
 16 artículos
 8 anuncios
 1 nueva pregunta
Top 10 Publicaciones más vistas
Top 5 Autores más populares
Todos los artículos
#InterSystems IRIS
Onboarding con InterSystems IRIS: una guía completa
Por Kristina Lauer
Interoperabilidad En Python: actualización soporte async
Por Alberto Fuentes
La exportación XML del proyecto de Studio omite inesperadamente los archivos webapp (CSP) cuando el nombre de la webapp no contiene barras oblicuas
Por Luis Angel Pérez Ramos
Usando Firebase Cloud Messaging con IrisFirebase FCM
Por Daniel Aguilar
[Estudio de caso] Control eficaz del código fuente en la sanidad
Por Ricardo Paiva
QuinielaML - Predicciones de la 1ª jornada de la Quiniela
Por Luis Angel Pérez Ramos
Primera búsqueda vectorial en IRIS
Por Alberto Fuentes
QuinielaML - Predicciones de la 2ª jornada de la Quiniela
Por Luis Angel Pérez Ramos
La extensión de ObjectScript de VS Code pueden mostrar documentos del servidor de sólo lectura
Por Alberto Fuentes
Acceso a Azure Blob Storage
Por Jose-Tomas Salvador
WebTerminal no funciona en IRIS 2024.2
Por Jose-Tomas Salvador
QuinielaML - Predicciones de la 4ª jornada de la Quiniela
Por Luis Angel Pérez Ramos
Recorrer roles de forma recursiva
Por Alberto Fuentes
 
#InterSystems IRIS for Health
 
#Caché
 
#Open Exchange
 
Todos los anuncios
#InterSystems IRIS
 
#InterSystems Official
 
#IRIS contest
 
Todas las preguntas
#InterSystems IRIS
Error consultando foreign table en MySQL
Por Luis Angel Pérez Ramos
 
agosto, 2024Month at a GlanceInterSystems Developer Community
Discussion (0)1
Log in or sign up to continue
Digest
· 14 min ago

Participez au Premier Concours d'Articles Techniques

Cher membre de la communauté,

Bienvenue au premier concours de rédaction d'articles techniques InterSystems !

✍️ Concours d'articles techniques ✍️

Durée : du 2 au 29 septembre

🎁 Cadeaux pour tous : un cadeau spécial pour chaque participant !

🏅 Prix pour les auteurs de meilleurs articles 

Rédigez un article sur n’importe quel sujet lié aux produits ou services InterSystems pour participer au concours. 

➡️ Tous les détails peuvent être trouvés dans cette annonce.

À vos claviers ! Bonne rédaction & Bonne chance  ✨

Digest
· 16 min ago

Resumen de la Comunidad de Desarrolladores, agosto 2024

Hola y bienvenidos al boletín de la comunidad de desarrolladores agosto 2024.
Estadísticas generales
✓ publicaciones nuevas:
 16 artículos
 8 anuncios
 1 nueva pregunta
12 nuevos miembros se unieron en agosto
1,833 contenidos publicados de forma constante
678 miembros se unieron de forma constante
Publicaciones populares
Autores populares
Artículos
#InterSystems IRIS
Onboarding con InterSystems IRIS: una guía completa
Por Kristina Lauer
Interoperabilidad En Python: actualización soporte async
Por Alberto Fuentes
La exportación XML del proyecto de Studio omite inesperadamente los archivos webapp (CSP) cuando el nombre de la webapp no contiene barras oblicuas
Por Luis Angel Pérez Ramos
Usando Firebase Cloud Messaging con IrisFirebase FCM
Por Daniel Aguilar
[Estudio de caso] Control eficaz del código fuente en la sanidad
Por Ricardo Paiva
QuinielaML - Predicciones de la 1ª jornada de la Quiniela
Por Luis Angel Pérez Ramos
Primera búsqueda vectorial en IRIS
Por Alberto Fuentes
QuinielaML - Predicciones de la 2ª jornada de la Quiniela
Por Luis Angel Pérez Ramos
La extensión de ObjectScript de VS Code pueden mostrar documentos del servidor de sólo lectura
Por Alberto Fuentes
Acceso a Azure Blob Storage
Por Jose-Tomas Salvador
WebTerminal no funciona en IRIS 2024.2
Por Jose-Tomas Salvador
QuinielaML - Predicciones de la 4ª jornada de la Quiniela
Por Luis Angel Pérez Ramos
Recorrer roles de forma recursiva
Por Alberto Fuentes
#InterSystems IRIS for Health
#Caché
#Open Exchange
Anuncios
#InterSystems IRIS
#InterSystems Official
#IRIS contest
Preguntas
#InterSystems IRIS
Error consultando foreign table en MySQL
Por Luis Angel Pérez Ramos
agosto, 2024Month at a GlanceInterSystems Developer Community
Article
· 22 min ago 2m read

如何定位临时global在IRISTEMP数据库中占用的空间

当进程中的数据不需要持久化保存,但又需要用到global的高性能特性时,我们常常将数据保存在临时global中,也就是保存在IRISTEMP/CACHETEMP数据库中。

系统使用 IRISTEMP/CACHETEMP 数据库保存临时的数据,用户也可以进行同样的操作。

关于临时global以及IRISTEMP数据库的更多内容,可以参见文档 Temporary Globals and the IRISTEMP Database

以下情况global作为临时使用:

  1. 系统临时global (^IRIS.Temp*, ^%cspSession, ^CacheTemp*, ^Mtemp*, 等)
  2. 用户定义的 globals 映射至 IRISTEMP/CACHETEMP 
  3. 处理私有globals (^||name, ^|"^"|name, ^["^"]name,^["^",""]name,等)
  4. GLOBAL TEMPORARY 表

1和2的大小可以通过使用 ^%GSIZE 获取

USER>do ^%GSIZE
Directory name: c:\intersystems\iris\mgr\user\ => c:\intersystems\iris\mgr\iristemp\
                            // 指明iristemp 数据库的位置
All Globals? No => yes       // Yes 为显示所有globals: 34 项被选中
34 available globals
Show details?? No => No   //  No 为不显示更多信息 
Device:
Right margin: 80 =>
:

3和4  进程私有global 可以通过使用 ^GETPPGINFO 查看。

更多关于 ^GETPPGINFO 的信息请查阅文档 这里

下面的例子列出了当前进程下所有的私有globals:

 set ^||flintstones(1)="Fred"
 set ^||flintstones(2)="Wilma"
 znspace "%SYS"
 do ^GETPPGINFO("*")

另一个方法用于输出单个进程使用较大数量的私有global:

 set ns=$namespace
 znspace "%SYS"
 // Only processes with more PPG blocks than the total number of processes are included
 set st=##class(%SQL.Statement).%New()
 set status=st.%PrepareClassQuery("%SYS.ProcessQuery","AllFields")
 set rs=st.%Execute()
 while rs.%Next() {
    set pid=rs.%Get("Pid") // Process ID
    set cnt=rs.%Get("PrivateGlobalBlockCount") // Number of PPG blocks
    // When the number of PPG blocks per process is 0 or more, the contents are output (the following example shows 20 or more blocks).
    if cnt > 20 {
       set rs2=##class(%ResultSet).%New("%SYS.ProcessQuery:PPG")
       // "N" Do not return subscripts of a PPG, just return the root name
       // "B" Return the number of blocks used by the PPG (needs the "N" option)
       do rs2.Execute("*",pid,"NB")
       for {
          quit:'rs2.Next()
          write cnt_" PID:"_pid_", PPG name "_rs2.GetData(1)_" is using "_rs2.GetData(3)_" disc blocks",!
       }
    }
 }
 
 znspace ns
Discussion (0)1
Log in or sign up to continue
Question
· 49 min ago

Airportsterminalsme

 

The terminal guides on Airportsterminalsme.com are incredibly detailed, which is exactly what I need when I’m in a rush or feeling a bit lost. They break down each airport terminal, showing where check-in counters, security checkpoints, and gates are located. There’s even info on transport options like airport shuttles, taxis, and public transport, which is a lifesaver when you’re trying to figure out how to get to your hotel after a long flight. One of my favorite features is the airport lounge information. As someone who values a bit of peace and quiet before a flight, knowing where to find a good lounge makes all the difference.

Discussion (0)1
Log in or sign up to continue