1.1.1

Table Of Contents
Chapter 47
Evaluating System and Application
Performance
SQLFire provides statistics for analyzing system performance. Any member of a distributed system, including SQLFire
servers, locators, and peer clients, can collect and archive this statistical data.
SQLFire samples statistics at a congurable interval and writes them to an archive. The archives can be read at any
time, including at runtime.
You can view and analyze runtime or archived historical data using these tools:
sqlf stats is a command-line tool provided with the SQLFire product.
VMware vFabric GemFire Visual Statistics Display (VSD) is a graphical tool that is installed in the tools/vsd
subdirectory of the vFabric SQLFire installation. See Using VSD to Analyze Statistics on page 284.
Note: SQLFire statistics use the Java System.nanoTimer for nanosecond timing. This method provides nanosecond
precision, but not necessarily nanosecond accuracy. For more information, see the online Java documentation
for System.nanoTimer for the JRE you are using with SQLFire.
Note: Runtime viewing of statistics archives les is not necessarily real-time, because of le system buffering.
Collecting System Statistics
You can use enable SQLFire system statistics using either a system procedure, member boot properties, or
connection properties.
The SYS.SET_GLOBAL_STATEMENT_STATISTICS system procedure provides a simple way to enable or
disable statistics collection for an entire SQLFire distributed system. The global setting applies to all members
and client connections, and you can change the setting at any time. For example, the following command enables
both statement-level statistics and time-based statistics:
sys.set_global_statement_statistics(true, true);
You can optionally enable statistics collection per-member using the boot properties:
statistic-sampling-enabled
enable-time-statistics
These boot properties help you congure a member's statistic archive le location and size:
statistic-archive-le
archive-disk-space-limit
archive-le-size-limit
283