Skip to content

Performance Issue in 3.45+ (due to generatedKeys) #1135

Closed
@yuvalp-k2view

Description

In an INSERT only benchmark performance has dropped by 20-40%

To Reproduce
Insert a few thousand rows in a transaction.
What we are seeing in profiling is calls to generatedKeys, even though we are not accessing the generated keys.
We assume that this happens regardless if user invokes the call and believe this should be done "lazily" so as not to affect performance.

Expected behavior
No performance degradation

Environment (please complete the following information):
Mac M1

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions