OceanBase
English日本語简体中文
Docs Home
Products
Integrations
Release Notes

Databases

OceanBase DatabaseOceanBase AI DatabaseOceanBase Cloud OceanSeekOceanBase Best Practices

Tools

OceanBase Cloud PlatformOceanBase Migration ServiceOceanBase Developer CenterOceanBase Migration AssessmentOceanBase Admin ToolOceanBase Loader and DumperOceanBase DeployerKubernetes operator for OceanBaseOceanBase Diagnostic Tool OceanBase Binlog ServiceOceanBase DataPilotOceanBase OAgent

Connectors and Middleware

OceanBase Database Proxy OceanBase Connector/C OceanBase Connector/J OceanBase Connector/ODBC OceanBase Connector/NETOceanBase Command-Line Client

Databases

OceanBase DatabaseOceanBase AI DatabaseOceanBase Cloud OceanSeekOceanBase Best Practices

Connectors and Middleware

OceanBase Database Proxy OceanBase Connector/C OceanBase Connector/J OceanBase Connector/ODBC OceanBase Connector/NETOceanBase Command-Line Client

Tools

OceanBase Cloud PlatformOceanBase Migration ServiceOceanBase Developer CenterOceanBase Migration AssessmentOceanBase Admin ToolOceanBase Loader and DumperOceanBase DeployerKubernetes operator for OceanBaseOceanBase Diagnostic Tool OceanBase Binlog ServiceOceanBase DataPilotOceanBase OAgent
OceanBase DatabaseOceanBase Cloud ToolsConnectors and MiddlewareLifecycle Support Policy

OceanBase DataPilot

V0.35.0
  • Learn about DataPilot
    • Learn about OceanBase DataPilot
    • Feature overview
    • Core features
    • Use cases
    • Product specifications and limitations
  • Get started
    • Quick start with core features
    • Create an Agent
  • Manage workspaces
    • Workspace overview
    • Analyze data sources and access
    • Model gateways and settings
    • Manage MCP tool services
  • Agent guide
    • Agent building and publishing
    • Knowledge asset management
    • Semantic Center
    • Query plans
    • Spreadsheet filling
    • Agent verification and testing
  • Analyst guide
    • Analysts using Agents and applications
    • Personal memory (My Memories)
  • Build data products
    • AI reports
    • Dashboard
    • Data screens
    • Smart tables
    • Workflow
    • Spatiotemporal analysis
    • Document classifier
    • Data Units notebook
  • System operations
    • System operations overview
    • Operations, audit, and task observability
    • Notifications and alerts
    • License management
    • O&M logs and diagnostics
  • Integration and extension
    • Embed SDK for integration
    • Open extension platform
  • Release notes
    • V0.35.0
    • V0.34.0
    • V0.33.1
    • V0.32.0
    • V0.31.0
    • V0.30.0
    • V0.29.0
    • V0.28.0
    • V0.27.0
    • V0.26.0
    • V0.25.0
    • V0.24.0
    • V0.23.0
    • V0.22.0
    • V0.21.0
    • V0.20.0
    • V0.19.0
    • V0.18.0
    • V0.17.0
    • V0.16.0
    • V0.15.0
    • V0.14.0
    • V0.13.0
    • V0.12.0
    • V0.11.0
    • V0.10.0
    • V0.9.0
    • V0.8.0
    • V0.7.0
    • V0.6.0
    • V0.5.0
    • V0.4.0

Download PDF

Document Feedback
  1. Documentation Center
  2. OceanBase DataPilot
  3. V0.35.0

Analyze data sources and access

Last Updated:2026-11-20 12:50:52

Permission and configuration boundaries
Access the analyze data sources settings
Preparation before access
Create or edit a connection
Configure the analysis scope
Public network, private network, and allowlist
Supported data sources and exclusive parameters
Running region and connection verification
Target data source boundaries
Verification after access
Troubleshooting

Analyze data sources are used to discover metadata, read business data, and execute analytical queries. The connection configuration determines the data source instance, while the analysis scope limits the objects that Agents, semantic processors, data applications, and query tasks can use. Queries are also constrained by spatial member relationships, Agent data scopes, row-column permissions, and source account permissions.

Permission and configuration boundaries

Role
Responsibilities
Boundary
Space Administrator Create or edit the analytical data source, test the connection, select the analysis scope, and save the configuration. You must have the management permission for the current space. Template spaces or spaces hosted by external services may not provide an editing entry.
Engineer Select the connected data table in the Agent, configure the data range, and verify the query or data application. The scope of use is subject to space configuration, Agent data scope, and data permissions; you cannot modify a space connection simply by having the Engineer role.
System Administrator Maintain platform-level licenses, regions, network conditions, and auxiliary network configurations for SaaS data sources. Provides platform-level conditions. It does not replace the space administrator in selecting the business data scope or in granting permissions to the source database.

The entry is displayed only in non-template spaces that meet the conditions. If the entry is missing, check the current space, space type, member relationship, "Manage Space" permission, and managed status on the deployment side.

Access the analyze data sources settings

Entry: "Space Configuration" next to the current workspace at the top > Space Management > Analyze Data Sources.

  1. Confirm the current workspace and switch to the target workspace if needed.
  2. Click the "Space Configuration" gear to enter space management.
  3. In the General group, select "Analyze Data Sources".

Preparation before access

  • Ensure the Type drop-down list contains the target type and the License covers the required capabilities.
  • Prepare the connection parameters and sensitive credentials required by the page; required fields vary by type.
  • Ensure the source account has read permission for the selected scope of metadata and the ability to execute queries; write permission is not a default prerequisite.
  • Ensure firewalls, security groups, routing, DNS, proxies, certificates, and private network links allow DataPilot to access the target address from the operational region.
  • Clarify Catalog, Database, Schema, Dataset, or Owner, and use complete paths to distinguish between objects with the same name.
  • When using self-signed certificates, SSH jump servers, cloud service accounts, or tokens, prepare trust materials and store credentials with minimal privilege.

Page fields, data source types, and authorization prompts are based on the current deployment. After saving sensitive credentials for some types, the original values are no longer displayed.

Create or edit a connection

  1. Select a data source type; when editing, confirm the current type and analysis scope.
  2. Fill in the parameters required by the current type; complete the necessary connection information before online discovery.
  3. Select an analysis scope; refresh the scope after changing the Catalog, Database, project, or credentials.
  4. Click "Test Connection" to view feedback such as latency, operational region, and server version.
  5. Click "Save"; the platform validates the form, selects an accessible region from healthy candidate regions, and writes the connection, analysis scope, and regional results.
  6. After modifying connection parameters or sensitive credentials, retest and save.

"Test Connection" only verifies a one-time probe of the current form and does not persist the configuration; "Save" submits the configuration and selects an operational region. If required fields are missing, the page displays a validation prompt.

Note

A successful test connection does not equate to a successful save. Save requires passing full form validation and selecting a healthy operational region that can access this data source; if save fails, the configuration will not be written to the workspace.

Configure the analysis scope

The analysis scope follows the object model of the data source itself.

Range model
Typical Types
Configuration method
Catalog StarRocks、Trino Select Catalog; then select one or more schemas under that Catalog in Trino.
Database MySQL, AnalyticDB for MySQL, OceanBase Database in MySQL-compatible mode, GBase 8a, and ClickHouse Select one or more business databases. External catalogs appear only when the type, database version, and permissions are all supported.
Fixed Schema under a Database PostgreSQL、Amazon Redshift、SQL Server First, identify the physical database, then select one or more business schemas from it.
Warehouse, Database, and Schema Snowflake Select Compute Warehouse, Database, and Schema
Catalog and Schema Databricks Specify the SQL Warehouse connection, then select the Catalog and Schema
Project and Dataset Google BigQuery Use projects and datasets to limit the analysis scope.
Database and Schema MotherDuck Select a database, then select one or more schemas from it.
Owner OceanBase Oracle-compatible mode The data set that can be analyzed is represented by the owner table.
Private Scope of Cloud Services Amazon Athena Configure by region, workspace, query result position, and the data range provided on the page.

Multiple databases, schemas, or owners indicate multiple scopes within the same instance, not cross-instance joint access. Tables with the same name must use a complete path containing scope information; removing a scope may also remove data tables relied on by the Agent.

Public network, private network, and allowlist

  • SaaS public network access: Use the regular form. When the platform provides an outbound IP allowlist, add the published IPv4 address or CIDR to the database firewall or security group.
  • SaaS private network access: Supported data sources display a choice for public or private network. The auxiliary entry is used to prepare cloud accounts, VPCs, VSwitches, endpoints, and read-only private network addresses, but does not log in to the cloud platform or maintain the private network link.
  • Self-managed access: Use the regular form; no SaaS network guidance is provided. The deployment administrator is responsible for routing, DNS, firewall, certificates, and address reachability.

SaaS private network guidance was introduced in V0.20.0, and in V0.29.0, it was limited to OceanBase MySQL and OceanBase Oracle. The actual entry depends on the deployment. SaaS public network outbound allowlisting was introduced in V0.26.0; this list is maintained by the platform administrator and provides only auxiliary information, without changing the NAT outbound or establishing connections. Self-managed deployments do not read this list.

Supported data sources and exclusive parameters

The following table lists only types that are explicitly documented and version-recorded in the current document. The scope of openness for each deployment may vary.

Data Source Type
Analysis Scope and Dedicated Parameters
Evidence Boundary
MySQL Primarily focuses on databases; can configure external catalogs if the page supports it. Whether a catalog appears depends on type recognition, database version, and permissions.
AnalyticDB for MySQL Set the analysis scope to Database and use the MySQL protocol. Type visibility and authorization are subject to the current deployment.
OceanBase Database in MySQL-compatible mode Focuses on databases; displays catalogs and databases when version and permission conditions are met. You can conservatively disable the external catalog if version detection fails or during a rolling upgrade.
OceanBase Oracle-compatible mode The analysis scope is represented by the owner table. The capability to solidify multidimensional tables requires further verification of the target dialect and the current version.
StarRocks Organize the analysis scope by catalog The specific connection fields are subject to the current form.
PostgreSQL and Hologres compatible services Specify a physical database and select one or more business schemas within that database. V0.26.0 requires Hologres to verify compatibility in a real instance
SQL Server Fixed database, select one or more schemas; V0.27.0 records encrypted connections and self-signed certificate configurations The actual encryption options and license depend on the current deployment.
Amazon Athena Region, workspace, query result location, and the analysis scope provided on the page Introduced in V0.28.0; cloud account permissions take effect independently of network conditions
Amazon Redshift A database and one or more schemas Introduced in V0.28.0; actual availability subject to license restrictions
Snowflake Calculate the warehouse, database, and schema sizes. The version record contains key pairs or programmatic access tokens. Introduced in V0.28.0; the authentication method is subject to the current form.
Google BigQuery Project and dataset; complete version records Service account credentials Introduced in V0.28.0; credential fields are subject to the current form.
Databricks SQL Warehouse connection information, Catalog, and Schema; Version records use HTTPS access tokens Starting from V0.30.0, a standalone license is used for authorization.
GBase 8a Select a Business Database Introduced in V0.28.0. The specific cluster options and authorization status are subject to the current deployment.
ClickHouse Select one or more databases; V0.29.0 records HTTPS certificate verification and optional SSH jump servers Network and certificate options are subject to the current deployment version.
Trino Select a catalog and its schemas. The version history includes HTTPS, custom CA, and session parameters. Introduced in V0.30.0; the applicable license terms are subject to the current deployment.
MotherDuck Use tokens to obtain access scopes, and select a database and its multiple schemas. Introduced in V0.30.0; no need to uniformly apply host, port, and username fields

Notice

Data source types, exclusive parameters, authentication methods, and license mappings change with versions and deployment methods. Parameters supported only by release records are understood according to the version boundaries in the table. Actual availability is subject to the current deployment version, page form, and license.

Running region and connection verification

Tests the connection by probing targets from available running regions. Results can show the region, latency, and server version. Upon saving, the server reselects a healthy region accessible to the target and writes it into the workspace, which is used for subsequent queries.

  1. Form validation: Confirm required fields, parameter format, and analysis scope.
  2. Connection probing: Confirm address, credentials, certificate, and network reachability.
  3. Save validation: Confirm successful configuration persistence and successful selection of a running region.
  4. Metadata validation: Confirm the Agent can list tables, views, or external tables within the scope.
  5. Business query validation: Execute permission-restricted queries using the Agent or data preview.

Successful saving only indicates the configuration has been persisted; changes in source permissions, data policies, runtime services, or the network may still cause query failures.

Target data source boundaries

"Analysis Data Source" is used for reading metadata and analyzing queries; "Target Data Source" is used for physical writing or solidifying results. The two cannot replace each other. The "Target Data Source" in space management is displayed only to workspaces that have historically been configured with a connection and is currently read-only. Writing also requires writable permissions at the target end, supported dialects, table structure checks, and corresponding product capabilities.

Notice

A successful "Analysis Data Source" test only proves read probing is available, not that solidification or writing capability is present. Writing results must pass separate prechecks for the target data source, target permissions, dialect compatibility, and solidification. The historical target data source page is read-only and does not constitute current write authorization.

Verification after access

  1. Re-open "Analyze Data Source" and verify the type, non-sensitive connection information, and scope.
  2. On the Agent's "Data" tab, browse objects by Catalog, Database, Schema, Dataset, or Owner. Confirm that out-of-scope objects are not selectable.
  3. Select an authorized table and check the fields and preview of the bounded sample; the sample does not represent the full table's data volume.
  4. Initiate a read-only query and verify the complete object path and row-column permissions.
  5. Query in a real data application to confirm the region, model, Runtime, and data source link.
  6. Stabilizing a multidimensional table requires a separate pre-check on the target side. Successful query analysis does not replace write verification.

Troubleshooting

Symptom
Check Item
Boundary conditions
The "Analyze Data Source" entry is not found. Current Space, Template Space Attributes, Member Relationship, and "Manage Space" Permissions The entry is displayed only if the current space is not a template space and you have management permissions.
The target data source type cannot be found. Current Version, Deployment Mode, Data Source Type Switch, and License Subject to the current dropdown list and authorization prompts.
Unable to obtain the analysis scope. Source Metadata Permissions, Catalog or Database Selection, Credentials, Network, and Certificates Fix the current layer error first, then re-obtain the range.
Test connection failed. Required fields, address, credentials, source account status, firewall, security group, certificate, and timeout For SaaS, verify both the public IP allowlist and private network connectivity. For self-managed deployments, verify the deployment network.
Test succeeded but save failed Cross-tab required fields, selected analysis scope, healthy candidate zones, and zone accessibility Re-test and save after correction. The test result cannot replace the save result.
Table saved successfully but invisible to Agent Data scope of the agent, complete object path, source permissions, row and column data permissions, and external hosting policies Confirm the metadata scope first, then confirm the permissions of the agent and end users.
SaaS Private Network Guidance Not Displayed Deployment Method, Data Source Type, and Current Version This guide is not displayed for self-managed instances. For SaaS instances, it is displayed only for the currently supported types.
Query successful but cannot be persisted Target data source, target write permission, target dialect, table structure, and supported solidification Verify the analysis read and target write separately.
A connection that was previously successful has failed. Credential rotation, certificate expiration, address changes, NAT or allowlist changes, and region health After updating the connection parameters, retest, save, and execute the business query.

When submitting support information, record the current page, role, deployment version, data source type, runtime region, operation time, and desensitization errors. Support information must not contain passwords, Tokens, private keys, service account credentials, internal addresses, or business data.

Previous topic

Workspace overview
Last

Next topic

Model gateways and settings
Next
on this page
Permission and configuration boundaries
Access the analyze data sources settings
Preparation before access
Create or edit a connection
Configure the analysis scope
Public network, private network, and allowlist
Supported data sources and exclusive parameters
Running region and connection verification
Target data source boundaries
Verification after access
Troubleshooting