add info about encrypted tablespaces in pt-mysql-summary

Description

Let's start from what we currently have in encryption section for pt-mysql-summary.

Which looks decent, but it doesn't include info if encrypted table is in a encrypted single tablespace or part of some encrypted general tablespace which includes many tables.

In my case t1 is part of "foo" tablespace and t2 is in a single table tablespace.

I also have encrypted general tablespace "bar" but it doesn't include any tables so it's not visible here.

I think it would be helpful to:
1. add info in encrypted tables part about tablespace to which the table is belonging (and is it a single or general tablespace)
2. add another table to list encrypted tablespaces (maybe here list just general tablespaces and not single table since it might duplicate a lot with encrypted tables list)

For 2. it seems it's not straightforward but it can be listed, see here how: https://jira.percona.com/browse/PS-3962

short example:

Environment

None

Smart Checklist

Activity

Show:

Carlos Salguero May 10, 2018 at 7:51 PM

Since implements a flag to show encryption related info only if specified to avoid slowdowns caused by querying I_S tables, this ticket has to be implemented after and should depend on that flag to be set

Carlos Salguero May 10, 2018 at 7:45 PM

Just a comment and it might be just a different interpretation.

8192 is bit 14 (13 starting count from 0): 0b10000000000000 = 0d8192

Done

Details

Assignee

Reporter

Priority

Components

Affects versions

Fix versions

Time tracking

1d 15m logged

Smart Checklist

Created April 19, 2018 at 10:23 AM
Updated July 25, 2018 at 5:43 PM
Resolved May 15, 2018 at 2:42 PM