Here is the problem with using this command — hcidbdump —
It talks to daemon and then also check the database.
For some reason, if the command is not executed correctly, then there is a higher chances for Database to be corrupted.
Thats the reason, I use the alert tool for monitoring it.
For an instance hcidbump -f| wc -l
Similarly hcidbdump -d | wc -l
In the alert tool you can add alerts for each threads. In my case, I monitor counts 50 for each threads. If a count reach to 50 I know that destination thread is not processing the data.