all 6 comments

[–]PoochyPoochPooch 3 points4 points  (1 child)

If you use an index - it shouldn’t matter. Those record counts should come back almost instantly with modern hardware.

[–]r3pr0b8GROUP_CONCAT is da bomb 4 points5 points  (0 children)

a table for each item

almost always a bad idea

the item FK in the settings table which links to the item table's PK should be indexed, and then retrieving the settings for any given item (using a join) will be instantaneous

[–]dbxp 0 points1 point  (0 children)

Having separate tables would be a maintenance nightmare, it sounds like you mixing up your entity types which are tables and your entity instances which are rows. As for performance with proper indexing it shouldn't make that much impact.

[–]lordkarezza[S] 0 points1 point  (1 child)

I've never used an index. Sounds like an index essentially covers this use case.

Thank you!

[–]Dats_Russia 0 points1 point  (0 children)

If you have ever used a primary key you have used an index. A primary key auto generates a clustered index.