Shell去除空格和空行的方法

Posted by 夏泽民

一、去除空行的方法



route print netstat nr

Posted by 夏泽民

route print命令可以查看路由表,在dos下面输入route print 就可以了,如何读懂路由表 Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 202.256.257.1 202.256.257.258 1
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
202.256.257.0 255.255.255.0 202.256.257.258 202.256.257.258 1
202.256.257.258 255.255.255.255 127.0.0.1 127.0.0.1 1
202.256.257.255 255.255.255.255 202.256.257.258 202.256.257.258 1
224.0.0.0 224.0.0.0 202.256.257.258 202.256.257.258 1
255.255.255.255 255.255.255.255 202.256.257.258 202.256.257.258 1
Default Gateway: 202.256.257.1



roaring bitmap

Posted by 夏泽民

https://www.elastic.co/cn/blog/frame-of-reference-and-roaring-bitmaps



批量 Kill mysql processlist 进程

Posted by 夏泽民

https://www.cnblogs.com/bianxj/articles/9605067.html 如果大批量的操作能够通过一系列的select 语句产生,那么理论上就能对这些结果批量处理。



next-key lock

Posted by 夏泽民

其实innodb下的记录锁(也叫行锁),间隙锁,next-key锁统统属于排他锁。 行锁 记录锁其实很好理解,对表中的记录加锁,叫做记录锁,简称行锁。 用间隙锁,在RR级别下,mysql通过间隙锁可以实现锁定number=5之前的间隙,number=5记录之间的间隙,number=5之后的间隙,从而使的新的记录无法被插入进来。



Search

Popular posts

Anything in here will be replaced on browsers that support the canvas element

Recent posts

This blog is maintained by 夏泽民

Get in touch with me at 465474307@qq.com

Subscribe to our mailing list

* indicates required