行到水穷处,坐看云起时
发布时间:2015-06-09 15:34:57
alter table tableName | add {index|key} [index_name] [index_type] (index_col_name,...) [index_option] ... algorithm [=] {default | inplace | copy} lock [=] {default | none | shared | exclusive}innodb_online_alter_log_max_size:innodb实现online ddl在执行创建或者删除的时候,.........【阅读全文】
发布时间:2015-06-09 10:04:55
mysql -hlocalhost -uroot -ppassword launcher -s -e "show processlist" | awk '{if(index($3,":") > 0){total[substr($3,0,(index($3,":"))-1)]+=1}else{total[$3]+=1}}END{for (a in total)print a,total[a]}'......【阅读全文】
发布时间:2015-06-09 09:41:21
转自:http://blog.csdn.net/red10057/article/details/8051650刚刚学习 SHELL 写了一个简单的例子 发生如下错误-bash: ./test.sh: /bin/bash^M: bad interpreter: No such file or directory VI打开文件,没发现任何问题,把/bin/bash改成/bin/sh-bash: ./test.sh: /bin/sh^M: bad interpret.........【阅读全文】