# spicedb


11/04/2021, 10:46 AM
Hi friends, have you tried spicedb for a huge amount of documents? say 30 millions in total, and the documents are organized in hierarchy(like a directory tree), with inherit permissions. The challenge is to build the tree according to the permissions for the end users. I have tried in development model with around 400, 000 documents. I was using lookup trying to retrieve the permitted documents, it takes around 2 hours😅 . and for sure I must be using it in the wrong way, but do you have any suggestion on this topic?