DataGrip does not show tables under schema Follow
I have configured my database in DataGrip and everything works fine except that I cannot see the tables under schema. I have similar configuration for other database, which has no problem at all. Is there any setting I missed?
As you can see in the screenshot, tables show up in the database "Snapmobile". However, nothing show up in "Pixels Redshift". Both databases are AWS Redshift.
Please sign in to leave a comment.
This is an extract of the logs I get when trying to synchronise
The list continues by more and more lines.
@Ivan Santini Hi,
Could you specify a database you're trying to connect to? Could you specify driver and dialect you're using for connection?
I am trying to connect to a Redshift db via a PostgreSQL driver.
Inside the connection settings I have tried all possible PostgreSQL drivers (Latest version, 42.1.1, 9.4-1212, 9.4-1201) and also the Redshift drivers.
Screenshot here attached. Hope this helps!
@Ivan Santini Hi,
We implemented better Amazon Redshift support in DataGrip 2017.2. Now you can try to install the latest DataGrip 2017.2 EAP. More details about Redshift support https://blog.jetbrains.com/datagrip/2017/05/25/we-open-datagrip-2017-2-eap/ and you can download free trial version here https://www.jetbrains.com/datagrip/nextversion/
Thanks again tons Vasily!
The EAP version works!
I can see it is valid until 29th July. Will it be released as a normal update on that day?
@Ivan Santini Hi,
It'll be available in coming DataGrip 2017.2.
I'm trying to connect to a standard Heroku db in both Datagrip and IntelliJ, but no matter what I do, I can't get the tables to show up. I've tried all suggestions in this thread.
As for Heroku check out our tutorial https://www.jetbrains.com/help/datagrip/2017.2/connecting-to-a-database.html#postgres_on_heroku
Same problem with 2017.2.2 and remote Postgres (localhost seems fine), super annoying...
The one connection allows me to run Sql commands against all the schemas and tables, but the Database tool window will not show any of the schemas and tables except the default 'postgres' schema.
@ Seba Illingworth
You need to add schemas to your introspection scope.
@vasily, I've been trying this for a year now. None of your solutions work, including introspecting the schema. On another note, if that's required, why isn't it on by default.
Because of these limitations, we avoid using Jetbrains for any kind of database interaction, which is frustrating.
>> On another note, if that's required, why isn't it on by default.
In case you've got more than 100 schemas, do you suppose to retrieve all of'em?
>> Because of these limitations
Could you describe your problems in details?
@vasily - I'm not sure. I do know, though, that Datagrip/IntelliJ is the only db client that makes connecting to the database so onerous. When I use clients like Navicat, I can easily get a list of the databases, tables, etc without having to manually set introspection settings, etc. I'm not sure how they handle this technically, but this is even on pg servers that have thousands of databases. (E.g. Heroku free tier db servers)
Same experience as e. This is really frustrating because I hate SQL Management Studio, but DataGrip is just not up to scratch.
@e Perhaps the implement lazy tree, once you o[pen the node, you see the content. Why we have no this possibility? Because of code completion: we index everything in your server to have code completion work really really fast (as you can see). That's why lazy variant is not implemented. But it is the thing to consider, I agree.
Same problem with MS SQl, surprisingly with localhost db everything works fine and tables under schema can be observed.
At the same time, tables are not visible if to connect to remote server, as a consequence IntelliSense doesn't work.
Hello, Ivan! Let's start from upgrading to the latest version which is 2017.2.3.
Does DataGrip support external tables in Redshift? I can't see it under schema's tree. However I can query against such tables.
DataGrip 2017.3.7 Build #DB-173.4674.7, built on February 27, 2018 ...
2018 JRE: 1.8.0_152-release-1024-b15 amd64 JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o Linux 4.4.0-116-generic
@Sylwester Dygas It will be supported in 2018.1: https://blog.jetbrains.com/datagrip/2018/02/21/we-open-eap-for-datagrip-2018-1/
Not sure if this is intended functionality, but it looks like with SQL Server, if you connect to a database server without specifying a database, you only get the default schemas (dbo, and some other system schemas).
However, if I setup a connection and include the specific database in the configuration, I am able to see all the schemas.
You need to Refresh tree on a desired db if it's not specified in connection:
Does it help?
I tried this this morning, and when I initially setup the database. I get the same result, however other user created schemas exist in the database which do not display, and all that appears is the system created schemas.
does your database have other schemas outside of dbo?
I have same problem, but I have MS SQL databases.
My solution: Right click on datasource -> on floating menu click: "Properties" (dialog appears).
On the dialog choose the "Schemas" tab. There I check the right database and schema (under databse leaf), result: tables are shown.
@Tyler Hartwig & @Peter Varsanyi our quick steps guide should help you https://www.jetbrains.com/datagrip/quick-start/
I have the same issue, but it seems when I connect to Microsoft Azure databases the sync does not fully work.
In the schemas tab I see the correct list, however, it is not pulling all of the tables.
Incorrect list of tables
This is how it looks in SQL Management studio and all of the correct tables are listed:
Are you sure that you use the same credentials?
I am positive and check it several times.
My version Info:
Build #DB-181.5087.19, built on May 16, 2018
Oh, thanks. let's try to check on the latest version: 2018.3 https://www.jetbrains.com/datagrip/download/
Getting this same issue on DataGrip 2018.3.2 . I'm running PostgreSQL locally and am unable to see my table. It was working fine and first and now just stopped. Bad timing on my side, I've been trying to convince my company to buy jetbrains products and my manager was not impressed -_-