我有一个服务运行和插入数据(大量数据)。有时,这是只有大约几个星期,我收到此错误:

ERROR: XX001: could not read block 2354 of relation 1663/17633/17925: read only 0 of 8192 bytes.

此误差是从的PostgreSQL连接器Npgsql的:

Exception trace:    at Npgsql.NpgsqlConnector.CheckErrors()
at Npgsql.NpgsqlConnector.CheckErrorsAndNotifications()
at Npgsql.NpgsqlCommand.ExecuteCommand()
at Npgsql.NpgsqlCommand.ExecuteNonQuery()

如果我这样做,创建内部pgAdmin的是错误的查询,我有这样的错误了。任何人有任何的原因有没有什么特别的这个插入查询有此错误的想法?此表有一个主键,但没有外键,我已经手动验证,此表不包含主键。

如何解决该错误?

有帮助吗?

解决方案

鉴于错误 “XX001” 是列出如“数据损坏”,你可能需要达到的备份。

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top