Background
I maintain an ArcGIS Enterprise Portal v11.3.0, with a SQL Server data source.
Problem
We have an Experience Builder app whose REST API calls were running slowly (8 seconds for initial page load). I traced the speed issues back to the database server.
What I've tried
I consulted SQL Server's Missing Indexes table, and it suggested indexing the [GDB_TO_DATE] column (which I believe is part of the versioning feature).
Running SQL Profiler, I see that the Experience Builder queries always include the following, which I assume means "return the current version of the record".
WHERE GDB_TO_DATE = '9999-12-31 23:59:59'
I've been told that it's preferable to manipulate the ArcGIS database via ESRI tools. But when I attempted to create an Attribute Index against [GDB_TO_DATE], it's not an option in the list of columns.
Question
1. Is it safe to bypass ESRI tools and create the index directly on SQL Server ?
2. If not, then is there a way to create this index with ESRI tools?
3. Is there a different way to resolve the slow Experience Builder queries?