Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PGAdmin create ERD from explicitly selected tables?

I have the ability to generate an ERD from an entire DB. My DB is huge and I want to focus on a subset of table relationships. Is this supported in PGAdmin?

like image 342
user38643 Avatar asked Mar 29 '26 02:03

user38643


1 Answers

it is possible to limit the recursion depth when generating relationship diagram in pgAdmin. Go to File -> Preferences -> "ERD tool" -> "Options" and change "Table Relation Depth" to desired value.

For example, if you set it to 1, then after right-clicking on given table and selecting "ERD For Table" only the direct relationships of that table will be shown.

It is also a bit more efficient than generating diagram for entire database/schema.

Checked in pgAdmin 8.2. settings screenshot

like image 62
Wojciech Kaczmarek Avatar answered Mar 31 '26 09:03

Wojciech Kaczmarek



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!