postgresql - 无法访问 Postgres 数据库中事务 xxxxxx 的状态
问题描述
我无法访问 postgres 中的几个表,最初,由于我在日志中发现的问题,数据库没有出现如下
2021-05-12 10:54:16.525 CEST [21191] FATAL: unable to access state of transcaction 183333957 nicht zugreifen
2021-05-12 10:54:16.525 CEST [21191] DETAIL: unable to read from »pg_xact/00AE« bei Position
所以要修复它,我填充了有问题的文件
dd if=/dev/zero bs=1 count=204800 >> 00AE
现在根本无法访问一些表,如果我对其运行任何查询,它就会卡住并且我永远不会得到任何结果,日志中也没有错误消息或任何详细信息。
解决方案
推荐阅读
- python-2.7 - 将py文件转换为exe时缺少dll
- azure - 带有 EventGridTrigger 的 Azure Function 阻止 FunctionsStartup 类的 Configure 方法运行
- azure-functions - 如何在 azure 函数中重复调用 context.bindings
- python - 无法在 Pyqt5 上保存我的窗口的大小和位置
- excel - 如何在不提示用户丢失数据的情况下将 XLSM 文件保存为 XLSX 文件?
- uiview - 如何以及何时调用 setNeedsLayout() 方法以便在父视图上布局子视图?
- magento - 下单成功后仅触发一次的事件
- asp.net-core - 找不到“IFormFile”(您使用的是指令还是程序集引用?)
- firebase - Flutter Cloud Firestore 范围基础查询
- postgresql - 我怎样才能拥有一个数据字典以及它是如何工作的?