I believe John is trying to make the implication that the comment table was created purely for the sake of normalisation, but I believe it came out of the concerns around the size of the revision table: https://www.mediawiki.org/wiki/User:Brion_VIBBER/Compacting_the_revision_table_round_2

On Mon, 3 Jun 2019 at 21:44, Chico Venancio <chicocvenancio@gmail.com> wrote:
Hey John, 
What is the specific normalization you believe is unneeded? 

Chico Venancio

Em seg, 3 de jun de 2019 16:58, John <phoenixoverride@gmail.com> escreveu:
This is a prime example of over normalization. We are normalizing and making things slower.

On Mon, Jun 3, 2019 at 3:38 PM Jesse Plamondon-Willard <pathoschild@gmail.com> wrote:
Sure! I just fetch the comment ID in the original query ([1]), and fetch the comment text with a separate query ([2]). You need n+1 queries based on the number of records, but the performance is adequate for my use cases.


On Mon, 3 Jun 2019 at 14:51, Huji Lee <huji.huji@gmail.com> wrote:
Out of curiosity, Jesse, can you share the query after that change, so it is all stored in this thread for future reference?
_______________________________________________
Wikimedia Cloud Services mailing list
Cloud@lists.wikimedia.org (formerly labs-l@lists.wikimedia.org)
https://lists.wikimedia.org/mailman/listinfo/cloud
_______________________________________________
Wikimedia Cloud Services mailing list
Cloud@lists.wikimedia.org (formerly labs-l@lists.wikimedia.org)
https://lists.wikimedia.org/mailman/listinfo/cloud
_______________________________________________
Wikimedia Cloud Services mailing list
Cloud@lists.wikimedia.org (formerly labs-l@lists.wikimedia.org)
https://lists.wikimedia.org/mailman/listinfo/cloud