Indexes for MongoDB when using Realm Sync

I had this question lingering in my head since long. Realm Sync partitions are based on a key. Now if the collection(s) grow in volume, will Sync become slow over time? Is it recommended to have a MongoDB index on my partition key for each collection, or is it just an overhead without any performance gain?

@siddharth_kamaria We do recommend adding a MongoDB index on the partition key field - this will speed up the Initial Sync loading time

1 Like

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.