2015年10月15日
摘要:
Achivelog ============================ alter system set db_recovery_file_dest='F:\ORACLE\recovery_area' scope=both; alter system set db_recovery_file_dest_size=100G scope=both; Select big tab...
阅读全文
posted @ 2015-10-15 11:24
思静
阅读(186)
推荐(0)
摘要:
http://allthingsoracle.com/rolling-forward-a-physical-standby-database-using-the-recover-command/ 当主数据库和备用数据库之间存在相当大的差异时,你不再需要复杂的前滚流程来填补它们之间的差异。 oracle 12c RMAN能够通过网络执行备用恢复以进行增量备份,并且可以将它们应用到物理备用数据库...
阅读全文
posted @ 2015-10-15 10:00
思静
阅读(300)
推荐(0)
2015年8月17日
摘要:
在客户端(如WEB服务器),设置环境变量即可,如: NLS_DATE_FORMAT YYYY-MM-DD HH24:MI:SS 在程序处执行会影响后续SQL性能 ALTER SESSION SET NLS_DATE_FORMAT="DD/MM/YYYY HH24:MI:SS"
阅读全文
posted @ 2015-08-17 11:46
思静
阅读(2014)
推荐(0)
2015年8月10日
摘要:
@set LogDir=D:\Log for /f "skip=10" %%i in ('dir %LogDir%\apache-access-*.log /tc /o-d /b') do del %LogDir%\%%i
阅读全文
posted @ 2015-08-10 17:47
思静
阅读(236)
推荐(0)
2015年5月28日
摘要:
批处理警惕等号前面的空格, 不然赋不了值 set aa=dd set aa = dd
阅读全文
posted @ 2015-05-28 12:03
思静
阅读(214)
推荐(0)
2015年5月26日
摘要:
启动时出现以下报错信息: SQL> startup; ORA-48146: missing read, write, or exec permission on directory during ADR initi alization [D:\app\oracle\diag\rdbms\orcl] [0] ORA-48187: specified directory does n...
阅读全文
posted @ 2015-05-26 15:18
思静
阅读(670)
推荐(0)
2015年5月5日
摘要:
httpd -k install -n "Apache"
阅读全文
posted @ 2015-05-05 16:24
思静
阅读(171)
推荐(0)
2015年4月1日
摘要:
$("tr.tr_data").hover(function(){ $(this).find('.fa-close').show(); }, function(){ $(this).find('.fa-close').hide(); } ); ...
阅读全文
posted @ 2015-04-01 18:08
思静
阅读(258)
推荐(0)
2015年3月30日
摘要:
@echo %date%
@Set Year=%date:~10,4%
@Set Month=%date:~4,2%
@Set Day=%date:~7,2% @Set CurrentDate=%Year%_%Month%_%Day% @set BaseDir=D:\temp
echo %CurrentDate% rem 删除%BaseDir% 下的子目录,除了 %CurrentDa...
阅读全文
posted @ 2015-03-30 14:09
思静
阅读(273)
推荐(0)
摘要:
merge into users a
using temp_users b
on (a.userid = b.user_id)
when matched then update set a.password = bb.password, a.name = b.name
when not matched then insert (a.name, a.pass...
阅读全文
posted @ 2015-03-30 10:47
思静
阅读(127)
推荐(0)