You delete old log directories in the Database Analyzer program.
You have the DBInfoRead server authorization.
dban_delete <date>
Option |
Description |
---|---|
<date> |
Date All log files with this date or an older one are deleted. Time format: <yyyymmdd> (year, month, day) |
You receive the Database Analyzer output.
Log on to the Database Manager CLI as operator OLEG with the password MONDAY, connect to the DEMODB database instance, delete all log files in the Database Analyzer before and including 12.12.2005:
>dbmcli –u OLEG,MONDAY –d DEMODB dban_delete 20051212
OK
0,OK: everything works fine
0,"c:\program files\sdb\programs\bin\dbanalyzer" -d DEMODB -u *,* -delete 20051212
MaxDB Database Analyzer, The Performance Analysis Tool, Version 7.6.00.16
Copyright 2000-2005 by SAP AG
Used protocol directory: c:\documents and settings\all users\application data\sd
b\data\wrk\DEMODB\analyzer
Used configuration file: c:\program files\sdb\programs\env\dbanalyzer76.cfg
Database Analyzer documentation