openGauss copy-interface-for-error-tolerance

Copy Interface for Error Tolerance

Availability

This feature is available since openGauss 1.0.0.

Introduction

Certain errors that occur during the copy process are imported to a specified error table without interrupting the process.

Benefits

Refine the copy function and improve the tolerance and robustness to common errors such as invalid formats.

Description

openGauss provides the encapsulated copy error tables for creating functions and allows users to specify error tolerance options when using the Copy From statement. In this way, errors related to parsing, data format, and character set during the execution of the Copy From statement are recorded in the error table instead of being reported which may interrupt transactions. Even if a small amount of data in the target file of Copy From is incorrect, the data can be imported to the database. You can locate and rectify the fault in the error table later.

Enhancements

None

Constraints

For details, see handling-import-errors.

Dependencies

None
开源社区地址: https://gitee.com/opengauss/openGauss-migration-portal/tree/master
详细参考文档:README.md 、 命令行参数名称及说明.md
详情查看:https://opengauss.org
详情查看:https://docs-opengauss.osinfra.cn

openGauss

posted @ 2024-08-25 22:46  喜酱喜酱  阅读(7)  评论(0)    收藏  举报