-
Notifications
You must be signed in to change notification settings - Fork 827
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
Add 'identity_zone_id' column to indexes for 'alias_zid' #2942
Conversation
…ing new one on aliasZid and identity_zone_id
…new one on aliasZid and identity_zone_id
… new one on aliasZid and identity_zone_id
We have created an issue in Pivotal Tracker to manage this: https://www.pivotaltracker.com/story/show/187854609 The labels on this github issue will be updated when the story is started. |
…-zid-index-add-idz-id-field
- shorten the index name. similar name pattern then existing idexes - changed order of index. indentity_zone_id should be always first column - removed not null from SQL, since not needed, see https://stackoverflow.com/questions/8660203/how-to-check-for-is-not-null-and-is-not-empty-string-in-sql-server or https://stackoverflow.com/questions/1106258/mysql-null-vs
Refactorings
Verification done with some new zones with aliases, then explain analyze select 1 from identity_provider idp where idp.identity_zone_id = 'uaa' and idp.alias_zid <> '' limit 1 Result on MYSQL (more info but similar to postgres) Both use alias_in_zone . In postgresql I found out, that the order of columns is important |
No description provided.