1、查找排序最多的SQLSQL>SELECTHASH_VALUE,SQL_TEXT,SORTS,EXECUTIONSFROMV$SQLAREAORDERBYSORTSDESC;2、查找磁盘读写最多的SQLSQL>SELECT*FROM(SELECTsql_text,disk_reads"totaldisk",executions"totalexec",disk_reads/execut
分类:
数据库 时间:
2020-04-22 09:33:45
阅读次数:
119
soft/hard nofile(ulimit n H)(对应的配置文件:/etc/security/limits.conf) file max(/proc/sys/fs/file max) nr_open(/proc/sys/fs/nr_open) 参考文章:https://blog.csdn.n ...
分类:
系统相关 时间:
2020-04-20 21:28:22
阅读次数:
98
By Pixy https://stackoverflow.com/questions/24396644/programmatically-mount-a-microsoft-virtual-hard-drive-vhd This is an old question but it still ha ...
分类:
其他好文 时间:
2020-04-20 12:11:18
阅读次数:
69
reset 命令的三个参数对比 soft 参数 仅仅在本地库移动 HEAD 指针 mixed 参数 在本地库移动 HEAD 指针 重置暂存区 hard 参数 在本地库移动 HEAD 指针 重置暂存区 重置工作区 ...
分类:
其他好文 时间:
2020-04-18 18:47:47
阅读次数:
68
关于git的撤销 撤销add 撤销commit 根据commitId进行撤销 commit的撤销都伴随本地文件的直接删除 误删后,想要恢复本地文件,关键是找到原来的commitID,再使用git reset hard commitId 会记录关于commit的操作,包括commit, reset, ...
分类:
其他好文 时间:
2020-04-18 17:14:06
阅读次数:
60
This is the hard version of the problem. The difference is the constraint on the sum of lengths of strings and the number of test cases. You can make ...
分类:
编程语言 时间:
2020-04-18 14:10:40
阅读次数:
87
git fetch --all git reset --hard origin/master ...
分类:
其他好文 时间:
2020-04-17 20:27:11
阅读次数:
59
一:常用命令 git add 添加到缓存区 git commit -am " " 添加到本地仓库 git pull 从远程拉去代码到本地仓库 git push 推送代码到远程仓库. 二:图解 git reset --hard ...
分类:
其他好文 时间:
2020-04-17 15:49:32
阅读次数:
50
1、主从架构的核心原理 当启动一个slave node的时候,它会发送一个PSYNC命令给master node 如果这是slave node重新连接master node,那么master node仅仅会复制给slave部分缺少的数据; 否则如果是slave node第一次连接master nod ...
分类:
其他好文 时间:
2020-04-17 00:09:42
阅读次数:
71
一、集群服务器配置说明(整个过程中我会提前把一些小坑填上,有的坑后面没有提到) IP 节点名 OS Cores Memory Disk Remark 172.25.16.1 cdh1 CentOS7.5 40 128 4T cloudera Server、cloudera agent 172.25. ...
分类:
其他好文 时间:
2020-04-16 18:00:39
阅读次数:
332