The gps_points database table is enormous, containing 31.9 billion records (up from 22 billion in 2023). These records are dominated by a few users: #931 (comment). The volume of data complicates efforts to optimize the database and make the database server farm more robust. Storing the trackpoint data directly in the main database also prevents us from instituting more stringent access controls around potentially sensitive personal location data.
This issue tracks investigating whether and how to migrate GPS trackpoints and file metadata to a separate database. The Rails port would need to juggle more than one database when managing traces. Should the new database be on the same server or a separate server?
@Rub21 is investigating this potential change.
The
gps_pointsdatabase table is enormous, containing 31.9 billion records (up from 22 billion in 2023). These records are dominated by a few users: #931 (comment). The volume of data complicates efforts to optimize the database and make the database server farm more robust. Storing the trackpoint data directly in the main database also prevents us from instituting more stringent access controls around potentially sensitive personal location data.This issue tracks investigating whether and how to migrate GPS trackpoints and file metadata to a separate database. The Rails port would need to juggle more than one database when managing traces. Should the new database be on the same server or a separate server?
@Rub21 is investigating this potential change.