Re:Cost of a Join
by jaggederest on Tuesday August 14, 2018 @07:43PM
(#17762826)
Precisely. This is exactly why decomposing things into relations is important. The naive approach is to "keep all the things and all their details in one big table", and that's what causes so many problems.
While I get that calendar tables are fun and all, if you have a date type you can just add a “holidays” table for that if you need it later, without a table of all dates.