oracle出现错误提示:ORA-28000: the account is locked。
2021-11-01出现错误提示:ORA-28000: the account is locked。 阅读全文...
#!/bin/bash – no such file or directory
2021-10-311、head -1 yourscript | od -c
0000000 # ! / b i n / b a s h \r \n 阅读全文...
mysql从ibd文件恢复数据
2021-10-30数据库冷备份无法启动,但是有无数个idb表文件 阅读全文...
fuser查询文件被哪个进程占用
2021-10-291、linux umount分区时候:
umount: /data4: target is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1)) 阅读全文...
zabbix MEMORY.UTIL.MAX
2021-10-28MEMORY.UTIL.MAX 90% 修改为95% 阅读全文...
mysq grant process
2021-10-28process权限是一个全局权限,不可以指定在某一个库上
grant process on *.* to test;
flush privileges; 阅读全文...
zabbix 每页显示行数
2021-10-27http://localhost/hosts.php每页显示50行,如果想修改为100行。 阅读全文...
redis批量删除 del key
2021-10-20export REDISCLI_AUTH=pass123
export IP=172.16.1.2
/usr/local/bin/redis-cli -c -h ${IP} -p 6379 –scan –pattern “pre*” | xargs /usr/local/bin/redis-cli -c -h ${IP} -p 6379 del 阅读全文...
presto for hadoop
2021-10-19Presto是Facebook开发的数据查询引擎,可对250PB以上的数据进行快速地交互式分析。 阅读全文...
beeline指定队列和参数
2021-10-14beeline指定队列和参数
beeline -u ‘jdbc:hive2://host:port?mapreduce.job.queuename=queue;spark.executor.instances=5;spark.executor.cores=1;spark.executor.memory=4G’ -n username; 阅读全文...
修改默认ElasticSearch集群的分片数限制
2021-10-13elasticsearch最大节点数_记录 Elasticsearch 的 maximum shards open 问题 阅读全文...
Oracle修改表table所属表空间tablespace
2021-10-13需要将部分表的所属表空间进行更改,目的清理表空间或整理用户所属表。 阅读全文...
oracle清理aud$
2021-10-08oracle记录审计记录的aud$表占用了很大的空间。 阅读全文...
windows cmd命令行切换utf8代码
2021-09-30通过 chcp命令改变代码页,UTF-8的代码页为65001 阅读全文...
sshd deny ip
2021-08-20#DenyUsers *@172.16.30.88
#DenyUsers *@192.168.169.134 阅读全文...