Amazon recommends to use the following PostgreSQL JDBC driver to connect to Redshift: http://docs.aws.amazon.com/redshift/latest/mgmt/connecting-using-workbench.html
-- http://jdbc.postgresql.org/download/postgresql-8.4-703.jdbc4.jar
System table reference: http://docs.aws.amazon.com/redshift/latest/dg/cm_chap_system-tables.html
System table reference: http://docs.aws.amazon.com/redshift/latest/dg/cm_chap_system-tables.html
COPY command options via JDBC:
-- http://stackoverflow.com/questions/6958965/how-to-copy-a-data-from-file-to-postgresql-using-jdbc
-- http://www.postgresql.org/docs/8.1/static/sql-copy.html
-- this is different from our import b/c the file is directly passed to the server. COPY syntax doesn't seem to allow for arbitrary user mapping of columns. Requires further investigation. COPY does seem to support STDIN so maybe it is possible to dynamically generate COPY statements as opposed to INSERT statements.
Logged a separate issue for this: #11151
COPY command options via JDBC:
-- http://stackoverflow.com/questions/6958965/how-to-copy-a-data-from-file-to-postgresql-using-jdbc
-- http://www.postgresql.org/docs/8.1/static/sql-copy.html
-- this is different from our import b/c the file is directly passed to the server. COPY syntax doesn't seem to allow for arbitrary user mapping of columns. Requires further investigation. COPY does seem to support STDIN so maybe it is possible to dynamically generate COPY statements as opposed to INSERT statements.
Logged a separate issue for this: #11151
Hello
Please provide steps to verify this issue
Hello
Please provide steps to verify this issue
Issue #10227 |
Closed |
Fixed |
Resolved |
Completion |
No due date |
No fixed build |
No time estimate |
2 issue links |
relates to #10226
Issue #10226Data Import using COPY command of Postgres instead of the standard insert which is quite slow |
relates to #11151
Issue #11151Support COPY command for postgresql related DBs |
Amazon recommends to use the following PostgreSQL JDBC driver to connect to Redshift: http://docs.aws.amazon.com/redshift/latest/mgmt/connecting-using-workbench.html
-- http://jdbc.postgresql.org/download/postgresql-8.4-703.jdbc4.jar