Hello, I apoligize for the vague subject, but it's hard to wrap up in a single sentence what it is I am trying to do.
I am creating the ability for users on my site to purchase (with virtual dollars) different items, after the item is purchased, it will be available to them for use on the site. There is no set number of items, as they will be added continuously. I need to ability to track which users have which items purchased. Right now I am just keeping a single table with all purchases from all users, and the "item ID" is used to track which item was purchased. But over time this list is getting into the tens of thousands and seems like it could be reducing performance to have to filter through every entry for a single users purchased items on every page click.
Is there a better method for this, or am I just being paranoid?
I am creating the ability for users on my site to purchase (with virtual dollars) different items, after the item is purchased, it will be available to them for use on the site. There is no set number of items, as they will be added continuously. I need to ability to track which users have which items purchased. Right now I am just keeping a single table with all purchases from all users, and the "item ID" is used to track which item was purchased. But over time this list is getting into the tens of thousands and seems like it could be reducing performance to have to filter through every entry for a single users purchased items on every page click.
Is there a better method for this, or am I just being paranoid?
Comment