Database Administration (MOSC)

MOSC Banner

Index Creation - 19c

edited Apr 29, 2026 6:03AM in Database Administration (MOSC) 2 commentsAnswered ✓

Hi Team,
Need your guidance, whether creating index on table SSO_APEX_ZSC_HDR_TAB on columns HDR.ZSC_HEADER_ID and HDR.status will improve the performance, if yes kindly,please let us know the order of columns. There is no histogram on any of these columns.
SELECT /*+ GATHER_PLAN_STATISTICS */ HDR.ZSC_HEADER_ID
, APRV.MAX_APRV_REQUEST_ID MAX1_APRV
, SUB.MAX_SUB_REQUEST_ID MAX2_SUB
FROM SSO.SSO_APEX_ZSC_HDR_TAB HDR
LEFT JOIN ( SELECT BILL_HEADER_ID
, MAX(REQUEST_ID) AS MAX_APRV_REQUEST_ID
FROM SSO.SSO_AP_ZSC_APRVL_TRNS_TAB

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center