Replication Document Count and Size

We have Database A - The Main DatabaseDisk Space: 5,042 MB

Documents: 607,481

% Used: 50.5%

We have Database A - Replica

Disk Space: 8,255 MB

Documents: 83,103

% Used: 78.2%

What would be some reasons for this difference in space and document counts ? The ACL is the same, shouldn’t be any reader field issues.

Thanks in advance

Subject: Don’t worry about the size, but documents should match

If you really don’t have reader fields, and there’s no limitations in the replication properties, the number or documents really should match between the two copies.

Don’t be concerned with the size though. Replication is not a copy. There’s lots of data in a database file that does not get replicated (e.g. view indexes), so replications normally have different sizes.

Subject: Document Count ?

What about the document count ? Shouldn’t they match ?

Subject: Yes

Yes, if you don’t have reader fields (you need to verify this in the documents, not just the design) and you don’t have any replication rules that are only selecting a subset of the documents to replicate.