MongoDB AI Assistant
MongoDB AI Assistant is an intelligent O&M tool powered by large language models. It provides smart Q&A, intelligent health checks, and performance diagnostics to help you quickly identify instance issues and obtain optimization suggestions.
MongoDB AI Assistant is available in three editions: Free, Standard, and Professional:
The Free edition provides smart Q&A and basic health check capabilities.
The Standard edition is suitable for daily Q&A, single-instance diagnostics, and low-frequency health checks.
The Professional edition adds enterprise-grade capabilities such as scheduled health checks, batch inspections, API access, and ecosystem integration.
Actual features and pricing are subject to what is displayed on the ApsaraDB for MongoDB console buy page.
Editions
The following table compares the features and pricing of each edition.
Item | Free | Standard | Professional |
List price | N/A | CNY 99/month (includes one standard package) | CNY 2,999/month |
Included computing credits | N/A | 60 million/month | 200 million/month |
Use cases | Daily Q&A | Daily Q&A, single-instance diagnostics, and low-frequency health checks | Enterprise integration, batch inspections, and high-frequency diagnostics |
Purchase standard packages | Not supported | Supported | Not supported |
Purchase computing packages | Not supported | Supported | Supported |
Smart Q&A | Supported | Supported | Supported |
Single-instance health check | Supported (basic checks via Q&A) | Supported | Supported |
Instance status analysis | Supported | Supported | Supported |
Security configuration analysis | Supported | Supported | Supported |
High availability and disaster recovery inspection | Supported | Supported | Supported |
Backup status inspection | Supported | Supported | Supported |
Event and alert analysis | Not supported | Supported | Supported |
Storage space analysis | Not supported | Supported | Supported |
Slow query analysis | Not supported | Supported | Supported |
Instance performance analysis | Not supported | Supported | Supported |
Error log diagnostics | Not supported | Supported | Supported |
Manual health check | Not supported | Supported | Supported |
Scheduled health checks | Not supported | Not supported | Supported |
Batch instance inspection | Not supported | Not supported | Supported |
Notes:
Each standard package includes 60 million computing credits per month and can be bound to one instance. The Professional edition includes 200 million computing credits per month and does not limit the number of bound instances.
To prevent credits from being consumed in a short period, the included monthly quota is divided evenly by the number of days in the billing month to determine the daily quota. Credits are issued and reset daily. Unused credits do not carry over to the next day.
If you have not purchased a computing package, AI tasks are throttled when included credits are exhausted, and you cannot initiate new AI tasks. If you have purchased a computing package, the system consumes included credits first and then automatically draws from the package. No manual switching is required.
Computing credits are a unified measurement unit and are not equivalent to raw LLM tokens.
Billing scope
MongoDB AI Assistant provides two entry points with independent billing:
Entry point | Trigger | Billing |
Chat mode | Ask questions in the AI Assistant chat interface | Free, including health checks initiated through chat |
Health check tasks | Create health check tasks on the inspection page | Consumes included credits or computing package credits |
Credits are consumed only when you create health check tasks from the inspection page in the Standard or Professional edition.
Core capabilities
Smart Q&A
Based on official Alibaba Cloud documentation and the MongoDB expert knowledge base, MongoDB AI Assistant provides natural language-driven Q&A services. You can use @ to select a specific instance for more targeted answers.
Use cases
Product consultation: Query architecture types, version differences, parameter configurations, and other product information of ApsaraDB for MongoDB instances.
Best practices: Get expert advice on index design, shard key selection, connection pool configuration, and other O&M scenarios.
Troubleshooting: Get troubleshooting guidance and solutions for common issues such as connection timeouts, high memory usage, and replication lag.
Operation guidance: Learn how to create instances, configure whitelists, set backup policies, and enable audit logs.
Intelligent health checks
Provides one-click intelligent health checks. You can select inspection items and a time range. The system automatically collects instance runtime data and generates a health check report to help identify potential risks.
Inspection items
Item | Description |
Instance status | Checks instance running status, architecture type, storage engine, kernel version lifecycle, disk type, specifications, payment status, zone distribution, and lock status. |
Instance performance | Checks CPU, memory, disk, IOPS, WiredTiger cache, connections, and replication lag to evaluate performance bottlenecks and risk levels. |
Storage space analysis | Evaluates disk usage, growth trends, and shard data distribution, and predicts available days. |
Slow query analysis | Analyzes slow query logs to identify COLLSCAN operations, missing indexes, and high-frequency query patterns, and provides index optimization suggestions. |
Error log diagnostics | Analyzes error logs to identify known error patterns such as Change Stream recovery failures, TTL index anomalies, BSON size limit exceeded, legacy driver compatibility, and index corruption. |
Instance security | Checks whitelists and IP access control, ECS security groups, SSL/TLS encryption, TDE, audit logs, and public network access configurations. |
High availability and disaster recovery | Checks replica set node count, zone distribution, primary node location, and historical failover records to assess high availability and disaster recovery capabilities. |
Backup status | Checks backup policies, backup success rate, PITR availability, log backups, backup storage usage, and recovery capabilities. |
Events and alerts | Summarizes pending and in-progress O&M tasks, historical failed tasks, recent failover records, and CloudMonitor alerts to help trace root causes. |
Intelligent health checks support minute-level inspection with a maximum time range of 24 hours.
Procedure
In the MongoDB AI Assistant panel, select the target instance for inspection.
Select the inspection items. You can select all.
Select the time range.
Click Start Inspection and wait for the report to be generated.
Review the results and optimize based on the suggestions.
Professional edition capabilities
Scheduled health checks
The Professional edition supports scheduled health check tasks. You can configure the target instances, inspection items, execution schedule, and notification methods. The system automatically runs inspections and generates reports.
Batch instance inspection
The Professional edition allows you to select multiple instances in a single inspection task, which is suitable for periodic health checks and risk governance across multiple instances. Processing efficiency depends on task concurrency and available computing credits.
Activate and upgrade
Log on to the ApsaraDB for MongoDB console.
Go to the MongoDB AI Assistant page.
Select Standard or Professional.
Confirm the edition, subscription duration, and fees, and then complete the payment.
After activation, you can use the capabilities of the selected edition through the MongoDB AI Assistant panel.
If you have activated the Standard edition, you can upgrade to the Professional edition on the MongoDB AI Assistant management page. Features and included credits after upgrade are subject to the console display.
Access methods
After you log on to the ApsaraDB for MongoDB console, you can access MongoDB AI Assistant in the following ways:
Click the MongoDB AI Assistant icon in the right sidebar.
Click the AI Instance Inspection entry at the top of the instance details page to initiate an intelligent health check for the current instance.
RAM users must have the required ApsaraDB for MongoDB instance access permissions. MongoDB AI Assistant inherits RAM permissions and can only access authorized instances.
Computing packages and credits
The default entitlements of the Standard and Professional editions are measured in computing credits. Each standard package includes 60 million computing credits per month. The total credits for the Standard edition are cumulative based on the number of standard packages purchased. The Professional edition includes 200 million computing credits per month. After included credits are exhausted, you can purchase computing packages to continue.
Computing credits are a unified measurement unit used to offset the consumption of AI tasks such as smart Q&A, diagnostics, and health checks. They are not equivalent to raw LLM tokens.
Computing package specifications
Computing packages are available in five tiers from S to 2XL:
Package | Price | Additional credits | Use case |
S | CNY 99/month | 500 million/month | Entry-level production environments |
M | CNY 299/month | 1.5 billion/month | Daily O&M and lightweight batch inspections |
L | CNY 799/month | 4 billion/month | Multi-instance batch inspections |
XL | CNY 1,999/month | 10 billion/month | High-frequency inspections and enterprise O&M |
2XL | CNY 3,999/month | 20 billion/month | High-frequency inspections and enterprise O&M |
If you need larger computing packages, submit a ticket to request access.
Usage rules
Both Standard and Professional editions can purchase computing packages. Multiple packages can be stacked, and their credits are cumulative and valid within the current billing month.
Computing packages use a prepaid subscription billing model. You can choose a 1-month or 1-year subscription and receive the corresponding credits for each billing month. Annual subscriptions release credits monthly over 12 months.
The system consumes included credits first. After included credits are exhausted, computing package credits are used automatically.
Actual credit consumption is calculated based on task type, data volume, and analysis complexity.
Daily credit limit = (Included credits + Total computing package credits) / 30.
After the daily limit is reached, AI tasks are throttled and automatically resume the next day.
Unused daily credits do not carry over.
Actual tiers, pricing, credit amounts, and usage rules are subject to the buy page.
Fees
MongoDB AI Assistant Standard and Professional editions use subscription billing. Activating the Standard edition purchases one standard package at CNY 99/month. Each standard package includes 60 million computing credits per month and can be bound to one instance. To enable AI Assistant for more instances, purchase additional standard packages at CNY 99/month each. Each additional package also includes 60 million computing credits per month. The Professional edition costs CNY 2,999/month and includes 200 million computing credits per month without instance binding limits. After included credits are exhausted, purchase standard or computing packages to continue.
Actual prices, promotions, computing package tiers, and available regions are subject to the ApsaraDB for MongoDB console buy page.
Best practices
Include specific instance IDs, time ranges, and issue descriptions in your questions for more precise answers. You can also use
@to select the target instance.AI Assistant responses and health check reports are generated by model inference and are for reference only. Before executing critical changes, verify the recommendations based on your business requirements.
AI Assistant does not automatically perform change operations. All instance modifications require manual confirmation.
Health check features collect basic instance information, monitoring metrics, and logs for analysis. This data is not used for other purposes.
Disclaimer
MongoDB AI Assistant responses are AI-generated and for reference only. Accuracy is not guaranteed and responses do not represent Alibaba Cloud's position or commitments.
You are responsible for actions taken based on AI Assistant-generated content and their outcomes.
Diagnostics and health check features collect basic instance information, monitoring metrics, and logs. This data is used only for the current analysis.
FAQ
What are the differences between the Standard and Professional editions?
The Standard edition is suitable for daily Q&A, single-instance diagnostics, and low-frequency health checks. It includes one standard package with 60 million computing credits per month. You can purchase additional standard packages to bind more instances. The Professional edition adds scheduled health checks, batch instance inspection, and other enterprise-grade capabilities with higher base concurrency, and includes 200 million computing credits per month.
What are computing credits?
Computing credits are the unified measurement unit for MongoDB AI Assistant. They offset the consumption of smart Q&A, diagnostics, health checks, and other tasks. Computing credits are not equivalent to raw LLM tokens. Actual consumption is calculated based on the models invoked and the input/output token counts.
Does chat mode consume credits?
Chat mode is free, including health checks initiated through chat. Credits are consumed only when you create health check tasks on the inspection page.
What happens when included credits are exhausted?
AI tasks are throttled and you cannot initiate new AI tasks. You can purchase computing packages to continue.
Can unused credits be carried over?
No. Both included credits and computing package credits are allocated per billing month. Unused credits do not carry over to the next month. Similarly, unused daily credits do not carry over to the next day.
Why are tasks throttled when credits remain?
Monthly credits are evenly distributed across each day (daily limit = monthly credits / 30). After the daily limit is reached, tasks are throttled and automatically resume the next day. You can increase the daily limit by purchasing computing packages.
Does a mid-month computing package take effect immediately?
Yes. Mid-month packages are priced proportionally for the remaining days. Credits take effect immediately after purchase. The daily limit is calculated as (included credits + total purchased credits) / 30, the same as a full-month purchase.
Does MongoDB AI Assistant automatically perform changes?
No. MongoDB AI Assistant provides only analysis suggestions and operation guidance. All instance modifications require manual confirmation.
Which ApsaraDB for MongoDB instance types are supported?
Standalone instances, replica set instances, and sharded cluster instances are supported. There are no minimum kernel version, region, or specification requirements.
How can I improve AI Assistant accuracy?
Include specific instance IDs, time ranges, and issue descriptions in your questions. Use @ to select the target instance so that AI Assistant can access instance context and provide more precise analysis and suggestions.