GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||
GeezerVison is showing docs.voltdb.com — @SystemInformation Documentation@SystemInformation@SystemInformation — Returns configuration information about VoltDB and the individual nodes of the database cluster. Synopsis@SystemInformation @SystemInformation String component DescriptionThe @SystemInformation system procedure returns information about the configuration of the VoltDB database or the individual nodes of the database cluster, depending upon the component keyword you specify. The following are the allowable values of component:
If you do not specify a component, @SystemInformation returns the results of the OVERVIEW component (to provide compatibility with previous versions of the procedure). Return ValuesReturns one of two VoltTables depending upon which component is requested. For the DEPLOYMENT component, the VoltTable has the columns specified in the following table.
For the OVERVIEW component, information is reported for each server in the cluster, so an additional column is provided identifying the host node.
ExamplesThe first example displays information about the individual servers in the database cluster: $ sqlcmd 1> exec @SystemInformation overview; The following program example uses @SystemInformation to display information about the nodes in the cluster and then about the database itself. VoltTable[] results = null;
try {
results = client.callProcedure("@SystemInformation",
"OVERVIEW").getResults();
System.out.println("Information about the database cluster:");
for (VoltTable node : results) System.out.println(node.toString());
results = client.callProcedure("@SystemInformation",
"DEPLOYMENT").getResults();
System.out.println("Information about the database configuration:");
for (VoltTable node : results) System.out.println(node.toString());
}
catch (Exception e) {
e.printStackTrace();
} | |||||||||||||||||||||
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |