You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Performance degradation and memory peaks when updating from 0.8.12 #282
We have a process that extracts metadata out of Redshift clusters. We noticed that when we upgraded to the latest 0.8.14 release, the process started to run way slower and showed huge memory consumption peaks.
We were able to pinpoint the call that was getting those memory bumps here, in the _get_redshift_columns method of the inspector.
This is an image of the memory consumption after running for some minutes:
If left alone, the process would take up to 8GB of RAM.
If instead we pin the dependency to 0.8.12 without any other code changes, the performance goes way smoother and there are no memory management issues.
We tried to review the only PR involved from 0.8.12 to 0.8.13, but we might be lacking some context/knowledge to make an accurate guess there.
If you have any thoughts on what we could analyze further or any suggestions, it would be great.
Thanks!
Reacted by Teddy, Mayur Singal, Ayush Shah and Mohit Tilala
Thank you for your contribution and interest in sqlalchemy-redshift. With the help of the OpenMetadata engineering team I recently released sqlalchemy-redshift 1.0.0 with support for SQLAlchemy 2.
With this recent change I'll be closing open tickets and PRs. If you find your issue or PR still relevant for sqlalchemy-redshift v1.0.0, please reopen the ticket.
Activity
PR 5: Reflection performance — scoped queries and caching
PR 5: Reflection performance — scoped queries and caching
PR 5: Reflection performance — scoped queries and caching
PR 5: Reflection performance — scoped queries and caching
PR 5: Reflection performance — scoped queries and caching
PR 5: Reflection performance — scoped queries and caching
PR 5: Reflection performance — scoped queries and caching
PR 5: Reflection performance — scoped queries and caching
PR 5: Reflection performance — scoped queries and caching
PR 5: Reflection performance — scoped queries and caching
PR 5: Reflection performance — scoped queries and caching
PR 5: Reflection performance — scoped queries and caching
TeddyCr commentedon Apr 30, 2026
Thank you for your contribution and interest in sqlalchemy-redshift. With the help of the OpenMetadata engineering team I recently released sqlalchemy-redshift 1.0.0 with support for SQLAlchemy 2.
With this recent change I'll be closing open tickets and PRs. If you find your issue or PR still relevant for sqlalchemy-redshift v1.0.0, please reopen the ticket.
You can find more information here https://medium.com/p/1388d8dec83d