next up previous contents
Next: Writing and Compiling a Up: The Shore Storage Manager Interface Previous: Communication and RPC Facilities

Subsections
 

Miscellaneous Facilities

 

Statistics

The SSM keeps many statistics on its operation such as lock request and page I/O counts. Details are available in statistics(ssm). A utility for formatted printing of these statistics is described in statistics(fc).

 

Sorting

The SSM has sorting facilities, but they are still under development, so the interface may change. Descriptions of the sorting facilities can be found in sort_stream_i(ssm) and sort(ssm).

 

Data Vectors

A data vector is an array of (pointer,length) indicating blocks of data in memory. The array can be arbitrarily long, and methods are provided to comparing and copying data. They are further described in vec_t(common).

Data vectors reduce the number of parameters in many SSM methods by combining pointer and length information and allow the code to avoid re-copying data by allowing a sequence of chunks to be treated like one contiguous buffer. For example, ss_m::create_rec accepts a vec_t parameter to indicate the source of the data, allowing a single record to be created by gathering data from multiple locations in memory.


next up previous contents
Next: Writing and Compiling a Up: The Shore Storage Manager Interface Previous: Communication and RPC Facilities
This page was generated from LaTeX sources
10/27/1997