You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched in the issues and found no similar issues.
What would you like to be improved?
Improve query performance
When I execute the below SQL statement, it cost over 1min:
SELECT a.process_id, a.table_id, a.catalog_name, a.db_name, a.table_name, a.target_snapshot_id,
a.target_change_snapshot_id, a.status, a.optimizing_type, a.plan_time, a.end_time,
a.fail_reason, a.summary, a.from_sequence, a.to_sequence
FROM table_optimizing_process a
INNER JOIN table_identifier b ON a.table_id = b.table_id
WHERE a.catalog_name = 'glue'
AND a.db_name = 'xxx'
AND a.table_name = 'deprecated_table_version_1716357896'
AND b.catalog_name = 'glue'
AND b.db_name = 'xxx'
AND b.table_name = 'deprecated_table_version_1716357896'
ORDER BY process_id DESC;
XBaith
changed the title
[Improvement]: There is are slow SQL issues when querying the optimizing process
[Improvement]: There are slow SQL issues when querying the optimizing process
May 28, 2024
Search before asking
What would you like to be improved?
Improve query performance
When I execute the below SQL statement, it cost over 1min:
The execute plan is:
How should we improve?
Add indexes to avoid full table scans
Are you willing to submit PR?
Subtasks
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: