Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

Increase the number...
 
Notifications
Clear all

Increase the number of fields in the database

3 Posts
2 Users
0 Reactions
1,538 Views
(@leader)
Posts: 68
Active Member
Topic starter
 
[#7819]

Hello,

I need to personalize the screen (from the pluggin with adding fields) and i have an error message on the logs: SQLSTATE[42000]: Syntax error or access violation: 1118 Row size too large. The maximum row size for the used table type, not counting BLOBs, is 8126. This includes storage overhead, check the manual. You have to change some columns to TEXT or BLOBs

I don't know how to do. I cannot supress rows (error msg). I am blocked. Do you have an idea ?

Thank you in advance


 
Posted : 13 Oct 2021 17H00
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Hi, this is a technical limitation for MySql.
Sum of size for all fields cannot be more than 8126/
Try and reduce size for fields that don't require default size : reference, externalReference could be changed to varchar(20) instead of varchar(100).
Try also to reduce size of fields you added.
At last, you can try a replace some varchar fields with mediumtext (these are blobs and their size is not counted in total size for table). Not that you then won't be able to use the field in list.


 
Posted : 15 Oct 2021 14H39
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Another thing to try, it you defined DB in charset UTF8MB4, try and change to UTFB.
This format uses a bit less space (3 bits per char instead of 4 bits per char) 

You could also change to Latin1, but you'll then need to convert the DB


 
Posted : 15 Oct 2021 14H52
Share:

Scroll to Top