Vincent Poon created PHOENIX-5456: ------------------------------------- Summary: IndexScrutinyTool slow for indexes on multitenant tables Key: PHOENIX-5456 URL: https://issues.apache.org/jira/browse/PHOENIX-5456 Project: Phoenix Issue Type: Bug Affects Versions: 4.15.0, 5.1.0 Reporter: Vincent Poon
The IndexScrutinyTool is doing full scans for index tables on multitenant tables. This is due to a change in PHOENIX-5089, where we added code to IndexColumnNames to skip a portion of the PK if the table is multitenant: https://github.com/apache/phoenix/commit/cc9754fff840f38d13c3adb0c963296959fff3fa#diff-0705645faa779229d00792c032ed377fR64 This causes scrutinies for global, non-view indexes on multitenant tables to skip the tenantId when generating the pk column list, thereby causing a full scan. -- This message was sent by Atlassian Jira (v8.3.2#803003)