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

 

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, however 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 pointers-length pairs to in-memory data. 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 be combining pointer and length information. More importantly, they allow more flexibility in structuring data. For example, consider record that is stored in memory in three parts. To create the record, all that is necessary is to build a vector pointing to the three parts and pass the vector to the ss_m::create_rec method.



Marvin Solomon
Fri Aug 2 13:40:00 CDT 1996