Skip to content

Comment on Ask HN: Going from Redis to MySQL. Good idea?

Comments

mysql, mariadb or postgresql would be ok.

> menu_items - string(comma seprated list of all menu items that customer ordered along with their price & Qty)

you may prefer to rework the menu_items as an independent table depending on your uses cases and if you don't have strong reason against.

> menu_items - string(comma seprated list of all menu items that customer ordered along with their price & Qty)
you may prefer to rework the menu_items as an independent table depending on your uses cases and if you don't have strong ganything against.

I wonder if storing this in an array in postgres would be a good idea?

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.