2019年4月1日

linux selinux

摘要: 临时关闭: [root@localhost ~]# getenforce Enforcing [root@localhost ~]# setenforce 0[root@localhost ~]# getenforcePermissive 永久关闭: [root@localhost ~]# vim 阅读全文

posted @ 2019-04-01 11:35 joeshang 阅读(88) 评论(0) 推荐(0) 编辑

2019年3月25日

linux find/vi复制粘贴

摘要: ################ vim多行删除1.首先在命令模式下,输入“:set nu”显示行号; 2.通过行号确定你要删除的行; 3.命令输入“:32,65d”,回车键,32-65行就被删除了,很快捷吧如果无意中删除错了,可以使用‘u’键恢复(命令模式下) vim光标所在位置显示竖线(对齐文本 阅读全文

posted @ 2019-03-25 10:18 joeshang 阅读(276) 评论(0) 推荐(0) 编辑

2019年3月21日

01-oracle限定查询-20190404

摘要: 关系型数据库和半结构化数据(xml文件) oracle12c:c代表云计算 PDB,CDB sql语句执行顺序: 第一步:from子句控制数据来源; 第二步:where子句使用限定符对数据行过滤; 第三步:select子句确定要显示的数据列; 第四步:order by 最后执行。 #sqlplus中 阅读全文

posted @ 2019-03-21 21:21 joeshang 阅读(282) 评论(0) 推荐(0) 编辑

2019年3月10日

awk

摘要: awk -F 如不指定字段分隔符,awk的默认字段分隔符为任意空白字符,包括制表符、空格符、换行符等。 [oracle@aaar trace]$ sed -n '/error/p' alert_aaa.log |awk '{print $1}'FatalTnsFatalTnsFatalTnsFata 阅读全文

posted @ 2019-03-10 18:00 joeshang 阅读(124) 评论(0) 推荐(0) 编辑

2019年3月9日

sed

摘要: sed -e 4a\testfour text #在test文件第四行的下一行插入testfour [oracle@aaaserver ~]$ sed -e 4a\testfour testonetwothreefourtestfourfivesix [oracle@aaaserver ~]$ se 阅读全文

posted @ 2019-03-09 21:48 joeshang 阅读(158) 评论(0) 推荐(0) 编辑

2019年3月7日

windows删除指定日期前的文件

摘要: @ echo offforfiles /p .\ /s /m 2008*.* /d -7 /c "cmd /c echo @file>>.\del.txt"forfiles /p .\ /s /m 2008*.* /d -7 /c "cmd /c del @path"pause /p 指定目录 .\ 阅读全文

posted @ 2019-03-07 01:57 joeshang 阅读(4981) 评论(0) 推荐(1) 编辑

2019年3月6日

win10 sshsecureshellclient删除profile保存的信息

摘要: C:\Users\joe\AppData\Roaming\SSH 阅读全文

posted @ 2019-03-06 23:32 joeshang 阅读(532) 评论(0) 推荐(0) 编辑

2019年3月5日

oracle partition

该文被密码保护。 阅读全文

posted @ 2019-03-05 12:05 joeshang 阅读(8) 评论(0) 推荐(0) 编辑

2019年3月2日

impdp参数TABLE_EXISTS_ACTION

摘要: [转自:http://space.itpub.net/519536/viewspace-631445] 当使用IMPDP完成数据库导入时,如遇到表已存在时,Oracle提供给我们如下四种处理方式:a.忽略(SKIP,默认行为);b.在原有数据基础上继续增加(APPEND);c.先DROP表,然后创建 阅读全文

posted @ 2019-03-02 09:25 joeshang 阅读(2198) 评论(0) 推荐(0) 编辑

Thread 1 cannot allocate new log, sequence 187398

摘要: 报错信息: Thread 1 cannot allocate new log, sequence 187398Checkpoint not complete 处理方法: 查看REDO日志组 select group#,member from v$logfile; select group#,sequ 阅读全文

posted @ 2019-03-02 01:34 joeshang 阅读(352) 评论(0) 推荐(0) 编辑

导航