Reading from a file or a big database
I have a list of 100000 products. I wish to store the specs of the
products, no search on these specs.
Two ways that I can think of are
To store the specs as key-value pair in a mysql database
Store the values in a file and just read from there.
Which of the two ways mentioned will be space and read efficient, given I
am not going to search on those key-value pairs.
Any other approach to solve the problem efficiently will be appreciated.
Thanks !
No comments:
Post a Comment