Currently, getting the dataset dates for an individual node requires pulling dataset dates for all nodes / dates. We probably want a way for this to scale like O(#dates) instead of O(#nodes * #dates).
A reasonable solution to this would be to have the data insertion process also insert an entry into a datasets table with schema (node_id), date.
Currently, getting the dataset dates for an individual node requires pulling dataset dates for all nodes / dates. We probably want a way for this to scale like O(#dates) instead of O(#nodes * #dates).
A reasonable solution to this would be to have the data insertion process also insert an entry into a datasets table with schema
(node_id), date
.