New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Matomo 4 migration: Row size too large #16810
Comments
Guess that might only happen in innodb strict mode and depends on configured |
I suppose this problem comes from either having many custom variables or custom dimensions. In case of many custom dimensions converting some to
or custom variables:
Otherwise as @sgiehl mentioned the https://mariadb.com/kb/en/troubleshooting-row-size-too-large-errors-with-innodb/ link will help. We can't really do anything here otherwise unfortunately. Can we close this issue? |
Curiously, I have had this issue when upgrading 3.14.1 to 4.0.1 BEFORE the Using |
So far what might help fix this issue is : Option 1 (confirmed it works)ALTER TABLE log_visit ROW_FORMAT=DYNAMIC; Option 2 (when many custom dimensions or custom variables)In case you have many custom dimensions converting some of them to
or if you have many custom variables (same here can convert as many as needed):
Option 3 (Experimental)Alternatively it might help to disable innodb strict mode like. Not 100% sure this helps though or is a good idea. And likely the setting should be turned on again after the migration. SET GLOBAL innodb_strict_mode = 0; |
Summing roughly our default columns when marketing campaign reporting is installed I end up roughly The easiest fix be to lower |
|
To close this issue we need to create an FAQ suggesting the first 2 options as a workaround. |
refs #16810 Avoids running into row size exceeded in some cases.
refs #16810 Avoids running into row size exceeded in some cases.
I did all the things stated in the FAQ, so option 1 and option 2. Still get the same error. Any thoughts? I have 0 custom dimensions and my custom_var rows are all empty. |
@S-n-d would you mind sharing the table information of your |
@sgiehl thanks for you reply. I've restored a file and DB backup (from yesterday) because I couldn't get into the dashboard anymore. Seems I've gotten myself in a heap of other issues now. I'll get back to this when I get my backup up and running. |
reported by two people in https://forum.matomo.org/t/error-while-updating-to-4-0-0-b1-have-to-change-some-columns-to-text-or-blobs/39482
The text was updated successfully, but these errors were encountered: