TSPITR恢复删除的表空间 表空间时间点恢复,是Oracle在基于冷备,热备恢复以外的一种以表空间为粒度的,不完全恢复的形式来将表空间恢复到过去某个特定的时间点的一种恢复方式。它整合了RMAN以及DataPump这2个备份恢复工具来实现时间点恢复。 TSPITR试用的场景 恢复单独的逻辑对象而不影响数据库的其他对象 可以恢复table到DDL操作之前,这是flashback table无法做到的 可以恢复 drop pur 2018-10-22 备份恢复 #Backup & Recovery #rman
Oracle的Central Inventory和Local inventory 每次我们安装Oracle的时候,oracle安装目录都会记录了软件安装的相关信息,oracle就是通过这些信息来确定这台主机上安装了哪些东西。 这些目录就被分为以下两种 Central Inventory (oraInventory) Local Inventory (Oracle Home inventory) Central Inventory 那什么是Central Inventory? 2018-10-20 Oracle
准确查询表空间使用情况 11g以前,一般查询表空间都是通过DBA_DATA_FILE和DBA_FREE_SPACE两个视图来查询。但从11g开始,如果你习惯看EM的话,会发现表空间使用率跟我们以前的sql查出来的结果有出入。这是因为EM采用了新的视图dba_tablespace_usage_metrics,针对自动扩展的表空间,得出来的结果就会不一样。 dba_tablespace_usage_metrics的used_ 2018-10-18 Oracle #scripts
Oracle Block Checksum 引入一段文档对于checksum的说明 A number calculated by the database from all the bytes stored in a data or redo block. If the DB_BLOCK_CHECKSUM initialization parameter is enabled, then the database calculates t 2018-10-10 Oracle #bbed #Internal
Pipelined Table Functions TABLE函数 table function是一个用户自定义的PL/SQL函数,它能返回一个结果集(关联数组、嵌套表),你能像查询普通表一样查询它,通过SELECT语句里的TABLE表达式 1SELECT * FROM TABLE(table_function_name(parameter_list)) table函数能将行的集合作为入参,也就是说它的入参可以是嵌套表、数组或者游标等,因此tabl 2018-10-04 PL/SQL
11gR2 Clusterware and Grid Home – What You Need to Know 这篇文章详细的介绍了11g clusterware整体结构,记录一下 DETAILS 11gR2 Clusterware Key Facts 11gR2 Clusterware is required to be up and running prior to installing a 11gR2 Real Application Clusters database. The GRID home 2018-09-27 Oracle #cluster
12cR2 使用 opatchauto 安装 GI PSU 测试环境: oracle 12.2.0.1 rac 2 nodes 环境配置: type homepath owner version shared GI /u01/app/12.2.0/grid grid 12.2.0.1 no DB1 /u01/app/oracle/product/12.2.0/dbhome_1 oracle 12.2.0.1 no DB2 /u01 2018-09-26 Oracle #12c #Patch
12c new features: OPatch Automation Tool – opatchauto 从12c开始,在集群GRID/RAC环境下,通过root用户使用opatchauto命令安装patch,11g 是opatch auto opatchauto能同时对GI集群打补丁,包括grid目录和db目录,能很简单的对单机或rac进行补丁操作。 支持的平台 Oracle Solaris on x86-64 (64-bit) Linux x86-64 Oracle Solaris on SPA 2018-09-24 12c新特性
Oracle Cluster Time Synchronization Service (CTSS) 以前我安装rac的同步都是用的ntp,后来oracle引入ctss,以下为官方介绍 The Cluster Time Synchronization Service (CTSS) is installed as part of Oracle Clusterware. By default the CTSS runs in observer mode if it detects a time sy 2018-09-23 Oracle #cluster
OEL7上配置dns服务 搭建rac的时候如果选择多个scan ip 则需要考虑配置dns server,多个虚拟机也可以考虑作为公用的dns服务器 安装相关packages 12345678910111213[root@xb ~]# yum install bind* -yLoaded plugins: refresh-packagekitSetting up Install ProcessResolving Depen 2018-09-22 Linux #dns