Closed
Description
I use Alembic to manage a Redshift database with many columns (~13,000, across ~400 tables). alembic revision --autogenerate
is (understandably), quite slow -- it usually takes about five minutes to complete.
I imagine most of this time is spent waiting for responses from the database as Alembic does its comparison. Would it be possible to run some of these queries concurrently? Perhaps concurrent.futures.ThreadPoolExecutor
would be appropriate here.