Index on _partition field?

In my Realm app my collection is partitioned by user id.

Currently, I only have the default index on the _id field, but no index on the _partition field.

My question:

Shouldn’t I add another index on the _partition field to make it perform well as my user count starts to increase?

Thanks,
Thomas

Hi Thomas, welcome to the forum!

Adding an index to the _partition attribute would speed up your initial sync (when your app opens a realm for the first time).

Hi Andrew

Ah, I see. Thank you!