openGauss学习笔记196 openGauss 数据库运维常见故障定位案例强制结束指定的问题会话

2024年 5月 5日 55.0k 0

  • 根据线程ID结束会话。

    SELECT pg_terminate_backend(139834762094352);

    显示类似如下信息,表示结束会话成功。

    pg_terminate_backend
    ---------------------
    t
    (1 row)

    显示类似如下信息,表示用户正在尝试结束当前会话,此时仅会重连会话,而不是结束会话。

    FATAL: terminating connection due to administrator command
    FATAL: terminating connection due to administrator command The connection to the server was lost. Attempting reset: Su

  • 相关文章

    Oracle如何使用授予和撤销权限的语法和示例
    Awesome Project: 探索 MatrixOrigin 云原生分布式数据库
    下载丨66页PDF,云和恩墨技术通讯(2024年7月刊)
    社区版oceanbase安装
    Oracle 导出CSV工具-sqluldr2
    ETL数据集成丨快速将MySQL数据迁移至Doris数据库

    发布评论