Skip to content

feat: fingerprint queries by connection pool db config#96

Open
segiddins wants to merge 1 commit intocharkost:mainfrom
segiddins:segiddins/query-fingerprint-connection-config
Open

feat: fingerprint queries by connection pool db config#96
segiddins wants to merge 1 commit intocharkost:mainfrom
segiddins:segiddins/query-fingerprint-connection-config

Conversation

@segiddins
Copy link

This means that looping across different horizontal shards won't show false-positive N+1s.
Obviously looping across shards isn't great, but in our case it's something we intentionally do occasionally, and we want to be able to detect the N+1s that happen against the same DB, while ignoring the same query happening across different DBs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants