Enable GemFire XD system statistics using a system procedure, member boot properties,
or connection properties.
You can enable statistics collection per-member using the boot properties:
You must include statistic-archive-file
and specify a valid file
name in order to enable statistics collection.
These boot properties help you configure a member's statistic archive file location and size:
To collect statement-level statistics and time-based, statement-level statistics for a specific
connection (rather than globally or per-member), use these connection properties with a
peer client connection:
These properties can only be used with a peer client connect.
describes these and other GemFire XD configuration properties.
system procedure provides a
simple way to enable or disable statistics collection for an entire GemFire XD
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
gfxd> call sys.set_global_statement_statistics ('true', 'true');
Note: Because of the overhead required for taking many timestamps, it is
recommended that you enable time-based statistics only during testing and
Note: Use statement-level statistics only when the number of individual
statements is small, such as when using prepared statements. GemFire XD creates a
separate statistics instance for each individual statement. With a large number
of these statements, it can be difficult to load archives into VSD and navigate
to those statistics of interest.