ODS version is same for both.
Also rebuilding the views didn't change the size of the copied db
source db size ~30GB, 49.5%used
copied db size ~16GB, 99.9%used
The amount of documents, unread documents and database settings are same for both dbs
Tried to remove the deletion stubs under the replication settings from the source db, but the size didn't change
The dbs are stored on the same cluster on the server. I also tried with local copies, but the same behaviour.
The behaviour applies to all other dbs same, even with only one view and size of ~60MB -> copied db size 2MB
In the past I expected that databases have had a lot of year old deletion stubs which where not get deleted, but they where not recreated if a copy of the DB was created
Could be the problem, but how to remove the deletion stubs, that apparently will not be recreated after copying