Skip to content

Commit

Permalink
Rename again to remove confusion
Browse files Browse the repository at this point in the history
  • Loading branch information
MyonKeminta committed May 26, 2021
1 parent acf5e52 commit c8025c7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/design/2021-04-26-lock-view.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ Several tables will be provided in `information_schema`. Some tables has both lo
|------------|------------|---------|
| `TRX_ID` | `unsigned bigint` | The transaction ID (aka. start ts) |
| `TRX_STARTED`|`time`| Human readable start time of the transaction |
| `DIGEST`|`text`| The digest of the current executing SQL statement |
| `ALL_SQLS` | `text` | A list of all executed SQL statements' digests |
| `CURRENT_SQL_DIGEST`|`text`| The digest of the current executing SQL statement |
| `ALL_SQL_DIGESTS` | `text` | A list of all executed SQL statements' digests |
| `STATE`| `enum('Running', 'Lock waiting', 'Committing', 'RollingBack')`| The state of the transaction |
| `WAITING_START_TIME` | `time` | The elapsed time since the start of the current lock waiting (if any) |
| `SCOPE` | `enum('Global', 'Local')` | The scope of the transaction |
Expand Down Expand Up @@ -89,7 +89,7 @@ Several tables will be provided in `information_schema`. Some tables has both lo
| `TRY_LOCK_TRX_ID` | `unsigned bigint` | The transaction ID (start ts) of the transaction that's trying to acquire the lock |
| `CURRENT_SQL_DIGEST` | `text` | The SQL that's being blocked |
| `KEY` | `varchar` | The key that's being locked, but locked by another transaction in the deadlock event |
| `ALL_SQLS` | `text` | A list of the digest of SQL statements that the transaction has executed |
| `ALL_SQL_DIGESTS` | `text` | A list of the digest of SQL statements that the transaction has executed |
| `TRX_HOLDING_LOCK` | `unsigned bigint` | The transaction that's currently holding the lock. There will be another record in the table with the same `DEADLOCK_ID` for that transaction. |

* Life span of rows:
Expand Down

0 comments on commit c8025c7

Please sign in to comment.