{
    "id": "pdo179-query-budget",
    "title": "Не ждать медленный отчёт: срок запроса и новый сеанс для каталога",
    "columns": [
        "Наблюдение",
        "Результат"
    ],
    "rows": [
        [
            "Бюджет SQL, секунд",
            1
        ],
        [
            "Медленный отчёт отклонён",
            true
        ],
        [
            "Диагностика",
            "HY000\/20003"
        ],
        [
            "Восстановление",
            "новое соединение"
        ],
        [
            "Доступных товаров",
            2
        ],
        [
            "Общий остаток",
            8
        ],
        [
            "Файл",
            "budget.json"
        ]
    ],
    "checks": {
        "timeout_setting_accepted": true,
        "controlled_delay_failed": true,
        "timeout_diagnostic": true,
        "bounded_wait": true,
        "failed_statement_released": true,
        "new_connection_ready": true,
        "own_catalog_read": true,
        "stock_unchanged": true,
        "no_transaction_open": true,
        "artifact_matches": true,
        "owned_objects_removed": true
    },
    "observations": {
        "budget": {
            "query_timeout_seconds": 1,
            "delayed_query": "rejected",
            "error": {
                "state": "HY000",
                "code": 20003
            },
            "recovery": "new_connection",
            "items": [
                {
                    "sku": "CAB",
                    "title": "Кабель",
                    "qty": 6
                },
                {
                    "sku": "CLP",
                    "title": "Клемма",
                    "qty": 2
                }
            ]
        },
        "elapsed_seconds": 1.00108074,
        "close_cursor": {
            "failed": false,
            "state": null,
            "code": null
        },
        "fresh_rows": [
            {
                "sku": "CAB",
                "title": "Кабель",
                "qty": 6
            },
            {
                "sku": "CLP",
                "title": "Клемма",
                "qty": 2
            }
        ],
        "fresh_profile_query_timeout_seconds": 10,
        "recovery_policy": "release_statement_close_connection_open_new_read_only_query"
    },
    "runtime": {
        "php": "8.5.11",
        "extension": "8.5.11",
        "pdo": "8.5.11",
        "driver": "dblib",
        "server_version": "17.0.5035.5",
        "client": "freetds v1.3.17",
        "tds_version": "7.4",
        "database": "phpmanual179",
        "transport": "private_loopback_tcp"
    },
    "owned_objects": [
        {
            "type": "TABLE",
            "name": "pdo179_budget_14f9e986370b"
        }
    ],
    "removed_objects": [
        {
            "type": "TABLE",
            "name": "pdo179_budget_14f9e986370b"
        }
    ]
}
