Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Configuring the database driver for AWS Redshift in JetBrains IDEs

AWS Redshift has a PostgreSQL query interface. So I tried to set-up a connection to a cluster with the PostgreSQL driver driver in PyCharm (JetBrain IDE family): it works but there is one background job that keeps failing. The error message is:

AWSmytestdb.pg_catalog.padb_config_harvest
java.sql.SQLException: Unable to determine a value for MaxIndexKeys due to missing system catalog data.

Does AWS Redshift set a value for MaxIndexKeys at all? Does this matter? Can I turn the job off? Is there a better solution? Thanks.

like image 721
cyberbikepunk Avatar asked Jan 21 '26 06:01

cyberbikepunk


1 Answers

You could try to use the jdbc driver provided by amazon. in this post I described how to install and use it in DataGrip (also Jetbrains).

Defining a Redshift connection in DataGrip

like image 138
Jan Zeiseweis Avatar answered Jan 23 '26 19:01

Jan Zeiseweis



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!