简体   繁体   English

错误:当前事务中止,命令被忽略,直到事务块结束—从Aqua Studio导出数据

[英]ERROR: current transaction is aborted, commands ignored until end of transaction block — export data from Aqua studio

I am trying to export one table from Aquastudio into CSV file. 我正在尝试将一张表从Aquastudio导出到CSV文件。 The table has approximately 4.4 million rows. 该表大约有440万行。 When I am trying to use the export window function in the aqua studio, I am facing the following error: 当我尝试在Aqua Studio中使用导出窗口功能时,遇到以下错误:

Error: ERROR: current transaction is aborted, commands ignored until end of transaction block 错误:ERROR:当前事务中止,命令被忽略,直到事务块结束

I am not understanding what the problem is. 我不明白问题是什么。 I read few articles regarding this error and found that this is happening due to some error in the last postgreSQL command. 我读了几篇有关此错误的文章,发现这是由于上一个postgreSQL命令中的某些错误而发生的。 I did not use any SQL commands for this export and I dont know how to debug this. 我没有为此导出使用任何SQL命令,而且我不知道如何调试它。 I am also unable to view the log files. 我也无法查看日志文件。

Use rollback to cancel the previous query. 使用rollback取消上一个查询。 After that, you will be able to execute your current query. 之后,您将能够执行当前查询。

You probably shouldn't be exporting millions of rows through a JDBC/ODBC connection, especially for Redshift. 您可能不应该通过JDBC / ODBC连接导出数百万行,尤其是对于Redshift。

For Redshift, please use the UNLOAD command documented here . 对于Redshift,请使用此处记录UNLOAD命令 You'll have to UNLOAD the file to S3 and download it from there. 您必须将文件UNLOAD到S3并从那里下载。

For Postgres, use COPY TO as documented here . 对于Postgres,请使用此处记录的COPY TO

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 PSQL:当前事务中止,命令被忽略,直到事务块结束 - PSQL: current transaction is aborted, commands ignored until end of transaction block InternalError:当前事务中止,命令被忽略,直到事务块结束 - InternalError: current transaction is aborted, commands ignored until end of transaction block DatabaseError:当前事务被中止,在事务块结束之前忽略命令? - DatabaseError: current transaction is aborted, commands ignored until end of transaction block? PSQLException:当前事务被中止,命令被忽略直到事务块结束 - PSQLException: current transaction is aborted, commands ignored until end of transaction block DatabaseError:当前事务中止,命令被忽略,直到事务块结束-在隐身模式下,但正常情况下没有错误 - DatabaseError: current transaction is aborted, commands ignored until end of transaction block - in incognite mode but no error in normal 如何调试:内部错误当前事务被中止,命令被忽略直到事务块结束 - How to debug: Internal Error current transaction is aborted, commands ignored until end of transaction block Hibernate错误:当前事务中止,命令被忽略,直到事务块结束 - Hibernate error: current transaction is aborted, commands ignored until end of transaction block 当前事务被中止,命令被忽略直到事务结束 - Current transaction is aborted, commands ignored until end of transaction Django测试-InternalError:当前事务中止,命令被忽略,直到事务块结束 - Django testing - InternalError: current transaction is aborted, commands ignored until end of transaction block Django+Postgres:“当前事务被中止,命令被忽略直到事务块结束” - Django+Postgres: "current transaction is aborted, commands ignored until end of transaction block"
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM