kellerkinderDE / shopware6-database-dump

Dump a Shopware 6 database for your local environments (and filter GDPR data)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Whats about --single-transaction?

sumedia-webdesign opened this issue · comments

Hi @sumedia-webdesign, I'm not sure I understand your question 🙂 Can you add some context?

Hi, sure.

I recently noticed that the database in MySQL seems to lock tables without --single-transaction. This disrupted the operation of the website. Maxcluster told me this. I still don't know why that is the case. Because I think the data synchronicity is gone anyway as soon as the file is saved. But no idea.
That's why I ask.

Without --single-transaction it disrupts the operation of live databases.

Hi @sumedia-webdesign, since we're already using --single-transaction in this script, I'm still not sure what you're getting at 🙂
--single-transaction should correctly skip table locks as per the MySQL documentation.

Oh, then i must be redirected to an older code by google.
But History say no. Maybe, i didn't see that.

No worries 🙂 I'll close the issue, then.