Skip to content

Improve overlapping indices action#7630

Merged
labkey-adam merged 16 commits intodevelopfrom
fb_overlapping_indices
May 4, 2026
Merged

Improve overlapping indices action#7630
labkey-adam merged 16 commits intodevelopfrom
fb_overlapping_indices

Conversation

@labkey-adam
Copy link
Copy Markdown
Contributor

@labkey-adam labkey-adam commented Apr 29, 2026

Rationale

Redundant indices waste disk space and degrade insert/update/delete performance. We can improve the existing action with per-schema processing, better documentation in the SQL scripts it generates, unique index vs. unique constraint detection, and improvements to the redundant index detection algorithm. In addition to redundant indices, the action now shows all overlapping indices, including those that are expected and legitimate, as another way to verify the correctness of the redundant index detection algorithm. https://github.com/LabKey/internal-issues/issues/156

Also, add support for simple action parameter binding to Java records.

Comment thread api/src/org/labkey/api/action/FormViewAction.java
Comment thread devtools/src/org/labkey/devtools/ToolsController.java Outdated
Comment thread devtools/src/org/labkey/devtools/ToolsController.java
@labkey-adam labkey-adam merged commit c0cf56e into develop May 4, 2026
7 checks passed
@labkey-adam labkey-adam deleted the fb_overlapping_indices branch May 4, 2026 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants