This video explains how to compact the datastore, but how does Discovery actually compact it? |
It depends whether the datastore is multi generational or not. See How to check if multi generational datastore is enabled?
When multi generational datastore is disabled: For each file in /usr/tideway/var/tideway.db/data/datadir (for example: p0002_nHost_hist):
When no files left in datadir, the (compacted) files are copied from n00000 back to datadir.
When multi generational datastore is enabled, tw_ds_compact --online executes the steps below:
*Para ver una versión en español de este articulo, consulte: KA 000357478
|