1) The document describes upgrading an Oracle Grid Infrastructure installation from 12.1.0.1 to 12.1.0.2. There were issues with the rootupgrade script, but moving the ASM SPFILE location resolved it.
2) Key steps included running the Grid Infrastructure 12.1.0.2 installation, applying the PSU patch 19791375, and verifying the services started up successfully from the new Oracle home.
3) Applying the latest OPatch version 12.1.0.1.5 prior to installing the PSU is also documented.
RAC-Installing your First Cluster and DatabaseNikhil Kumar
RAC - Installing your First RAC
Abstract : Oracle Real Application Clusters have been one of the hottest technologies in the market since 2001 prior this is know OPS in 8i. Oracle has brought revolution in the field of database by enhancing RAC technologies in it each version. This presentation will give introduction of RAC and features introduced in each version of RAC. This presentation contains the demo of building Oracle clusterware from the scratch. Also we will discuss the new components and its features during installation. This presentation and demo will be done on version 11GR2. Which will be used as a base for our next presentation Viz. Upgradation of RAC 11GR2 to 12C RAC.
This presentation will give brief insight information of RAC infrastructure setup. Sometimes DBA doesn’t fully aware of prerequisite and verification steps that needs to perform before installing clusterware, So this session will cover thing to consider before installing clusterware and best practices followed during the whole process.
Agenda
Introduction of RAC
Installation of Clusterware.
Creating diskgroup / Adding disk to Diskgroup using ASMCA.
Creation of ACFS Volume.
Installation of RAC Database using DBCA.
RAC-Installing your First Cluster and DatabaseNikhil Kumar
RAC - Installing your First RAC
Abstract : Oracle Real Application Clusters have been one of the hottest technologies in the market since 2001 prior this is know OPS in 8i. Oracle has brought revolution in the field of database by enhancing RAC technologies in it each version. This presentation will give introduction of RAC and features introduced in each version of RAC. This presentation contains the demo of building Oracle clusterware from the scratch. Also we will discuss the new components and its features during installation. This presentation and demo will be done on version 11GR2. Which will be used as a base for our next presentation Viz. Upgradation of RAC 11GR2 to 12C RAC.
This presentation will give brief insight information of RAC infrastructure setup. Sometimes DBA doesn’t fully aware of prerequisite and verification steps that needs to perform before installing clusterware, So this session will cover thing to consider before installing clusterware and best practices followed during the whole process.
Agenda
Introduction of RAC
Installation of Clusterware.
Creating diskgroup / Adding disk to Diskgroup using ASMCA.
Creation of ACFS Volume.
Installation of RAC Database using DBCA.
This is a high level presentation I delivered at BIWA Summit. It's just some high level thoughts related to today's NoSQL and Hadoop SQL engines (not deeply technical).
A presentation about new features and enhancements related to indexes and indexing in Oracle 12c.
See also the related post: http://db-oriented.com/2015/07/03/indexes-and-indexing-in-oracle-12c
This presentation talks about the different ways of getting SQL Monitoring reports, reading them correctly, common issues with SQL Monitoring reports - and plenty of Oracle 12c-specific improvements!
Write Less (code) With More (Oracle Database 12c New Features)Oren Nakdimon
Oracle 12c introduced many new features that allow us developers to write less code than in previous releases, and become more efficient and productive.
Some features, such as Row Limiting and Lateral Inline Views, enhance the SQL language, so SQL statements can become much shorter and more readable than before.
Other features, such as Temporal Validity and In-Database Archiving, offer built-in functionality that previously had to be implemented by the application.
Attend this session to learn about several of these new features, and see many useful examples.
How to upgrade your application with no downtime (using edition-based redefin...Oren Nakdimon
Edition-Based Redefinition (EBR) is a powerful and fascinating feature of Oracle (added in version 11.2), that enables application upgrades with zero downtime, while the application is actively used and operational.
Join this presentation to learn how to use EBR, see many live examples, and get tips from real-life experience in a production site using EBR extensively.
Understanding Oracle RAC 12c Internals as presented during Oracle Open World 2013 with Mark Scardina.
This is part two of the Oracle RAC 12c "reindeer series" used for OOW13 Oracle RAC-related presentations.
Your tuning arsenal: AWR, ADDM, ASH, Metrics and AdvisorsJohn Kanagaraj
Oracle Database 10g brought in a slew of tuning and performance related tools and indeed a new way of dealing with performance issues. Even though 10g has been around for a while, many DBAs haven’t really used many of the new features, mostly because they are not well known or understood. In this Expert session, we will look past the slick demos of the new tuning and performance related tools and go “under the hood”. Using this knowledge, we will bypass the GUI and look at the views and counters that matter and quickly understand what they are saying. Tools covered include AWR, ADDM, ASH, Metrics, Tuning Advisors and their related views. Much of information about Oracle Database 10g presented in this paper has been adapted from my book and I acknowledge that with gratitude to my publisher - SAMS (Pearson).
Adjusting primitives for graph : SHORT REPORT / NOTESSubhajit Sahu
Graph algorithms, like PageRank Compressed Sparse Row (CSR) is an adjacency-list based graph representation that is
Multiply with different modes (map)
1. Performance of sequential execution based vs OpenMP based vector multiply.
2. Comparing various launch configs for CUDA based vector multiply.
Sum with different storage types (reduce)
1. Performance of vector element sum using float vs bfloat16 as the storage type.
Sum with different modes (reduce)
1. Performance of sequential execution based vs OpenMP based vector element sum.
2. Performance of memcpy vs in-place based CUDA based vector element sum.
3. Comparing various launch configs for CUDA based vector element sum (memcpy).
4. Comparing various launch configs for CUDA based vector element sum (in-place).
Sum with in-place strategies of CUDA mode (reduce)
1. Comparing various launch configs for CUDA based vector element sum (in-place).
Techniques to optimize the pagerank algorithm usually fall in two categories. One is to try reducing the work per iteration, and the other is to try reducing the number of iterations. These goals are often at odds with one another. Skipping computation on vertices which have already converged has the potential to save iteration time. Skipping in-identical vertices, with the same in-links, helps reduce duplicate computations and thus could help reduce iteration time. Road networks often have chains which can be short-circuited before pagerank computation to improve performance. Final ranks of chain nodes can be easily calculated. This could reduce both the iteration time, and the number of iterations. If a graph has no dangling nodes, pagerank of each strongly connected component can be computed in topological order. This could help reduce the iteration time, no. of iterations, and also enable multi-iteration concurrency in pagerank computation. The combination of all of the above methods is the STICD algorithm. [sticd] For dynamic graphs, unchanged components whose ranks are unaffected can be skipped altogether.
Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...Subhajit Sahu
Abstract — Levelwise PageRank is an alternative method of PageRank computation which decomposes the input graph into a directed acyclic block-graph of strongly connected components, and processes them in topological order, one level at a time. This enables calculation for ranks in a distributed fashion without per-iteration communication, unlike the standard method where all vertices are processed in each iteration. It however comes with a precondition of the absence of dead ends in the input graph. Here, the native non-distributed performance of Levelwise PageRank was compared against Monolithic PageRank on a CPU as well as a GPU. To ensure a fair comparison, Monolithic PageRank was also performed on a graph where vertices were split by components. Results indicate that Levelwise PageRank is about as fast as Monolithic PageRank on the CPU, but quite a bit slower on the GPU. Slowdown on the GPU is likely caused by a large submission of small workloads, and expected to be non-issue when the computation is performed on massive graphs.
Opendatabay - Open Data Marketplace.pptxOpendatabay
Opendatabay.com unlocks the power of data for everyone. Open Data Marketplace fosters a collaborative hub for data enthusiasts to explore, share, and contribute to a vast collection of datasets.
First ever open hub for data enthusiasts to collaborate and innovate. A platform to explore, share, and contribute to a vast collection of datasets. Through robust quality control and innovative technologies like blockchain verification, opendatabay ensures the authenticity and reliability of datasets, empowering users to make data-driven decisions with confidence. Leverage cutting-edge AI technologies to enhance the data exploration, analysis, and discovery experience.
From intelligent search and recommendations to automated data productisation and quotation, Opendatabay AI-driven features streamline the data workflow. Finding the data you need shouldn't be a complex. Opendatabay simplifies the data acquisition process with an intuitive interface and robust search tools. Effortlessly explore, discover, and access the data you need, allowing you to focus on extracting valuable insights. Opendatabay breaks new ground with a dedicated, AI-generated, synthetic datasets.
Leverage these privacy-preserving datasets for training and testing AI models without compromising sensitive information. Opendatabay prioritizes transparency by providing detailed metadata, provenance information, and usage guidelines for each dataset, ensuring users have a comprehensive understanding of the data they're working with. By leveraging a powerful combination of distributed ledger technology and rigorous third-party audits Opendatabay ensures the authenticity and reliability of every dataset. Security is at the core of Opendatabay. Marketplace implements stringent security measures, including encryption, access controls, and regular vulnerability assessments, to safeguard your data and protect your privacy.
3. $ ps -ef |grep grid
oracle 3281 1 0 11:34 ? 00:00:06 /u03/app/oracle/grid/12.1.0/bin/ohasd.bin reboot
oracle 4192 1 1 11:37 ? 00:00:28 /u03/app/oracle/grid/12.1.0/bin/oraagent.bin
oracle 4209 1 0 11:37 ? 00:00:00 /u03/app/oracle/grid/12.1.0/bin/evmd.bin
oracle 4215 1 0 11:37 ? 00:00:00 /u03/app/oracle/grid/12.1.0/bin/tnslsnr LISTENERASM
-no_crs_notify -inherit
oracle 4234 4209 0 11:38 ? 00:00:00 /u03/app/oracle/grid/12.1.0/bin/evmlogger.bin -o
/u03/app/oracle/grid/12.1.0/log/[HOSTNAME]/evmd/evmlogger.info -l
/u03/app/oracle/grid/12.1.0/log/[HOSTNAME]/evmd/evmlogger.log
oracle 4245 1 0 11:38 ? 00:00:02 /u03/app/oracle/grid/12.1.0/bin/cssdagent
oracle 4271 1 0 11:38 ? 00:00:00 /u03/app/oracle/grid/12.1.0/bin/ocssd.bin
Install and Upgrade 12.1.0.2 Grid Infrastructure
The 12.1.0.2 grid infrastructure software is downloaded from OTN and unzipped (“grid” directory).
You also see that I have the database software downloaded, as well as few patches (1979135 is PSU patch, 6880880 is
latest OPatch).
4. Start the installation by invoking OUI from the 12.1.0.2 media, grid directory.
Following are OUI screenshots and options chosen. Nothing specific to explain here…
Yes, Oracle install is that easy as click click click!
5.
6.
7.
8. Had some space warnings, ignored the errors as the current space is sufficient for what I use this VirtualBox for (only for
practicing and demo).
10. Click “Install” to begin the installation. After sometime, the popup to run rootupgrade.sh appears.
11. Ooops!! rootupgrade.sh failed. Fortunately it is a known issue.
Upgrading ASM Failed With ORA-32002: cannot create SPFILE (Doc ID 1912581.1)
SQL> show parameter spfile
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
spfile string /u03/app/oracle/grid/12.1.0/db
s/spfile+ASM.ora
SQL>
SQL> create pfile='/tmp/pfileASM.ora' from spfile;
File created.
SQL>
SQL> select name from v$asm_diskgroup;
NAME
------------------------------
ORADATA
SQL>
12. SQL> create spfile='+ORADATA' from pfile='/tmp/pfileASM.ora';
File created.
SQL>
$ srvctl config asm
ASM home: /u03/app/oracle/grid/12.1.0
Password file: /u03/app/oracle/grid/12.1.0/dbs/orapwASM
ASM listener: LISTENERASM
Spfile: +ORADATA/ASM/ASMPARAMETERFILE/registry.253.867764075
ASM diskgroup discovery string:
$
$ srvctl stop asm -f
$
$ srvctl start asm
$
SQL> show parameter spfile
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
spfile string +ORADATA/ASM/ASMPARAMETERFILE/
registry.253.867764075
SQL>
Try the rootupgrade.sh again…
14. Remember to adjust the environment configuration file (if you have one) with new Oracle home value.
Grid Infrastructure services are running from the new home…
$ ps -ef |grep grid
oracle 10491 1 1 13:41 ? 00:00:10 /d01/grid/12.1.0.2/bin/ohasd.bin reboot
oracle 10528 1 1 13:41 ? 00:00:10 /d01/grid/12.1.0.2/bin/oraagent.bin
oracle 10579 1 0 13:42 ? 00:00:05 /d01/grid/12.1.0.2/bin/evmd.bin
oracle 10592 1 0 13:42 ? 00:00:00 /d01/grid/12.1.0.2/bin/tnslsnr LISTENERASM -
no_crs_notify -inherit
oracle 10612 10579 0 13:42 ? 00:00:05 /d01/grid/12.1.0.2/bin/evmlogger.bin -o
/d01/grid/12.1.0.2/log/[HOSTNAME]/evmd/evmlogger.info -l
/d01/grid/12.1.0.2/log/[HOSTNAME]/evmd/evmlogger.log
oracle 10620 1 0 13:42 ? 00:00:05 /d01/grid/12.1.0.2/bin/cssdagent
oracle 10645 1 1 13:42 ? 00:00:05 /d01/grid/12.1.0.2/bin/ocssd.bin
ASM Instance is also running…
15. $ ps -ef |grep ASM
oracle 10592 1 0 13:42 ? 00:00:00 /d01/grid/12.1.0.2/bin/tnslsnr
LISTENERASM -no_crs_notify -inherit
oracle 10680 1 0 13:42 ? 00:00:00 asm_pmon_+ASM
oracle 10684 1 0 13:42 ? 00:00:00 asm_psp0_+ASM
oracle 10688 1 4 13:42 ? 00:00:27 asm_vktm_+ASM
oracle 10694 1 0 13:42 ? 00:00:01 asm_gen0_+ASM
oracle 10698 1 0 13:42 ? 00:00:00 asm_mman_+ASM
oracle 10706 1 0 13:42 ? 00:00:00 asm_diag_+ASM
oracle 10710 1 0 13:42 ? 00:00:00 asm_dia0_+ASM
oracle 10714 1 0 13:42 ? 00:00:00 asm_dbw0_+ASM
oracle 10718 1 0 13:42 ? 00:00:00 asm_lgwr_+ASM
oracle 10722 1 0 13:42 ? 00:00:00 asm_ckpt_+ASM
oracle 10726 1 0 13:42 ? 00:00:00 asm_smon_+ASM
oracle 10730 1 0 13:42 ? 00:00:00 asm_lreg_+ASM
oracle 10734 1 0 13:42 ? 00:00:00 asm_pxmn_+ASM
oracle 10738 1 0 13:42 ? 00:00:00 asm_rbal_+ASM
oracle 10742 1 0 13:42 ? 00:00:00 asm_gmon_+ASM
oracle 10746 1 0 13:42 ? 00:00:00 asm_mmon_+ASM
oracle 10750 1 0 13:42 ? 00:00:00 asm_mmnl_+ASM
oracle 10776 1 0 13:42 ? 00:00:00 oracle+ASM
(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
oracle 11660 7822 0 13:52 pts/3 00:00:00 grep ASM
$
Apply PSU – Oct 2014
Patch 19791375 - Combo of OJVM Component 12.1.0.2.1 DB PSU + GI PSU 12.1.0.2.1 (Oct2014)
Platform: Linux x86-64, Solaris SPARC, Solaris x86-64
Released: October 14, 2014
In this document Oracle Database Home refers to Enterprise Edition or Standard Edition Database software. GI refers to
Grid Infrastructure and PSU refers to Patch Set Update.
The GI System patch includes updates for both the Clusterware home and Database home.
This patch is not Oracle RAC Rolling installable.
Patch 6880880: OPatch patch of version 12.1.0.1.5 for Oracle software releases 12.1.0.x (OCT 2014)
First update OPatch with the latest version, download from MOS and unzip to GI Oracle Home.
16. Validate the Oracle Inventory for GI home.
$ cd OPatch
$ ./opatch lsinventory
Oracle Interim Patch Installer version 12.1.0.1.5
Copyright (c) 2014, Oracle Corporation. All rights reserved.
Oracle Home : /d01/grid/12.1.0.2
Central Inventory : /u03/app/oraInventory
from : /d01/grid/12.1.0.2/oraInst.loc
OPatch version : 12.1.0.1.5
OUI version : 12.1.0.2.0
Log file location : /d01/grid/12.1.0.2/cfgtoollogs/opatch/opatch2014-12-31_14-01-
42PM_1.log
Lsinventory Output file location :
/d01/grid/12.1.0.2/cfgtoollogs/opatch/lsinv/lsinventory2014-12-31_14-01-42PM.txt
--------------------------------------------------------------------------------
Installed Top-level Products (1):
Oracle Grid Infrastructure 12c 12.1.0.2.0
There are 1 products installed in this Oracle Home.
There are no Interim patches installed in this Oracle Home.
--------------------------------------------------------------------------------
OPatch succeeded.
$
Before applying the PSU, need to have the OCM response file created.
Now, apply the GI as root user.
[root@emcc ~]# export PATH=$PATH:/d01/grid/12.1.0.2/OPatch
[root@emcc ~]# opatchauto apply /media/sf_Orac12csw/19791375/19392646 -oh
/d01/grid/12.1.0.2 -ocmrf /tmp/ocm.rsp
17. Patch succeeded, and services brought up automatically by the opatchauto.
Hope this helps…!