Skip to content

SQLAlchemy 1.4 caching support warning #187

@Jskarie

Description

@Jskarie

I see several issues discussing this issue, but no way to resolve it.

SAWarning: Dialect ibm_db_sa:pyodbc will not make use of SQL compilation caching as it does not set the 'supports_statement_cache' attribute to True. This can have significant performance implications including some performance degradations in comparison to prior SQLAlchemy versions. Dialect maintainers should seek to set this attribute to True after appropriate development and testing for SQLAlchemy 1.4 caching support. Alternatively, this attribute may be set to False which will disable this warning. (Background on this warning at: https://sqlalche.me/e/20/cprf)

current versions
ibm_db==3.2.7
ibm_db_sa==0.4.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions