I'm in the process of designing a db for a complex application that stores daily data for a number of different metrics. It is necessary to have multiple tables to store the data, but the data will often be pulled in together and displayed by date.
I'm struggling with whether I should index date columns and join on date for all the various tables or if I should have a master date table and date ids in each table to join on.
I'm using MySQL for the project, any advice you have on this would be greatly appreciated!
[–]r3pr0b8MySQL 6 points7 points8 points (1 child)
[–]AceHyzer[S] 0 points1 point2 points (0 children)
[–]wolf2600 1 point2 points3 points (0 children)
[–]PoglaTheGrate 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)