首页 Hologres User Guide Hologres + BI IBM Cognos Analytics

IBM Cognos Analytics

更新时间: 2026-05-08 02:50:33

IBM Cognos Analytics provides tools to connect to data, prepare it for analysis, and create visualizations to help you make data-driven decisions. This topic describes how to connect IBM Cognos Analytics to a Hologres instance and perform visual analysis.

Procedure

  1. Install IBM Cognos Analytics.

    Install IBM Cognos Analytics. For more information, see the official IBM Cognos Analytics documentation.

  2. Connect to Hologres.

    1. Log on to IBM Cognos Analytics, click the Manage icon (manage) in the lower-left corner, and create a data source connection.

    2. At the top of the page, click the plus icon (+) to create a new data source connection. For the data source type, select PostgreSQL.创建数据源

    3. After you select PostgreSQL as the data source type, configure the JDBC URL and authentication method parameters.配置参数

      Parameter

      Description

      JDBC URL

      The JDBC URL. Use the following format: jdbc:postgresql://<host>:<port>/<databasename>. The parameters are as follows:

      • host: The public endpoint of the Hologres instance. Obtain the endpoint from the Network Information section of the instance details page on the Hologres console.

      • port: The port number of the Hologres instance. Obtain the port number from the Network Information section of the instance details page on the Hologres console.

      • databasename: The name of the database that you created in Hologres.

      Driver class name

      Keep the default value for this parameter.

      Authentication method

      For the authentication method, select Use the following signon.

    4. Under authentication method, click the plus icon (+) to add authentication credentials. Enter the User ID and Password.用户名密码

      Parameter

      Description

      User ID

      The AccessKey ID of your Alibaba Cloud account. For instructions on how to obtain it, see Create an AccessKey.

      Password

      The AccessKey Secret of your Alibaba Cloud account. For instructions on how to obtain it, see Create an AccessKey.

    5. After you configure the parameters, click Test in the lower-left corner. A Success message indicates that the test was successful. Enter a name for the connection at the top of the page and click Save.测试

    6. After the data source connection is saved, click the Schemas tab and select the schema to load. To the right of the target schema name, click the More icon and select Load metadata or Load options.schema Load metadata loads metadata for all tables in the schema, while Load options lets you configure detailed data settings. In this topic, we use Load metadata as an example.

    7. After the schema information loads, a success message appears, as shown in the following figure. You are now connected to Hologres and can begin performing visual analysis.loaded

  3. Create a data module.

    After creating the data source connection, you can build a data module for data analysis.

    1. Log on to IBM Cognos Analytics, click the plus icon (+) in the lower-left corner, and select data module from the list.data module

    2. On the Select sources page, click the data servers icon on the left. On the Data servers tab, click the data source connection that you created.选择数据集

    3. On the details page of the data source connection, schemas with loaded metadata appear. Select your target schema and click OK at the bottom of the page.添加schema

    4. On the Add tables page, select Select tables and then click Next at the bottom of the page.

    5. On the Select tables page, select the target table and click OK.select tables

    6. On the modeling page, click Relationships to define a table relationship.relation

    7. On the Create relationship page, after you define the table relationship, click Save.表关系

  4. After creating the model, you can use it for visual analysis. For more information about IBM Cognos Analytics, see the official IBM Cognos Analytics documentation.分析

上一篇: Grafana 下一篇: Metabase
阿里云首页 实时数仓 Hologres 相关技术圈