简体   繁体   English

如何在 Snowflake 中同时运行查询

[英]How can I run queries concurrently in Snowflake

How can i run some set a select queries in snowflake concurrently.我如何同时在雪花中运行一些设置选择查询。 When i write query and running it it runs one by one, but i want all the query to start at same time..当我编写查询并运行它时,它会一一运行,但我希望所有查询同时开始..

Can anybody help me on this.任何人都可以帮助我。 Thanks in advance Regards Saswati.提前致谢 萨斯瓦蒂。

There are multiple ways to do this, some of them are:有多种方法可以做到这一点,其中一些是:

  • Create a TASK for each query and schedule for the same time为每个查询创建一个TASK并安排在同一时间
  • Use an external tool (eg ETL tool) capable of running multiple queries in parallel使用能够并行运行多个查询的外部工具(例如 ETL 工具)
  • Write a script (eg Python) using eg threading使用例如线程编写脚本(例如 Python)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM