Nova postagem

Pesquisar

Artigo
· Maio 31, 2024 3min de leitura

Migración de Datos desde Amazon Redshift a InterSystems IRIS: Un Enfoque Práctico y Ventajas Estratégicas

Buenos días a todos:

Trabajo en el sector bancario en el área de seguridad. Indagando sobre nuevas tecnologías y posibilidades, he planteado si InterSystems IRIS podría aportar algún valor en el tratamiento de datos. La respuesta es que sí; IRIS permite la centralización de datos y el análisis en tiempo real de los mismos. Además, podríamos beneficiarnos de la interoperabilidad de su tecnología. Si bien es cierto que InterSystems está muy avanzado en el ámbito sanitario, estoy convencido de que sus beneficios podrían aplicarse a otras áreas como la banca.

¿Por Qué Migrar de Amazon Redshift a InterSystems IRIS?

Migrar desde Amazon Redshift a InterSystems IRIS ofrece varias ventajas que pueden ser especialmente relevantes en sectores como el bancario:

  1. Seguridad: IRIS ofrece robustas características de seguridad que aseguran la protección de datos sensibles.
  2. Velocidad de Carga y Tiempo Real: La capacidad de IRIS para manejar grandes volúmenes de datos con alta velocidad de carga y análisis en tiempo real es un gran beneficio.
  3. Interoperabilidad: La tecnología de IRIS permite una fácil integración con otras aplicaciones y sistemas, facilitando la centralización y el acceso a los datos desde múltiples fuentes. Desde hace un tiempo, existe dentro del propio marketplace de AWS la posibilidad de integración con InterSystems.

Procedimiento de Migración

A continuación, vamos a ver un ejemplo de como podríamos migrar datos desde Amazon Redshift a InterSystems IRIS usando Python.

Requisitos Previos
  • Acceso a Amazon Redshift y a InterSystems IRIS.
  • Instalación de las bibliotecas de Python necesarias.
Código de Ejemplo
  • Conexión a Amazon Redshift y InterSystems IRIS
import psycopg2
import intersys.iris

# Conexión a Amazon Redshift
conn_redshift = psycopg2.connect(
    dbname='your_dbname',
    user='your_user',
    password='your_password',
    host='your_redshift_cluster_endpoint',
    port='5439'
)
cursor_redshift = conn_redshift.cursor()

# Conexión a InterSystems IRIS
conn_iris = intersys.iris.createConnection("hostname", port, "username", "password")
db_iris = conn_iris.createDatabase("database_name")
  • Extracción de Datos desde Redshift
sql_query = "SELECT * FROM processed_transactions"
cursor_redshift.execute(sql_query)
rows = cursor_redshift.fetchall()
columns = [desc[0] for desc in cursor_redshift.description]
  • Creación de Tabla e Inserción de Datos en IRIS ​​​​​
# Crear tabla en IRIS si no existe
create_table_query = """ CREATE TABLE IF NOT EXISTS processed_transactions ( column1 datatype, column2 datatype, ... ); """ 
db_iris.runQuery(create_table_query) # Insertar datos en InterSystems IRIS 
for row in rows: 
insert_query = f""" INSERT INTO processed_transactions ({', '.join(columns)}) VALUES ({', '.join(['%s'] * len(row))}) """ 
db_iris.runQuery(insert_query, row)

Reflexión Personal

En mi experiencia en el sector bancario, la migración de datos puede parecer una tarea monumental, pero con las herramientas y estrategias adecuadas, es posible lograr una transición suave. InterSystems IRIS no solo aporta una robusta seguridad y velocidad, sino que también facilita la interoperabilidad con otros sistemas, lo cual es crucial para la eficiencia operativa y la toma de decisiones basada en datos.

Aquí hay algunos consejos y cuestiones a tener en cuenta:

  • Planificación y Pruebas: Es necesario asegurarse de planificar y probar la migración en un entorno de testeo antes de hacerlo en producción.
  • Monitoreo y Ajustes: Después de la migración, es importante monitorizar el rendimiento y ajustar según sea necesario para optimizar las operaciones.

¡Gracias!

Discussão (0)1
Entre ou crie uma conta para continuar
Anúncio
· Maio 31, 2024

[Vidéo] Utilisation de SQL avec InterSystems IRIS

Salut la Communauté!

Profitez de regarder la nouvelle vidéo sur la chaîne Youtube d'InterSystems France

📺 Utilisation de SQL avec InterSystems IRIS

Découvrez comment obtenir un accès relationnel hautes performances à l'aide de SQL pour gérer les données au sein de vos produits InterSystems.

Cette vidéo est doublée grâce à Bard, l'intelligence artificielle de Google. 

N'oubliez pas à partager vos réflexions et impressions dans des commentaires après avoir regardé cette vidéo !

Discussão (0)1
Entre ou crie uma conta para continuar
Pergunta
· Maio 31, 2024

Irisnative library that works on Windows 10 with 8-bit IRIS

Hi there,

I am interested to execute ObjectScript commands from external language.  I saw that IRIS provides the irisnative library for this.

I am using Windows and 8-bit IRIS server (due to compatibility with old software I need to use 8-bit instead of Unicode).

I tried to execute irisnative for Javascript and for python, without success, as I explained in my previous questions.

I would like to ask you whether Intersystems provides an API to execute commands from external scripts (the same as Visual Studio Code does when I execute commands like "Import and Compile", etc.).

Is there a language where the irisnative library works correctly ?  Is there some other library that works and allows me to run external commands from external source ?

Thanks in advance,

 

Alin C Soare.

Discussão (0)1
Entre ou crie uma conta para continuar
Anúncio
· Maio 31, 2024

Quiz time on the Developer Community

It's the QUIZ time today!
Here you can test your knowledge and try to solve the quiz.

Choose the right answer below. 
Author: @Robert Barbiaux

The poll is active for one week, after which we reveal the correct answer along with a link to the documentation.

Discussão (0)1
Entre ou crie uma conta para continuar
InterSystems Oficial
· Maio 30, 2024

2024年5月30日 – 官方公告:许可证强制执行变更– REST 和 SOAP

从发布InterSystems IRIS®数据平台2022.3开始,InterSystems修改了许可证强制执行机制,以包括REST和SOAP请求。由于这种变化,在升级后,使用REST或SOAP的非处理器核数的许可证环境下,用户可能会遇到更高的许可证消耗。要确定此警报是否适用于您的InterSystems许可证,请按照下面链接的FAQ中的说明进行操作。

下表总结了强制执行变更情况:

产品

许可证强制执行中是否包含REST & SOAP 请求?

InterSystems Caché®

InterSystems Ensemble®

InterSystems IRIS, InterSystems IRIS® for Health, and Health Connect prior to 2022.3

InterSystems IRIS, InterSystems IRIS for Health, and Health Connect 2022.3 and later

 

客户要求在Caché和IRIS之间实现许可证强制执行的一致性。此次更改将REST和SOAP请求的许可强制执行与《条款和条件》(Terms & Conditions)保持一致;并使 InterSystems 的所有产品保持一致。在规划跨越2022.3阈值的升级应考虑这一变化的潜在影响。

为了帮助您了解此更改的影响,InterSystems正在提供资源,包括临时缓解措施。有关更多信息,请参见:

FAQ - License Enforcement Changes

相关产品变更参考为 DP-417320。

⚠ 如果您对此警报有任何疑问或对临时缓解措施感兴趣,请联系您的InterSystems客户经理或InterSystems Worldwide Response Center (WRC).

1 Comment
Discussão (1)1
Entre ou crie uma conta para continuar