sysinstances

The Cluster Edition adds the sysinstances fake table, which reports on the state of the instances. sysinstances includes a row for each instance defined in the cluster configuration.

Although sysinstances is a fake table, it is not impacted by the setting of set system_view, and always returns a row for each instance, regardless of the system_view setting.

Table 15-2: sysinstances fake table

Column name

Datatype

Description

id

tiny int

ID of the instance

name

varchar(30)

Name of the instance

state

char(17)

State of the instance (one of online, offline, joining, leaving, and initiating)

starttime

datetime

Date and time the instance started

hostname

varchar(255)

Name of the operating system host running this instance

connections_active

int

Number of active connections on the instance

engines_online

smallint

Number of online engines for this instance