资讯

精准传达 • 有效沟通

从品牌网站建设到网络营销策划,从策略到执行的一站式服务

slow_launch_time和long_query_time-创新互联

1.slow_launch_time

创新互联专注为客户提供全方位的互联网综合服务,包含不限于做网站、网站建设、宾阳网络推广、微信小程序、宾阳网络营销、宾阳企业策划、宾阳品牌公关、搜索引擎seo、人物专访、企业宣传片、企业代运营等,从售前售中售后,我们都将竭诚为您服务,您的肯定,是我们大的嘉奖;创新互联为所有大学生创业者提供宾阳建站搭建服务,24小时服务热线:18982081108,官方网址:www.cdcxhl.com
Command-Line Format--slow_launch_time=#
System VariableNameslow_launch_time
Variable ScopeGlobal
Dynamic VariableYes
Permitted ValuesTypeinteger
Default2

If creating a thread takes longer than this many seconds, the server increments the Slow_launch_threadsstatus variable.

如果创建线程需要比slow_launch_time更多的时间,服务器会增加 Slow_launch_threads的状态变量。

 Slow_launch_threads

The number of threads that have taken more than slow_launch_time seconds to create.

创建时间超过slow_launch_time的线程个数。

2.long_query_time

Command-Line Format--long_query_time=#
System VariableNamelong_query_time
Variable ScopeGlobal, Session
Dynamic VariableYes
Permitted ValuesTypenumeric
Default10
Min Value0

If a query takes longer than this many seconds, the server increments the Slow_queries status variable. If the slow query log is enabled, the query is logged to the slow query log file. This value is measured in real time, not CPU time, so a query that is under the threshold on a lightly loaded system might be above the threshold on a heavily loaded one. The minimum and default values of long_query_time are 0 and 10, respectively. The value can be specified to a resolution of microseconds. For logging to a file, times are written including the microseconds part. For logging to tables, only integer times are written; the microseconds part is ignored.

如果查询需要比long_query_time更多的时间,服务器会增加slow_queries的状态变量。如果启用了慢查询日志,则查询将记录到慢查询日志文件中。此值是实时测量的,而不是中央处理器的时间,所以一个在轻负载系统的阈值下的查询可能会高于重负载的系统的阈值。最小值和默认值long_query_time分别为0和10。该值可以精确到微秒。如果记录到文件中,时间包括微秒部分。如果记录到表,只有整数部分;微秒部分被忽略。

Slow_queries

The number of queries that have taken more than long_query_time seconds. This counter increments regardless of whether the slow query log is enabled.

查询时间超过long_query_time 的查询数目,这个数值的增加与是否启动慢查询日志无关。

总结:从上面的内容可以看出,slow_launch_time和long_query_time虽然模样差不多,但是关系却没那么近。

另外有需要云服务器可以了解下创新互联scvps.cn,海内外云服务器15元起步,三天无理由+7*72小时售后在线,公司持有idc许可证,提供“云服务器、裸金属服务器、高防服务器、香港服务器、美国服务器、虚拟主机、免备案服务器”等云主机租用服务以及企业上云的综合解决方案,具有“安全稳定、简单易用、服务可用性高、性价比高”等特点与优势,专为企业上云打造定制,能够满足用户丰富、多元化的应用场景需求。


新闻名称:slow_launch_time和long_query_time-创新互联
标题链接:http://cdkjz.cn/article/deipij.html
多年建站经验

多一份参考,总有益处

联系快上网,免费获得专属《策划方案》及报价

咨询相关问题或预约面谈,可以通过以下方式与我们联系

大客户专线   成都:13518219792   座机:028-86922220