Iām administrating an Oracle 12c database which shows the wait type: enq: TM ā contention in certain time periods (up to 30% of total waits). During this periods the applications does not allow new logins and users are complaining about timeouts and long response time. enq: TM ā contention is related to missing indexes on foreign key constrains. How do I find these missing indexes? Should a DBA solve this or should the software company provide the indexes?
Oracle wait type enq: TM – contention
oracleoracle-12cwait-types
Related Question
- Enq: TX – row lock contention creating session waits
- Sql-server – PAGEIOLATCH_SH and LCK_M_IX wait type
- Sql-server – CXPACKET SUSPENDED and NULL wait type
- Sql-server – PAGEIOLATCH wait type
- Sql-server – Reading ASYNC_NETWORK_IO wait stats
- Sql-server – Help with wait type CHECK_TABLES_THREAD_BARRIER
- Oracle Database troubleshooting enq: TX – row lock contention
Best Answer
Could be many reasons for TM waits but you can try running this script to check for un-indexed foreign keys first.