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

Collect information about prepared statements if P_S is enabled

Details

    • Admin & Maintenance Task
    • Status: Done
    • Medium
    • Resolution: Fixed
    • 3.0.2
    • 3.0.4
    • None
    • 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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Smart Checklist