admin管理员组文章数量:1352192
I'm trying to read large 60M rows delta table from Databricks to Oracle using SQL Warehouse API with disposition=EXTERNAL_LINKS option, JSON_ARRAY format (with pl/sql). As far as I can see the API divides source dataset into JSON chunks of size about of 20Mb and for my table it's ~ 170 chunks. To decrease the data I've removed all unnecessary columns already (like audit fields, IDs, etc.)
So to read the data I have to perform steps like below:
- Read whole table and get next chunk internal link- 1 POST request
- Go in the loop into each chunk to get external link - 170 POST requests
- Get the data frim external link - 170 GET requests
So eventually the amount of requests becomes a bottleneck and it takes 20+ minutes to read whole table, which doesn't fulfil our existing requirements.
Hence my question is whether it's possible to avoid chunking by some additional option adding and read whole file using external link in one go? Or maybe some other possible actions to improve the performance for this use case?
Thank you in advance!
本文标签: Databricks sql api chunks read performanceStack Overflow
版权声明:本文标题:Databricks sql api chunks read performance - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1743846382a2549195.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论