最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

postgresql - AWS_S3 - Not able to Import data from S3 to Postgres database hosted on AWS RDS using AWS_S3 - Stack Overflow

programmeradmin5浏览0评论

I've followed below document and created & attached IAM role and required policies but still not able to import data from S3 bucket to Postgres table.

.S3Import.html

We are getting error (SSL error: BAD_WRITE_RETRY) trying to import using AWS_S3 in Postgres DB, it is continuously running for 5-6 mins and the session getting terminated.

Postgres version: PostgreSQL 16.3 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 7.3.1 20180712 (Red Hat 7.3.1-17), 64-bit

SELECT aws_s3.table_import_from_s3( 'ESU_IMPORT20', -- Table name '', -- Columns (leave empty for all columns) '(FORMAT csv,delimiter ",", HEADER true)', -- Options for COPY command 's3-postgres-bucket', -- S3 bucket 'ESU20250120.csv', -- File name in the bucket 'ap-south-1', -- AWS region '', -- AWS Access Key '' -- AWS Secret Key '' );

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论