Is there a performance/storage impact from writing data non-chronological?
I have an influxdb that has been collecting data for some time now. I want to migrate it to a new server. Is there a significant difference in the following two scenarios:
- Redirect incoming data streams to new server, then simultaneously start migrating data from old server to new server. This means that the data is coming in non-chronological
- Leave incoming streams on old server, start migrating data to new server and when the new one is caught up, redirect the incoming data. This means everything is written chronologically.
I have a preference for the first scenario, but I don’t know what this means for how this data would end up on disk (chronologically in shards our spread out over multiple shards mixed with new data) and how that would impact performance.