If you trust this link, click it to continue.
https://stackoverflow.com/questions/79415409/postgresql-sqlalchemy-performance-query-maximum-number-or-incremental-table