From reviewing some StackOverflow answers, I learned that MariaDB 10.8 supports ROW_NUMBER, which wasn't previously supported in MySQL 5.7. We can simplify this query while maintaining the same performance.
Depends on D4674
Differential D4675
[keyserver] Clean up fetchMessageInfos using ROW_NUMBER window function ashoat on Jul 28 2022, 11:20 PM. Authored by Tags None Referenced Files
Details From reviewing some StackOverflow answers, I learned that MariaDB 10.8 supports ROW_NUMBER, which wasn't previously supported in MySQL 5.7. We can simplify this query while maintaining the same performance. Depends on D4674 I first tested this stack locally in my environment to make sure the queries worked. Then I patched it onto my production keyserver and confirmed performance was improved
Diff Detail
Event TimelineComment Actions Looks great!
|