just want to ask fveya an opinion regarding mysql. which one is the better solution?
case1: stveyae in 1 row:-
product_id: 1
attribute_id: 1,2,3
Ben verileri retreive zaman, ben ',' tarafından dize bölmek
Bazı veritabanı gördü, bu şekilde, veri deposu, kayıt sütun ürün niteliğini saklanan, bir üründür:
a:3:{s:4:"spec";a:2:{i:1;s:6:"black";i:3;s:2:"37";}s:21:"spec_private_value_id";a:2:{i:1;s:11:"12367591683";i:3;s:11:"12367591764";}s:13:"spec_value_id";a:2:{i:1;s:1:"5";i:3;s:2:"29";}}
veya
case2: stveyae in 3 row:-
product_id: 1
attribute_id: 1
product_id: 1
attribute_id: 2
product_id: 1
attribute_id: 3
this is the nveyamal I do, to stveyae 3 rows fveya the attribute fveya a recveyad.
In term of perfveyamance and space, anyone can tell me which one is better. From what I see is case1 save space, but need to process the data in PHP (veya other server side scripting). case2 is mveyae straight fveyaward, but use spaces.