9.11 nppddbst command (check database usage status)
Function
This command checks the database's usage status.
Check this command's execution result to determine the database's usage status, and then extend the size of the database if necessary.
This command must be executed while the system is running. Open the command prompt as an administrator.
Format
nppddbst
Options
None.
Output format for database usage status
The database's usage status is output in the following format:
number-of-Operational-ContentsΔ[content-usage]%([number-of-contents]/[maximum-number-of-contents]) number-of-versionsΔ[version-usage]%([total-number-of-versions]/[maximum-value-for-the-total-number-of-versions]) usageΔ[usage-of-total-database-size]% [message] ----------
Legend: Δ: Single-byte space
The following table provides the details of the items that are output.
Item |
Description |
---|---|
content-usage |
Result obtained from the following formula, expressed as a percentage: Number of contents ÷ maximum number of contents |
number-of-contents |
Number of Operational Contents in existence at the time of command execution |
maximum-number-of-contents |
Maximum number of Operational Contents that can be created |
version-usage |
This is the result obtained from the following formula, expressed as a percentage: Total number of versions ÷ maximum value for the total number of versions |
total-number-of-versions |
Total number of Operational Content versions in existence at the time of command execution |
maximum-value-for-the-total-number-of-versions |
Maximum number of Operational Contents that can be created × number of versions that can be created per Operational Content# |
usage-of-total-database-size |
Usage of the database's total size expressed as a percentage |
message |
Whether database extension is needed.
|
Return value
Return value |
Description |
---|---|
0 |
The command terminated normally. |
1 |
The command terminated abnormally. |
2 |
A lock error occurred on the command. |
9 |
An execution permission error occurred. |
Example
This example outputs the database's usage status:
> Navigation-Platform-installation-directory\bin\nppddbst