Details

    • Task
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 10.0.14
    • 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

          Activity

            bar Alexander Barkov created issue -
            bar Alexander Barkov made changes -
            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.
            bar Alexander Barkov made changes -
            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.
            bar Alexander Barkov made changes -
            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.
            bar Alexander Barkov made changes -
            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.
            serg Sergei Golubchik made changes -
            Assignee Alexander Barkov [ bar ] Sergei Golubchik [ serg ]
            serg Sergei Golubchik made changes -
            Workflow defaullt [ 41400 ] MariaDB v2 [ 42941 ]
            serg Sergei Golubchik made changes -
            Status Open [ 1 ] In Review [ 10002 ]
            serg Sergei Golubchik made changes -
            Fix Version/s 10.0.13 [ 16300 ]
            Fix Version/s 10.0 [ 16000 ]
            serg Sergei Golubchik made changes -
            Assignee Sergei Golubchik [ serg ] Alexander Barkov [ bar ]
            Status In Review [ 10002 ] Stalled [ 10000 ]
            serg Sergei Golubchik made changes -
            Assignee Alexander Barkov [ bar ] Sergei Golubchik [ serg ]
            serg Sergei Golubchik made changes -
            Status Stalled [ 10000 ] In Review [ 10002 ]
            serg Sergei Golubchik made changes -
            Assignee Sergei Golubchik [ serg ] Alexander Barkov [ bar ]
            Status In Review [ 10002 ] Stalled [ 10000 ]
            bar Alexander Barkov made changes -
            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.
            serg Sergei Golubchik made changes -
            Fix Version/s 10.0.14 [ 17101 ]
            Fix Version/s 10.0.13 [ 16300 ]
            serg Sergei Golubchik made changes -
            Fix Version/s 10.0 [ 16000 ]
            Fix Version/s 10.0.14 [ 17101 ]
            bar Alexander Barkov made changes -

            Pushed into 10.0.14

            bar Alexander Barkov added a comment - Pushed into 10.0.14
            bar Alexander Barkov made changes -
            Fix Version/s 10.0.14 [ 17101 ]
            Fix Version/s 10.0 [ 16000 ]
            Resolution Fixed [ 1 ]
            Status Stalled [ 10000 ] Closed [ 6 ]
            ratzpo Rasmus Johansson (Inactive) made changes -
            Workflow MariaDB v2 [ 42941 ] MariaDB v3 [ 64579 ]
            serg Sergei Golubchik made changes -
            Workflow MariaDB v3 [ 64579 ] MariaDB v4 [ 132344 ]

            People

              bar Alexander Barkov
              bar Alexander Barkov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.