一、引入还原段主要有3个目的: 1、事务回滚:主要是针对rollback语句起作用 2、事务恢复:非正常关闭数据库即非保留事务级关闭数据库(abort、immediate)或者数据库instance崩溃,则当数据库再次打开时oracle服务器就要还原所有没有提及的事务。这种还原就是事务恢复的一部.....
分类:
数据库 时间:
2014-07-14 00:49:40
阅读次数:
224
在openstack中,如果我们启动一个虚拟机,我们会看到非常复杂的参数 qemu-system-x86_64 -enable-kvm -name instance-00000024 -S -machine pc-i440fx-trusty,accel=kvm,usb=off -cpu SandyB...
分类:
其他好文 时间:
2014-07-14 00:04:00
阅读次数:
634
一、单例模式的C#实现:(1)使用double-checked locking的方式:public sealed class Singleton{ static Singleton instance = null; static readonly object padlock = new...
分类:
其他好文 时间:
2014-07-13 17:53:37
阅读次数:
263
和上一篇一样,首先看一下项目结构和jar包
web.xml
<web-app version="2.5"
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.su...
分类:
编程语言 时间:
2014-07-13 17:26:19
阅读次数:
336
依旧是项目结构图和所需jar包图:
显示配置文件hib-config.xml
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:aop="http://www.springframew...
分类:
编程语言 时间:
2014-07-13 17:08:32
阅读次数:
316
首先是项目和所需要的包截图:
修改xml文件:
<web-app version="2.5"
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/...
分类:
编程语言 时间:
2014-07-13 16:12:54
阅读次数:
266
NSStringInheritsfrom:NSObjectConformsto:NSObject,NSMutableCopying,NSSecureCoding,NSCopyingstringByTrimmingCharactersInSet: Returnsanewstringmadebyremovingfrombothendsofthereceivercharacterscontainedinagivencharacterset.-(NSString*)stringByTrimmingCharacters..
分类:
其他好文 时间:
2014-07-13 14:20:11
阅读次数:
149
配置文件如下。web.xml
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns...
分类:
Web程序 时间:
2014-07-12 16:38:21
阅读次数:
307
[grid@huntdb02~]$exportORACLE_SID=txzldb2
[grid@huntdb02~]$sqlplus"/assysasm"
SQL*Plus:Release11.2.0.3.0ProductiononWedJul915:07:552014
Copyright(c)1982,2011,Oracle.Allrightsreserved.
Connectedtoanidleinstance.
[root@huntdb02~]#crsstat
ResourceNameResource..
分类:
其他好文 时间:
2014-07-10 18:51:04
阅读次数:
267
1查询oracle版本select*fromv$version2oracle运行状态selectstatusfromv$instance;是RAC集群,可以使用CRS命令查看整个集群的实例运行状态:
su-oracle
crs_stat-t
分类:
数据库 时间:
2014-07-10 17:57:22
阅读次数:
433