YMatrix
Quick Start
Connecting
Benchmarks
Deployment
Data Usage
Manage Clusters
Upgrade
Global Maintenance
Expansion
Monitoring
Security
Best Practice
Technical Principles
Data Type
Storage Engine
Execution Engine
Streaming Engine(Domino)
MARS3 Index
Extension
Advanced Features
Advanced Query
Resource Groups
Federal Query
Grafana
Backup and Restore
Disaster Recovery
Guide
Performance Tuning
Troubleshooting
Tools
Configuration Parameters
SQL Reference
In YMatrix database, you can use resource groups to manage the allocation of CPU, memory, concurrency transaction limits, and disk I/O resources. Once a resource group is defined, it can be assigned to one or more database roles or external components such as PL/Container to control the resources they use.
When a resource group is assigned to specific roles, the resource limitations defined by that group apply to all roles assigned to the group. For example, if a resource group sets a memory limit, the total memory usage by users in any role assigned to this group cannot exceed the maximum memory specified by the resource group.
YMatrix uses Linux-based control groups to manage database resources and employs Runaway for memory statistics, tracking, and management.
Parameter Description explains the parameters available for configuring resource groups and provides guidance on their usage.
Configuring Resource Groups describes how to configure cgroup v1 or cgroup v2 in YMatrix and provides detailed configuration steps.
Enabling and Creating covers methods for enabling, creating, and deleting resource groups.
User Guide introduces common usage methods and examples for working with resource groups.