Select to view content in your preferred language

Is there a performance loss on a service containing a definition query?

4258
5
Jump to solution
11-05-2014 05:33 AM
BrandonKeinath1
Deactivated User

It looks like I am able to publish services from data that contain definition queries.  Is there any performance loss doing it this way rather than a separate exported feature class?  You could also expand it to me wondering what the pros/cons are for publishing services with definition queries.

Thanks,


Brandon

0 Kudos
1 Solution

Accepted Solutions
XanderBakker
Esri Esteemed Contributor

I guess it will be pretty fast if you set the right indexes, but publishing he data the corresponds to the query only, will probably be a little faster.

View solution in original post

5 Replies
BrandonKeinath1
Deactivated User

Giving this a boost to see if anyone has any opinions.  I successfully published a service with a definition query but still looking to see what effects this might have long term

0 Kudos
XanderBakker
Esri Esteemed Contributor

I guess it will be pretty fast if you set the right indexes, but publishing he data the corresponds to the query only, will probably be a little faster.

BrandonKeinath1
Deactivated User

Hi Xander,

Which indexes should I be on the look out for?

Brandon

0 Kudos
XanderBakker
Esri Esteemed Contributor

The fields you are referencing in the query should have an attribute index to query data on attributes faster:

ArcGIS Help (10.2, 10.2.1, and 10.2.2)

BrandonKeinath1
Deactivated User

Thanks Xander,

That's very helpful advice.  I will add that into our process documentation.


Best,


Brandon

0 Kudos