Skip to content

"Database Locked" mitigation #26

Description

@Pontiac76

Had a shower thought;

Proactive work:

  • Move the images database to a different database file

New run logic:

  • Run a DB backup from disk to memory
  • Each intentional write, content is shipped to both MEMORY and disk
  • Photos are still pulled from the new database file.
  • All reads are done from the MEMORY database

Caveats:

  • This could break referential integrity with the images and pk/fk, but, worth the risk?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions