MySQL multiple tables or one column? -
i have been working mysql quite time , have been tasked building table holds restaurant data. provided 2 key information types each restaurant, category (fast food, diners, delis, french, indian, etc.) , cuisine type (gastropub, german, greek, grill, gyros, etc.). each of these information types can have multiple values. table expected hold 100,000+ entries.
i need able query table searching either cuisine type or category type or both. should create separate table cuisines , categories , associate restaurant_id each row? or design simplicity should make 2 columns on restaurant table hold cuisine/category types in comma separated format? know latter disapproved of, there chance may increase speed because wont have join 2 massive tables when performing search? data modified little.
Comments
Post a Comment