Monitor sbspaces
One of the most important areas to monitor in an sbspace is the metadata page use. When you create an sbspace, you specify the size of the metadata area. Also, any time that you add a chunk to the sbspace, you can specify that metadata space be added to the chunk.
If you attempt to insert a new smart large object, but no metadata space is available, you receive an error. The administrator must monitor metadata space availability to prevent this situation from occurring.
Use the following commands to monitor sbspaces.
Command | Description |
---|---|
onstat -g smb s | Displays the storage attributes for all sbspaces
in the system:
|
onstat -g smb c | Displays the following information for each sbspace
chunk:
|
oncheck -ce oncheck -pe | Displays the following information about sbspace
use:
The output provides the following totals:
|
onstat -d | Displays the following information about the chunks
in each sbspace:
|
oncheck -cs oncheck -ps | Validates and displays information about the metadata areas for sbspaces.. |
oncheck -cS | Displays information about smart-large-object extents and user-data areas for sbspaces. |
oncheck -pS | Displays information about smart-large-object extents, user-data areas, and metadata areas for sbspaces. For more information about oncheck -cS and -pS, see managing sbspaces in the topics on table performance considerations in your Informix® Performance Guide. |