I have the following diagram
PRODUCT (ID, name, description) TAG (ID, labels)
The product will have about 1,000,000 entries, the tag will have 100 entries. If I do this with a relational database, I will make a many-to-many relationship and there will be 10,000,000+ entries in this table, so I'm afraid it will be a little slower. I have no experience with NoSQL databases, and I wandered, getting any advantages to create this schema in NoSQL.
Thanks in advance.
source share