Hello team,
Over the past two weeks, we have been facing persistent performance issues with specific layers in our WebGIS applications. To provide some context, in my organization, we recently migrated from Oracle 12c to Oracle 19c. We are publishing services using ArcMap, and we use custom-built WebGIS applications to display those layers.
The layers related to Planning and Building Applications fail to load, resulting in timeouts on requests to the services. Notably, other layers (e.g., Planning Zones, Land Use, etc.) from the same service work perfectly without delays or timeouts.
I am not an expert in database architecture, but below, you can find some details about our environment:
Environment Details
- GIS Server Version: 10.9.1 (build 28388)
- Database: Oracle Enterprise Geodatabase (19c)
- Client Applications: ArcMap 10.8.2 and custom WebGIS applications
- Affected Feature Classes and Tables:
- Applications (versioned feature class)
- Building_Permits (versioned table)
- Planning_Permits (versioned table)
Additional Information
- Planning Permits Layer: Applications (feature class) joined with Planning_Permits (table) using “keep only matching records.”
- Building Permits Layer: Applications (feature class) joined with Building_Permits (table) using “keep only matching records.”
- The above feature class and tables have spatial and attribute indexes on joined fields.
- We are not using complex symbology or Definition Queries that might affect drawing times.
- These layers are the most heavily edited objects in our database, with approximately 600 new records being added daily via post commands from an ArcGIS REST API.
Every night, a compress script is run via Task Scheduler to maintain performance. I check the log file daily, and it takes approximately 2-5 minutes to complete. However, we are not performing a full database compress. Instead, we:
- Block new connections to SDE.
- Disconnect all users.
- Run the compress tool.
- Allow new connections.
Actions Taken So Far
- Restarted GIS Servers and Services: No improvement observed.
- Disabled Automatic Compress Tool: Resolved the issue for one day but was not a long-term fix.
- Diagnostics: Ran Diagnose Version Metadata and Diagnose Version Tables, but no issues were identified.
- Checked and Corrected Geometries: Used the Check Geometry tool to fix problematic geometries.
- Recreated Feature Classes and Tables: This temporarily improved performance but only for a maximum of two days.
- Created New Attribute and Spatial Indexes: Same temporary improvement as above.
Observations
- The issue is consistently observed in both WebGIS applications and ArcMap.
- The problem is isolated to the specific layers mentioned above, while other layers and tools function without delays.
Request for Assistance
I would greatly appreciate the community's insights and suggestions regarding:
- Additional diagnostics or monitoring tools I can use to identify the root cause.
- Best practices for maintaining and optimizing feature classes with high usage.
- Any similar experiences and solutions that have worked in such scenarios.
If you need additional details about our environment, configurations, or actions taken, I would be happy to provide them.
Thank you,
Jack
GIS Consultant