ArcGIS Server 10.7.1: What is the best practice to improve the performance of a versioned geodatabase feature class?
I couldn’t figure out the best practice to improve the performance of a versioned geodatabase feature class.
Are you working with branched or traditional versioning?
Traditional! but what if it's branched?
Hi Jamal
I think if you are going to use map/feature services, you might need to have a look at branch versioning.
Editing and Administration with Branch Versioning – It’s Showtime!
Regards,
Bing
Hi Jamal,
to answer your original question
hands down the most important thing you can do to keep the performance optimized for your traditionally versioned geodatabase is to introduce a regime of reconcile, compress and rebuild statistics. (ideally as a scheduled python script)
If you dont do this, the state_lineage tree that determines the number of internal datatabase queries (between the sde_states, sde_state_lineage and the base+A&D tables that make up the versioned feature class) that are required to return the "current" value of your feature classes can become enormous, particularly if the class is being edited frequently.I have seen sites where there was no compress happening for months and once performed, queries dropped from minutes to sub-second.
Many thanks David for the help.
How about “rebuild indexes” tool? Has it something to do with enhancing the performance of the a versioned feature class?
Jamal - a lot of these workflows can be automated using a Python script associated with Task Scheduler in Windows. I show my Versioning students this link - of course it's Python27 so you'd have to run the Analyze Tools for Pro GP tool to ensure it will work in AGP as the Python release is much different in AGP.
Thanks Robert.
Function wise:
Do compress and analyze tools improve view and edit performance?
Does rebuild indexes improve query performance?
Jamal - function wise deserves an explanation:
Hope this helps!
Thanks for the very useful input.
Is it correct to conclude this:
Compress tools helps improve the performance in viewing, display, and query
Rebuild indexes tool: helps improve the performance in querying
Analyze tool: helps improve the performance in querying
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.