+
Skip to content

When reading events for the database, read them read-only #43365

@ahus1

Description

@ahus1

Description

Events in the database should be considered read-only. Due to that we can skip them from the persistence context and be faster.

Discussion

No response

Motivation

Reduce the memory usage when fetching a lot of events, and improve performance.

https://thorben-janssen.com/read-only-query-hint/

Details

I'll create a PR

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载