When running queries in Greenplum the Discover Owner Entity task takes 30+ seconds to complete #14529
-
System information:
Connection specification:
Describe the problem you're observing:When running queries on any of our tables DBeaver first runs a couple of queries to collect metadata about objects being queried known as "Discover Owner Entity". The query pasted below is run by DBeaver in the background and takes upwards of 30 seconds to complete we think in part due to the JOIN condition for table partitions. We have quite a few schemas/partitions which could affect this query's performance. I haven't been able to find an option in the Greenplum connection to disable the Discover Owner Entity task. Using a Postgres connection though pointing at our Greenplum database it doesn't face this issue (as DBeaver Postgres connection shows partitions as separate tables). Is there an option to disable the Discover Owner Entity task? I see in other connection types it's possible. Steps to reproduce, if exist:Running a SELECT statement against a user created schema/table. Must have a large number of partitions/schemas. Include any warning/errors/backtraces from the logsNo warnings/errors/etc. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Thank you for the report. As a workaround you can disable Read table metadata and Read Table references options in Preferences |
Beta Was this translation helpful? Give feedback.
-
|
Excellent, this seems to significantly reduce the time on those background tasks. |
Beta Was this translation helpful? Give feedback.

Thank you for the report. As a workaround you can disable Read table metadata and Read Table references options in Preferences