a instanceof
b:1,首先a不是对象,返回false,b的原型不是对象抛出TypeError2,取得b的prototype标记为bp,对a的原型链做循环,令ap为当前原型,如果ap与bp指向同一个对象,则返回turec=[]c
instanceof Arraytruec instance...
分类:
Web程序 时间:
2014-06-06 21:37:44
阅读次数:
558
rsnc remote sync
远程同步安装包:rsync-3.0.6-4.el5_7.1.x86_64.rpm rpm -ivh
rsync-3.0.6-4.el5_7.1.x86_64.rpm 本地模式只需要安装rsync即可:rsync -av /secbox /backup
备份到本地rs...
分类:
系统相关 时间:
2014-06-06 15:07:58
阅读次数:
416
(一) 前言:
通过vmware workstation 走iscsi协议,安装RAC 集群架构,DBCA 时不能识别ASM 共享存储(按理来说这一版都是权限的问题)。同时,本想通过RMAN 做单实例 --> 迁移 -->RAC, 单在创建ASM共享存储spfile参数文件时,一直报错,但是涉及的crs 服务,grid,oracle 权限都存在。
(二) 报错信息:
SQL>...
分类:
数据库 时间:
2014-06-04 14:12:08
阅读次数:
529
applicationContext.xml<?xmlversion="1.0"encoding="UTF-8"?>
<beansxmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:context="http:..
分类:
编程语言 时间:
2014-06-04 12:51:48
阅读次数:
476
redis cluster practice1. create three instance
folder: 9001,9002,9003,folder name as redis instance port2.Store configuration
files redis-server, redi...
分类:
其他好文 时间:
2014-06-03 17:02:51
阅读次数:
474
One of the most important use-case in any cloud
is provisioning a VM . In this article we shall do a walk through about an
instance(VM) being provisio...
分类:
其他好文 时间:
2014-06-03 15:04:09
阅读次数:
444
Scope defines where in a program a variable is accessible. Ruby has four types of variable scope, local, global, instance and class....
分类:
其他好文 时间:
2014-06-02 10:37:39
阅读次数:
241
11gRAC更改归档模式ASM
本实验有两个节点tip01,tip02
oracle_sid分别是tips1,tips2
1.在节点1tip01上执行
[root@tip01~]#su-grid
[grid@tip01~]$sqlplus/assysasm
SQL>selectnamefromv$asm_diskgroup;
NAME
------------------------------
DATA
OCR
SQL>alterdisk..
分类:
其他好文 时间:
2014-06-02 04:14:14
阅读次数:
310
连接Oracle11GR2ASM实例
开始连接ASM时候,效仿10G的方法却怎么都连接不到ASM
连接的都是idle实例
[root@tip02~]#su-oracle
[oracle@tip02~]$exportORACLE_SID=+ASM2
[oracle@tip02~]$sqlplus/assysdba
SQL*Plus:Release11.2.0.3.0ProductiononWedMay1618:23:392012
Copyri..
分类:
数据库 时间:
2014-06-02 04:02:29
阅读次数:
314
asm初始化创建ASM磁盘组失败
[root@dga01~]#oracleasmcreatediskOCR/dev/sde1
Writingdiskheader:done
Instantiatingdisk:failed
Clearingdiskheader:done
开始以为是asm配置错误,于是重新初始化ASM
[root@dga01~]#/etc/init.d/oracleasmconfigure-i
ConfiguringtheOracl..
分类:
系统相关 时间:
2014-06-02 03:22:50
阅读次数:
1462