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

Производительность сайта · изменения · Не предлагать этот индекс

perfmon_site_perfmon_m176_writeИзменение

Не предлагать этот индекс.

Действия

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

Создание индекса базы данных

perfmon_index_create

Не предлагать этот индекс.

suggestion_id
целое число · обязательный параметр
expected_revision
строка · обязательный параметр
request_id
строка · обязательный параметр
confirm
логическое значение · обязательный параметр
confirm_scope
строка · обязательный параметр
Схема параметров JSON
{
  "type": "object",
  "properties": {
    "suggestion_id": {
      "type": "integer",
      "minimum": 1,
      "maximum": 2147483647
    },
    "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_owned_performance_index"
      ]
    }
  },
  "required": [
    "suggestion_id",
    "expected_revision",
    "request_id",
    "confirm",
    "confirm_scope"
  ],
  "additionalProperties": false
}

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

Удаление индекса базы данных

perfmon_index_drop

Не предлагать этот индекс.

suggestion_id
целое число · обязательный параметр
creation_request_id
строка · обязательный параметр
creation_revision
строка · обязательный параметр
expected_revision
строка · обязательный параметр
request_id
строка · обязательный параметр
confirm
логическое значение · обязательный параметр
confirm_scope
строка · обязательный параметр
Схема параметров JSON
{
  "type": "object",
  "properties": {
    "suggestion_id": {
      "type": "integer",
      "minimum": 1,
      "maximum": 2147483647
    },
    "creation_request_id": {
      "type": "string",
      "pattern": "^[a-f0-9]{32}$",
      "minLength": 32,
      "maxLength": 32
    },
    "creation_revision": {
      "type": "string",
      "pattern": "^[a-f0-9]{64}$",
      "minLength": 64,
      "maxLength": 64
    },
    "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_owned_performance_index"
      ]
    }
  },
  "required": [
    "suggestion_id",
    "creation_request_id",
    "creation_revision",
    "expected_revision",
    "request_id",
    "confirm",
    "confirm_scope"
  ],
  "additionalProperties": false
}

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

Не предлагать этот индекс

perfmon_index_suggestion_suppress

Сохраняет штатную отметку запрета для таблицы и колонок существующего предложения. Колонки проверяются по реальной структуре. Нужны Perfmon R, штатное право edit_php и допуск записи MCP. Индексы базы не создаются и не удаляются.

record_id
целое число · обязательный параметр
confirm
логическое значение · обязательный параметр
Схема параметров JSON
{
  "type": "object",
  "properties": {
    "record_id": {
      "type": "integer",
      "minimum": 1
    },
    "confirm": {
      "type": "boolean"
    }
  },
  "required": [
    "record_id",
    "confirm"
  ],
  "additionalProperties": false
}

Создание индекса большой таблицы

perfmon_large_index_create

Не предлагать этот индекс.

suggestion_id
целое число · обязательный параметр
maintenance_window
строка · обязательный параметр
acknowledge_quiescence
логическое значение · обязательный параметр
expected_revision
строка · обязательный параметр
request_id
строка · обязательный параметр
confirm
логическое значение · обязательный параметр
confirm_scope
строка · обязательный параметр
Схема параметров JSON
{
  "type": "object",
  "properties": {
    "suggestion_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": [
        "quiescent_maintenance_index"
      ]
    }
  },
  "required": [
    "suggestion_id",
    "maintenance_window",
    "acknowledge_quiescence",
    "expected_revision",
    "request_id",
    "confirm",
    "confirm_scope"
  ],
  "additionalProperties": false
}

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

Удаление индекса большой таблицы

perfmon_large_index_drop

Не предлагать этот индекс.

suggestion_id
целое число · обязательный параметр
maintenance_window
строка · обязательный параметр
acknowledge_quiescence
логическое значение · обязательный параметр
creation_request_id
строка · обязательный параметр
creation_revision
строка · обязательный параметр
creation_maintenance_window
строка · обязательный параметр
expected_revision
строка · обязательный параметр
request_id
строка · обязательный параметр
confirm
логическое значение · обязательный параметр
confirm_scope
строка · обязательный параметр
Схема параметров JSON
{
  "type": "object",
  "properties": {
    "suggestion_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
      ]
    },
    "creation_request_id": {
      "type": "string",
      "pattern": "^[a-f0-9]{32}$",
      "minLength": 32,
      "maxLength": 32
    },
    "creation_revision": {
      "type": "string",
      "pattern": "^[a-f0-9]{64}$",
      "minLength": 64,
      "maxLength": 64
    },
    "creation_maintenance_window": {
      "type": "string",
      "pattern": "^[a-f0-9]{32}$",
      "minLength": 32,
      "maxLength": 32
    },
    "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": [
        "quiescent_maintenance_index"
      ]
    }
  },
  "required": [
    "suggestion_id",
    "maintenance_window",
    "acknowledge_quiescence",
    "creation_request_id",
    "creation_revision",
    "creation_maintenance_window",
    "expected_revision",
    "request_id",
    "confirm",
    "confirm_scope"
  ],
  "additionalProperties": false
}

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