Source Database
DB Name: zwc
Schemas: HR,OE,PM
Version: 10.2.0.4
RAC: No
OS Version: Red Hat Enterprise Linux Server release 5.9 x86_64
OGG...
分类:
数据库 时间:
2014-06-18 12:09:56
阅读次数:
617
linux下Oracle11g RAC搭建(八)
七、安装oracle软件
直接在图形界面里安装oracle,在node1操作
在虚拟机界面中,直接切换到oracle用户下:
[grid@node1 grid]$
su – oracle
[oracle@node1 ~]$
cd /soft/database
[oracle@node1 d...
分类:
数据库 时间:
2014-06-18 06:49:31
阅读次数:
283
ALTER TABLE语句:ALTER TABLEsql-statement ::= ALTER TABLE [database-name .] table-name alterationalteration ::= RENAME TO new-table-namealteration ::= .....
分类:
数据库 时间:
2014-06-18 00:21:55
阅读次数:
277
Prepare 10g Database for OGG
Create GGS and GGS_MON Database Users
SQL> create tablespace ggs_tbs datafile '/u01/app/oracle/oradata/zwc/gg_tbs01.dbf' size 100M;
Tablespace created.
SQL> cr...
分类:
数据库 时间:
2014-06-17 22:24:12
阅读次数:
334
rman备份脚本
#! /bin/bash
su - oracle
rman target /
backup AS COMPRESSED BACKUPSET
database
include current controlfile format'/orabak/db_%d_%T_%s'
plus archivelog format'/orabak/a...
分类:
系统相关 时间:
2014-06-17 19:33:13
阅读次数:
348
实验环境:
源端:
Ip:192.168.40.10
DataBase:Oracle 11.2.0.1.0 ORCL
OS:OEL5.6
OGG:fbo_ggs_Linux_x86_ora11g_32bit
目标端:
Ip:192.168.40.128
DataBase:10.2.0.1.0 ORCL
OS:OEL5.6
OGG:fbo_ggs_Linux_x86_ora11...
分类:
数据库 时间:
2014-06-17 16:41:54
阅读次数:
325
使用copy函数打印容器(container)元素本文地址: http://blog.csdn.net/caroline_wendyC++可以使用copy函数输出容器(container)中的元素, 可以代替for循环.头文件: #include #include 格式: std::copy(cont.begin(), cont.end(),std::ostream_iterator(std::c...
分类:
编程语言 时间:
2014-06-17 16:40:32
阅读次数:
446
python中有一个模块copy,deepcopy函数用于深拷贝,copy函数用于浅拷贝。
引用
#import copy
a=[1,2,3,4,[1,2]]
b=a
a
print id(a)
b
print id(b)
我们可以发现,id(a)=id(b),即b是a的引用。
浅拷贝
浅拷贝由copy模块中的copy()函数实现,简单地说,copy.copy 浅拷贝 只拷贝父对...
分类:
编程语言 时间:
2014-06-17 16:17:09
阅读次数:
309
复制容器(container)的元素至另一个容器本文地址: http://blog.csdn.net/caroline_wendyC++复制容器(container)元素, 可以使用标准库(STL)的copy()和copy_n()函数.函数样式: OutputIterator copy (InputIterator first, InputIterator last, OutputIterator...
分类:
编程语言 时间:
2014-06-17 16:06:13
阅读次数:
333