We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
75.7.0 , develop
I am deploying the UAA
Executed a SQL manually because we had a postgres issue in bigger landscapes Example
select count from users where ((LOWER(username) = LOWER('mariassa') and LOWER(identity_zone_id) = LOWER('uaa')))
With a DB ide you can execute
EXPLAIN ANALYZE select count from users where ((LOWER(username) = LOWER('mariassa') and LOWER(identity_zone_id) = LOWER('uaa')))
Expected is an indexed scan in the query plan to ensure that we run with the index
Sequenced scan is done because we have no lower index on idz and origin, see https://github.com/cloudfoundry/uaa/blob/develop/server/src/main/resources/org/cloudfoundry/identity/uaa/db/postgresql/V2_0_4__Identity_Provider_Adjustments.sql#L27
dca40d9
This is an issue on postgres, on mysql I think no issue, because found serveral similar issues, see https://github.com/cloudfoundry/uaa/search?q=index+lower&type=issues
The text was updated successfully, but these errors were encountered:
@torsten-sap FYI
Sorry, something went wrong.
fix issue #1662
b2a4cb6
add lower index for postgresql (#1663)
a1386b0
* fix issue #1662 * add files for hdb and mysql simply to have same version as latest in folder
Successfully merging a pull request may close this issue.
What version of UAA are you running?
75.7.0 , develop
How are you deploying the UAA?
I am deploying the UAA
What did you do?
Executed a SQL manually because we had a postgres issue in bigger landscapes
Example
select count from users where ((LOWER(username) = LOWER('mariassa') and LOWER(identity_zone_id) = LOWER('uaa')))
With a DB ide you can execute
EXPLAIN ANALYZE select count from users where ((LOWER(username) = LOWER('mariassa') and LOWER(identity_zone_id) = LOWER('uaa')))
What did you expect to see? What goal are you trying to achieve with the UAA?
Expected is an indexed scan in the query plan to ensure that we run with the index
What did you see instead?
Sequenced scan is done because we have no lower index on idz and origin, see
https://github.com/cloudfoundry/uaa/blob/develop/server/src/main/resources/org/cloudfoundry/identity/uaa/db/postgresql/V2_0_4__Identity_Provider_Adjustments.sql#L27
Reason found in git log
dca40d9
This is an issue on postgres, on mysql I think no issue, because found serveral similar issues, see
https://github.com/cloudfoundry/uaa/search?q=index+lower&type=issues
The text was updated successfully, but these errors were encountered: