People have done ERDs but I’m not sure where to find them so hopefully someone else can answer that part. But as for Unit names, I’m pretty sure those are only stored in MongoDB. You can also retrieve them from the course blocks REST API.
See also What is stored in each database?