Skip to content

Commit 5bbb0c8

Browse files
committed
ps-10186-8.0 - [DOCS] - Document performance_schema.account_failed_login_lock_status table
1 parent 241e3bf commit 5bbb0c8

File tree

3 files changed

+48
-24
lines changed

3 files changed

+48
-24
lines changed

docs/misc-info-schema-tables.md

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Misc. INFORMATION_SCHEMA tables
22

3-
This page lists the `INFORMATION_SCHEMA` tables added to standard *MySQL* by *Percona Server for MySQL* that dont exist elsewhere in the documentation.
3+
This page lists the `INFORMATION_SCHEMA` tables added to standard *MySQL* by *Percona Server for MySQL* that don't exist elsewhere in the documentation.
44

55
## Temporary tables
66

@@ -14,37 +14,37 @@ Only the temporary tables that were explicitly created with CREATE TEMPORARY TAB
1414

1515
| Column Name | Description |
1616
|------------------|-------------------------------------------------------------|
17-
| SESSION_ID | MySQL connection id |
18-
| TABLE_SCHEMA | Schema in which the temporary table is created |
19-
| TABLE_NAME | Name of the temporary table |
20-
| ENGINE | Engine of the temporary table |
21-
| NAME | Internal name of the temporary table |
22-
| TABLE_ROWS | Number of rows of the temporary table |
23-
| AVG_ROW_LENGTH | Average row length of the temporary table |
24-
| DATA_LENGTH | Size of the data (Bytes) |
25-
| INDEX_LENGTH | Size of the indexes (Bytes) |
26-
| CREATE_TIME | Date and time of creation of the temporary table |
27-
| UPDATE_TIME | Date and time of the latest update of the temporary table |
17+
| 'SESSION_ID' | 'MySQL connection id' |
18+
| 'TABLE_SCHEMA' | 'Schema in which the temporary table is created' |
19+
| 'TABLE_NAME' | 'Name of the temporary table' |
20+
| 'ENGINE' | 'Engine of the temporary table' |
21+
| 'NAME' | 'Internal name of the temporary table' |
22+
| 'TABLE_ROWS' | 'Number of rows of the temporary table' |
23+
| 'AVG_ROW_LENGTH' | 'Average row length of the temporary table' |
24+
| 'DATA_LENGTH' | 'Size of the data (Bytes)' |
25+
| 'INDEX_LENGTH' | 'Size of the indexes (Bytes)' |
26+
| 'CREATE_TIME' | 'Date and time of creation of the temporary table' |
27+
| 'UPDATE_TIME' | 'Date and time of the latest update of the temporary table' |
2828

2929
The feature was ported from *Percona Server for MySQL* 5.7 in 8.0.12-1.
3030

31-
This table holds information on the temporary tables that exist for all connections. You dont need the `SUPER` privilege to query this table.
31+
This table holds information on the temporary tables that exist for all connections. You don't need the `SUPER` privilege to query this table.
3232

3333
### `INFORMATION_SCHEMA.TEMPORARY_TABLES`
3434

3535
| Column Name | Description |
3636
|------------------|-------------------------------------------------------------|
37-
| SESSION_ID | MySQL connection id |
38-
| TABLE_SCHEMA | Schema in which the temporary table is created |
39-
| TABLE_NAME | Name of the temporary table |
40-
| ENGINE | Engine of the temporary table |
41-
| NAME | Internal name of the temporary table |
42-
| TABLE_ROWS | Number of rows of the temporary table |
43-
| AVG_ROW_LENGTH | Average row length of the temporary table |
44-
| DATA_LENGTH | Size of the data (Bytes) |
45-
| INDEX_LENGTH | Size of the indexes (Bytes) |
46-
| CREATE_TIME | Date and time of creation of the temporary table |
47-
| UPDATE_TIME | Date and time of the latest update of the temporary table |
37+
| 'SESSION_ID' | 'MySQL connection id' |
38+
| 'TABLE_SCHEMA' | 'Schema in which the temporary table is created' |
39+
| 'TABLE_NAME' | 'Name of the temporary table' |
40+
| 'ENGINE' | 'Engine of the temporary table' |
41+
| 'NAME' | 'Internal name of the temporary table' |
42+
| 'TABLE_ROWS' | 'Number of rows of the temporary table' |
43+
| 'AVG_ROW_LENGTH' | 'Average row length of the temporary table' |
44+
| 'DATA_LENGTH' | 'Size of the data (Bytes)' |
45+
| 'INDEX_LENGTH' | 'Size of the indexes (Bytes)' |
46+
| 'CREATE_TIME' | 'Date and time of creation of the temporary table' |
47+
| 'UPDATE_TIME' | 'Date and time of the latest update of the temporary table' |
4848

4949
The feature was ported from *Percona Server for MySQL* 5.7 in 8.0.12-1.
5050

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Misc. Performance Schema tables
2+
3+
This page lists the `performance_schema` tables added to standard *MySQL* by *Percona Server for MySQL* that don't exist elsewhere in the documentation.
4+
5+
## Performance schema tables
6+
7+
### `performance_schema.account_failed_login_lock_status`
8+
9+
The new `performance_schema.account_failed_login_lock_status` table is implemented in Percona Server for MySQL 8.0.44-35 and exposes information about temporary account locking from MySQL internal Access Control List (ACL) cache.
10+
11+
This table is read-only, and global, per-database or per-table `SELECT` privilege on this table are required from users who want to access the table contents.
12+
13+
| Column Name | Data Type | Description |
14+
|--------------------------|---------------------|------------------------------------------------------------------------------------------------------------------------------------------------|
15+
| `USER` | `CHAR(..)` | Identifies the user account described by the table row |
16+
| `HOST` | `CHAR(..)` | Identifies the user account described by the table row |
17+
| `IS_TRACKING_ACTIVE` | `enum('YES','NO')` | Indicates whether failed login tracking is enabled for the account |
18+
| `MAX_ATTEMPTS` | `INTEGER` | Maximum number of failed login attempts allowed before account is locked (corresponds to FAILED_LOGIN_ATTEMPTS clause value in CREATE USER statement) |
19+
| `PASSWORD_LOCK_DAYS` | `INTEGER` | Number of days for which account will be temporarily locked after exceeding the MAX_ATTEMPS limit. Set to -1 if account is locked forever (corresponds to PASSWORD_LOCK_TIME clause value in CREATE USER) |
20+
| `IS_LOCKED` | `BOOLEAN` | Indicates if account is temporarily locked by failed login lock tracking. NULL if tracking is not enabled for account |
21+
| `REMAINING_ATTEMPTS` | `INTEGER` | Number of failed login attempts remaining before account will be locked. NULL if tracking is not enabled for account |
22+
| `REMAINING_DAYS_LOCKED` | `INTEGER` | Number of days for which account is locked due to failed login lock tracking. -1 means that account is locked "forever" (until server restart/FLUSH PRIVILEGES or specific account unlock). NULL if tracking is not enabled for account |

mkdocs-base.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -372,6 +372,8 @@ nav:
372372
- audit-log-plugin.md
373373
- jemalloc-profiling.md
374374
- misc-info-schema-tables.md
375+
- misc-performance-schema-tables.md
376+
375377
- process-list.md
376378
- Slow query log:
377379
- improved-slow-query-log.md

0 commit comments

Comments
 (0)