Think about the following scenario:
There is this HUGE datebase with loads of documents and using GIBs of space when fully replicated.
Your Workforce does for their daily/weekly/monthly work need a local replica of the database.
They have access to all of the documents of that database, so you can not make use of reader and author fields.
And they want to be able to select the documents they need by themselves. Creating a replica of the database by pushing a button selecting the needed documents in a form which builds the replication formula for them and then creates the replica and fills it with the selected documents.
This is an easy one you think?
Yes it is easy as long as the database to replicate is not that big, because the first thing that happens when you create a new replica via script in the backend is that all of the documents are replicated and only after doing this you can change the replication formula and replicate again to get only the subset of documents you want.
Yes there are solutions to that problem out in the wild. Vince Schuurman gave one clue of how to solve it here:
Another approach coming from Hynek Kobelka can be seen here:
And there are some more out there.
What i would like to see is either.