There is no database that I know of, but you're soon going to find a major obstacle. Not every show announces that they made back their money which makes it difficult to tell if a show actually recouped or not. Speculation is that Hamilton recouped but there has been no message about that. Keep in mind, as you may know, that shows may invest aditional money to keep it afloat. That's whats happening with Finding Neverland. Also, much of the behind the scenes is absolute speculation to the public, I do not belive that investors are required to state anything but weekly grosses and initial investment. Keep in mind that that is initial investment, that can change massively.
I appoligise for any spelling mistakes. I may be on my mobile. Clumsy fingers and small little touchscreen keys don't mixx. I try to spellcheck, but I may miss something.