You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@kyuubi.apache.org by "SGITLOGIN (via GitHub)" <gi...@apache.org> on 2024/11/07 02:14:57 UTC
[I] [Bug] DataGrip executes refresh command slowly [kyuubi]
SGITLOGIN opened a new issue, #6797:
URL: https://github.com/apache/kyuubi/issues/6797
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
### Search before asking
- [X] I have searched in the [issues](https://github.com/apache/kyuubi/issues?q=is%3Aissue) and found no similar issues.
### Describe the bug
When DataGrip executes refresh, I see that the following operations have been performed, mainly table list operations and table columns operations are time-consuming. Currently, my test results show that it takes four minutes to complete refresh.
Operations:
Routine list in database
Table list in database
Table columns in database
Keys in database.table
<img width="414" alt="image" src="https://github.com/user-attachments/assets/bc280284-0905-42d7-81f9-b91418e74bde">
<img width="433" alt="image" src="https://github.com/user-attachments/assets/1855fccf-051d-4954-bd74-bc25c28abc21">
<img width="407" alt="image" src="https://github.com/user-attachments/assets/76cdd446-7c30-48b2-b156-2de9551b1e60">
<img width="445" alt="image" src="https://github.com/user-attachments/assets/bd05cd16-6a0c-4ce1-8f68-3dc0d2d8e644">
<img width="588" alt="image" src="https://github.com/user-attachments/assets/d9d06ec8-412d-4d4a-bae1-6b75c3466df6">
### Affects Version(s)
1.10.0
### Kyuubi Server Log Output
_No response_
### Kyuubi Engine Log Output
_No response_
### Kyuubi Server Configurations
_No response_
### Kyuubi Engine Configurations
```yaml
spark.master yarn
spark.yarn.queue default
spark.executor.cores 1
spark.driver.memory 3g
spark.executor.memory 3g
spark.dynamicAllocation.enabled true
spark.dynamicAllocation.shuffleTracking.enabled true
spark.dynamicAllocation.minExecutors 1
spark.dynamicAllocation.maxExecutors 10
spark.dynamicAllocation.initialExecutors 1
spark.cleaner.periodicGC.interval 5min
```
### Additional context
_No response_
### Are you willing to submit PR?
- [ ] Yes. I would be willing to submit a PR with guidance from the Kyuubi community to fix.
- [ ] No. I cannot submit a PR at this time.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org
Re: [I] [Bug] DataGrip executes refresh command slowly [kyuubi]
Posted by "pan3793 (via GitHub)" <gi...@apache.org>.
pan3793 commented on issue #6797:
URL: https://github.com/apache/kyuubi/issues/6797#issuecomment-2498016075
Looks like DBeaver is smarter in this case, it lazily loads the table list when user expands the database, but DataGrip just fetches the full databases and tables eagerly, this would produce tons of HMS calls when database and table numbers are large, it would be slow even with enabling optimization introduced in https://github.com/apache/kyuubi/pull/6018, in that case, we can do further optimization by parallelizing the table listing under each database
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org