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 Authored by ashoat on Jul 29 2022, 6:20 AM.
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!
| |||||||||||||||||||||||||||||||||||||