Viewing Space Runtime Information

To view the Space runtime information:

The Space Overview page has two tabs, one that shows all Spaces in the cluster, and one that shows only unhealthy Spaces. You can see your Spaces as cards that contain the following information:

  • Name of the associated service
  • Name of the Space
  • Number of partitions
  • Type of Space schema, indicated by an icon (for example, persistent or high availability)
  • Current RAM utilization of the Space
  • Maximum allocated RAM for the Space
  • Number of object types in the Space
  • Number of data entries to the Space

You can filter the view by cache ratio and RAM utilization, and you can sort by alert severity. You can also do a free text search by Space name.

Click a Space to drill through and see the following additional information for that Space in the Overview tab:

  • Entries per object type
  • Data distribution per partition (for the past 5 minutes)
  • Reads by partition (for the past 5 minutes)

Data object types are listed in a table that contains the following information. You can do a free text search in the table.

Parameter Description
Name Name of the data object.
Entries Number of entries for this object type.
ID Pointer to the primary key of the data type in the Space.
Indexes Number of indexes applied to this data object.
Routing Pointer to the field that identifies the Space partition.
Notify containers How many instances of this object type match a template in an event container.

It is possible to drill down from the Space overview page to the Object Type level in two ways:

  • Click on the Object Type line within the Object Types data table. In this scenario, the user drills down to the overview page of an Object Type.
  • Click on the icon to the left of the Object Type name. It is possible to drill down to the Object Type SQL editor page with the Object Type context already selected within the sample query.

Viewing Data Types

Press Viewing Data Types for information about data type details in the Space.

Space

Command:

gs.{sh/bat} space list

Description:

This command lists all the Spaces in a table with their Space name, Processing Unit name, cluster topology, number of actual/planned Space instances, and Instance ID.

Input Example:

<GS_HOME>/bin/gs space list
<GS_HOME>/bin/gs.sh space list

Output Example:

Parameters and Options:

None.

Space Instance

Command:

gs.{sh/bat} space list-instances <name>

Description:

The Space instances for the given Space are listed with their Instance ID, Mode, Host ID, and Container ID.

Input Example:

<GS_HOME>/bin/gs space list-instances mySpace
<GS_HOME>/bin/gs.sh space list-instances mySpace

Output Example:

Parameters and Options:

Item Name Description
Parameter name Provide the name of the Space for which to list the instances.

All Spaces

Path

GET /spaces

Description:

The Spaces are listed with the Space name, Processing Unit name, cluster topology, number of Space instances, and Instance IDs.

Example Request:

curl -X GET --header 'Accept: application/json' 'http://localhost:8090/v2/spaces'

Example Response:

[
  {
    "name": "monitorSpace",
    "processingUnitName": "monitorSpace",
    "topology": {
      "instances": 1
    },
    "instancesIds": [
      "monitorSpace~1"
    ]
  },
  {
    "name": "alertSpace",
    "processingUnitName": "alertSpace",
    "topology": {
      "instances": 1
    },
    "instancesIds": [
      "alertSpace~1"
    ]
  },
  {
    "name": "mySpace",
    "processingUnitName": "mySpace",
    "topology": {
      "instances": 1
    },
    "instancesIds": [
      "mySpace~1"
    ]
  }
]

Options:

None

Specific Space

Path

GET /spaces/{id}/instances

Description:

The given Space is listed with the Space name, Processing Unit name, cluster topology, number of Space instances, and Instance ID.

Example Request:

curl -X GET --header 'Accept: application/json' 'http://localhost:8090/v2/spaces/alertSpace/instances'

Example Response:

[
  {
    "id": "alertSpace~1",
    "mode": "PRIMARY",
    "partitionId": 0,
    "backupId": 0,
    "hostId": "admin",
    "containerId": "admin~13972"
  }
] 

Options:

Option Description Required
space name Provide the name of the Space for which you want to see the runtime details. Yes

Specific Space Instance

Path

GET /spaces/{id}/instances{instanceId}

Description:

The given Space instance is listed with the Instance ID, Mode, Partition ID, Backup ID, Host ID, and Container ID.

Example Request:

curl -X GET --header 'Accept: application/json' 'http://localhost:8090/v2/spaces/alertSpace/instances/alertSpace~1'

Example Response:

{
  "id": "alertSpace~1",
  "mode": "PRIMARY",
  "partitionId": 0,
  "backupId": 0,
  "hostId": "admin",
  "containerId": "admin~13972"
}

Options:

Option Description Required
space name Provide the name of the Space for which you want to see the runtime details. Yes
space Id Provide the ID of the Space for which you want to see the runtime details. Yes

You can see the following high-level Space details in the main Spaces view:

Item Description
Space Name of the Space.
Processing Unit Name of the associated Processing Unit.
Application Name of the client application using the Space.
Actual Instances Number of Space instances in the cluster.
SLA

Space cluster topology (number of instances, number of backups).

The number of backups per partition is zero or one.

 

Used Heap (MB) Amount of memory currently being used, in MB and as a percentage of the total memory allocated to this Space.
Used Off-Heap Cache (MB) (RocksDB storage driver only) Amount of off-heap memory currently being used for caching, in MB and as a percentage of the total off-heap memory allocated.
Used Off-Heap (MB) (Off-heap storage driver only) Amount of off-heap memory currently being used, in MB and as a percentage of the total memory allocated for the blobstore.
Entries Number of data entries to the Space.
Notify Templates Number of Notify templates for this Space.
Connections Number of currently connected clients.
Active Transactions Number of transactions that are now active.

Click the arrow in the right-hand column of the Space entry to drill through to the following additional details:

Item Description
Space Instance Name Name of the Space instance in the cluster.
PU Instance Name Name of the Processing Unit instance where the Space instance is located.
PID Process ID of the Space instance.
Host IP IP address of the host machine.
Total Memory (MB) Amount of memory currently being used, in MB and as a percentage of the total memory allocated to this Space instance.
Entries Number of data entries to the Space instance.
Notify Templates Number of Notify templates for this Space instance.
Connections Number of currently connected clients.
Active Transactions Number of transactions that are now active.

Refer to the Admin API topics in the Developer Guide.