Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Feedback plugin will include collation usage statistics.
Every collation that has been used by the server
will have a record in "SELECT * FROM information_schema.feedback"
output, like this:
+----------------------------------------+---------------------+
|
| VARIABLE_NAME | VARIABLE_VALUE |
|
+----------------------------------------+---------------------+
|
| Collation used utf8_unicode_ci | 10 |
|
| Collation used latin1_general_ci | 20 |
|
+----------------------------------------+---------------------+
|
The collation that have not been used will not be included into the result.
Attachments
Issue Links
- relates to
-
MDEV-6557 INFORMATION_SCHEMA.COLLATION_PROPERTIES
-
- Open
-
Activity
Field | Original Value | New Value |
---|---|---|
Description |
Feedback plugin will include collation usage statistics. Every collation that has been used by the server will have a record in "SELECT * FROM information_schema.feedback" output, like this: {noformat} +----------------------------------------+---------------------+ | VARIABLE_NAME | VARIABLE_VALUE | +----------------------------------------+---------------------+ | Collation_utf8_unicode_ci::use_count | 10 | | Collation_latin1_general_ci::use_count | 20 | +----------------------------------------+---------------------+ {noformat} The collation that have not been used will be included into the result. We'll also intorduce a new function COLLATIONPROPERTY (inspired by SQL Server): {noformat} SELECT COLLATIONPROPERTY(collation_name_or_id, property); {noformat} For example: {noformat} SELECT COLLATIONPROPERTY('utf8_unicode_ci', 'USE_COUNT'); SELECT COLLATIONPROPERTY(10, 'USE_COUNT'); {noformat} The function COLLATIONPROPERTY will be always available, even if the FEEDBACK plugin is not installed. The result type of the function will be "TEXT CHARACTER SET utf8". If the data type of the first argument (collation_name_or_id) is INTEGER, the argument will be treated as a collation ID. For the other data type the first argument will be treated as a collation name. Collation names will be case insensitive. Collation properties will be case insensitive. We'll support the following properties at this point: USE_COUNT - number of times a collation was accessed. TAILORING - collation tailoring rules for UCA collations, NULL otherwise (usefull for test purposes). If an unknown collation or an unknown property are passed to the function, NULL will be returned. We'll support more collation properties in the future, such as case sensitivity, accent sensitivity, Unicode version, etc. |
Feedback plugin will include collation usage statistics. Every collation that has been used by the server will have a record in "SELECT * FROM information_schema.feedback" output, like this: {noformat} +----------------------------------------+---------------------+ | VARIABLE_NAME | VARIABLE_VALUE | +----------------------------------------+---------------------+ | Collation_usecount utf8_unicode_ci | 10 | | Collation_usecount latin1_general_ci | 20 | +----------------------------------------+---------------------+ {noformat} The collation that have not been used will be included into the result. We'll also intorduce a new function COLLATIONPROPERTY (inspired by SQL Server): {noformat} SELECT COLLATIONPROPERTY(collation_name_or_id, property); {noformat} For example: {noformat} SELECT COLLATIONPROPERTY('utf8_unicode_ci', 'USE_COUNT'); SELECT COLLATIONPROPERTY(10, 'USE_COUNT'); {noformat} The function COLLATIONPROPERTY will be always available, even if the FEEDBACK plugin is not installed. The result type of the function will be "TEXT CHARACTER SET utf8". If the data type of the first argument (collation_name_or_id) is INTEGER, the argument will be treated as a collation ID. For the other data type the first argument will be treated as a collation name. Collation names will be case insensitive. Collation properties will be case insensitive. We'll support the following properties at this point: USE_COUNT - number of times a collation was accessed. TAILORING - collation tailoring rules for UCA collations, NULL otherwise (usefull for test purposes). If an unknown collation or an unknown property are passed to the function, NULL will be returned. We'll support more collation properties in the future, such as case sensitivity, accent sensitivity, Unicode version, etc. |
Description |
Feedback plugin will include collation usage statistics. Every collation that has been used by the server will have a record in "SELECT * FROM information_schema.feedback" output, like this: {noformat} +----------------------------------------+---------------------+ | VARIABLE_NAME | VARIABLE_VALUE | +----------------------------------------+---------------------+ | Collation_usecount utf8_unicode_ci | 10 | | Collation_usecount latin1_general_ci | 20 | +----------------------------------------+---------------------+ {noformat} The collation that have not been used will be included into the result. We'll also intorduce a new function COLLATIONPROPERTY (inspired by SQL Server): {noformat} SELECT COLLATIONPROPERTY(collation_name_or_id, property); {noformat} For example: {noformat} SELECT COLLATIONPROPERTY('utf8_unicode_ci', 'USE_COUNT'); SELECT COLLATIONPROPERTY(10, 'USE_COUNT'); {noformat} The function COLLATIONPROPERTY will be always available, even if the FEEDBACK plugin is not installed. The result type of the function will be "TEXT CHARACTER SET utf8". If the data type of the first argument (collation_name_or_id) is INTEGER, the argument will be treated as a collation ID. For the other data type the first argument will be treated as a collation name. Collation names will be case insensitive. Collation properties will be case insensitive. We'll support the following properties at this point: USE_COUNT - number of times a collation was accessed. TAILORING - collation tailoring rules for UCA collations, NULL otherwise (usefull for test purposes). If an unknown collation or an unknown property are passed to the function, NULL will be returned. We'll support more collation properties in the future, such as case sensitivity, accent sensitivity, Unicode version, etc. |
Feedback plugin will include collation usage statistics. Every collation that has been used by the server will have a record in "SELECT * FROM information_schema.feedback" output, like this: {noformat} +----------------------------------------+---------------------+ | VARIABLE_NAME | VARIABLE_VALUE | +----------------------------------------+---------------------+ | Collation_usecount utf8_unicode_ci | 10 | | Collation_usecount latin1_general_ci | 20 | +----------------------------------------+---------------------+ {noformat} The collation that have not been used will be included into the result. We'll also intorduce a new function COLLATIONPROPERTY (inspired by SQL Server): {noformat} SELECT COLLATIONPROPERTY(collation_name_or_id, property); {noformat} For example: {noformat} SELECT COLLATIONPROPERTY('utf8_unicode_ci', 'USE_COUNT'); SELECT COLLATIONPROPERTY(10, 'USE_COUNT'); {noformat} The function COLLATIONPROPERTY will be always available, even if the FEEDBACK plugin is not installed. The result type of the function will be "TEXT CHARACTER SET utf8". If the data type of the first argument (collation_name_or_id) is INTEGER, the argument will be treated as a collation ID. For the other data type the first argument will be treated as a collation name. Collation names will be case insensitive. Collation properties will be case insensitive. We'll support the following properties at this point: USE_COUNT - number of times a collation was accessed. TAILORING - collation tailoring rules for UCA collations, NULL otherwise (usefull for test purposes). If an unknown collation or an unknown property are passed to the function, NULL will be returned. We'll support more collation properties in the future, such as case sensitivity, accent sensitivity, Unicode version, etc. |
Description |
Feedback plugin will include collation usage statistics. Every collation that has been used by the server will have a record in "SELECT * FROM information_schema.feedback" output, like this: {noformat} +----------------------------------------+---------------------+ | VARIABLE_NAME | VARIABLE_VALUE | +----------------------------------------+---------------------+ | Collation_usecount utf8_unicode_ci | 10 | | Collation_usecount latin1_general_ci | 20 | +----------------------------------------+---------------------+ {noformat} The collation that have not been used will be included into the result. We'll also intorduce a new function COLLATIONPROPERTY (inspired by SQL Server): {noformat} SELECT COLLATIONPROPERTY(collation_name_or_id, property); {noformat} For example: {noformat} SELECT COLLATIONPROPERTY('utf8_unicode_ci', 'USE_COUNT'); SELECT COLLATIONPROPERTY(10, 'USE_COUNT'); {noformat} The function COLLATIONPROPERTY will be always available, even if the FEEDBACK plugin is not installed. The result type of the function will be "TEXT CHARACTER SET utf8". If the data type of the first argument (collation_name_or_id) is INTEGER, the argument will be treated as a collation ID. For the other data type the first argument will be treated as a collation name. Collation names will be case insensitive. Collation properties will be case insensitive. We'll support the following properties at this point: USE_COUNT - number of times a collation was accessed. TAILORING - collation tailoring rules for UCA collations, NULL otherwise (usefull for test purposes). If an unknown collation or an unknown property are passed to the function, NULL will be returned. We'll support more collation properties in the future, such as case sensitivity, accent sensitivity, Unicode version, etc. |
Feedback plugin will include collation usage statistics. Every collation that has been used by the server will have a record in "SELECT * FROM information_schema.feedback" output, like this: {noformat} +----------------------------------------+---------------------+ | VARIABLE_NAME | VARIABLE_VALUE | +----------------------------------------+---------------------+ | Collation_usecount utf8_unicode_ci | 10 | | Collation_usecount latin1_general_ci | 20 | +----------------------------------------+---------------------+ {noformat} The collation that have not been used will be included into the result. We'll also intorduce a new function COLLATIONPROPERTY (inspired by SQL Server): {noformat} SELECT COLLATIONPROPERTY(collation_name_or_id, property); {noformat} For example: {noformat} SELECT COLLATIONPROPERTY('utf8_unicode_ci', 'USE_COUNT'); SELECT COLLATIONPROPERTY(10, 'USE_COUNT'); {noformat} The function COLLATIONPROPERTY will be always available, even if the FEEDBACK plugin is not installed. The result type of the function will be "TEXT CHARACTER SET utf8". If the data type of the first argument (collation_name_or_id) is INTEGER, the argument will be treated as a collation ID. For the other data type the first argument will be treated as a collation name. Collation names will be case insensitive. Collation properties will be case insensitive. We'll support the following properties at this point: USE_COUNT - number of times a collation was accessed. TAILORING - collation tailoring rules for UCA collations, NULL otherwise (usefull for test purposes). If an unknown collation or an unknown property are passed to the function, NULL will be returned. We'll support more collation properties in the future, such as case sensitivity, accent sensitivity, Unicode version, etc. |
Description |
Feedback plugin will include collation usage statistics. Every collation that has been used by the server will have a record in "SELECT * FROM information_schema.feedback" output, like this: {noformat} +----------------------------------------+---------------------+ | VARIABLE_NAME | VARIABLE_VALUE | +----------------------------------------+---------------------+ | Collation_usecount utf8_unicode_ci | 10 | | Collation_usecount latin1_general_ci | 20 | +----------------------------------------+---------------------+ {noformat} The collation that have not been used will be included into the result. We'll also intorduce a new function COLLATIONPROPERTY (inspired by SQL Server): {noformat} SELECT COLLATIONPROPERTY(collation_name_or_id, property); {noformat} For example: {noformat} SELECT COLLATIONPROPERTY('utf8_unicode_ci', 'USE_COUNT'); SELECT COLLATIONPROPERTY(10, 'USE_COUNT'); {noformat} The function COLLATIONPROPERTY will be always available, even if the FEEDBACK plugin is not installed. The result type of the function will be "TEXT CHARACTER SET utf8". If the data type of the first argument (collation_name_or_id) is INTEGER, the argument will be treated as a collation ID. For the other data type the first argument will be treated as a collation name. Collation names will be case insensitive. Collation properties will be case insensitive. We'll support the following properties at this point: USE_COUNT - number of times a collation was accessed. TAILORING - collation tailoring rules for UCA collations, NULL otherwise (usefull for test purposes). If an unknown collation or an unknown property are passed to the function, NULL will be returned. We'll support more collation properties in the future, such as case sensitivity, accent sensitivity, Unicode version, etc. |
Feedback plugin will include collation usage statistics. Every collation that has been used by the server will have a record in "SELECT * FROM information_schema.feedback" output, like this: {noformat} +----------------------------------------+---------------------+ | VARIABLE_NAME | VARIABLE_VALUE | +----------------------------------------+---------------------+ | Collation_usecount utf8_unicode_ci | 10 | | Collation_usecount latin1_general_ci | 20 | +----------------------------------------+---------------------+ {noformat} The collation that have not been used will be included into the result. We'll also intorduce a new function COLLATIONPROPERTY (inspired by SQL Server): {noformat} SELECT COLLATIONPROPERTY(collation_name_or_id, property); {noformat} For example: {noformat} SELECT COLLATIONPROPERTY('utf8_unicode_ci', 'USECOUNT'); SELECT COLLATIONPROPERTY(10, 'USECOUNT'); {noformat} The function COLLATIONPROPERTY will be always available, even if the FEEDBACK plugin is not installed. The result type of the function will be "TEXT CHARACTER SET utf8". If the data type of the first argument (collation_name_or_id) is numeric, the argument will be treated as a collation ID. For string data types the first argument will be treated as a collation name. Collation names will be case insensitive. Collation properties will be case insensitive. We'll support the following properties at this point: USECOUNT - number of times a collation was accessed. TAILORING - collation tailoring rules for UCA collations, NULL otherwise (usefull for test purposes). If an unknown collation or an unknown property are passed to the function, NULL will be returned with a warning. We'll support more collation properties in the future, such as case sensitivity, accent sensitivity, Unicode version, etc. |
Assignee | Alexander Barkov [ bar ] | Sergei Golubchik [ serg ] |
Workflow | defaullt [ 41400 ] | MariaDB v2 [ 42941 ] |
Status | Open [ 1 ] | In Review [ 10002 ] |
Fix Version/s | 10.0.13 [ 16300 ] | |
Fix Version/s | 10.0 [ 16000 ] |
Assignee | Sergei Golubchik [ serg ] | Alexander Barkov [ bar ] |
Status | In Review [ 10002 ] | Stalled [ 10000 ] |
Assignee | Alexander Barkov [ bar ] | Sergei Golubchik [ serg ] |
Status | Stalled [ 10000 ] | In Review [ 10002 ] |
Assignee | Sergei Golubchik [ serg ] | Alexander Barkov [ bar ] |
Status | In Review [ 10002 ] | Stalled [ 10000 ] |
Description |
Feedback plugin will include collation usage statistics. Every collation that has been used by the server will have a record in "SELECT * FROM information_schema.feedback" output, like this: {noformat} +----------------------------------------+---------------------+ | VARIABLE_NAME | VARIABLE_VALUE | +----------------------------------------+---------------------+ | Collation_usecount utf8_unicode_ci | 10 | | Collation_usecount latin1_general_ci | 20 | +----------------------------------------+---------------------+ {noformat} The collation that have not been used will be included into the result. We'll also intorduce a new function COLLATIONPROPERTY (inspired by SQL Server): {noformat} SELECT COLLATIONPROPERTY(collation_name_or_id, property); {noformat} For example: {noformat} SELECT COLLATIONPROPERTY('utf8_unicode_ci', 'USECOUNT'); SELECT COLLATIONPROPERTY(10, 'USECOUNT'); {noformat} The function COLLATIONPROPERTY will be always available, even if the FEEDBACK plugin is not installed. The result type of the function will be "TEXT CHARACTER SET utf8". If the data type of the first argument (collation_name_or_id) is numeric, the argument will be treated as a collation ID. For string data types the first argument will be treated as a collation name. Collation names will be case insensitive. Collation properties will be case insensitive. We'll support the following properties at this point: USECOUNT - number of times a collation was accessed. TAILORING - collation tailoring rules for UCA collations, NULL otherwise (usefull for test purposes). If an unknown collation or an unknown property are passed to the function, NULL will be returned with a warning. We'll support more collation properties in the future, such as case sensitivity, accent sensitivity, Unicode version, etc. |
Feedback plugin will include collation usage statistics. Every collation that has been used by the server will have a record in "SELECT * FROM information_schema.feedback" output, like this: {noformat} +----------------------------------------+---------------------+ | VARIABLE_NAME | VARIABLE_VALUE | +----------------------------------------+---------------------+ | Collation used utf8_unicode_ci | 10 | | Collation used latin1_general_ci | 20 | +----------------------------------------+---------------------+ {noformat} The collation that have not been used will not be included into the result. |
Fix Version/s | 10.0.14 [ 17101 ] | |
Fix Version/s | 10.0.13 [ 16300 ] |
Fix Version/s | 10.0 [ 16000 ] | |
Fix Version/s | 10.0.14 [ 17101 ] |
Fix Version/s | 10.0.14 [ 17101 ] | |
Fix Version/s | 10.0 [ 16000 ] | |
Resolution | Fixed [ 1 ] | |
Status | Stalled [ 10000 ] | Closed [ 6 ] |
Workflow | MariaDB v2 [ 42941 ] | MariaDB v3 [ 64579 ] |
Workflow | MariaDB v3 [ 64579 ] | MariaDB v4 [ 132344 ] |
Pushed into 10.0.14