-
Notifications
You must be signed in to change notification settings - Fork 26
Do not remove indexes not declared in code #192
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
Comments
DataObjects.Net has a way to ignore tables and columns, probably we could expand this to support indexes as well (ignoring by prefix of name or exact name). |
@alex-kulakov we also need this feature, both for columns and indexes. |
@LookBehind , No. Take a look at |
By the way, @LookBehind , you probably need this feature in master but feature requester expects it to be in 6.0 as I understand it. |
thanks for the link. |
@LookBehind , master is going to be 7.1, the version is in |
@alex-kulakov we can't upgrade any dependencies this year, so the earliest I can is January 2022, in which case we will have time to test and hence should be able to upgrade to the latest 7.x. |
@ondrejtucny yep, as I said 6.0 is highly desirable, I understood that from another issue about index performance |
@alex-kulakov what I mean is that I can live with version 7 :) No need to back-port to 6.x. |
So we're free to implement it in 7.1 (current master), right? |
a quick question: if the column is ignored by your pointed way - will the index that was put on that column be removed by DO during upgrade or not? |
If you look at the |
Is this going to make it to 7.1? Btw. what's the expected timeline for 7.1 and .NET 6 support? |
I'll try to make it happen before 7.1 become ready-to-release. Speaking of Net6 support, it is already in master, We're accumulating certain improvements to make DO faster, these include some API changes which, to my mind, should happen before final release, I assume we will have at least one Beta because changes are significant and we want to give it time and wait for some problems appear. We will probably publish next Beta in September/October |
Thanks. @alex-kulakov I will drop you an email with a few questions, not really being an issue hence not spoiling issues with questions here. |
@ondrejtucny , I'm going to close the issue. Index ignore rules are in master for a while, have you tried it? |
@alex-kulakov, not yet, thanks for notifying me. When do you expect the official 7.1.0 to ship? I can update our private repo with the latest 7.1.0 Beta 2. We are planning a major release for 04/2023, so it's a good opportunity for a minor upgrade of DO as well. |
We have one thing to merge before going out of pre-release state - DateOnly and TimeOnly support. It is serious changes so I don't want them to be done in release. So, ideally, there will be at least one RC. Then if no issues appeared we'll be able to make a release. We have some interests within our company to get release till the end of February. |
When there are extra indexes declared for a table, do not delete them. At least introduce an option, which will tolerate unknown indexes. This is important when manual performance tuning is done by the DBA in large-scale installations.
The text was updated successfully, but these errors were encountered: