PgAdmin4 unusable when database has lots of schemas I have a production database with 60K database schemas. PgAdmin4 is unusable, I cannot even open "Query Tool" window. I suppose that PgAdmin tries to load database metadata, so that's the reason why it's so slow. Is that true and can it be disabled? Can I do anything to speed it up?

I tried to use other DB clients like DBeaver or TablePlus and I have the same problem.
Yes, it will be because some of the system views will be getting extremely slow. No, switching tools is unlikely to help. There have been updates to how the system views are generated over the years to improve performance with complex databases. But 60,000 schemas? Not even tables, but schemas? That is so far beyond what 99.9% of users run that you are unlikely to find much help.

If you are committed to this approach, you should probably subscribe to the pg mailing lists where you can have an extended discussion about the beat way to manage your database.