# Information Schema INNODB\_LOCK\_WAITS Table

The [Information Schema](https://mariadb.com/docs/server/reference/system-tables/information-schema) `INNODB_LOCK_WAITS` table contains information about blocked InnoDB transactions. The `PROCESS` [privilege](https://mariadb.com/docs/server/reference/sql-statements/account-management-sql-statements/grant) is required to view the table.

It contains the following columns:

| Column              | Description                                                                                                                                                                                                                                                                              |
| ------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| REQUESTING\_TRX\_ID | Requesting transaction ID from the [INNODB\_TRX](https://mariadb.com/docs/server/reference/system-tables/information-schema/information-schema-tables/information-schema-innodb-tables/information-schema-innodb_trx-table) table.                                                       |
| REQUESTED\_LOCK\_ID | Lock ID from the [INNODB.LOCKS](https://mariadb.com/docs/server/reference/system-tables/information-schema/information-schema-tables/information-schema-innodb-tables/information-schema-innodb_locks-table) table for the waiting transaction.                                          |
| BLOCKING\_TRX\_ID   | Blocking transaction ID from the [INNODB\_TRX](https://mariadb.com/docs/server/reference/system-tables/information-schema/information-schema-tables/information-schema-innodb-tables/information-schema-innodb_trx-table) table.                                                         |
| BLOCKING\_LOCK\_ID  | Lock ID from the [INNODB.LOCKS](https://mariadb.com/docs/server/reference/system-tables/information-schema/information-schema-tables/information-schema-innodb-tables/information-schema-innodb_locks-table) table of a lock held by a transaction that is blocking another transaction. |

The table is often used in conjunction with the [INNODB\_LOCKS](https://mariadb.com/docs/server/reference/system-tables/information-schema/information-schema-tables/information-schema-innodb-tables/information-schema-innodb_locks-table) and [INNODB\_TRX](https://mariadb.com/docs/server/reference/system-tables/information-schema/information-schema-tables/information-schema-innodb-tables/information-schema-innodb_trx-table) tables to diagnose problematic locks and transactions.

<sub>*This page is licensed: CC BY-SA / Gnu FDL*</sub>

{% @marketo/form formId="4316" %}
