Transaction status: "not started sleeping before entering InnoDB"

(Doc ID 2412577.1)

Last updated on JUNE 24, 2018

Applies to:

MySQL Server - Version 5.6 to 5.7 [Release 5.6 to 5.7]
Information in this document applies to any platform.


If check the innodb engine status we can see many transactions are in status :

"--TRANSACTION xxxxxxxx, not started sleeping before entering InnoDB"


"---TRANSACTION xxxxxxxx, not started committing, thread declared inside InnoDB"

And Innodb queue is busy:


16 queries inside InnoDB, 9447 queries in queue
15 read views open inside InnoDB



 Set innodb_thread_concurrency to 16 in this case.


Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms