Dragon EMS "dragon.db" files taking up space

  • 0
  • 1
  • Question
  • Updated 5 years ago
  • Answered
A Dragon EMS server accumulates "dragon.db" files under the DB directory. What is the recommended practice for dealing with all these files? Is it worthwhile to archive them?
Photo of dtitzer

dtitzer

  • 190 Points 100 badge 2x thumb
  • confident

Posted 5 years ago

  • 0
  • 1
Photo of Mullins, Keith

Mullins, Keith, Employee

  • 470 Points 250 badge 2x thumb
Official Response
Hi,

Thank you for posting.

The dragon.db files contain the raw data of the events that occurred on that specific day. These files can also be used to repopulate the mysql database with event data.

Within Dragon, there is a utility that can be used to archive or delete these files based on event age. Within Dragon v7.x, this utility is accessed through the Tools menu and is called 'Set Default Log Policy'. This will pop up a window that allows a user to define a specific event retention rate (in days), and whether to compress or delete these dragon.db files when this age is reached for that dragon.db file. For example, you can confirm this utility to compress all dragon.db files that are older than 30 days, or delete all dragon.db files older than 360 days, etc.

This tool also exists in Dragon v8.x, under the 'Options --> Log/Data Policy' view in the web interface.

This utility can also be used to manage the debug logs in the /opt/dragon/logs directory.

This log archive/delete utility is documented in each versions Dragon Configuration Guide for your convenience as well.

Is this the information you were looking for?
Photo of Mullins, Keith

Mullins, Keith, Employee

  • 470 Points 250 badge 2x thumb
Official Response
Hi Dennis,

In the upcoming Dragon v8.2 release, the Log Policy utility has been modified to perform a two-tier approach. This may be more inline in what you are looking for.

The dragon.db files are compressed after one day automatically (this part cannot be changed by user configuration). The compressed files stay on the system until they are deleted after the user-defined retention period.

Dragon v8.2 is scheduled to be released ~11/15.