Oracle 12c
文章平均质量分 94
Dave
The important thing in life is to have a great aim and the determination to attain it !
展开
-
数据库基准测试(Database Benchmarking) 说明
1 TPC概述 对数据库和服务器进行压力测试或者做对比的时候,都是经常会使用HammerDB 或者 Benchmark之类的工具,而且最常用TPCC的标准进行测试。 这里说的TPCC,前3个字母是:TPC 是Transaction Processing Council(事务处理委员会),其提供了量化的方法和标准。 所以我们说的TPCC就是其中一种测试方法。 TPC的原创 2015-01-21 16:45:34 · 19698 阅读 · 0 评论 -
Oracle 12c CDB 和PDB 数据库的启动与关闭 说明
在Oracle 12c中,分CDB 和PDB,他们的启动和关闭操作整理如下。 1 Container Database (CDB) 对于CDB,启动和关闭与之前传统的方式一样,具体语法如下:STARTUP[NOMOUNT | MOUNT | RESTRICT | UPGRADE | FORCE | READ ONLY]SHUTDOWN[IMMEDIATE | ABORT] 要注意,在12c数据原创 2014-12-04 11:48:09 · 17063 阅读 · 1 评论 -
Oracle 12c RAC 搭建手册
1 共享设备配置1.1 设备划分说明 冗余策略 卷划分及大小说明 OCRVOTING Ocrvoting01 8G Ocrvoting02 8G Ocrvoting03 8G DATAFILE Data01 8G Data02 8G FRA_ARCH Fra01 8G Fra02 8G 我们这里OCRVO原创 2014-12-02 11:03:50 · 16139 阅读 · 1 评论 -
Oracle 12c Data Guard 搭建手册
Oracle 12c 的DataGuard 是在CDB 级别进行的,所以我们的配置都是从CDB角度出发。 测试里主备库的数据库CDB名称相同。 1 环境说明OS Version:[root@dave etc]# cat /etc/oracle-release Oracle Linux Server release 6.3[root@dave etc]# uname -r2.6.39-200.29原创 2014-12-02 10:17:53 · 14672 阅读 · 2 评论 -
linux 6.4 平台下 Oracle 12c 单实例 安装手册
一.准备工作 1.1 安装需要的RPM 包 binutils-2.20.51.0.2-5.11.el6 (x86_64)glibc-2.12-1.7.el6 (x86_64)libgcc-4.4.4-13.el6 (x86_64)libstdc++-4.4.4-13.el6 (x86_64)libaio-0.3.107-10.el6 (x86_64)libXext-1.1 (x86_64)libX原创 2014-11-29 15:54:32 · 5790 阅读 · 1 评论 -
Oracle 12c 基于ASM 的单实例 搭建手册
从Oracle 10g开始,Oracle 开始推广ASM的使用,到了11g,RAC 集群已经必须使用ASM,所以对ASM的掌握程度也决定RAC的运维水平,这篇Blog 演示 Oracle12c 基于ASM 的单实例的的环境搭建。 这样即可以玩12c 的ASM,又不需要起2个集群,从而方便学习。具体环境搭建步骤如下。 1 安装需要的RPM 包 binutils-2.20.51.0.2-5原创 2014-11-29 15:31:59 · 12814 阅读 · 0 评论 -
Oracle 12c RAC 中废弃的维护命令 crs_*
在Oracle 10g,11g的RAC中,我们常用crs_stat来监控RAC的运行状态。 但由于crs_stat 显示是不完整的,所以我们会对crs_stat 进行二次封装,让结果看起来更清爽一点。 如下图: 到了12c 的集群环境,crs_* 系列的命令还是存在的:[grid@12cAsm bin]$ pwd/u01/app/gr原创 2014-11-29 15:04:56 · 6941 阅读 · 0 评论 -
Oracle 12c RAC 移动MGMTDB 数据库 数据文件方法
注:本文谢绝转载! 在之前的Blog里介绍了Oracle12c RAC 中的MGMTDB的概念,参考: Oracle 12cRAC MGMTDB 说明http://blog.csdn.net/tianlesoftware/article/details/41804553 而在默认情况下,MGMTDB 的数据文件是存放在OCR voting disk的磁盘组里的,为了节省OCR 磁盘组空间,原创 2014-12-10 21:47:10 · 6604 阅读 · 1 评论 -
Oracle Enterprise Manager Cloud Control 12c 概述
在2011年Oracle 的OOW会议期间,Oracle 发布了Enterprise Manager Cloud Control 12c。 在Oracle Database 10g之前,即Oracle 9i版本中(我最早接触Oracle的版本,Oracle 8 没有用过),Oracle Enterprise Manager是一个GUI方式的管理框架,同样由Console,OMR,Agent三层体原创 2011-10-22 19:57:27 · 18697 阅读 · 0 评论 -
Oracle 12c 如何连接到 CDB 和 PDB
1 连接到CDB 和普通实例一样的连接。 指定ORACLE_SID 以后可以使用OS认证,也可以使用密码进行连接。 [oracle@Ora12c /]$ echo $ORACLE_SIDcndba[oracle@Ora12c /]$ sqlplus / as sysdba SQL*Plus: Release 12.1.0.1.0 Production onMon Apr 28 11:33:43原创 2014-12-05 09:51:19 · 15932 阅读 · 0 评论 -
Oracle 12c 配置和修改 CDB 和 PDB 参数
1 配置CDB 实例参数 配置CDB 的实例参数和普通实例一样,通过ALTER SYSTEM 即可设置初始化参数,一些数据库的配置可以使用ALTERDATABASE 命令。 连接上rootcontainer之后,可以使用alter system命令来修改,默认仅对root container有效,也就是当前的container。 下面2个命令作用相同: ALTER SYSTEM SET para原创 2014-12-08 10:54:54 · 7352 阅读 · 1 评论 -
Oracle 12c RAC MGMTDB 说明
注:本文谢绝转载。 1 MGMTDB 说明 在Oracle 12.1.0.1的Grid Infrastructure 的安装中,可以选择是否安装Grid Infrastructure Management Repository (GIMR) 数据库:MGMTDB. 如下图: 在Grid Infrastructure 12.1.0.2原创 2014-12-08 15:47:18 · 18369 阅读 · 0 评论 -
Oracle 12c RAC 集群使用 GNS 实现 SCAN
注:本文谢绝转载! 1 说明 在前面的Blog中,讲过RAC 中SCAN 的配置有三种方式:(1) /etc/hosts(2) DNS(3) GNS 具体链接如下:Oracle RAC 集群 SCAN 说明http://blog.csdn.net/tianlesoftware/article/details/42712979 Oracle 12c RAC 集群使用DNS 实现 SCANhttp原创 2015-01-21 16:32:45 · 19914 阅读 · 5 评论 -
Oracle 12.1.0.2 RAC bug the OS kernel parameter "panic_on_oops" is properly set
1 现象 安装12.1.0.2 的 RAC,检查报错: This is aprerequisite condition to test whether the OS kernel parameter "panic_on_oops"is properly set. OS KernelParameter: panic_on_oops - T原创 2015-01-21 14:25:32 · 20140 阅读 · 0 评论 -
Oracle 12c RAC 修改SCAN 配置
注:本文谢绝转载! 关于RAC 的SCAN 的理论说明,参考如下链接:Oracle RAC 集群 SCAN 说明http://blog.csdn.net/tianlesoftware/article/details/42712979 Oracle 12c RAC 集群使用DNS 实现 SCANhttp://blog.csdn.net/tianlesoftware/article/details/原创 2015-01-20 16:37:37 · 15394 阅读 · 0 评论 -
Oracle 12c RAC 集群使用DNS 实现 SCAN
注:本文谢绝转载! 1 说明 关于RAC 集群的SCAN 特性说明参考:Oracle RAC 集群 SCAN 说明http://blog.csdn.net/tianlesoftware/article/details/42712979 本文描述Oracle 12c RAC 集群使用DNS 实现SCAN. DNS 的配置工作,就是分配SCAN IP地址,并映射到一个域名上。 SCAN IP最多原创 2015-01-20 14:54:22 · 22106 阅读 · 3 评论 -
Oracle RAC 集群 SCAN 说明
1 SCAN 概述 之前有网友在我Blog 留言说我的RAC 搭建中没有写SCAN 配置,这个之前应该是有写过,但刚搜了一下,没找到,正好重新整理一下,并做下实验,实验就用Oracle 12c 进行测试。 在Oracle 11g 之前,我们去连接RAC 集群,都是配置如下的内容:dave_rac=(DESCRIPTION = (ADDRESS_LIST = (LOAD_BALANCE = y原创 2015-01-14 17:35:38 · 33055 阅读 · 0 评论 -
Oracle 12c Cluster Health Monitor 详解
注:本文谢绝转载! 1 CHM 概述 Cluster HealthMonitor 会通过OS API来收集操作系统的统计信息,如内存,swap 空间使用率,进程,IO 使用率,网络等相关的数据。 CHM 的信息收集是实时的,在11.2.0.3 之前是每1秒收集一次,在11.2.0.3 之后,改成每5秒收集一次数据,并保存在CHM 仓库中。 这个收集时间间隔不能手工修改。 CHM 的目的也是为了原创 2014-12-12 21:38:39 · 6174 阅读 · 0 评论 -
Oracle 12c RAC 替换 OCR 磁盘组操作步骤
注:本文谢绝转载! 为方便以后的测试,整了一套新的测试环境,600G PCIe 闪存卡+8核CPU+16G内存。 把整个虚拟机从我的电脑上直接copy 过去,网络什么都没问题,但是RAC 的共享设备是重新添加的。 这样之前旧的数据都不存在。 所以用脚本直接重建了OCR和Voting Disk,RAC 启动,没有问题,但是磁盘组出现错乱,Dave 有强迫症的倾向,所以重新重新添加了一个磁原创 2014-12-09 14:17:04 · 8253 阅读 · 0 评论 -
Oracle 12c CDB 和 PDB 表空间管理和配置 说明
注:本文谢绝转载。 1 管理CDB中的表空间 CDB表空间的管理和non-CDB 表空间的管理一样,CDB 也有一个实例,在安装的时候指定。 --查看表空间:SQL> select instance_name fromv$instance;INSTANCE_NAME----------------Cndba SQL> col file_name for a50SQL> selecttab原创 2014-12-09 09:53:10 · 13511 阅读 · 1 评论 -
Oracle 18c 单实例安装手册 详细截图版
1. 安装前准备工作1.1. 系统要求Linux下Oracle数据库安装的最低服务器配置要求: 系统要求 说明 内存 DB:至少少1G,建议大小8G。Grid:至少8G。 临时空间 /tmp目录中至少有1 GB的空间 Swap空间 1 GB~2 GB:内存的1.5倍2 GB~16 GB:与内存相同超过16 GB:16 GB注意:...原创 2018-08-27 23:25:30 · 12076 阅读 · 6 评论