Deployment Guide
# su – db7sign
Step 3: Execute initial data purge
Usually, users want to keep certain amount of historical data in the database. When configuring the data
removal first time, there can be more data in the database than desired amount of days. The first
Check the options:
$ /opt/7signal/dbms/scripts/7PurgeTool.sh -h
Usage: 7PurgeTool.sh OPTIONS
OPTIONS -d <days> Number of days of data left to the database.
All tables except SCAN_RADIO and SPECTRUM_PARAM,
SPECTRUM_RESULT and SPECTRUM_RESULT_5GHZ
Default value is 180.
-s <days> Number of days of data left to the database.
Tables SCAN_RADIO and SPECTRUM_PARAM,
SPECTRUM_RESULT and SPECTRUM_RESULT_5GHZ
Default value is 30.
-c Catch up mode. Purges data one day at once until
desired number of days have been reached.
-w <secs> In catch-up mode, wait <sec> number of seconds
before running the next purge.
Execute the utility in catch-up mode. For example, if 30 days of spectrum and scan data is fine, but amount
of other data should be 90 days:
7signal Solutions Inc., 6155 Rockside Road, Suite 110, Independence, Ohio 44131, USA,
216-777-2900, info@7signal.com, www.7signal.com