Skip to content

🐛 Bug Report: very slow migration #5891

@ghost

Description

👟 Reproduction steps

When upgrading my current AppWrite to the newest version, the migration takes multiple days.

👍 Expected behavior

Faster migration regardless of record size

👎 Actual Behavior

When upgrading my current AppWrite to the newest version, the migration takes multiple days. I have ~30 million records, but I feel like that shouldn't be impacting the migration since the database itself isn't changing, just the AppWrite code. Is there any solutions on how I can make this process faster, or is there something on AppWrite's end that you can do to optimize large migrations?

The platform has to be down during a migration, and with a 4 day estimation, that's pretty extreme for a scheduled downtime.

🎲 Appwrite version

Version 1.3.x

💻 Operating system

Linux

🧱 Your Environment

No response

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingproduct / databasesFixes and upgrades for the Appwrite Database.questionFurther information is requestedstale

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions