Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement] Unnecessary Indexes using more storage than needed #4551

Closed
billmask opened this issue May 20, 2021 · 4 comments
Closed

[Enhancement] Unnecessary Indexes using more storage than needed #4551

billmask opened this issue May 20, 2021 · 4 comments
Labels
bug Something isn't working

Comments

@billmask
Copy link

Describe the bug
There is no wrong behavior of the application but there are unnecessary indexes in the databases XMl files.
This slow down the DMLs and does not help with queries but main problem is storage usage.

To Reproduce
Setup steps (if required). Example:

  1. Setup table in database with this schema
  2. That's all. Duplicated indexes will be there.

Steps to reproduce the behavior:

  1. Install application
  2. Check indexes in the database.

Expected behavior
Less indexes (I am preparing a Pull Request) to speed up DMLs and save storage.

Actual behavior
Duplicated indexes in place.

Screenshots
I will detail it in the PR.

Environment (please complete the following information):

  • Oracle
  • PostgreSQL
  • MySQL
  • SQL Server

Workaround(s)
Not needed, but anyone can run the alter tables to drop the indexes.

Additional context
none needed

@billmask billmask added the bug Something isn't working label May 20, 2021
@billmask
Copy link
Author

As said above, the PR:
#4565

@tonygermano
Copy link
Collaborator

Not sure that I would classify this as a bug, but removing the unnecessary indexes makes sense to me.

@billmask billmask changed the title [BUG] Unnecessary Indexes using more storage than needed [Enhancement] Unnecessary Indexes using more storage than needed May 27, 2021
@billmask
Copy link
Author

I confess I also don't think it is a bug. I can edit the issue and set differently. I can create a new issue and relate it to the PR.
The code owners can say what they think it is better.

@billmask
Copy link
Author

MOVED TO #4605

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants