-
Suggestion
-
Resolution: Fixed
-
None
Most of the commonly used queries on the SpacePermissions table are queries on the permtype, user and group columns together, but we have no composite index on these columns.
Adding one should greatly improve performance to these queries.
This change creates very little risk, since the Space Permissions table is very rarely updated.
One large system experienced improved performance when such an index was added to its oracle database.
Note that this index might be ineffective in some systems because the column values and the query values involve NULLs, which can sometimes limit the effectiveness of an index.
- is blocked by
-
CONFSERVER-14490 Add the ability to Hibernate to have more than one index per column
- Closed
Form Name |
---|
Hi Jeremy,
Absolutely I could see that would be a better order for databases that support it. I believe some databases (oracle) don't let you have a composite index where the first column can contain nulls, which unfortunately PERMUSERNAME can.