English (Español a continuación)
I.- Introduction
The Report Script allows to extract data from a database (source) to load in another database (target).
- It can be a selective extraction of certain section of data or a massive extraction.
- A file with “.rtp” or “.txt” formats is generated.
The source and target databases can have differences in the outline:
- The Report Script allows to map the output so that it adjusts to the outline of the target database:
- Exclude dimensions.
- Include text fields (with dimensions in the target database and not in the source database).
- Rename members.
- …
- On the other hand, the upload rule that we use to upload this data in the target database also allows us to map:
- Join / split fields.
- Include text fields (with dimensions in the target database and not in the source database).
- Exclude fields.
- Rename members.
- …
In this blog you can consult the section dedicated to “Report Script”.
II.- Report Script from an ASO database to a BSO database
In a Report Script from an ASO database to a BSO database it is possible to select data from level 0 and aggregate levels, from stored and dynamic hierarchies.
It offers great flexibility to determine which section of data we want to extract and map this extraction to adjust it to the outline of the target database.
- But if the data extraction is from very specific segments and requires a complex mapping to adapt it to the target database, it may be preferable to use the @XREF function.
May present a runtime issue depending on the size of the database and the segment of data to extract:
- It is convenient to carry out progressive tests, starting with reduced data extractions and expanding them, to determine if the execution time is acceptable.
- Try to optimize the time of execution:
- Order of dimensions in rows (some specialists recommend ordering the dimensions from left to right, starting with the one with the fewest members in the Report Script to those with the most members).
- Cache (test with different sizes).
- Buffer (test with different sizes).
- …
Any questions, please send an email to: essbaseeasy@gmail.com
Español
I.- Introducción
El Report Script nos permite extraer datos de una base de datos (origen) para cargar en otra base de datos (destino).
- Puede ser una extracción selectiva de unos datos determinados o una extracción masiva.
- Se genera un archivo con formatos “.rtp” o “.txt”.
Las bases de origen y destino pueden presentra diferencias en el outline:
- El Report Script permite mapear la salida para que se ajuste al outline de la base destino:
- Excluir dimensiones.
- Incluir campos de texto (con dimensiones que no están en la base origen y sí en la base destino).
- Renombrar miembros.
- …
- Por otra parte, la regla de carga que utilicemos para subir esta información en la base destino también nos permite mapear:
- Unir / dividir campos.
- Incluir campos de texto (con dimensiones que están en la base destino y no en la base origen).
- Excluir campos.
- Renombrar miembros.
- …
En este blog puedes consultar la sección dedicada al “Report Script”.
II.- Report Script de una base ASO a una base BSO
En un Report Script de una base ASO para una base BSO se pueden llevar datos tanto de nivel 0 como de niveles agregados, tanto de jerarquías almacenadas como dinámicas.
Ofrece gran flexibilidad para determinar que sección de datos queremos llevar y mapear la extracción para ajustarla al outline de la base destino.
- Pero si la extracción de datos es de segmentos muy específicos y requiere un mapeo complejo para adaptarlo a la base destino puede ser preferible utilizar la función @XREF
Puede presentar un problema de tiempo de ejecución en función del tamaño de la base de datos y del segmento de datos que se quiere extraer:
- Conviene ir realizando pruebas progresivas, comenzando con extracciones de datos reducidas e irlas ampliando, para determinar si el tiempo de ejecución es aceptable.
- Tratar de optimizar el tiempo de ejecución:
- Orden de dimensiones en filas (algunos especialistas recomiendan ordenar las dimensiones de izquierda a derecha, comenzando por la de menos miembros en el Report Script a las de más miembros).
- Caché (hacer pruebas con distintos tamaños).
- Buffer (hacer pruebas con distintos tamaños).
- …
Cualquier consulta envía, por favor, un correo a: essbaseeasy@gmail.com