Viewing Suggestions on TaurusDB Parameter Tuning
Parameters are key configuration items in a database system. Improper parameter settings may adversely affect database performance. This section describes some important parameters for your reference. For details, see MySQL official website.
For details on how to modify TaurusDB parameters on the console, see Modifying Parameters of a DB Instance.
Performance Parameters
Modifying Compatibility Parameters
rds_compatibility_mode
- Default value: The default value is empty.
- Function: Controls the compatibility with features such as functions and syntax specific to earlier versions of the community.
- Parameter setting: Table 1 lists the values.
Table 1 rds_compatibility_mode description Value
Description
ALLOW_DATE_COMPARE_AS_STRING
Controls whether to allow the DATETIME, DATE, or TIMESTAMP type to be compared with a character string that failed to be converted to the DATETIME, DATE, or TIMESTAMP type.
ALLOW_DATETIME_TZ_MONTH_DAY_ZERO
Controls whether to insert DATETIME values with time zones and the month and day being 0. If this option is enabled, the system processes these values according to the behavior of versions earlier than MySQL 8.0.19. That is, the system truncates the time zone information and stores only the date and time.
ALLOW_UNSECURE_CIPHER_FUNC
Controls whether to be compatible with some encryption functions of MySQL 5.7, such as ENCODE(), DECODE(), ENCRYPT(), DES_ENCRYPT(), and DES_DECRYPT().
ALLOW_RENAMED_DEPRECATED_FUNC
Controls whether to be compatible with deprecated geographic information system (GIS) functions in MySQL 5.7. GIS functions have been renamed since MySQL 5.7.
ALLOW_BACKSLASH_N_AS_NULL
Controls whether to allow the \N keyword to be parsed as NULL. This keyword has been deprecated in MySQL 8.0.1. Example: CREATE TABLE n1(a int DEFAULT \N);
ALLOW_EARLIER_ROWID_FILESORT
If this mode is enabled, the max_length_for_sort_data criterion will be re-introduced to select a file sorting mode, and additional columns will not be loaded when the rowid sorting mode is used.
ALLOW_GROUP_BY_IMPLICIT_SORTING
Controls whether to be compatible with the implicit sorting of the GROUP BY clause in MySQL 5.7.
ALLOW_GROUP_BY_ASC_DESC
Controls whether to be compatible with the explicit sorting of the GROUP BY clause in MySQL 5.7: GROUP BY column [ASC | DESC].
- Impact: TaurusDB supports the functions and syntax of earlier MySQL versions based on different parameter settings.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot