mysql - Database: A table for each language or one table with a language column -


I am creating a book database in mysql. A book can have different languages ​​and several thousand books are going to be (and I am far away from a supporter in this area, small and simple databases have been created before)

1) Is it just to create a table with a language column and to create an index for it 2) or it will be quite fast to create a table for every language

My intuition (the witch jet in this area is not reliable) tells me to go with the first option. I think it is more generalized, it looks very clean and easy to expand in more languages. And it requires less programming though, it is primarily an English language that is being used (this will also be a large collection), and will it not take much time to reach those books when the tables are filled in books written in other languages. She goes?

Speed ​​is of some importance because it is being used on a website. But if there is no significant performance difference, then I like to choose the easiest way.

It will not be many different languages, 5 max 10, I think.

Only get the table that you need, in which all your languages ​​are required .

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -