We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PostgresMailboxMessageDAO#listDistinctUserFlags
The unnest function supported by PostgreSQL is the reason the query for user flags is heavy.
select distinct unnest(user_flags) from message_mailbox where mailbox_id = cast($1 as uuid)
Detail: https://github.com/vttranlina/vttranlina.github.io/blob/main/gatling_20241126/before/pg_stat_statements_before.csv
I suggest move "unnest" logic to james code application layer and verifying its impact.
The text was updated successfully, but these errors were encountered:
Less convinced about this one: choose your evil...
Unsure that sending zillions of rows over the network be more efficient...
Sorry, something went wrong.
No branches or pull requests
The unnest function supported by PostgreSQL is the reason the query for user flags is heavy.
Detail: https://github.com/vttranlina/vttranlina.github.io/blob/main/gatling_20241126/before/pg_stat_statements_before.csv
I suggest move "unnest" logic to james code application layer and verifying its impact.
The text was updated successfully, but these errors were encountered: