SchemaCrawler: Free database schema discovery and comprehension tool
schemacrawler.com
schemacrawler.com
Disclosure: I work on AWS Glue
I’m interested in sustainable ways to map out data across the enterprise. But the vendor space is hard, for me, to analyze at a green fields level because it’s full of pretty heavy tools that require implementation and consulting just to set up. I was unaware of TAMR until your post but tried to go through Gartner’s analysis looking at data management platforms.
Are there even any open source tools or communities in this space. For example, I started looking at Talend’s metadata mgmt oss stack for eval as to whether it’s something that would help me, but gave up after their demos wouldn’t run in a few environments I tried.
There are certainly warts, and they seem to be Oracle first, but on the whole I get a reasonable documentation experience out of it.
Here's the basic recipe:
1. Spin up a fresh Postgres instance on Docker using -P to claim an available ephemeral TCP port
2. Use `docker inspect` to read the Postgres port
3. Run DDL script on the fresh instance
4. Run SchemaCrawler Docker container using --network host option so it can connect to Postgres
and using -v so it can save a schema image to the host filesystem
This entire process is a `/bin` script checked into our repo, so we can update `/doc/db-schema.png` any time. It takes about 15s total since we have to pause for the Postgres instance to come online.One can only wonder why any javascript library of the week has better docs.