News for hackers. Stuff that matters.
Re:Why do database columns have a character length of 191? by Twisol on Monday May 17, 2021 @04:41PM (#27188190)
Nice extra context, thanks!

You've now introduced two more magic constants, though, and so the question continues: where do those come from? Since 3072 is 3 * (16KB / 16), I'm guessing the 3 still comes from the original article's `Latin1` 3-byte encoding origin story. The 1/16th sounds like a balancing factor between the width of an index element and the number of elements per page.

There are no comments on this comment yet.