Skip to content

Split GPS points table from main database #1358

@1ec5

Description

@1ec5

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions