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 Using VoltDB@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 different VoltTables depending on which component is requested. DEPLOYMENT — returns one row for each configuration property.
ENV — returns a row for every environment variable defined on every host in the cluster.
LICENSE — returns one row for each property of the currently active license. (Not all properties apply to all licenses.)
OVERVIEW — returns a row for every system attribute on every node of the cluster. The rows contain an additional column to identify the host node associated with the attribute.
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.callProcedureSync("@SystemInformation",
"OVERVIEW").getResults();
System.out.println("Information about the database cluster:");
for (VoltTable node : results) System.out.println(node.toString());
results = client.callProcedureSync("@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. |