Uploaded image for project: 'Percona Toolkit'
  1. Percona Toolkit
  2. PT-90

Collect information about prepared statements if P_S is enabled

    XMLWordPrintable

    Details

    • Type: Admin & Maintenance Task
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 3.0.2
    • Fix Version/s: 3.0.4
    • Component/s: None
    • Labels:
      None

      Description

      In version 5.7+ it is possible to see statistics of all prepared statements, currently existing in the server:

      select t.processlist_id, pse.* from performance_schema.prepared_statements_instances pse join performance_schema.threads t on (pse.OWNER_THREAD_ID=t.thread_id);

      Launchpad: https://bugs.launchpad.net/percona-toolkit/+bug/1642750

        Smart Checklist

          Attachments

            Activity

              People

              Assignee:
              agustin.gallego Agustín Gallego
              Reporter:
              carlos.salguero Carlos Salguero
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: