StarRocks Data Connection

  • Last update:October 29, 2025
  • Overview

    Version

    FineBI VersionFunctional Change

    6.0.4

    /

    6.0.16

    You can select catalog (data directory). In this way, you can obtain data from the external catalog of StarRocks.

    Application Scenario

    This document introduces how to connect the StarRocks database.

    Preparation for Connection

    Database Version and Driver

    Supported Database VersionDriver Download

    Unlimited

    (Built-in) Download not required

    Preparation

    Before connecting FineBI to the database, you need to collect the following information:

    • IP address and port number of the database server

    • Username and password of the database

    • Catalog and database name

    Connection Procedure

    1. Choose System Management > Data Connection > Data Connection Management > New Data Connection, as shown in the following figure.

     1.1.1.png

    2. Find the StarRocks icon,as shown in the following figure.

     2.1.png

    3. Enter the connection information collected in section "Connection Information Collection."

    The StarRock catalog (data directory) enables access to data from internal and external sources (For details, see:Introduction to catalog). Each StarRocks cluster has and only one internal catalog named default_catalog.

    • The default value of catalog for new data connections is default_catalog, that is, the system accesses the internal catalog internal data directory by default.

    • For data connections created in versions earlier than 6.0.16, the catalog will be displayed as empty, which does not affect normal use.

    • Fill in an external data directory hive_test in the catalog, and you can connect to hive_test and use the added database table to directly extract data from it.

    2.2.png

    iconNote:
    Joint analysis between tables in the catalog and Excel tables is not supported. To perform joint analysis, configure the acceleration engine first. For details, see: Acceleration Engine.

    4. Click Test Connection. After successful connection, click Save, as shown in the following figure.

     2.3.png

    Adding Database Tables to FineBI

    Two methods are available to add database tables to FineBI.

     5.5.5.png

    Adding Database Tables

    Adding SQL Datasets

    When using an SQL dataset to extract data, you need to bring the catalog information (if the catalog information is vacant, the inter catalog will be accessed by default), as shown in the following figure: select * from Catalog. Database name. Table name

    • Catalog: hive_test

    • Database name: tpch_10g

    • Table name: customer

     2.5.png

     


    附件列表


    主题: Data Center
    • Helpful
    • Not helpful
    • Only read

    滑鼠選中內容,快速回饋問題

    滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。

    不再提示

    10s後關閉

    Get
    Help
    Online Support
    Professional technical support is provided to quickly help you solve problems.
    Online support is available from 9:00-12:00 and 13:30-17:30 on weekdays.
    Page Feedback
    You can provide suggestions and feedback for the current web page.
    Pre-Sales Consultation
    Business Consultation
    Business: international@fanruan.com
    Support: support@fanruan.com
    Page Feedback
    *Problem Type
    Cannot be empty
    Problem Description
    0/1000
    Cannot be empty

    Submitted successfully

    Network busy