r/SQL • u/_devonsmash • Jan 08 '26
PostgreSQL Data mapping
Looking for some input on the following.
I have about 50 tables of data, with around 30 headers each. I can only access this data through virtual desktop infrastructure, and use “in database connection” through alteryx. I cannot directly access it in SQL, but i can write SQL code in alteryx to access the data.
This is very tedious
I want to create a large map of this data, all its tables, and their connections. This will just be a map. No data will be stored in this table for security purposes, but I can build it in SQL, power bi, excel or any other suggestions. The goal of this is so I can easily reference where all the data is quickly and where everything is.
What is the best way to go about this?
1
u/TopLychee1081 Jan 09 '26
Do you mean that you can't create a connection from other software and only get data through Alteryx?
If that's the case, you could try getting the data from INFORMATION_SCHEMA and let a CASE tool generate an ERD for you, but it's messy as you'd still need to create a database from it.
Ideally, you'd just connect directly using a tool and produce that way. Have you tried asking for a schema only backup of the database? No data, so no privacy issues, only potential IP on the schema.
1
u/ZarehD Jan 09 '26
Given that you already have an Excel file containing descriptions for all tables and columns of that database, why not just import that file into an SQL database so you can query against it?
1
u/Jerry-Nixon Jan 23 '26
Can you introduce an API/GraphQL tier to query against? https://aka.ms/dab