> For the complete documentation index, see [llms.txt](https://mariadb.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mariadb.com/docs/tools/enterprise/control-center/gg8/compute-grid.md).

# Compute Grid

Monitoring, filtering, and managing Compute tasks executed on GridGain 8 clusters from the Control Center Compute screen.

You can use the **Compute** screen to monitor Compute tasks that are executed on the cluster.

![Compute Grid Screen](https://2850516351-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkuTXWg0NDbRx6XUeYpGD%2Fuploads%2Fgit-blob-885279868c76ee434c727cd2ca70b0ea11f7d7ec%2Fcc-gg8-compute_1.png?alt=media)

GridGain Portal constantly checks for new tasks that were added and provides the number of new tasks since the last update. Click **Refresh** to load all new tasks.

{% hint style="info" %}
Depending on configuration, [secured clusters](/docs/tools/enterprise/control-center/gg8/authorization-permissions.md) might require a cluster-level authentication for some (or all) of the actions.
{% endhint %}

## Distributed Computing Configuration

Distributed computing configuration is described in detail in the Distributed Computing section of GridGain documentation.

Below are some configuration parameters that are recommended for managing Compute jobs.

### Priority Ordering

To manage job and task priorities, you need to configure `PriorityQueueCollisionSpi` in your code. Detailed instructions can be found in the Priority Ordering section of GridGain documentation.

## Monitoring Jobs

The primary table in this screen provides the following information:

| Column Name | Description                                                                                                                                                                                                                                                                                                                        |
| ----------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Session ID  | Hidden by default. The unique ID of the Compute job session.                                                                                                                                                                                                                                                                       |
| Task Name   | The name of the tasks, specified when it was created.                                                                                                                                                                                                                                                                              |
| Status      | <p>Task status. Possible values:<br>- Running - the task is still running.<br>- Finished - the task is completed successfully.<br>- Failed - the task failed.<br>- Canceled - the task is cancelled.<br>- Unknown - something went wrong with the Outdated task, current status is not clear and there will be no new updates.</p> |
| Reducer     | The ID of a node that does map and reduce operations for the task.                                                                                                                                                                                                                                                                 |
| Owner       | The owner of the job. Empty if security is not configured.                                                                                                                                                                                                                                                                         |
| Start Time  | The time the job started at, in "month date, HH:MM:SS:mmm" format.                                                                                                                                                                                                                                                                 |
| End Time    | The time the job ended at, in "month date, HH:MM:SS:mmm" format. If the job is in progress or no data is available, shows N/A instead.                                                                                                                                                                                             |
| Duration    | Hidden by default. Current job duration. Updates every second.                                                                                                                                                                                                                                                                     |
| Nodes       | Hidden by default. The number of nodes that are executing the task.                                                                                                                                                                                                                                                                |
| Priority    | Hidden by default. Task priority.                                                                                                                                                                                                                                                                                                  |

{% hint style="info" %}
You can reduce the space the compute table occupies on your disk using [Disk Space Optimizations](/docs/tools/enterprise/control-center/admin-guide/disk-space-optimization.md).
{% endhint %}

### Configuring visible columns

To configure visible columns, click ⋮ in table header. Then, click on table columns field and select fields that you want visible.

### Extended Details

Click ⋮ for a **Running** task and select **View Details** to see extended information about the task. The detailed information table provides data about each subtask that is executed in a job.

| Column Name | Description                         |
| ----------- | ----------------------------------- |
| Node ID     | Unique node ID                      |
| Queued      | Number of queued jobs on a node.    |
| Running     | Number of running jobs on a node.   |
| Suspended   | Number of suspended jobs on a node. |
| Failed      | Number of failed jobs on a node.    |
| Canceled    | Number of canceled jobs on a node.  |
| Finished    | Number of finished jobs on a node.  |
| Total       | Total number of jobs on a node.     |

### Session Information

Click ⋮ and select **View Session Attributes** to see extended information about the session. This action is only available if you have `ComputeTaskSessionFullSupport` configured for the cluster. The table contains the following information:

| Column Name    | Description                                                                                                                                                                                                                                                           |
| -------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Attribute Name | <p>This column has a name of the session property. The properties listed are:<br>- Endpoint status<br>- Endpoint policy applied<br>- Status of policy application<br>- When session started<br>- When session ended<br>- Session duration<br>- Session identifier</p> |
| Value          | Property value.                                                                                                                                                                                                                                                       |

### Canceling Tasks

Click ⋮ next to a task and select **Cancel Task(s)**. The task will be canceled. This action is only available for **Running** tasks. This action can be applied to multiple tasks by first selecting them in the table.

### Changing Task Priority

Click ⋮ next to a task and select **Change Priority**. In the subsequent dialog, set the task priority. `PriorityQueueCollisionSpi` must be configured on the cluster. This action can be applied to multiple tasks by first selecting them in the table.

## Filtering Tasks

You can limit visible tasks by configuring 2 different filters. Newly received tasks are not filtered, so you will see the number of new tasks regardless of if they fall under filter conditions or not.

### Premade Filters

There are some premade filters for common task states:

* All
* Running
* Finished
* Canceled
* Failed
* Outdated
* Unknown

You can select them from the top of the page.

### Extended Filters

You can configure additional filter options on the right of the screen.

Unlike quick filters, you can only have one extended filter active at a time. You can filter based on the following:

* Task name;
* Task priority;
* Minimum duration of the task;
* Start time;
* End time.
* Attribute, composed of:
  * Attribute name
  * Attribute filter

Extended filters will be reset if you leave the page, but you can save the URI to open the page with the same filter configuration.

## Excluding Data on Internal Tasks

Sometimes, GridGain has to run internal tasks while handling distributed computing. You can exclude these tasks by configuring your GridGain cluster properties by using the control script. The following properties manage what tasks will be collected by the agent:

| Property                         | Description                                                                                                         |
| -------------------------------- | ------------------------------------------------------------------------------------------------------------------- |
| EXPORT\_EXCLUDE\_INTERNAL\_TASKS | If `true`, internal tasks will be excluded. Otherwise, all unfiltered tasks are monitored. Default value is `true`. |
| EXPORT\_IGNORED\_TASKS           | The filter for compute tasks to not be monitored. Can be a regular expression.                                      |
| EXPORT\_MONITORED\_TASKS         | The filter for compute tasks to be monitored. Can be a regular expression.                                          |
