My simplified and contrived example is the following:-
Lets say that I want to measure and store the temperature (and other values) of all the worlds\' towns on a daily
Instead of trying to optimize relational databases for this, you might want to consider using a Time series database. These are already optimized for dealing with time-based data. Some of their advantages are:
Personally I liked using the open source database InfluxDB, but other good alternatives are available.