Skip to main content
Command reference

statistics archive config modify

Suggest changes

Modify Cluster-Wide Performance Archive Configuration

Availability: This command is available to cluster administrators at the advanced privilege level.

Description

Modifies cluster-wide performance archive configuration settings.

Performance presets are managed by the statistics preset commands.

Note Misconfiguration of the performance archive may affect ONTAP system performance or the ability of support staff to triage performance problems.

Parameters

[-datastore-max-percent <percent>] - Maximum Percentage of Root Volume Used for Performance Archive Data (privilege: advanced)

Specifies the maximum percentage of each node's root volume that can be used to store performance archive data files.

Note This parameter is used to calculate the "Maximum Size" displayed by the statistics archive config show command.

Examples

cluster::*> statistics archive config show
Is the Performance Archive Enabled?: true
      Base Path of Performance Archive Datastore: /mroot/etc/log/stats/ccma
         Days to Retain Performance Archive Data: 28
Maximum Percentage of Root Volume Used for Performance Archive Data: 10%
Minutes Between Performance Archive Data File Rotations: 15
            Minutes Between Perfstat Collections: 5
         Minutes Between OPM Data File Rotations: 5
   Data ONTAP Version of Installed Configuration: 8.3.2
                Enabled Performance Preset Names: asup-hourly, default, opm,
                                                  ps, resource_test, statit,
                                                  sysstat_all, sysstat_mp,
                                                  waffinity_stats, wafl_cpm,
                                                  wafl_susp

cluster::*> statistics archive config modify -datastore-max-retention 15 -datastore-file-rotation 10

cluster::*> statistics archive config show
Is the Performance Archive Enabled?: true
      Base Path of Performance Archive Datastore: /mroot/etc/log/stats/ccma
         Days to Retain Performance Archive Data: 15
Maximum Percentage of Root Volume Used for Performance Archive Data: 10%
Minutes Between Performance Archive Data File Rotations: 10
            Minutes Between Perfstat Collections: 5
         Minutes Between OPM Data File Rotations: 5
   Data ONTAP Version of Installed Configuration: 8.3.2
                Enabled Performance Preset Names: asup-hourly, default, opm,
                                                  ps, resource_test, statit,
                                                  sysstat_all, sysstat_mp,
                                                  waffinity_stats, wafl_cpm,
                                                  wafl_susp