Hvrrouterconsolidate - Merge small tx files in router directory.
hvrrouterconsolidate [-options]... hubdb [chn]
If capture jobs run without integrate jobs then many transaction files (matching *.tx_integloc) will accumulate in $HVR_CONFIG/router/hub/chn. These files can cause extra CPU load in other jobs. Small transaction files will also accumulate in $HVR_CONFIG/jnl/hub/chn if action Integrate /JournalRouterFiles is defined. Command hvrrouterconsolidate will merge many of these smaller files together.
Consolidation is unsafe while an integrate job is running; for this reason hvrrouterconsolidate will only consolidate router files for integrate jobs which have scheduler job_state as SUSPEND or FAILED or PENDING (unless option -f supplied).
If the channel name is not supplied then router consolidation will be done for all channels.
Note that consolidation will not merge all small files; the algorithm instead processes files in batches of 10, 100, 1000 etc...
The argument hubdb specifies the connection to the hub database. For more information about supported hub databases and the syntax for using this argument, see Calling HVR on the Command Line.
This section describes the options available for command hvrrouterconsolidate.
Base/radix. Otherwise 10 files are grouped.
Consolidate files for all jobs, not just ones where job_state is inactive. Only used when the scheduler is not running.
Journals only, ignore /router directory.
Location class of the hub database. Valid values for class are db2, db2i, ingres, mysql, oracle, postgresql, sqlserver, or teradata. For more information, see Calling HVR on the Command Line.
Specific locations only. Value can have form loc or !loc
Max num rows. Larger files won't be joined.
Only print OS commands, no execution.
Router files only, ignore /jnl directory.
No consolidate if new file would exceed fsize.
Default is 20Mb.
Database user name.