08 2020 档案
摘要:Git: status 查看仓库当前状态 clone:克隆远程仓库到本地 Git支持多种协议,包括https,但通过ssh支持的原生git协议速度最快。 $ git clone git@192.168.0.8:zhangsan/test.git // 将一个远程的仓库克隆到本地 checkout 切
阅读全文
摘要:001 两数之和:map,一次遍历 class Solution { public int[] twoSum(int[] nums, int target) { Map<Integer, Integer> map = new HashMap<>(); for (int i = 0; i < nums
阅读全文
摘要:spring我直接说不会了 数据库:堆和栈的区别内存泄露、内存溢出、缓冲区溢出有什么区别进程间通信方式,他们之间的优缺点进程状态的变化事务:四个特性。mvcc索引数据库故障恢复或者事务回滚怎么保证数据一致性 怎么设计索引怎么保证通过undo redo日志恢复,数据库恢复时是怎么避免扫描全部日志的最左
阅读全文
摘要:部分内容转自:https://blog.csdn.net/ctwctw/article/details/105147277?utm_source=app
阅读全文
摘要:1. 记一次线上GC问题排查 dump 过程 -查询线上JAVA进程号 ps -ef | grep java -切换用户 sudo -iu sankuai -dump JAVA heap信息 jmap -dump:file=heap-12-09 {pid} -移动到tmp路径好传输到本地分析 mv
阅读全文