× Heads up!

Aqua Data Studio / nhilam

Follow
IDE for Relational Databases
×
samjacinto reported 2022-04-06T19:52:08Z  · Lwaugh last modified 2022-09-27T18:13:20Z

Snowflake results very slow due to SHOW ROLES view and a better way of handling is requested.


customer request
Priority Major
Complexity Unknown
Component DB - Snowflake
Version Future

After running a Snowflake query in Aqua Data Studio, the results take more than a minute to return even if the result set is very small. When I check the query history in Snowflake, I see that a SHOW ROLES after each query. 

It appears to me that regardless of the query, Aqua is running the show roles/show databases/show schemas. The latter two are relatively quick (less than 1 second) but the show roles is dragging the result down because it’s runs 40-50 seconds in our environment due to the number of roles we have implemented.

ADS is running the query but it is a view within Snowflake. If user is operating from a QA window, ADS repopulates the dropdowns at the top of the QA window after each query. This is done since the roles and database can change dynamically. This is inefficient.  Would like a better way of keeping those drop downs current.

 

Issue #15893

Resolved
Fixed
Resolved 2022-09-26T20:55:28Z
 
 
Completion
No due date
No fixed build
No time estimate

About AquaClusters Privacy Policy Support Version - 19.0.2-4 AquaFold, Inc Copyright © 2007-2017