Vehicle System With MySQL
#14

Quote:
Originally Posted by Jay_
Посмотреть сообщение
It would be wrong to normalise a vehicle database table containing fields represented by vehicle modifications.

Patchwerk's post is correct: you do not need to split these off because the number of vehicle modifications is not a dynamic amount. There is always a maximum of 9. You'd only need to normalise this when there would be a dynamic amount of modifications, or the fields could potentially contain repeating data.
Not normalizing this is a waste of memory. Does every vehicle always has all 9 mod slots filled? No. So most of the time your "mod" fields are empty, thus having the value "0" -> repeating data.
Reply


Messages In This Thread
Vehicle System With MySQL - by dominik523 - 01.08.2015, 11:55
Re: Vehicle System With MySQL - by [XST]O_x - 01.08.2015, 12:26
Re: Vehicle System With MySQL - by Patchwerk - 01.08.2015, 14:10
AW: Vehicle System With MySQL - by Mellnik - 01.08.2015, 14:12
Re: Vehicle System With MySQL - by dominik523 - 01.08.2015, 17:08
Re: Vehicle System With MySQL - by maddinat0r - 01.08.2015, 18:29
Re: Vehicle System With MySQL - by Cypress - 02.08.2015, 10:16
Re: Vehicle System With MySQL - by dominik523 - 02.08.2015, 10:42
Re: Vehicle System With MySQL - by Cypress - 02.08.2015, 10:45
Re: Vehicle System With MySQL - by Jay_ - 02.08.2015, 15:28
Re: Vehicle System With MySQL - by Scenario - 02.08.2015, 15:37
Re: Vehicle System With MySQL - by Gammix - 03.08.2015, 09:27
Re: Vehicle System With MySQL - by Jay_ - 04.08.2015, 09:50
Re: Vehicle System With MySQL - by maddinat0r - 04.08.2015, 10:44
Re: Vehicle System With MySQL - by Jay_ - 06.08.2015, 16:33
Re: Vehicle System With MySQL - by dominik523 - 12.08.2015, 10:54
Re: Vehicle System With MySQL - by Tamer - 21.08.2015, 07:20
Re: Vehicle System With MySQL - by Kar - 21.08.2015, 11:05

Forum Jump:


Users browsing this thread: 1 Guest(s)