![]() |
MySQL 8.4.6
Source Code Documentation
|
class to monitor the progress of 'ALTER TABLESPACE ENCRYPTION' in terms of number of pages operated upon. More...
#include <ut0stage.h>
Public Member Functions | |
| Alter_stage_ts () | |
| Constructor. More... | |
| ~Alter_stage_ts () | |
| Destructor. More... | |
| void | init (int key) |
| Initialize. More... | |
| void | set_estimate (uint64_t units) |
| Set estimate. More... | |
| void | update_work (uint64_t units) |
| Update the progress. More... | |
| void | change_phase () |
| Change phase. More... | |
| bool | is_completed () |
Private Types | |
| enum | { NOT_STARTED = 0 , INITIATED = 1 , WORK_ESTIMATED = 2 , WORK_COMPLETED = 3 } |
| Current phase. More... | |
Private Attributes | |
| PSI_stage_progress * | m_progress |
| Performance schema accounting object. More... | |
| page_no_t | m_work_estimated |
| Number of pages to be (un)encrypted . More... | |
| page_no_t | m_work_done |
| Number of pages already (un)encrypted . More... | |
| enum Alter_stage_ts:: { ... } | m_cur_phase |
| Current phase. More... | |
class to monitor the progress of 'ALTER TABLESPACE ENCRYPTION' in terms of number of pages operated upon.
|
private |
|
inline |
Constructor.
|
inline |
Destructor.
|
inline |
Change phase.
|
inline |
Initialize.
| [in] | key | PFS key. |
|
inline |
|
inline |
Set estimate.
| [in] | units | Units. |
|
inline |
Update the progress.
| [in] | units | Update delta. |
| enum { ... } Alter_stage_ts::m_cur_phase |
Current phase.
|
private |
Performance schema accounting object.
|
private |
Number of pages already (un)encrypted .
|
private |
Number of pages to be (un)encrypted .