Skip to content

Unexpected and Much Slower Performace on a Query Using 1.4 vs 1.3 #6302

Discussion options

You must be logged in to vote

hi there -

this is a very long example that also uses external dependencies, are you able to provide any profiling data using the linked recipe? This will provide any details on whether there is some Python codepath that is much more intensive.

Based on the memory results it seems likely however that something is either leaking memory or using way too much of it, and the time spent could be just the Python interpreter growing to that 2G size. For the memory situation, can you try disabling caching . The main thing SQLAlchemy 1.4 does differently with memory is that it's storing query structures in a cache.

I can try running later but if you can just experiment with those two things that m…

Replies: 1 comment 10 replies

Comment options

You must be logged in to vote
10 replies
@zzzeek
Comment options

@zzzeek
Comment options

@jkelley-gfu
Comment options

@zzzeek
Comment options

@zzzeek
Comment options

Answer selected by jkelley-gfu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants