Saving and searching by user id

I need to save a pdf file content by user so after that I can query for each user his pdf file, I think about using namesapces but when I got more user I don’t know if I can have no limit for namespaces or there is an other approach ?