Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-6422

More testing for ANALYZE stmt and JSON

Details

    Description

      Development tasks:
      MDEV-406 ANALYZE $stmt
      MDEV-6388 ANALYZE $stmt output in the slow query log
      MDEV-6382 ANALYZE $stmt and security
      MDEV-6109 EXPLAIN JSON

      Need to check also for

      • Replication (ANALYZE may have an effect. Is it properly binlogged. Can a slave thread run ANALYZE stmt command?)
      • Nested VIEWs and single-table UPDATE/DELETE (check EXPLAINs)

        <spetrunia>: there was a problem with printing table names in ANALYZE
        <spetrunia>: it was resolved
        <spetrunia>: but I still had doubts.. so, it would be nice to make a testcase that would use nested update-able VIEW
        <spetrunia>: then run EXPLAIN UPDATE/DELETE on it
        <spetrunia>: then run ANALYZE UPDATE/DELETE
        <spetrunia>: and check that the ouptuts match
        <spetrunia>: the problem was : it used to print table aliases (as defined by the VIEW)
        <spetrunia>: and not table names
        <spetrunia>: or was it vice versa
        <spetrunia>: anyhow, it was not what EXPLAIN printed
        <spetrunia>: I don't think it's needed to spend much time on this..
        <spetrunia>: create a test case; let view definitions use table aliases
        <spetrunia>: which are different from the table names
        <spetrunia>: if it works, ok

      • PS (binary protocol)
      • Get testcases for MDEV-6382
      • Whether the fact that even basic statements, like "INSERT INTO tbl VALUES ('foo')" will have their "EXPLAIN" printed into the slow query log. This is a consequence of them having EXPLAINs. Do we need a feature that avoids printing 'degenerate' query plans into the slow query log?

      Attachments

        Issue Links

          Activity

            psergei Sergei Petrunia created issue -
            psergei Sergei Petrunia made changes -
            Field Original Value New Value
            psergei Sergei Petrunia made changes -
            Fix Version/s 10.1.1 [ 16801 ]
            psergei Sergei Petrunia made changes -
            Labels analyze-stmt
            psergei Sergei Petrunia made changes -
            Description Need to check also for
            * Replication (ANALYZE may have an effect. Is it properly binlogged. Can a slave thread run ANALYZE stmt command?)
            * Nested VIEWs and single-table UPDATE/DELETE (check EXPLAINs)
            * PS (binary protocol)
            Need to check also for
            * Replication (ANALYZE may have an effect. Is it properly binlogged. Can a slave thread run ANALYZE stmt command?)
            * Nested VIEWs and single-table UPDATE/DELETE (check EXPLAINs)
            * PS (binary protocol)
            * Get testcases for MDEV-6382
            psergei Sergei Petrunia made changes -
            Description Need to check also for
            * Replication (ANALYZE may have an effect. Is it properly binlogged. Can a slave thread run ANALYZE stmt command?)
            * Nested VIEWs and single-table UPDATE/DELETE (check EXPLAINs)
            * PS (binary protocol)
            * Get testcases for MDEV-6382
            Need to check also for
            * Replication (ANALYZE may have an effect. Is it properly binlogged. Can a slave thread run ANALYZE stmt command?)
            * Nested VIEWs and single-table UPDATE/DELETE (check EXPLAINs)
            * PS (binary protocol)
            * Get testcases for MDEV-6382
            * Whether the fact that even basic statements, like "INSERT INTO tbl VALUES ('foo')" will have their "EXPLAIN" printed into the slow query log. This is a consequence of them having EXPLAINs. Do we need a feature that avoids printing 'degenerate' query plans into the slow query log?
            psergei Sergei Petrunia made changes -
            Assignee Sergei Petrunia [ psergey ] Elena Stepanova [ elenst ]
            serg Sergei Golubchik made changes -
            Fix Version/s 10.1 [ 16100 ]
            Fix Version/s 10.1.1 [ 16801 ]
            elenst Elena Stepanova made changes -
            Parent MDEV-6958 [ 47110 ]
            Issue Type Task [ 3 ] Technical task [ 7 ]
            elenst Elena Stepanova made changes -
            Affects Version/s 10.1.0 [ 12200 ]
            elenst Elena Stepanova made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            elenst Elena Stepanova made changes -
            elenst Elena Stepanova made changes -
            elenst Elena Stepanova made changes -
            elenst Elena Stepanova made changes -
            elenst Elena Stepanova made changes -
            Description Need to check also for
            * Replication (ANALYZE may have an effect. Is it properly binlogged. Can a slave thread run ANALYZE stmt command?)
            * Nested VIEWs and single-table UPDATE/DELETE (check EXPLAINs)
            * PS (binary protocol)
            * Get testcases for MDEV-6382
            * Whether the fact that even basic statements, like "INSERT INTO tbl VALUES ('foo')" will have their "EXPLAIN" printed into the slow query log. This is a consequence of them having EXPLAINs. Do we need a feature that avoids printing 'degenerate' query plans into the slow query log?
            Need to check also for
            * Replication (ANALYZE may have an effect. Is it properly binlogged. Can a slave thread run ANALYZE stmt command?)
            * Nested VIEWs and single-table UPDATE/DELETE (check EXPLAINs)
            {quote}
            <spetrunia>: there was a problem with printing table names in ANALYZE
            <spetrunia>: it was resolved
            <spetrunia>: but I still had doubts.. so, it would be nice to make a testcase that would use nested update-able VIEW
            <spetrunia>: then run EXPLAIN UPDATE/DELETE on it
            <spetrunia>: then run ANALYZE UPDATE/DELETE
            <spetrunia>: and check that the ouptuts match
            <spetrunia>: the problem was : it used to print table aliases (as defined by the VIEW)
            <spetrunia>: and not table names
            <spetrunia>: or was it vice versa
            <spetrunia>: anyhow, it was not what EXPLAIN printed
            <spetrunia>: I don't think it's needed to spend much time on this..
            <spetrunia>: create a test case; let view definitions use table aliases
            <spetrunia>: which are different from the table names
            <spetrunia>: if it works, ok
            {quote}
            * PS (binary protocol)
            * Get testcases for MDEV-6382
            * Whether the fact that even basic statements, like "INSERT INTO tbl VALUES ('foo')" will have their "EXPLAIN" printed into the slow query log. This is a consequence of them having EXPLAINs. Do we need a feature that avoids printing 'degenerate' query plans into the slow query log?
            elenst Elena Stepanova made changes -
            elenst Elena Stepanova made changes -
            elenst Elena Stepanova made changes -
            Description Need to check also for
            * Replication (ANALYZE may have an effect. Is it properly binlogged. Can a slave thread run ANALYZE stmt command?)
            * Nested VIEWs and single-table UPDATE/DELETE (check EXPLAINs)
            {quote}
            <spetrunia>: there was a problem with printing table names in ANALYZE
            <spetrunia>: it was resolved
            <spetrunia>: but I still had doubts.. so, it would be nice to make a testcase that would use nested update-able VIEW
            <spetrunia>: then run EXPLAIN UPDATE/DELETE on it
            <spetrunia>: then run ANALYZE UPDATE/DELETE
            <spetrunia>: and check that the ouptuts match
            <spetrunia>: the problem was : it used to print table aliases (as defined by the VIEW)
            <spetrunia>: and not table names
            <spetrunia>: or was it vice versa
            <spetrunia>: anyhow, it was not what EXPLAIN printed
            <spetrunia>: I don't think it's needed to spend much time on this..
            <spetrunia>: create a test case; let view definitions use table aliases
            <spetrunia>: which are different from the table names
            <spetrunia>: if it works, ok
            {quote}
            * PS (binary protocol)
            * Get testcases for MDEV-6382
            * Whether the fact that even basic statements, like "INSERT INTO tbl VALUES ('foo')" will have their "EXPLAIN" printed into the slow query log. This is a consequence of them having EXPLAINs. Do we need a feature that avoids printing 'degenerate' query plans into the slow query log?
            Need to check also for
            * Replication (ANALYZE may have an effect. Is it properly binlogged. Can a slave thread run ANALYZE stmt command?) (/)
            * Nested VIEWs and single-table UPDATE/DELETE (check EXPLAINs) (/)
            {quote}
            <spetrunia>: there was a problem with printing table names in ANALYZE
            <spetrunia>: it was resolved
            <spetrunia>: but I still had doubts.. so, it would be nice to make a testcase that would use nested update-able VIEW
            <spetrunia>: then run EXPLAIN UPDATE/DELETE on it
            <spetrunia>: then run ANALYZE UPDATE/DELETE
            <spetrunia>: and check that the ouptuts match
            <spetrunia>: the problem was : it used to print table aliases (as defined by the VIEW)
            <spetrunia>: and not table names
            <spetrunia>: or was it vice versa
            <spetrunia>: anyhow, it was not what EXPLAIN printed
            <spetrunia>: I don't think it's needed to spend much time on this..
            <spetrunia>: create a test case; let view definitions use table aliases
            <spetrunia>: which are different from the table names
            <spetrunia>: if it works, ok
            {quote}
            * PS (binary protocol) (x)
            * Get testcases for MDEV-6382 (/)
            * Whether the fact that even basic statements, like "INSERT INTO tbl VALUES ('foo')" will have their "EXPLAIN" printed into the slow query log. This is a consequence of them having EXPLAINs. Do we need a feature that avoids printing 'degenerate' query plans into the slow query log? (/)
            elenst Elena Stepanova made changes -
            Status In Progress [ 3 ] Stalled [ 10000 ]
            elenst Elena Stepanova made changes -
            elenst Elena Stepanova made changes -
            elenst Elena Stepanova made changes -
            Fix Version/s 10.1.4 [ 18400 ]
            Fix Version/s 10.1 [ 16100 ]
            elenst Elena Stepanova made changes -
            Status Stalled [ 10000 ] In Progress [ 3 ]
            elenst Elena Stepanova made changes -
            serg Sergei Golubchik made changes -
            Fix Version/s 10.1 [ 16100 ]
            Fix Version/s 10.1.4 [ 18400 ]
            elenst Elena Stepanova made changes -
            Status In Progress [ 3 ] Stalled [ 10000 ]
            ratzpo Rasmus Johansson (Inactive) made changes -
            Workflow MariaDB v2 [ 49701 ] MariaDB v3 [ 64530 ]
            elenst Elena Stepanova made changes -
            Status Stalled [ 10000 ] In Progress [ 3 ]
            elenst Elena Stepanova made changes -
            Description Need to check also for
            * Replication (ANALYZE may have an effect. Is it properly binlogged. Can a slave thread run ANALYZE stmt command?) (/)
            * Nested VIEWs and single-table UPDATE/DELETE (check EXPLAINs) (/)
            {quote}
            <spetrunia>: there was a problem with printing table names in ANALYZE
            <spetrunia>: it was resolved
            <spetrunia>: but I still had doubts.. so, it would be nice to make a testcase that would use nested update-able VIEW
            <spetrunia>: then run EXPLAIN UPDATE/DELETE on it
            <spetrunia>: then run ANALYZE UPDATE/DELETE
            <spetrunia>: and check that the ouptuts match
            <spetrunia>: the problem was : it used to print table aliases (as defined by the VIEW)
            <spetrunia>: and not table names
            <spetrunia>: or was it vice versa
            <spetrunia>: anyhow, it was not what EXPLAIN printed
            <spetrunia>: I don't think it's needed to spend much time on this..
            <spetrunia>: create a test case; let view definitions use table aliases
            <spetrunia>: which are different from the table names
            <spetrunia>: if it works, ok
            {quote}
            * PS (binary protocol) (x)
            * Get testcases for MDEV-6382 (/)
            * Whether the fact that even basic statements, like "INSERT INTO tbl VALUES ('foo')" will have their "EXPLAIN" printed into the slow query log. This is a consequence of them having EXPLAINs. Do we need a feature that avoids printing 'degenerate' query plans into the slow query log? (/)
            Development tasks:
            MDEV-406 ANALYZE $stmt
            MDEV-6388 ANALYZE $stmt output in the slow query log
            MDEV-6382 ANALYZE $stmt and security
            MDEV-6109 EXPLAIN JSON

            Need to check also for
            * Replication (ANALYZE may have an effect. Is it properly binlogged. Can a slave thread run ANALYZE stmt command?) (/)
            * Nested VIEWs and single-table UPDATE/DELETE (check EXPLAINs) (/)
            {quote}
            <spetrunia>: there was a problem with printing table names in ANALYZE
            <spetrunia>: it was resolved
            <spetrunia>: but I still had doubts.. so, it would be nice to make a testcase that would use nested update-able VIEW
            <spetrunia>: then run EXPLAIN UPDATE/DELETE on it
            <spetrunia>: then run ANALYZE UPDATE/DELETE
            <spetrunia>: and check that the ouptuts match
            <spetrunia>: the problem was : it used to print table aliases (as defined by the VIEW)
            <spetrunia>: and not table names
            <spetrunia>: or was it vice versa
            <spetrunia>: anyhow, it was not what EXPLAIN printed
            <spetrunia>: I don't think it's needed to spend much time on this..
            <spetrunia>: create a test case; let view definitions use table aliases
            <spetrunia>: which are different from the table names
            <spetrunia>: if it works, ok
            {quote}
            * PS (binary protocol) (x)
            * Get testcases for MDEV-6382 (/)
            * Whether the fact that even basic statements, like "INSERT INTO tbl VALUES ('foo')" will have their "EXPLAIN" printed into the slow query log. This is a consequence of them having EXPLAINs. Do we need a feature that avoids printing 'degenerate' query plans into the slow query log? (/)
            Summary More QA for ANALYZE stmt More QA for ANALYZE stmt and JSON
            elenst Elena Stepanova made changes -
            elenst Elena Stepanova made changes -
            elenst Elena Stepanova made changes -
            Status In Progress [ 3 ] Stalled [ 10000 ]
            elenst Elena Stepanova made changes -
            Priority Major [ 3 ] Minor [ 4 ]
            elenst Elena Stepanova made changes -
            Assignee Elena Stepanova [ elenst ] Alice Sherepa [ alice ]
            elenst Elena Stepanova made changes -
            Summary More QA for ANALYZE stmt and JSON More testing for ANALYZE stmt and JSON
            elenst Elena Stepanova made changes -
            Parent MDEV-6958 [ 47110 ]
            Affects Version/s 10.1.0 [ 12200 ]
            Issue Type Technical task [ 7 ] Task [ 3 ]
            elenst Elena Stepanova made changes -
            Assignee Alice Sherepa [ alice ] Elena Stepanova [ elenst ]
            serg Sergei Golubchik made changes -
            Workflow MariaDB v3 [ 64530 ] MariaDB v4 [ 131636 ]
            elenst Elena Stepanova made changes -
            Component/s Tests [ 10800 ]
            Fix Version/s N/A [ 14700 ]
            Resolution Done [ 10200 ]
            Status Stalled [ 10000 ] Closed [ 6 ]
            serg Sergei Golubchik made changes -
            Fix Version/s 10.1 [ 16100 ]

            People

              elenst Elena Stepanova
              psergei Sergei Petrunia
              Votes:
              0 Vote for this issue
              Watchers:
              1 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.