Zero  0.1.0
Public Attributes | Friends | List of all members
sm_config_info_t Struct Reference

Configuration Information. More...

#include <smstats.h>

Public Attributes

u_long page_size
 compile-time constant. Settable in More...
 
u_long max_small_rec
 Data space available on a page of a large record. More...
 
u_long lg_rec_page_space
 
u_long buffer_pool_size
 Size in KB of buffer pool. More...
 
u_long max_btree_entry_size
 Largest permissible size in bytes of an index entry (key,value pair) More...
 
u_long exts_on_page
 Number of extent links on an extent page. More...
 
u_long pages_per_ext
 Number of pages per extent (compile-time constant) More...
 
bool logging
 True if logging is on. More...
 

Friends

ostream & operator<< (ostream &, const sm_config_info_t &s)
 

Detailed Description

Configuration Information.

The method ss_m::config_info lets a server to pick up some useful configuration information from the storage manager. Several of these data depend on the compile-time page size; some depend on run-time options.

Friends And Related Function Documentation

§ operator<<

ostream& operator<< ( ostream &  o,
const sm_config_info_t s 
)
friend

Member Data Documentation

§ buffer_pool_size

u_long sm_config_info_t::buffer_pool_size

Size in KB of buffer pool.

§ exts_on_page

u_long sm_config_info_t::exts_on_page

Number of extent links on an extent page.

§ lg_rec_page_space

u_long sm_config_info_t::lg_rec_page_space

§ logging

bool sm_config_info_t::logging

True if logging is on.

Note
The multi-threaded storage manager has not been tested with logging turned off, so turning off logging is not supported in this release.

§ max_btree_entry_size

u_long sm_config_info_t::max_btree_entry_size

Largest permissible size in bytes of an index entry (key,value pair)

§ max_small_rec

u_long sm_config_info_t::max_small_rec

Data space available on a page of a large record.

§ page_size

u_long sm_config_info_t::page_size

compile-time constant. Settable in

shore.def

. Default is 8K.

§ pages_per_ext

u_long sm_config_info_t::pages_per_ext

Number of pages per extent (compile-time constant)

Note
The storage manager has not been tested with any value but 8.

The documentation for this struct was generated from the following file: