We do not keep any documentation of our database and its usages.
The only form of documentation we keep is https://docs.discourse.org/, which is solely for our API.
Perhaps it would be more productive to expand on what kind of analytics you are doing.