Quantcast
Channel: Mobile - Couchbase Forums
Viewing all articles
Browse latest Browse all 1117

Best pracice on CB Lite index?

$
0
0

@jda wrote:

I’m experiencing fine response times on iOS in my Xamarin Forms app, however, on Android everything is “sluggish” - especially if the replication is running. I have a feeling that most of the issues with performance on Android could be side-effects of a slower database access. At the moment I only have one index:

Db.CreateIndex("type", IndexBuilder.ValueIndex(ValueIndexItem.Expression(Expression.Property("type"))));

I have many queries working on the entire dataset (~100K docs of 25-30 different types) - with quite a lot of different combinations of criteria.

So how do I find out what indexes (if any) I should create apart from the one I already have? I have searched this forum and your blogs as well - and much of the information is related to older versions of the SDK so I’m uncertain as to whether this information is still “best” practice.

Any input much appreciated :slight_smile:

/John

I’m using the latest Couchbase Lite version (2.7.1) - and Couchbase Lite Mapping (1.1.0)

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 1117

Trending Articles