Skip to content

propose include_name hooks for autogenerate, allow schemas/tables to be included by name, API + CLI #650

Closed
@eeshugerman

Description

@eeshugerman

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions