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

Adding indexing to the database code for future api manager's carbon-kernel component #2908

Open
riyazathali opened this issue Jan 29, 2021 · 0 comments

Comments

@riyazathali
Copy link

Description:
Here is a suggestion to ship the following indexes with the future release of APIM. Currently, these indexes are used to improve database query performance.

CREATE UNIQUE INDEX "UCSD_APIM"."USER_DB_UM_USER" ON "USER_DB "."UM_USER"
("UM_USER_NAME" ASC,
"UM_TENANT_ID" ASC)
INCLUDE ("UM_ID" )

COLLECT SAMPLED DETAILED STATISTICS
COMPRESS NO ALLOW REVERSE SCANS;
CREATE INDEX "UCSD_APIM"."USER_DB_UM_USER_ATTRIBUTE" ON "USER_DB "."UM_USER_ATTRIBUTE"
("UM_USER_ID" ASC,
"UM_ATTR_NAME" ASC,
"UM_TENANT_ID" ASC,
"UM_PROFILE_ID" ASC,
"UM_ATTR_VALUE" ASC)

COLLECT SAMPLED DETAILED STATISTICS
COMPRESS NO ALLOW REVERSE SCANS;

Affected Product Version:
APIM 2.6.0

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

No branches or pull requests

1 participant