PROUTIL CHANALYS qualifier
- Last Updated: January 16, 2024
- 3 minute read
- OpenEdge
- Version 12.8
- Documentation
PROUTIL CHANALYS qualifier
Displays information about the index delete change, and the free and record manager (RM) chains. It calculates the number of blocks found both in the free chain and in the RM chain.
Syntax
|
Parameters
- db-name
- Specifies the database you are using.
- area area-name
- Specifies that CHANALYS is to be performed on the area-name area only.
- tenant tenant-name
- Specifies that CHANALYS is to be filtered to only provide information
related to objects that are owned by tenant-name.
If tenant-name is not valid, CHANALYS exits with
an error. Specifying
tenantis only allowed on databases enabled for multi-tenancy. - group group-name
- Specifies that CHANALYS is to be filtered to only provide information
related to objects that are owned by group-name.
If group-name is not valid, CHANALYS exits with
an error. Specifying
groupis only allowed on databases enabled for multi-tenancy. - shared
- Specifies that CHANALYS is to be filtered to only provide information
related to shared objects. Specifying
sharedis only allowed on databases enabled for multi-tenancy. - -scan
-
Specifies that CHANALYS is to perform RM-chain analysis with minimal locking (does not turn on table locks). This option should be used when you are concerned that the locking required for a full analysis will be a significant performance impact. The information displayed may be incomplete because the chain can be changing while the analysis is being performed.
The following aspects of chain analysis are omitted with this option:- Verification that each block is below the high-water mark.
- Verification that each block appears on the chain only once.
- Verification that the object block's reported count matches the chain length (values may not agree because of the reduced locking).
- Verification that the block is the correct type (RM block for RM chain, index block for index chain).
- Verification of cluster pointers.
- -csoutput
-
Specifies that CHANALYS output the analysis data to text files in addition to the screen. The result is that the following files are created:
-
db-name
.ch.txt— For chain analysis output -
db-name
.block.txt— For block analysis output
For more information about the contents of the files, see the Database analysis output.
-
db-name
- -fieldsep sep-value
- When
-csoutputis specified, sep-value indicates the value to separate the columns of output. A space is used by default. Accepted values for sep-value are:- Any ASCII character between 0x21 and 0x7E
sp— to denote a space (the default)tab— to denote a the TAB character (<\t>or ASCII character 0x09)
- -csfilePrefix pref-name
- When
-csoutputis specified, pref-name indicates a file name prefix. The database name is used by default. All remaining elements of the file name are not customizable. - -verbose
- When
-csoutputis specified, the first row of the output files contains header names for each column of output. - -RO
- Runs the utility in read-only mode. Use read-only mode to connect to databases on read-only media or to diagnose and repair issues on a stopped database before starting it. Read-only mode allows any number of connections at once, up to the maximum number of connections. You may run multiple diagnostic utilities concurrently, while the database broker is down, if they all support read-only connection and you run them in read-only mode. This reduces bottlenecks and expedites disaster recovery on large databases.Note: Use
-ROwith caution because it is designed to work only with a read-only connection. Unexpected errors may result if you specify-ROwhen using a single-user or multi-user connection.
Output format
The chain analysis report appears in internal storage order (as stored in the object block for the area) with a column to identify Partition/Tenant/Group. The format of this column is as follows: type:name:id where type is P for Partition, T for Tenant, or G for Group; name is the partition name, tenant name, or group name; and id is the partition-id, tenant-id, or group-id. The column is blank if there is no partition, tenant, or group.
Example
The following is a sample of PROUTIL CHANALYS output.
|