Sorry for going over old ground, I know that this has been discussed before, but . . .
Suppose I have a single table which can hold records by user. There seems to be two approaches to architecting this
- to hold all of the records in a single table keyed by user id
- having a sub-directory for each user
If there was only a 'few' users - say 1000 and a few records per user, say, 10, then a single keyed file looks like it would work ok. But 1000 subdirectories - is that feasible?
On the other hand, having all of the records in a single file is a bit scary (can anyone provide solace for this ill feeling!)
So, what's best practice? What has been done and what are your experiences? Are there any rules of thumb? And lastly, what's the best way of going the 'sub-directory' routs where you could have lots of sub-dirs. active at any time - how does that work?
Thanks
Keith