Database Administration (MOSC)

MOSC Banner

Index Creation - 19c

Hi Team,

Need your guidance, whether creating index on table XXTTD_APEX_EMBOOK_HDR_TAB on columns HDR.EMBOOK_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.EMBOOK_HEADER_ID
, APRV.MAX_APRV_REQUEST_ID MAX1_APRV
, SUB.MAX_SUB_REQUEST_ID MAX2_SUB
FROM XX_APEX.XXTTD_APEX_EMBOOK_HDR_TAB HDR
LEFT JOIN ( SELECT BILL_HEADER_ID
, MAX(REQUEST_ID) AS MAX_APRV_REQUEST_ID
FROM XX_APEX.XXTTD_AP_EMBOOK_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