pub struct AuditOptions {Show 17 fields
pub datadir: String,
pub health: bool,
pub checksum_mismatch: bool,
pub verbose: bool,
pub json: bool,
pub csv: bool,
pub prometheus: bool,
pub page_size: Option<u32>,
pub keyring: Option<String>,
pub mmap: bool,
pub min_fill_factor: Option<f64>,
pub max_fragmentation: Option<f64>,
pub bloat: bool,
pub max_bloat_grade: Option<String>,
pub depth: Option<u32>,
pub compliance: bool,
pub pattern: Option<String>,
}Expand description
Options for the inno audit subcommand.
Fields§
§datadir: StringMySQL data directory path to scan.
health: boolShow per-tablespace health metrics instead of integrity validation.
checksum_mismatch: boolList only pages with checksum mismatches.
verbose: boolShow additional details.
json: boolEmit output as JSON.
csv: boolOutput as CSV.
prometheus: boolOutput in Prometheus exposition format.
page_size: Option<u32>Override the auto-detected page size.
keyring: Option<String>Path to MySQL keyring file for decrypting encrypted tablespaces.
mmap: boolUse memory-mapped I/O for file access.
min_fill_factor: Option<f64>Show tables with fill factor below this threshold (0-100).
max_fragmentation: Option<f64>Show tables with fragmentation above this threshold (0-100).
bloat: boolEnable bloat scoring in health mode.
max_bloat_grade: Option<String>Filter: show tables with worst bloat grade at or worse than threshold (A-F).
depth: Option<u32>Maximum directory recursion depth (None = default 2, Some(0) = unlimited).
compliance: boolScan every tablespace for a literal byte pattern (data-residue mode).
pattern: Option<String>Literal needle for compliance mode: UTF-8 text or hex:....
Auto Trait Implementations§
impl Freeze for AuditOptions
impl RefUnwindSafe for AuditOptions
impl Send for AuditOptions
impl Sync for AuditOptions
impl Unpin for AuditOptions
impl UnsafeUnpin for AuditOptions
impl UnwindSafe for AuditOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more