MemSQL Workloads
The MemSQL Workloads page provides information about queries executed on the MemSQL cluster. You can analyze query execution time, CPU and memory usage, disk activity, locks, and network performance.
Navigation
- In the Pulse UI, select Analytics from the left navigation menu.
- Select MemSQL > Workloads.
- Select the required time period and time zone.
Note
By default, queries completed during the past 24 hours are displayed.
Workload Details
The following information is available for each query:
Query Information
- Query — SQL statement executed. Select Copy to copy the query to the clipboard.
- Status — Query execution status, such as succeeded or failed.
- Finished Time — Time when the query completed. The value uses the local time of the server on which the query ran.
Execution Time
- Duration — Total query execution time.
- CPU Time — Time the query spent running on the CPU.
- CPU Wait Time — Time spent waiting for CPU resources.
- Disk Time — Time spent waiting for physical disk I/O.
- Lock Row Time — Time spent waiting for row locks.
- Lock Time — Time spent waiting for locks and condition variables, excluding row locks.
- Network Time — Time spent waiting for sockets to send or receive data.
Resource Utilization
- Memory — Memory consumed by the query, measured in byte-seconds.
Download Workloads
Select Download to download workload information. Information for the earliest 10 queries is downloaded as an file..xlsx
Advanced Search
The search field supports Influx-like query statements in the following format:
<parameter_name>:<value>
Use the internal parameter name when searching. For example, to search for queries where CPU Time is , enter:1
cpu_time_ms:1
Here, CPU Time is the name displayed in the UI, while is its internal parameter name.cpu_time_ms
MemSQL Workload Details
The MemSQL Workload Details page provides the SQL statement and execution metrics for a selected query.
Navigation
- In the Pulse UI, select Analytics from the left navigation menu.
- Select MemSQL > Workloads.
- Select a query to open the Workload Details page.
Select Copy to copy the SQL query to the clipboard.
Query Execution Metrics
- CPU Time — Time the query spent running on the CPU, in milliseconds.
- CPU Wait Time — Time spent waiting for CPU resources, in milliseconds.
- Disk Time — Time spent waiting for physical disk I/O, in milliseconds.
- Lock Row Time — Time spent waiting for table row locks, in milliseconds.
- Lock Time — Time spent waiting for locks and condition variables, excluding row locks, in milliseconds.
- Log Buffer Time — Time spent waiting for space in the transaction log buffer, in milliseconds.
- Log Flush Time — Time spent waiting for transaction log records to be flushed to disk, in milliseconds.
- Network Time — Time spent waiting for sockets to send or receive data, in milliseconds.
Disk and Memory Metrics
- Disk Logical Read — Number of bytes read from the file system.
- Disk Logical Write — Number of bytes written to the file system.
- Disk Physical Read — Number of bytes read from the physical disk.
- Disk Physical Write — Number of bytes written to the physical disk.
Network Metrics
- Network Logical Send — Number of bytes written to a socket.
- Network Logical Received — Number of bytes received from a socket.

Have a suggestion?