Lock a database or take a snapshot of DB

Hello, 

 

We want to take an export of all tables and views from DB. As the export of 180 entities can take time, there should not be any data updated on the DB duing the export period.

To do this, can we lock the MySQL DB for a some period of time. I am afraid a lock can create failures to users if any write fails.

Are there any other options like taking a snapshot of DB from Appian? Let us know.

 

Thank you,

Harish 

 

  Discussion posts and replies are publicly visible

Parents
  • Hello Harish,

    I am guessing you are On premise?

    When talking about backups/snapshots there are multiple techniques, I guess you want to have a snapshot instance? For testing or UAT? You are just trying to copy the data, not Appian information, correct?

    Using the DB tools will be always the best option, it will help you to prevent inconsistencies and if you have large amounts of data I totally recommend the incremental option.

    NOTE: if you choose to make exports or dumps, don’t ever try to do the export from a remote computer because it will add one more layer to the processing time.

    Refer to MySQL documentation
    dev.mysql.com/.../backup-methods.html

    José Perez
Reply
  • Hello Harish,

    I am guessing you are On premise?

    When talking about backups/snapshots there are multiple techniques, I guess you want to have a snapshot instance? For testing or UAT? You are just trying to copy the data, not Appian information, correct?

    Using the DB tools will be always the best option, it will help you to prevent inconsistencies and if you have large amounts of data I totally recommend the incremental option.

    NOTE: if you choose to make exports or dumps, don’t ever try to do the export from a remote computer because it will add one more layer to the processing time.

    Refer to MySQL documentation
    dev.mysql.com/.../backup-methods.html

    José Perez
Children
No Data