...
BACKUP [path] | Creates an archive database backup. If the parameter path is not specified, the backup will be performed into the directory, which is set in the archive configuration. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Executes recalcs of old values, which were redirected to the auxiliary calc task (see the archive parameter RecalcImmediateDepth) and then instead of being performed were stored to the file (see the archive parameter DropOldRequests). If path+filename is not specified, the file name_ARCHIV_DROPPED_CALCS.DAT will be processed by name.ARC and then renamed to name_ARCHIV_DROPPED_CALCS.DONE (if such a file exists, it will be deleted). Note: This command fails if the archive parameter DropOldRequests has value 1, because in this case the recalcs would be again stored to the file after being read. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| A command that must be run after the change of parameter DataTableSlices from value 1 to value 2 (i.e. after changing the time slices mode to time slices for structured archives only). Archive will transfer the archived values from time slices of simple archives to the original data tables and these time slices will be deleted. Note: for simple archives, from start of the the archiv till the transfer of archived values to the original data tables, the archiv will provide only data which are located in original data tables. Therefore this conversion is recommended only for systems with redundant archives and the archive performing conversion should be set as passive instance. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
CRC path\filename mask from to [step] [PO] | Parameter checks the data identity in instance archives. Creating the file with CRC (checking sum) for archive objects that correspond to mask for entered time period. Optional parameter step (in hours) allows to divide the calculation for time period into intervals. The parameter PO ensures the calculation will be executed only for primary archive data.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
CRC_TREE path\filename name row col from to [step] | Parameter checks the data identity in instance archives. Creating the file with CRC (checking sum) for archive objects that correspond to mask for entered time period. The calculation will be realized for object that has been defined by parameter "name row col" and for all objects that influence its value. Optional parameter step (in hours) allows to divide the calculation for time period into intervals. See the note to CRC command. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
DEL mask [before] | Deletes data from the archive database as follows:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Deletes data from the archive database without activation of dependent statistics evaluation (similar to the action DELETEARCHDATA). Time format is dd-mm-rrrr hh:mi:ss.mss. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
DI ON/OFF | Debug Info - shows / hides internal debug information of the process D2000 Archiv (only if the process window is displayed on the desktop). | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
DI ON/OFF [HOBJ/mask [ROW [COL]]] | Debug Info for values - enables / disables displaying information about the evaluation of historical values with specified HOBJ or with the name matching given mask. For structured historical values, you can specify required structure item - column (if ROW=0) or row (if COL=0). Example: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
DI ONREC/OFFREC HOBJ/mask [ROW [COL]] | Debug Info for values - recursive. The command extends the functionality of the previous commands with the possibility of showing / hiding the debug information for historical values that depend on specified historical values (e.g. minute averages). | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Sybase platform: The parameter path+trezor_name specifies the path and the name of the depository database to dismount. The * and ? characters for mask definition can be used in the depository database name. If more files match to entered mask, all these ones will be dismounted. For more information see the topic On-line access to data from depository databases. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
DISMOUNT_TREZOR trezor_name [SEGMENT seg] DISMOUNT_TREZOR IdFrom IdTo [SEGMENT seg] | Oracle platform: The parameter Id or trezor_name defines the number (name) of depository database to dismount. Name of depository database is the name of depository tablespace (e.g. MYAPP_TS_TREZOR15 or MYAPP_TS_TREZOR15_02) or name of tablespace's datafile (e.g. MYAPP_TS_TREZOR0015_S02_20040801.ORA). You can also dismount all depository databases (except the ones that are currently being filled) by using the parameter all. The parameters IdFrom and IdTo allow to dismount a sequence of depository databases. The parameter SEGMENT seg (where seg is the number of depository database segment) allows to dismount just the segment. Seg is the number between 0 and TrezorCountSegments. If the command DISMOUNT is used without the parameter SEGMENT Seg for depository database segments enabled, the process D2000 Archiv attempts to dismount all segments of specified depository database/s. For more information see the topic On-line access to data from depository databases. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
DISMOUNT_TREZOR IdFrom IdTo [SEGMENT seg] | PostgreSQL platform: The parameter Id defines the number of depository database to dismount. You can also dismount all depository databases (except the ones that are currently being filled) by using the parameter all. The parameters IdFrom and IdTo allow to dismount a sequence of depository databases. The parameter SEGMENT seg (where seg is the number of depository database segment) allows to dismount just the segment. Seg is the number between 0 and TrezorCountSegments. If the command DISMOUNT is used without the parameter SEGMENT Seg for depository database segments enabled, the process D2000 Archiv attempts to dismount all segments of specified depository database/s. For more information see the topic On-line access to data from depository databases. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
DP ON/OFF | Debug Pipe - shows / hides the course of communication with D2000 Server (only if the process window is displayed on the desktop). | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
DROP_LIST path+filename | Creates the file (defined by the parameter path+filename) containing SQL commands to delete tables, which are not used by the archive configuration. If the time slices are enabled, the file will contain also the commands to delete respective rows of the table ARC_SLICE, which contain information about the time slices corresponding to tables that are to be deleted. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Manual loading of archive cache (only available for isochronous cache mode) by reading values from archive database. Archive cache loading can be also automatic after startup - for more information see description of parameter IsoCacheAutoFill. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| For selected object(s), their ClearTime is set to a value of several hours in the past, which means that a periodic delete of object's data should occur shortly (unless it is disabled for some reason, e.g. if the time slices are enabled, it can depend on parameters DeleteInSlice0 and DeleteInSlices). | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
UNFREEZE | FREEZE command causes the writing and calculating tasks of archive stop processing the requests for a period freeze_seconds. Within this time, the next task (deleting) will list the number of requests (primary and calculated) in the queues. After elapsing the time freeze_seconds, the processing of values will be restored. If the parameter report_seconds is entered, the deleting task continues to list the number of request in the queues for this period. FREEZE command is primarily used for performance tests (testing the maximum speed for processing the requests under load). Before its using, you should realize that it does not influence reading from archive, but during its execution, the writing to the archive (so the newest values are not available when reading) and the calculations are not executed for the period freeze_seconds. In the redundant systems with 2 and more archives, we recommend to execute FREEZE command on a passive instance, so that the functionality of subsystem will not be affected. UNFREEZE command (without parameters) is used for aborting an inactivity that was caused by FREEZE command. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Activates the process D2000 Archiv to import external data, e.g. Importing archive databases from D2000 V3.65 (OS/2). | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
LIST_TREZOR id | The parameter allows to shows the list of depository databases used by the process D2000 Archiv. The contents of the list depends on the used platform - Sybase, PostgreSQL or Oracle. Parameter id:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
LOAD_TREZOR path+filename [mask] [from] [to] | On-line depository database import. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Sybase platform: The parameter path+depository_name defines the path and name of the depository database to be mounted. The name may contain * and ? characters to define a mask. If more files match specified mask, all these will be mounted. For more information see the topic On-line access to data from depository databases. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
MOUNT_TREZOR trezor_name [SEGMENT seg] [WRITE] MOUNT_TREZOR IdFrom IdTo [SEGMENT seg] [WRITE] | Oracle platform: The parameter Id (trezor_name) defines the number (name) of a depository database to be mounted. Name of depository database is the name of depository tablespace (e.g. MYAPP_TS_TREZOR15 or MYAPP_TS_TREZOR15_02) or name of tablespace's datafile (e.g. MYAPP_TS_TREZOR0015_S02_20040801.ORA). The parameters IdFrom and IdTo allow to mount the sequence of depository databases. The parameter SEGMENT Seg (where Seg is the number of the depository database segment) allows to mount on just one depository database segment. If the command MOUNT is used without the parameter SEGMENT Seg for depository database with segments enabled, the process D2000 Archiv attempts to mount on all segments of specified depository database/s. The parameter Write can be used to mount depository database (s) for writing (for depository databases synchronization through the Arcsynchro tool). For more information see the topic On-line access to data from depository databases. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
MOUNT_TREZOR IdFrom IdTo [SEGMENT seg] [WRITE] | PostgreSQL platform: The parameter Id specifies the number of a depository database to be mounted. The parameter SEGMENT Seg (where Seg is the number of the depository database segment) allows to mount on just one depository database segment. If the command MOUNT is used without the parameter SEGMENT Seg for depository database with segments enabled, the process D2000 Archiv attempts to mount on all segments of specified depository database/s. The parameter Write can be used to mount depository database (s) for writing (for depository databases synchronization through the Arcsynchro tool). For more information see the topic On-line access to data from depository databases. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
PENDING_REQUESTS path+filename | Creates a file containing the descriptions of pending requests. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Recalculates the values in the statistical archive. Mask - defines the list of objects, which are to be recalculated. If the specific row and/or column of the structured archive is recalculated, it is possible to specify parameters Row and Col (if unspecified, their default value is 0, meaning "whole row/column"). The parameters <From, To> define a time interval to be recalculated. If end time is not entered, current time will be used. Time format is dd-mm-yyyy [hh[:mi[:ss[.mss]]]]. Optional parameter BACKGROUND (implemented in version 7.02.006) puts the recalculation to the auxiliary calc task (see the archive parameter RecalcImmediateDepth). The parameter is recommended for long-lasting recalculation of historical values which are supposed to be performed on the background while archive still continues archiving real-time data. Note: If the parameter RecalcTimeIntervalLimit has non-zero value and the time interval <From, To> is longer than RecalcTimeIntervalLimit hours, the parameter BACKGROUND is mandatory, to ensure that the recalculation will be performed by auxiliary calc. This behaviour is stated as a protection against overloading the main task by recalculations. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Early disconnection of current depository database. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| If the time slices are activated, the command causes that archive will review all time slices of simple archive objects according to the defined HOBJ or mask and deletes the time slices without data. The command is used to purify the archive database from empty time slices that were created due to error of archive. This error was repaired in the supported versions in June 8, 2015. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| On-line reorganization of archive database. The command compacts all archive tables (same as the Oracle command ALTER TABLE MOVE or the Sybase command REORGANIZE TABLE INDEX). Note: For Oracle, PostgreSQL and Sybase 8.0 platforms or later only. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| On-line reorganization of archive table of object with specified HOBJ or with name matching specified mask. If the parameter tablespace is also defined, given archive table will be moved to specified tablespace. If time slices are on, all slices of one archive object will be reorganized/moved unless a slice number slice is specified. Note 1: The parameter tablespace can be used on Oracle platform only.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
REORGANIZE ON | Enables the reorganization of archive database (same as running the process D2000 Archiv with the /DBCY parameter). | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
REORGANIZE OFF | Enables the reorganization of archive database (same as running the process D2000 Archiv without the /DBCY parameter). | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
REORGANIZE ACTIVE | Enables the reorganization of archive database in the active mode only (same as running the process D2000 Archiv with the /DBCA parameter). | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
REORGANIZE PASSIVE | Enables the reorganization of archive database in the passive mode only (same as running the process D2000 Archiv with the /DBCP parameter). | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
REORGANIZE SHRINK | Enables the alternate mode of reorganization of archive database - only for Oracle 10g and above (dame as running the process D2000 Archiv with the /DBCS parameter). Note: To enable the original mode, use tell command REORGANIZE MOVE. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
REORGANIZE TableRowLimit rowLimit | On-line change of the parameter ReorganizeTableRowLimit used for the automatic reorganization of archive database. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
REORGANIZE TableTimeLimit timeLimit | On-line change of the parameter ReorganizeTableTimeLimit used for the automatic reorganization of archive database. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| The command allows the user to change the dynamic cache size to speed-up the calculation of statistical historical values while the process D2000 Archiv is still running. Note 1: The initial cache size can be specified by the parameter MaxCacheSize in the process D2000 Application Manager. Note 2: The command SET_CACHE also changes value of the parameter MaxCacheSize in registry. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
name_parameter value_parameter | Tell command SET_OPTION controls the following configuration and start-up parameters of the process D2000 Archiv:
Note: For parameters which are stored in the Registry database the tell command SET_OPTION will change the value of configuration parameters not only in archive but also in the Registry database. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shows dynamic information on the specified object (current value, last sent value, time of next calculation for periodic archived objects, time of periodic deleting, parameters and content of cache) on the text console of the process D2000 Archiv. Note: The command is mainly intended for D2000 System diagnostic purposes. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| If archive cache is enabled, the result is a list of top count historical values having the most values in archive cache. For every value the following properties are displayed: HOBJ, name, number of items and time interval of values in archive cache. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shows configuration information of the process D2000 Archiv and archive database. This information covers:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shows various information about the process D2000 Archiv and the archive database. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
STATISTICS path+filename hours | Creates the file path+filename with statistical information, i.e. number of values for individual historical values from the last n-hours. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| The command redirects the standard output to a new output. Example: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Deactivates a feature of the process D2000 - import of external data. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
STOP [NOQUEUE] | Stops the process D2000 Archiv. All unsaved values from the request queue are to be automatically stored on the disk and during the next starting the process, the values will be read from the disk. The current values of historical values are to be stored in the table SAVED_LAST_ROWS to quicken the next start of the process. If the parameter NOQUEUE is used, the unsaved values from the request queue will not be stored in the file (it quickens stopping the process with a large amount of unprocessed values). | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
TIMESTAT START TIMESTAT RESTART TIMESTAT SHOW TIMESTAT SHOWLONG TIMESTAT SHOWSTART TIMESTAT STOP | Starts (START), stops (STOP), restarts (RESTART), shows (SHOW), shows and restarts (SHOWSTART) or shows the time statistics of reading task(s) in long time format, including the days (SHOWLONG). After starting the statistics, the database reading task(s) will start the measuring time, spent in various parts of reading procedure. These values can be used for tuning by system specialists. Time statistics are displayed per reading task and if ReadThreadsCount > 1, also totals for all tasks are shown. Note: When time statistics are on, reading from archive may be several percent slower due to time measuring. |
...