mysql - Is it faster to dig data using sql_fetch_array or having a csv string and separate the values using php? -
i'm working on website supposed show specifications of computers, example: cpu, cpu speed, ram , stuff that. there lot of fields , wonder whether php's mysql_fetch_array faster or saving data in 1 varchar field , separating using php? wondering if there pros , cons either of them? i'm using php 5.3 , mysql in advance.
if i'll use database in separates field , tables (db relational) entity relationship diagram + normalization. doing have scalability, independence, avoid redundancy, beside if add index (pk,fk , uk) have performance. of course depend of queries , php code. that's practice implement right db design plus security stuff.
the pros lot... cons, take more time worth it.
Comments
Post a Comment