hi, there.
I created a resource pool in user01 as shown below.
I want to perform 200 simultaneous queries with jmeter to see the workload status.
However, it is not possible to check for ‘queued queries’ and ‘running queries’. The value will remain as ‘0’.
Is there any problem?
The table(information_schema.processlist) checked the status of ‘executing’ but maintained a different value of 23 than the set value(max_concurrency).
Also, the value of the Status column(‘queued’) was not confirmed.
The query limit i set for the resource pool does not seem to work properly.
memsql> show resource pools;
+-----------------------+-------------------+---------------+-----------------+---------------------------+---------------------------+-----------------+
| Pool_Name | Memory_Percentage | Query_Timeout | Max_Concurrency | Soft_CPU_Limit_Percentage | Hard_CPU_Limit_Percentage | Max_Queue_Depth |
+-----------------------+-------------------+---------------+-----------------+---------------------------+---------------------------+-----------------+
| default_pool | 100 | NULL | NULL | NULL | NULL | NULL |
| system_auto | 100 | NULL | NULL | NULL | NULL | NULL |
| system_optimizer_pool | 100 | NULL | NULL | NULL | 5 | NULL |
| executive | 100 | NULL | 40 | NULL | 65 | 20 |
| general | 100 | NULL | 20 | NULL | 30 | 10 |
+-----------------------+-------------------+---------------+-----------------+---------------------------+---------------------------+-----------------+
5 rows in set (0.00 sec)
memsql> select current_resource_pool();
+-------------------------+
| current_resource_pool() |
+-------------------------+
| executive |
+-------------------------+
1 row in set (0.00 sec)
memsql> SHOW WORKLOAD MANAGEMENT STATUS;
+-------------------------------------------------------+-------+
| Stat | Value |
+-------------------------------------------------------+-------+
| Queued Queries (from global queue) | 0 |
| Queued Queries (from local queue) | 0 |
| Total Queued Queries Since Startup | 0 |
| Running Queries (from global queue) | 0 |
| Running Queries (from local queue) | 0 |
| Running Memory (MB) On Leaves (from global queue) | 0 |
| Running Memory (MB) On Leaves (from local queue) | 0 |
| Allocated Memory (MB) On Leaves (for local queue) | 28776 |
| Required Memory (MB) On Leaves (from local queue) | 0 |
| Avg Required Memory (MB) On Leaves (from local queue) | 0 |
| Running Threads Per Leaf (from local queue) | 0 |
| Allocated Threads Per Leaf (for local queue) | 2048 |
| Required Threads Per Leaf (from local queue) | 0 |
| Avg Required Threads Per Leaf (from local queue) | 0 |
| Running Connections Per Leaf (from local queue) | 0 |
| Allocated Connections Per Leaf (for local queue) | 2500 |
| Required Connections Per Leaf (from local queue) | 0 |
| Avg Required Connections Per Leaf (from local queue) | 0 |
| Memory Threshold (MB) to Queue Locally | 575 |
| Memory Threshold (MB) to Queue Globally | 28776 |
| Connections Threshold to Queue Globally | 2500 |
| Threads Threshold to Queue Globally | 2048 |
+-------------------------------------------------------+-------+
22 rows in set (0.00 sec)
thanks. in advance.