I'm programming a website called boomblu and it uses uniqid() with a prefix and more_entropy set to true for almost every widget and pages. In brief, every page has it's "uniqid" and when we load a page, we SELECT every widgets WHERE pageId = '$thePageWeWant'.
When I started the project, I was feeling pretty ambitious about my site so I did not want to run off of Ids for the content. But now I realize that Youtube addresses millions of videos only with a 11 character string. However, now I realize that this choice could slow down my site while making the database unnecessarily bigger.
Should I change uniqid() right now to a smaller random string? Or would it take an enormous amount of data to slow my site down so I shouldn't worry about it?