I am trying to understand any limits (either exact or practical) that exist on the number of partitions for a single Postgres database, and any performance concerns that arise as you approach these limits. To this end, please answer the following related questions:
-
What is the maximum total number of partitions a database can hold?
-
If I am planning to have more than 10,000 partitions in my database, is there anything I should be concerned about?
-
Is there any number of partitions at which concerns arise solely because of the sheer number of partitions and, if so, approximately what number of partitions do these concerns arise at?