sm_config_info_t Struct Reference

List of all members.

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.

Examples:

create_rec.cpp, log_exceed.cpp, sort_stream.cpp, and vtable_example.cpp.

Definition at line 179 of file smstats.h.

Public Attributes

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

Friends

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


Member Data Documentation

u_long sm_config_info_t::page_size

compile-time constant. Settable in

 shore.def 
. Default is 8K.

Definition at line 184 of file smstats.h.

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.

Definition at line 201 of file smstats.h.

bool sm_config_info_t::multi_threaded_xct

True if multi-threaded transactions are allowed.

Note:
The storage manager has not been thoroughly tested with this turned off.

Definition at line 207 of file smstats.h.

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.

Definition at line 214 of file smstats.h.


The documentation for this struct was generated from the following file:
Generated on Wed Jul 7 17:22:43 2010 for Shore Storage Manager by  doxygen 1.4.7