NovaStar Program Reference / Database / nsdbmaintenance
Overview
The nsdbmaintenance
program confirms that the database includes necessary monthly data partition tables,
and optionally creates database tables to the end of the year.
The data partition tables are necessary to allow the system to load data as time moves forward.
See also the nsdbcheck
program to extend data tables back in time.
Command Line Usage
The command line syntax is:
nsdbmaintenance [options...]
Optional values are shown in square brackets. Command line parameters are as follows.
nsdbmaintenance
Command Line Parameters
Parameter | Description | Default |
---|---|---|
--help |
Print program usage. | |
-h hostname --hostname hostname |
Host name or IP address. | localhost |
-v --version |
Print the program version (NovaStar system version). | |
--yearEnd |
Create data partition tables to the end of the year. | Only data tables through next month are created. |
Examples
The following creates data partitions up to the next month.
sudo nsdbmaintenance
Scheduling
The program is typically called once a day to ensure that next month's data table is created.
NovaStar Administrator Interface
The program is not called from the Administrator.
Troubleshooting
See Also
nsdbcheck
program