Hologres AI Assistant is an intelligent assistant built into the Hologres console. Powered by large language models, it helps you use Hologres more efficiently. Whether you are new to Hologres or an experienced data engineer, you can interact with AI Assistant in natural language to quickly solve problems.
Disclaimers
Read the following notes before you use AI Assistant:
-
AI-generated content is for reference only: Responses are produced by an AI model. Alibaba Cloud cannot guarantee that the content is secure, reliable, compliant, complete, or accurate, and the content does not represent the position or views of Alibaba Cloud. Evaluate each response against your own situation, and do not run critical operations on unverified output. Alibaba Cloud is not liable for any loss that results from decisions or actions you take based on generated content.
-
Apply changes with caution: Before you act on any suggestion that changes a configuration or performs a high-risk operation, such as a deletion or a permission change, validate it in a test environment first.
-
Permission boundary: AI Assistant runs as the currently signed-in user and never exceeds the permissions of that account. Diagnostics, optimization, and data analysis read project metadata, job logs, table schemas, and table data, so the requester must hold the corresponding permissions.
-
Data privacy: Diagnostics and analysis read only job logs, metadata, and similar information. They do not modify your data or transmit it externally.
-
Compliant use: You are responsible for how you use this service. Make sure that any content you publish, upload, or provide through the service is lawful and compliant, does not disrupt public order, and does not infringe on the rights of others.
Typical use cases
AI Assistant covers the typical scenarios that you encounter when you use Hologres. Common usage by role is as follows:
|
User role |
Typical use cases |
|
Data warehouse developer |
Layered modeling and DDL generation, writing SQL in natural language, data import and export, identifying cold and empty tables, lifecycle and storage cost governance, table schema and index design, and data processing. |
|
DBA and platform O&M engineer |
Instance management, daily inspection reports, diagnostics for slow and failed queries, execution plan optimization, table governance, ticket troubleshooting, and cost governance. |
|
Data analyst and BI engineer |
Querying data in natural language, query performance optimization, and interpreting and sharing diagnostic results. |
AI Assistant pricing
Before July 1, 2026, Hologres AI Assistant is in public preview at no charge.
Starting July 1, 2026, AI Assistant reaches general availability and is billed on a pay-as-you-go basis by token consumption. For details, see Hologres AI Assistant billing announcement.
Default model: qwen3.7-max.
The following tables list the billing rates by region.
|
Region |
Billable item |
0 < Tokens per request ≤ 1M |
|
Mainland China:
|
Input (USD/1K tokens) |
0.00198 |
|
Explicit cache creation (USD/1K tokens) |
0.00248 |
|
|
Explicit cache hit (USD/1K tokens) |
0.00020 |
|
|
Implicit cache hit (USD/1K tokens) |
0.00040 |
|
|
Output (USD/1K tokens) |
0.00594 |
|
|
Regions outside mainland China:
|
Input (USD/1K tokens) |
0.00300 |
|
Explicit cache creation (USD/1K tokens) |
0.00375 |
|
|
Explicit cache hit (USD/1K tokens) |
0.00030 |
|
|
Implicit cache hit (USD/1K tokens) |
0.00060 |
|
|
Output (USD/1K tokens) |
0.00900 |
Regions and features
Supported regions
AI Assistant is currently available in the following regions: China (Hangzhou), China (Beijing), China (Shanghai), China (Shenzhen), China (Zhangjiakou), China (Ulanqab), China (Chengdu), China (Hong Kong), Singapore, Malaysia (Kuala Lumpur), Indonesia (Jakarta), Japan (Tokyo), and US (Virginia).
Feature list
AI Assistant currently supports the following features:
|
Category |
Feature |
Description |
|
Instance O&M |
Knowledge Q&A |
Answers questions about Hologres, including feature usage, feature introductions, and best practices, based on the official documentation and an internal knowledge base. This feature does not connect to instances or execute SQL. |
|
CPU diagnostics |
Analyzes abnormal CPU usage based on instance monitoring data, identifies high-consumption SQL statements and resource bottlenecks, and provides optimization recommendations. |
|
|
Memory diagnostics |
Analyzes memory usage trends and memory consumption categories, identifies risks such as memory leaks and large memory consumers, and provides tuning recommendations. |
|
|
Slow SQL diagnostics |
Identifies slow and failed SQL statements, performs root-cause analysis based on execution plans and system load, and provides targeted recommendations such as index optimization and SQL rewriting. Optimization suggestions can also be obtained by Query ID. |
|
|
Operations reports |
Generates instance health-check reports on demand, aggregating multi-dimensional operational information such as resource usage, performance trends, SQL activity, and cost and capacity. Only daily reports are currently supported. |
|
|
Data development |
Natural language-driven data development |
Generates and corrects SQL, designs data warehouse layers, and assists you in creating tables and indexes. |
|
Data analysis |
Natural language-driven data analysis |
Retrieves data on a self-service basis, generates charts quickly, interprets analysis results, and forecasts trends. |
Use AI Assistant
Step 1: Purchase model resources
To purchase Hologres AI Assistant, perform the following steps:
-
Log on to the Hologres console. In the left-side navigation pane, click AI Assistant and AI Node.
-
Click the AI Assistant tab. If AI Assistant has not been purchased in the current region, the page displays the following message: "Hologres AI Assistant has not yet been purchased in the current region."
-
Click Buy Now. The AI Assistant purchase page opens in a new browser tab.
NoteAI Assistant is a region-level service. Make sure that you select the region that matches your Hologres instances. After the purchase, AI Assistant becomes available to all Hologres instances in that region.
-
On the purchase page, select a subscription duration and complete the payment.
-
After the purchase is complete, return to the Hologres console and refresh the page. The AI Assistant tab displays your AI Assistant instance information.
If your AI Assistant subscription has expired and the instance status is Stopped, click Renew to go to the renewal page and extend your subscription.
Step 2: View the AI Assistant instance
After the purchase is complete, log on to the Hologres console. In the left-side navigation pane, click AI Assistant and AI Node, and then click the AI Assistant tab to verify that AI Assistant is activated.
AI Assistant is a region-level service. After you purchase AI Assistant in a specific region, you need to manually associate the Hologres instances that require AI Assistant diagnostic capabilities in the Associated Instances area. For more information, see Associate instances.
If AI Assistant is not activated in the current region, the left-side navigation pane displays AI Node only.
Permission requirement: the AliyunHologresFullAccess policy is required to manage AI Assistant instance association.
The AI Assistant tab displays different content depending on the purchase status:
-
Not purchased: The page displays a message indicating that Hologres AI Assistant has not been purchased in the current region. Click Buy Now to go to the purchase page. If AI Assistant has been suspended, click Renew to go to the renewal page.
-
Purchased: The page displays the following information about your AI Assistant instance:
Field
Description
AI Assistant ID
The unique identifier of the AI Assistant instance.
AI Assistant Status
The current running status: Normal or Stopped. Click Release next to the status to unsubscribe and release the AI Assistant instance.
Days Remaining
The number of days until the subscription expires. Click Renew to go to the renewal page and extend the subscription period.
Auto-Renewal
Whether auto-renewal is enabled. Click Enable Auto-Renewal or Disable Auto-renewal to toggle this setting. The link redirects you to the renewal management page.
Region
The region where AI Assistant is deployed. This must match the region of your Hologres instances.
Start Time
The time when the AI Assistant instance was activated.
End Time
The time when the current subscription expires.
Monitor token usage
Below the basic information section, the Usage Consumption area displays your AI Assistant token usage statistics. The Last Calculation Time is shown in the upper-right corner along with a refresh button.
You can switch between two views:
-
Summary: Displays three cards showing token consumption over different time ranges:
Card
Description
Yesterday's Usage
The total number of tokens consumed on the previous day.
Weekly Usage
The total number of tokens consumed in the last 7 days.
Last Month's Usage
The total number of tokens consumed in the last 30 days.
-
Details: Displays a table of individual request records. You can filter records by selecting Request ID or User ID from the drop-down list and entering a search value. The table contains the following columns:
Column
Sortable
Request ID
No
User ID
No
Start Time
Yes
End Time
Yes
Input Token
Yes
Output Token
Yes
Total Tokens
Yes
The table supports pagination with 10, 20, or 50 records per page.
Associate instances
After purchasing AI Assistant, you need to associate Hologres instances with the AI Assistant to enable diagnostic capabilities for those instances.
Permission requirement: the AliyunHologresFullAccess policy is required to manage instance association.
To associate an instance, perform the following steps:
-
Log on to the Hologres console. In the left-side navigation pane, click AI Assistant and AI Node, and then click the AI Assistant tab.
-
In the Associated Instances area, click + Add Instance.
-
In the Associate Instance dialog box, select the Hologres instance that you want to associate from the Select Instance drop-down list. The drop-down list shows all available instances in the current region.
-
Click Confirm to complete the association.
After the association is complete, the instance appears in the Associated Instances table, which displays the Instance ID, Instance Name, Region, and Instance Status. You can click Disassociate in the Actions column to remove the association.
After you disassociate an instance, AI Assistant can no longer perform diagnostics on that instance. You can re-associate the instance at any time.
Step 3: Use AI Assistant
You can open the AI Assistant chat panel from any page in the Hologres console by using either of the following methods:
-
Click the Hologres AI Assistant link in the upper part of the page.
-
Click the floating icon button in the lower-right corner of the page.
The chat panel opens as a side panel on the right side of the page. You can drag the panel edge to adjust its width, or switch to fullscreen mode for a larger workspace. When you open AI Assistant for the first time, it displays five feature module cards. Click a module card to get started:
-
Product Consultation: Q&A about Hologres usage, concepts, and best practices. Click to see the following suggested questions that you can send directly:
-
What can the Hologres AI Assistant do?
-
How to accelerate a data warehouse?
-
How to retrieve and analyze unstructured data (PDF/image/audio/video) with Hologres and a large language model (LLM)?
-
How does Hologres perform data warehouse processing and layering?
-
-
CPU Usage Diagnostics: Troubleshoot high CPU load, abnormal spikes, and bottleneck queries. Click to auto-fill a diagnostic command template in the input box, then select the target instance and time range before sending.
-
Memory Usage Diagnostics: Analyze memory consumption, OOM risks, and resident memory objects. Click to auto-fill a diagnostic command template in the input box, then select the target instance and time range before sending.
-
Slow SQL Analysis: Analyze slow SQL, interpret execution plans, and get optimization recommendations. Click to auto-fill a diagnostic command template. Two analysis modes are supported: by time range and by Query ID. The time range mode requires selecting a target instance and time range, while the Query ID mode requires selecting a target instance and entering a Query ID.
-
Operations Reports: Generate operations diagnostic reports for associated instances. Click to auto-fill a diagnostic command template, select the target instance, and send to generate the report.
In addition to using the feature modules, you can also type questions directly in the input box for free-form conversations with AI Assistant. You can also use AI Assistant through HoloWeb.
Each feature has its own permission requirements. For more information, see AI Assistant permissions. You must grant the required permissions in RAM before you can use diagnostic features. Otherwise, the diagnostic request fails.
Diagnostic reports
When a diagnostic report is generated on demand, the system shows the full report along with the report history in the Diagnostic Reports panel. Each user can view only the reports they have generated.
Execution history
On the AI Assistant chat page, click the Search History button in the upper-right corner to view the corresponding conversation history, which is retained for 7 days by default. Each user can view only their own execution history.
AI Assistant permissions
AI Assistant requires different permissions depending on the scenario, as described below.
Permission for associating an instance
The AliyunHologresFullAccess policy is required to perform Associate Instance.
Permissions for diagnostic capabilities
CPU diagnostics, memory diagnostics, and slow SQL diagnostics rely on monitoring data, the instance's slow SQL log, and metadata tables such as Table Info. The following permissions are required:
-
HoloRAM permission: AliyunHologresReadOnlyAccess or AliyunHologresFullAccess. The following is a minimal-permission example:
{ "Version": "1", "Statement": [ { "Effect": "Allow", "Action": [ "hologram:GetInstance", "hologram:GetExecuteStatementEnabled", "hologram:EnableExecuteStatement", "hologram:ListDatabases", "hologram:ListWarehouses", "hologram:ExecuteStatement" ], "Resource": "*" }, { "Effect": "Allow", "Action": [ "cms:DescribeMetricList" ], "Resource": "*" } ] } -
Hologres instance permission: AI Assistant supports only Alibaba Cloud account and RAM user authentication for instance access; Basic accounts are not supported. The account must have connection permission and slow SQL log access, where Prerequisites or Superuser privileges are sufficient to view all slow SQL and Table Info records in the instance.
-
CloudMonitor RAM permission: AliyunCloudMonitorFullAccess (full access to CloudMonitor) or AliyunCloudMonitorReadOnlyAccess (read-only access to CloudMonitor).
If any of the above permissions is missing, the corresponding feature is unavailable.
Chat history
Each user can view only their own chat history and cannot see the history of other accounts.
Operations reports
Each user can view only the operations reports they have generated and cannot see those of other accounts.
FAQ
Q: Can AI Assistant access my business data?
A: No. AI Assistant does not connect to your Hologres instances and cannot access data stored in your instances.
Q: Why are some answers not accurate?
A: Try providing more context in your question, such as table structures, SQL statements, or specific error messages. This helps AI Assistant generate more relevant responses.
Q: Does using AI Assistant affect instance performance?
A: No. All AI Assistant operations are read-only and target only metadata. They do not affect the performance of your business queries.