摘要:
--使用内存的各对象 SELECT type, sum(virtual_memory_reserved_kb) as VM_Reserved, sum(virtual_memory_committed_kb) as VM_Committed, sum(awe_allocated_kb) as AWE 阅读全文
摘要:
会话可以捕获所有执行的SQL语句,但是这样捕获的数据量太大,所以要进行一些筛选。比如账号,DB,影响行数。 查询的结果建议插入实体表,万一SSMS会话出现问题,零时表数据消失,还得重新查询,时间太久了。 row_count 是整个存储的插入查询总数 EventTime是SQL执行完成时的时间点, d 阅读全文
摘要:
Zebra在打印一些特殊的字符时,会出异常。 在要打印的字符串前加 ^FH 然后将字符换成 ASCii编码或utf-8编码的16进制,在前面加_,如D094写成_DO_94 查看字符的编码 http://www.mytju.com/classcode/tools/encode_utf8.asp 参考 阅读全文
摘要:
import re #匹配通用字符 #\w 任意字母/数字/下划线 #\W 和小写w相反 #\d 十进制数字 #\D 除了十进制数以外的值 #\s 空白字符 #\S 非空白字符 #匹配数字.英文.中文 #数字[0-9] #英文[a-z][A-Z] #中文[\u4e00-\u9fa5] #元字符 # 阅读全文
摘要:
Nuget导入包 共用类 using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; usin 阅读全文
摘要:
Nuget获取包 配置文件 <?xml version="1.0" encoding="utf-8" ?> <nlog xmlns= "http://www.nlog-project.org/schemas/NLog.xsd" xmlns:xsi= "http://www.w3.org/2001/X 阅读全文
摘要:
https://www.ctolib.com/topics-74406.html 阅读全文
摘要:
[旧]System V init 初始化进程服务(service 与 chkconfig命令) 启动/停止/重启服务service [servicename] [start|stop|restart]重新加载服务配置文件(不重启服务)service [servicename] [reload]查看服 阅读全文
摘要:
#安装 wget http://dev.mysql.com/get/mysql57-community-release-el7-11.noarch.rpm yum -y install mysql57-community-release-el7-11.noarch.rpm yum install mysql-community-server #获取临时密码 grep "passwo... 阅读全文
摘要:
show global variables like "%datadir%" 阅读全文