Quick onboard
Deployment
Data Modeling
Connecting
Migration
Query
Operations and Maintenance
Common Maintenance
Partition
Backup and Restore
Expansion
Mirroring
Resource Groups
Security
Monitoring
Performance Tuning
Troubleshooting
Reference Guide
Tool guide
Data type
Storage Engine
Executor
Stream
DR (Disaster Recovery)
Configuration
Index
Extension
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.