検索

InterSystems Oficial
· Out. 3, 2024

Recherches vectorielles plus rapides avec index approximatif du plus proche voisin – désormais disponible dans le programme d'accès anticipé à la recherche vectorielle

Nous avons récemment mis à disposition une nouvelle version d'InterSystems IRIS dans le cadre du programme d'accès anticipé à la recherche vectorielle, comprenant un nouvel index Approximate Nearest Neighbor basé sur l'algorithme d'indexation Hierarchical Navigable Small World (HNSW). Cet ajout permet des recherches de voisins les plus proches très efficaces et approximatives sur de grands ensembles de données vectorielles, améliorant considérablement les performances et l'évolutivité des requêtes.

L'algorithme HNSW est conçu pour optimiser la recherche vectorielle pour les données à haute dimension en créant une structure basée sur un graphique, ce qui permet de trouver plus rapidement des voisins approximatifs dans de grandes collections de vecteurs. Que vous travailliez avec des systèmes de recommandation, le traitement du langage naturel ou d'autres applications d'apprentissage automatique, HNSW peut réduire considérablement les temps de recherche tout en vous permettant d'ajuster le niveau de précision, avec le compromis selon lequel une précision plus élevée entraîne des temps de requête plus lents.

Les principaux avantages de HNSW sont les suivants :

•    Des recherches plus rapides même lorsque la taille de l'ensemble de données augmente
•    Une empreinte mémoire réduite tout en maintenant une précision élevée
•    Intégration transparente avec les capacités de recherche vectorielle IRIS existantes

Comment démarrer

La dernière version est désormais disponible via notre programme d'accès anticipé à la recherche vectorielle. Pour participer, inscrivez-vous ici, téléchargez la nouvelle version et commencez les tests. Vos commentaires sont essentiels alors que nous continuons à améliorer la recherche vectorielle !

Nous vous encourageons à explorer les améliorations de performances et à partager vos réflexions avec la communauté. N'hésitez pas à me contacter pour toute question ou tout commentaire que vous pourriez avoir pendant la phase d'accès anticipé.

Bon codage !

Discussão (0)0
Entre ou crie uma conta para continuar
Anúncio
· Out. 3, 2024

[Video] Navigating SQL Privileges and Security in InterSystems IRIS

Hi Community,

🔐 Make sure your data is secure! Learn some strategies for enhancing security in InterSystems IRIS® data platform:

Navigating SQL Privileges and Security in InterSystems IRIS

In this video, you will learn:

  • How to manage SQL privileges and boost security in InterSystems IRIS.
  • Essential security measures, including:
    • SQL privileges
    • Federated authentication
    • SQL auditing
    • Defenses against SQL injection attacks

Be sure to subscribe to the Learning Services YouTube channel!

Discussão (0)1
Entre ou crie uma conta para continuar
Pergunta
· Out. 3, 2024

IRIS IDE limbo

Is it possible to install IRIS Studio as an evaluation, so I can use the built-in IDE? 

I have installed IRIS Community edition that does not come with a built-id IDE. 

Altelier website is down down.

VSCode with ObjectScript - tried to run simple MUMPS code and says not supported

4 Comments
Discussão (4)3
Entre ou crie uma conta para continuar
Artigo
· Out. 3, 2024 3min de leitura

How to use the FreeSpace query of the SYS.Database class to check the free space on the disk where the database is located

InterSystems FAQ rubric

You can check the free disk space at any time using the system utility class: SYS.Database and query: FreeSpace.

Here's how to try it in the IRIS terminal (go to the %SYS namespace and then run it):

zn "%SYS"
set stmt=##class(%SQL.Statement).%New()
set st=stmt.%PrepareClassQuery("SYS.Database","FreeSpace")
set rset=stmt.%Execute()
do rset.%Display()

The output result example is as follows:

*In the command execution example, all databases are located on the same disk, so the free disk space (DiskFreeSpace) returns the same value.

Dumping result #1
DatabaseName    Directory       MaxSize Size    ExpansionSize   AvailableFreeDiskFreeSpace      Status  SizeInt AvailableNum    DiskFreeSpaceNum        ReadOnly
IRISSYS c:\intersystems\irishealth3\mgr\        無制限  159MB   システムデフォル           ト      18MB    11.32   245.81GB        マウント/RW     159     18      2517050
ENSLIB  c:\intersystems\irishealth3\mgr\enslib\ 無制限  226MB   システムデフォル           ト      19MB    8.4     245.81GB        マウント/R      226     19      2517051
   <一部省略>
IRISTEMP        c:\intersystems\irishealth3\mgr\iristemp\       無制限  51MBシス     テムデフォルト  49MB    96.07   245.81GB        マウント/RW     51      49251705           0
USER    c:\intersystems\irishealth3\mgr\user\   無制限  31MB    システムデフォル           ト      8.5MB   27.41   245.81GB        マウント/RW     31      8.5     2517050

If you want to specify the database directory you want to refer to, run the following:

//Use the $LISTBUILD() function to obtain the full path of the database directory you want to view.
set dbdir=$LISTBUILD("c:\intersystems\irishealth3\mgr","c:\intersystems\irishealth3\mgr\user")
set rset=stmt.%Execute(dbdir)
do rset.%Display()

If you want to get only the Database Name (DatabaseName), Current Size (Size) in MB, Available Space (Available) in MB, Free Space (Free), and Disk Free Space (DiskFreeSpace) in a specified database directory, follow the steps below (create a routine/class in VSCode or Studio while connected to the %SYS namespace and write the code).

Class ZMyClass.Utils
{
ClassMethod GetDiskFreeSpace()
{
    set dbdir=$LISTBUILD("c:\intersystems\irishealth3\mgr","c:\intersystems\irishealth3\mgr\user")
    set stmt=##class(%SQL.Statement).%New()
    set st=stmt.%PrepareClassQuery("SYS.Database","FreeSpace")
    set rset=stmt.%Execute(dbdir)
    while(rset.%Next()) {
        write rset.%Get("DatabaseName")," - ",
        rset.%Get("Size")," - ",rset.%Get("Available")," - ",
        rset.%Get("Free"),"% - ",rset.%Get("DiskFreeSpace"),!
    }
}
}

 

NOTE: If you place user-defined routines or classes in the %SYS namespace, creating them with names beginning with Z ensures that the user-defined source code remains available after an upgrade installation.

An example of execution is as follows.

USER>zn "%SYS"

%SYS>do ##class(ZMyClass.Utils).GetDiskFreeSpace()

IRISSYS - 159MB - 18MB - 11.32% - 245.81GB
USER - 31MB - 8.5MB - 27.41% - 245.81GB

%SYS>
1 Comment
Discussão (1)1
Entre ou crie uma conta para continuar
Pergunta
· Out. 3, 2024

Create - and use - custom setting in BPL

I try to add custom setting in BPL process by adding parameter SETTINGS = "Scope" and property Scope As %String. But how do I access instance property in BPL process? I get error that method or property Scope is not found.

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