一、用如下语句找出sql到底是在哪里慢了 示例: SET STATISTICS io ON SET STATISTICS time ON go 你要测试的sql语句 select top 100 * from TBL_Cot_RecStaticList go SET STATISTICS profi ...
分类:
数据库 时间:
2020-09-17 17:34:16
阅读次数:
40
1、Java为什么属于编译型+解释型的高级语言? 这个编译器编译之后,生成的类文件不能直接在对应的平台上运行,而是通过JVM来翻译才能在对应的平台上运行,而这个翻译大多数时候是解释的过程,但是也会有编译,称之为运行时编译,即JIT(Just In Time)。综上所述,Java是一门编译型+解释型的 ...
分类:
编程语言 时间:
2020-09-17 17:31:23
阅读次数:
35
MySQL查看时区 show variables like '%time_zone%'; ...
分类:
数据库 时间:
2020-09-17 17:30:11
阅读次数:
28
Recently I was struggled with a customer incident and finally I realized that I didn’t understand the Edm.DateTime quite clearly. So I spend some time ...
分类:
其他好文 时间:
2020-09-17 17:05:10
阅读次数:
27
一、async函数 async 函数就是 Generator 函数的语法糖。 二、async函数的优点 async 函数对 Generator 函数的改进,体现在以下三点。 (1)内置执行器。async 函数的执行,与普通函数一模一样,只要一行。 var result = asyncReadFile ...
分类:
其他好文 时间:
2020-09-17 17:04:04
阅读次数:
28
java.lang.RuntimeException: com.mysql.cj.exceptions.InvalidConnectionAttributeException: The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or ...
分类:
数据库 时间:
2020-09-17 17:02:29
阅读次数:
51
import timeimport randomfrom threading import Thread,Eventdef connect_db(e): count = 0 while count<3: e.wait(1) #状态为false的时候,我只等待1s就结束 if e.is_set() = ...
分类:
编程语言 时间:
2020-09-17 17:01:57
阅读次数:
26
with_nested采用笛卡尔乘积方式,将多个嵌套列表中的元素交叉组合示例:创建多个目录及子目录mkdir-p/testdir/{a,b,c}/{1,2}ansible剧本如下:hosts:jack6_1remote_user:rootgather_facts:notasks:file:path:"/testdir"state:directoryfile:path:"
分类:
其他好文 时间:
2020-09-17 16:54:16
阅读次数:
24
同步模型: #include <stdio.h> #include <stdlib.h> #include <time.h> #include <pthread.h> #include <semaphore.h> //#define EXIT_SUCCESS 0 //#define EXIT_FAI ...
分类:
其他好文 时间:
2020-09-17 16:44:25
阅读次数:
26
Div3,享受俯冲的快感 A: 给两个整数$a$和$b$,你可以让$a \pm k (k \in [1, 10]) $,求最少操作次数。 签到题,直接给Code吧: /* ID: Loxilante Time: 2020/09/04 Prog: CF1409A Lang: cpp */ #ifdef ...
分类:
其他好文 时间:
2020-09-17 16:39:43
阅读次数:
24