53.2. Samples #

53.2.1. Taking a sample #

Before performing this instruction:

To take a sample:

  1. Go to samples in one of the following ways:

    • Using the monitoring section:

      1. In the navigation panel, go to MonitoringProfilerSamples.

      2. From Instance, select the instance.

    • Using the configuration section of an instance:

      1. In the navigation panel, go to InfrastructureInstances.

      2. Click the name of the instance.

      3. In the navigation panel, go to ProfilerSamples.

  2. In the top-right corner of the page, click Take snapshot.

  3. Specify parameters of the new sample (parameters marked with an asterisk are required):

    • Database: The database for which the sample will be taken.

    • Server: The profiler server whose directory will be used to store the sample.

    • skip_sizes: Specifies whether to skip the collection of relation sizes when taking the sample.

      Possible values:

      • true: The collection of relation sizes will be skipped when taking the sample.

      • false: The collection of relation sizes will not be skipped when taking the sample.

  4. Click Save.

53.2.2. Viewing Samples #

  1. Go to samples in one of the following ways:

    • Using the monitoring section:

      1. In the navigation panel, go to MonitoringProfilerSamples.

      2. From Instance, select the instance.

    • Using the configuration section of an instance:

      1. In the navigation panel, go to InfrastructureInstances.

      2. Click the name of the instance.

      3. In the navigation panel, go to ProfilerSamples.

  2. From Database, select the database.

  3. From Server, select the profiler server.

  4. Click Select.

The table of samples with the following columns will be displayed:

  • ID: The unique identifier (ordinal number) of the sample.

  • Time: The date and time when the sample was created.

  • Sizes were collected: Specifies whether relation sizes were collected when taking the sample.

    Possible values:

    • yes

    • no

  • Database stat reset: Specifies whether database statistics were reset when taking the sample.

    Possible values:

    • yes

    • no

  • Bgwriter stat reset: Specifies whether bgwriter statistics were reset.

    Possible values:

    • yes

    • no

  • Archiver stat reset: Specifies whether archiver statistics were reset.

    Possible values:

    • yes

    • no