I had written a script to pull counts from the recovery database using hcidbdump. I never saw any corruption, but it did cause an I/O bottleneck whenever the number of messages in the recovery database got high.
As a solution, I ended up using msiAttch to pull the statistics of pending messages. Here is a slightly modified version of that script that should meet your needs. https://gist.github.com/2322016
Let me know what you think.
Thanks,
Eric