gpt4 book ai didi

Very slow snowsql (cli client) startup(snowsql(cli客户端)启动速度非常慢)

转载 作者:bug小助手 更新时间:2023-10-22 14:29:37 32 4
gpt4 key购买 nike



I'm facing a performance problem with snowsql cli client.
It's very slow to initialize.

我正面临snowsql-cli客户端的性能问题。初始化非常缓慢。


Printing the version takes over 6 seconds

打印版本需要6秒以上


$ time snowsql --version                                                                                                                                                                                                                                            
Version: 1.2.28
snowsql --version
0.71s user 0.25s system 14% cpu 6.425 tot

Any ideas what might be happening there.
Didn't touch the ~/snowsql/.config.

任何可能发生的事情的想法。没有触摸~/snowsql/.config。


MacOS 13.5.2 , M1 Max 64GB

MacOS 13.5.2,M1最大64GB


更多回答

seems to be related to local system. Your command is just to check snoqsql tool version which has nothing to do with the snowflake instance. Disconnect from wireless and try again/close all programs

似乎与本地系统有关。您的命令只是检查snoqsql工具版本,它与雪花实例无关。断开无线连接,然后重试/关闭所有程序

优秀答案推荐

I contacted the support and apparently it's a known issue under MacOS that

我联系了支持人员,显然这是MacOS下的一个已知问题



Yes, on Mac the SnowSQLstartup takes time as compared to Linux
machines, and below is the reason for the same.


On Linux for example the extract of an upgrade/install to
$HOME/.snowsql/ is done once and then all subsequent startup
discover and use it. On macOS, this extraction is performed, but the
runtime does not appear to use it exclusively as Linux does — it
extracts over and over every time into ephemeral tmp directories at
every invocation.



更多回答

32 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com