1.1.1

Table Of Contents
Chapter 44
Querying SQLFire System Tables and
Indexes
You can monitor a SQLFire distributed system through SQL commands (Views and system procedures) and also
through the GemStone Visual Statistics Display - a graphical tool to monitor statistics captured by each member in
real-time or to chart historical statistics. See Using VSD to Analyze Statistics on page 284.
You can also use the sqlf command-line tool, or any third party tool like SQuirreL.
All monitored information from SQL commands can also be scripted using the sqlf tool. And, all captured statistics
are also accessible from a script using the sqlf command.
Getting Information About SQLFire Members
The SYS.MEMBERS table provides information about all peers and servers that make up a SQLFire distributed
system. You can use different queries to obtain details about individual members and their role in the cluster.
Determining Cluster Membership on page 265
Determining Server Group Membership on page 266
Determining Cluster Membership
To display a list of all members that participate in a given cluster, simply query all ID entries in sys.members.
For example:
select ID from SYS.MEMBERS;
ID
-------------------------------------
vmc-ssrc-rh154(21046)<v3>:42445/43015
vmc-ssrc-rh156(18283)<v2>:28299/41236
vmc-ssrc-rh154(21045)<v3>:15459/55080
vmc-ssrc-rh156(18284)<v2>:43070/57131
vmc-ssrc-rh156(18285)<v1>:23603/44410
vmc-ssrc-rh154(20904)<v0>:11368/40245
6 rows selected
The number of rows returned corresponds to the total number of peers, servers, and locators in the cluster.
To determine each member's role in the system, include the KIND column in the query:
select ID, KIND from SYS.MEMBERS;
ID |KIND
-------------------------------------------------------------
vmc-ssrc-rh154(26615)<v0>:31141/53707 |accessor(normal)
vmc-ssrc-rh154(26739)<v3>:9287/48842 |datastore(norma&
265