Search Results
https://dev.mysql.com/doc/refman/8.4/en/innodb-deadlock-detection.html
InnoDB is aware of table locks if innodb_table_locks = 1 (the default) and autocommit = 0, and the MySQL layer above it knows about row-level locks. Otherwise, InnoDB cannot detect deadlocks where a table lock set by a MySQL LOCK TABLES statement or ... When deadlock detection is enabled (the default), InnoDB automatically detects transaction deadlocks and rolls back a transaction or transactions to break the ...
https://dev.mysql.com/doc/refman/8.4/en/innodb-disk-management.html
This section discusses the main considerations for I/O and disk space with the default kind of MySQL tables (also known as InnoDB tables): Controlling the amount of background I/O used to improve query performance. Organizing tables into many small ... As a DBA, you must manage disk I/O to keep the I/O subsystem from becoming saturated, and manage disk space to avoid filling up storage ...
https://dev.mysql.com/doc/refman/8.4/en/keyring-key-types.html
Table 8.31, “General Keyring Key Length Limits” shows the general key-length limits. (The lower limits for keyring_aws are imposed by the AWS KMS interface, not the keyring functions.) For keyring plugins, Table 8.32, “Keyring Plugin Key Types ... MySQL Keyring supports keys of different types (encryption algorithms) and lengths: The available key types depend on which keyring plugin is ...
https://dev.mysql.com/doc/refman/8.4/en/locking-issues.html
MySQL manages contention for table contents using locking: Internal locking is performed within the MySQL server itself to manage contention for table contents by multiple threads. External locking occurs when the server and other programs lock ...
https://dev.mysql.com/doc/refman/8.4/en/mathematical-functions.html
One implication of this behavior is that for equal argument values, RAND(N) returns the same value each time, and thus produces a repeatable sequence of column values. It is a fast way to generate random numbers on demand that is portable between ...
https://dev.mysql.com/doc/refman/8.4/en/miscellaneous-optimization-tips.html
To fix any compression issues that occur with ARCHIVE tables, use OPTIMIZE TABLE. If possible, classify reports as “live” or as “statistical”, where data needed for statistical reports is created only from summary tables that are generated ... This section lists a number of miscellaneous tips for improving query processing speed: If your application makes several database requests to perform related updates, combining the statements into a stored routine can help ...
https://dev.mysql.com/doc/refman/8.4/en/multiple-column-indexes.html
If you specify the columns in the right order in the index definition, a single composite index can speed up several kinds of queries on the same table. If the table has a multiple-column index, any leftmost prefix of the index can be used by the ...
https://dev.mysql.com/doc/refman/8.4/en/myisamchk-memory.html
If you are going to use myisamchk on very large tables, you should first decide how much memory you want it to use. The following formula yields the amount of space required: (largest_key + row_pointer_length) * number_of_rows * 2 You can check the ...myisamchk uses no more memory than its memory-related variables are set ...
https://dev.mysql.com/doc/refman/8.4/en/mysql-cluster-limitations-exclusive-to-cluster.html
NDB Cluster has the following limitations or restrictions with regard to binary logging: NDB Cluster cannot produce a binary log for tables having BLOB columns but no primary key. The following are limitations specific to the NDB storage engine: ...
https://dev.mysql.com/doc/refman/8.4/en/mysql-cluster-logging-management-commands.html
The following table describes the default setting (for all data nodes) of the cluster log category threshold. Table 25.26 Cluster log categories, with default threshold setting Category Default threshold (All data nodes) STARTUP 7 SHUTDOWN 7 ...