I need to develop an international website. Let’s say I have a table called Article:
articleID | data | text_EN | text_FR | text_DE | text_ES
As you can see a single row contains each version translated of the text. Considering each text field for each language is about 1500 chars there can be any problem for mysql to manage such table?
I heard once that there is an hard limit on how much space can take a single row.
There is indeed a row size limit in MySQL (64K for MyISAM, around 8K for InnoDB IIRC), but that won’t matter much if you’re using
TEXTorBLOBfields.Such fields are actually pointers, the data itself is stored outside of the row. Each
TEXTfield will only take 9 to 12 bytes of row space, according to the storage requirements.That said, I’d second @Bill’s advice: article translations would better be stored in rows instead of columns.