I have an index organized table in Oracle 18 with the primary key
PRIMARY KEY (ISSUE_ID, LOCATION_ID_FIN, PRODUCTNUMBER, LOCATION_ID_COMPONENT, LOCAL_PART_NUMBER)
There is an foreign key to the issues table (issue_id) and two towards the locations table (LOCATION_ID_FIN and LOCATION_ID_COMPONENT).
I would not create a separate index on issue_id, because it is on first place, but should I create separate foreign key indexes for LOCATION_ID_FIN and LOCATION_ID_COMPONENT or is it enough that those columns are contained in the primary key?
(this question assumes that a foreign key index is needed to avoid any locking (tm-contention))
Database Version is 18, migrating to 19c the next weeks