DIY: Keeping an instance tidy


An Incident by our Support team might be received regarding disk space issue with your instance. It is case by case and a detailed plan is provided for you. To keep an instance tidy:
  1. Code cleanup
  2. Error message
    Similar to code cleanup, if an import job throws thousands of errors/warnings per run, it is best to take care of it to have an error free job, but also keeping the log tidy.
  3. Over Auditing
    • The sys_audit_delete table holds the deleted record. It can be common to clean some tables within sys_audit_delete where those records are not required. 
    • The most common usage is a lot of deletes on audited tables due to Discovery running have been performed. Sometimes you do not realize that they have an audited table, and data can build and not be required.
    • Normally Support initiates the cleanup for sys_audit_delete and sys_audit_relation tables but you can always check your audit requirement and take off unnecessary audits.
  4. History (sys_history_line)
  5. Report Summary Line (sys_report_summary_line):
    This table holds data related to custom charts. When the system builds a custom chart, it dumps data into this table such as chart colors and the like. The data stored in this table is just temporary data and can be completely wiped out. This cleanup frees up space in DB and in turn helps improve performance when accessing any other large tables, such as cmdb_baseline_entry. Consider having it on Table Cleaner for 30 days as well.
  6. Report view (report_view)
    This table tracks the reports of who has viewed what and when, and might also cause performance issues as reports are running (especially on any home pages as well). This data is not necessary to keep. Consider having it on Table Cleaner for 30 days as well.
  7. Import Set tables
    These are staging tables, once the Transform Map process is done, they are just temporary data. It depends on the need/requirement, have Import Set Deleter job running on a more frequent schedule to avoid performance issues and also keep those tables small.

For more information, see the product documentation topics Custom chart data generation and Custom chart rendering.


Article Information

Last Updated:2019-08-02 21:17:37