Предметные инструменты · perfmon

Производительность сайта · изменения · Изменение · perfmon_index_analysis_rebuild

perfmon_site_perfmon_m175_writeИзменение

Действия модуля perfmon.

Действия

В tools/call передайте имя инструмента, значение action и параметры действия во вложенном объекте arguments.

Перестроение анализа индексов базы данных

perfmon_index_analysis_rebuild

Действия модуля perfmon.

maintenance_window
строка · обязательный параметр
acknowledge_quiescence
логическое значение · обязательный параметр
expected_revision
строка · обязательный параметр
request_id
строка · обязательный параметр
confirm
логическое значение · обязательный параметр
confirm_scope
строка · обязательный параметр
Схема параметров JSON
{
  "type": "object",
  "properties": {
    "maintenance_window": {
      "type": "string",
      "minLength": 32,
      "maxLength": 32,
      "pattern": "^[a-f0-9]{32}$"
    },
    "acknowledge_quiescence": {
      "type": "boolean",
      "enum": [
        true
      ]
    },
    "expected_revision": {
      "type": "string",
      "minLength": 64,
      "maxLength": 64,
      "pattern": "^[a-f0-9]{64}$"
    },
    "request_id": {
      "type": "string",
      "minLength": 32,
      "maxLength": 32,
      "pattern": "^[a-f0-9]{32}$"
    },
    "confirm": {
      "type": "boolean"
    },
    "confirm_scope": {
      "type": "string",
      "enum": [
        "whole_recorded_log_index_rebuild"
      ]
    }
  },
  "required": [
    "maintenance_window",
    "acknowledge_quiescence",
    "expected_revision",
    "request_id",
    "confirm",
    "confirm_scope"
  ],
  "additionalProperties": false
}

Скачать исходное примечание

Анализ индексов записанного запроса

perfmon_recorded_index_analysis

Действия модуля perfmon.

record_id
целое число · обязательный параметр
maintenance_window
строка · обязательный параметр
acknowledge_quiescence
логическое значение · обязательный параметр
expected_revision
строка · обязательный параметр
request_id
строка · обязательный параметр
confirm
логическое значение · обязательный параметр
confirm_scope
строка · обязательный параметр
Схема параметров JSON
{
  "type": "object",
  "properties": {
    "record_id": {
      "type": "integer",
      "minimum": 1,
      "maximum": 2147483647
    },
    "maintenance_window": {
      "type": "string",
      "pattern": "^[a-f0-9]{32}$",
      "minLength": 32,
      "maxLength": 32
    },
    "acknowledge_quiescence": {
      "type": "boolean",
      "enum": [
        true
      ]
    },
    "expected_revision": {
      "type": "string",
      "pattern": "^[a-f0-9]{64}$",
      "minLength": 64,
      "maxLength": 64
    },
    "request_id": {
      "type": "string",
      "pattern": "^[a-f0-9]{32}$",
      "minLength": 32,
      "maxLength": 32
    },
    "confirm": {
      "type": "boolean"
    },
    "confirm_scope": {
      "type": "string",
      "enum": [
        "one_recorded_query_native_analysis"
      ]
    }
  },
  "required": [
    "record_id",
    "maintenance_window",
    "acknowledge_quiescence",
    "expected_revision",
    "request_id",
    "confirm",
    "confirm_scope"
  ],
  "additionalProperties": false
}

Скачать исходное примечание