Closed berekuk closed 2 years ago
Right now frontpage table is filled with huge json fields.
frontpage
It'd be better to keep a simple table with 50 ids, and then join it with questions in getFrontpage. I'm pretty sure the performance won't degrade.
questions
getFrontpage
(And frontpage_full is entirely unnecessary, since the same effect can be achieved with SELECT * FROM questions).
frontpage_full
SELECT * FROM questions
PS: This is not really important, but it's part of the work I'd like to do on normalizing the database.
I'm pretty sure the performance won't degrade
No strong opinions, happy to defer to you
Right now
frontpage
table is filled with huge json fields.It'd be better to keep a simple table with 50 ids, and then join it with
questions
ingetFrontpage
. I'm pretty sure the performance won't degrade.(And
frontpage_full
is entirely unnecessary, since the same effect can be achieved withSELECT * FROM questions
).PS: This is not really important, but it's part of the work I'd like to do on normalizing the database.