1.1.1

Table Of Contents
statistic-sample-rate
To collect statement-level statistics and time-based, statement-level statistics for a specic connection (rather
than globally or per-member), use these connection properties with a peer client connection:
enable-stats
enable-timestats
Note that enable-stats and enable-timestats can only be used with a peer client connect, and not with a thin client
connection.
Conguration Properties on page 319 describes these and other SQLFire conguration properties.
Note: Because of the overhead required for taking many timestamps, it is recommended that you enable
time-based statistics only during testing and debugging.
Note: Use statement-level statistics only when the number of individual statements is small, such as when
using prepared statements. SQLFire creates a separate statistics instance for each individual statement.
With a large number of these statements, it can be difcult to load archives into VSD and navigate to
those statistics of interest.
Collecting Application Statistics
You can collect your own application-dened statistics to record anything of interest to your application, such
as throughput and latency for multi-statement transactions and application-specic conguration values.
This capability gives you complete control over what to measure. It also makes it possible to gather statement-level
or time-based statistics without the overhead of turning them on in the product.
Any peer member of a SQLFire distributed system can collect and use application statistics. You can also use
application statistics from non-members by connecting to a "loner" distributed system before dening statistics.
Statistics in the VMware vFabric Gemre documentation describes how to incorporate statistics in your
application.
Using VSD to Analyze Statistics
The Visual Statistics Display (VSD) reads the sampled statistics from one or more archives and produces graphical
displays for analysis. VSD is installed with vFabric SQLFire in the tools subdirectory.
The statistics values (Y-axis) are plotted over time (X-axis). This makes it easy to see how statistics are trending,
and to correlate different statistics.
Start VSD by entering the command:
<SQLFireInstallDir>/bin/vsd/bin/vsd
Archives are usually loaded by passing them in on the command line:
<SQLFireInstallDir>/bin/vsd/bin/vsd <archiveFileName>
VSD s extensive online help offers complete reference information about the tool. The sections that follow show
examples of analyzing the SQLFire performance metrics.
Transaction Performance
SQLFire provides statistics for transaction commits, rollbacks, and failures You can monitor SQLFire transactions
with VSD.
You can use these statistics to see the transaction rate. An example follows the table.
vFabric SQLFire User's Guide284
Managing and Monitoring vFabric SQLFire