On 7/21/15 7:32 AM, Paweł Piotr Przeradowski wrote:
Hi,
First of all thanks for alembic which is great asset to have in your
development toolbelt.
I am experiencing large slowdowns when generating offline or doing
online migrations or even generating history. One of the CPU cores
stays at 100% for a large number of seconds.
|
I have 141migrations
32branchpoints and40merges
|
The hardware is:
|
Intel®Core™i7-4510UCPU @2.00GHz×4
with8GB of RAM
|
Each time I do a merge the time seems to grows. It looks to me that
alembic spends a lot of time calculating some dependency tree. Some
timings on commands *minutes:seconds*:
|
alembic history 1:31.57total
|
|
|
|
alembic downgrade head:325b273d61bd--sql 1:24.10total // |This just
targets one migration|
|
Is this a known problem? Any way I can speed it up?
not known at all, and it is likely a bug in the algorithm, but it's very
weird that it comes up with an answer, rather than just going into a
recursion overflow. it comes up with the right answer? can you supply
your full migration script structure in a .tar.gz archive ? Just the
scripts with the headers in them, I don't need the "upgrade()" or
"downgrade()" methods to be filled in. thanks.
--
You received this message because you are subscribed to the Google Groups
"sqlalchemy-alembic" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.