Welcome to TiddlyWiki created by Jeremy Ruston, Copyright © 2007 UnaMesa Association
http://www.cyberciti.biz/tips/what-is-devshm-and-its-practical-usage.html
http://superuser.com/questions/45342/when-should-i-use-dev-shm-and-when-should-i-use-tmp
http://download.oracle.com/docs/cd/B28359_01/server.111/b32009/appi_vlm.htm
tanel mentioned he used it as a persistent storage when he was doing a migration on this one database because it needs to do fast writes so he put the redo log on the /dev/shm.. this is dangerous because when the server crash then you have to do a restore/recover.. data residing in /dev/shm is not persistent on OS reboot..
http://rnm1978.wordpress.com/2011/02/02/instrumenting-obiee-for-tracing-oracle-db-calls/
http://rnm1978.wordpress.com/2010/01/26/identify-your-users-by-setting-client-id-in-oracle/
http://www.oracle-base.com/articles/10g/SQLTrace10046TrcsessAndTkprof10g.php
http://www.oracle-base.com/articles/10g/PerformanceTuningEnhancements10g.php
http://method-r.com/software/mrtools
http://method-r.com/component/content/article/115 <-- mrls
http://method-r.com/component/content/article/116 <-- mrnl
http://method-r.com/component/content/article/117 <-- mrskew
http://appsdba.com/docs/orcl_event_6340.html <-- trace file event timeline
http://www.appsdba.com/blog/?category_name=oracle-dba&paged=2
http://www.appsdba.com/blog/?p=109 <-- trace file execution tree
http://appsdba.com/utilities_resource.htm
11g
http://structureddata.org/2011/08/18/creating-optimizer-trace-files/?utm_source=rss&utm_medium=rss&utm_campaign=creating-optimizer-trace-files
Examining the Oracle Database 10053 Trace Event Dump File
http://www.databasejournal.com/features/oracle/article.php/3894901/article.htm
Don Seiler
http://seilerwerks.wordpress.com/2007/08/17/dr-statslove-or-how-i-learned-to-stop-guessing-and-love-the-10053-trace/
-- this will hog your server's memory in no time
{{{
select count(*) from dual connect by 1=1;
}}}
http://goo.gl/2U3H3
http://apex.oracle.com/pls/apex/f?p=44785:24:0:::24:P24_CONTENT_ID,P24_PREV_PAGE:4679,1
http://www.pythian.com/news/26003/rdbms-online-patching/
http://goo.gl/mNnaD
''quick step by step'' https://support.oracle.com/CSP/main/article?cmd=show&type=ATT&id=443529.1:Steps&inline=1
How to Build a Testcase for Oracle Data Server Support to Reproduce ORA-600 and ORA-7445 Errors (Doc ID 232963.1)
{{{
Use ADRCI or SWB steps to create IPS packages
ADRCI
1. Enter ADRCI
# Adrci
2 shows the existence of the ADR home
adrci> show home
4 Setting ADR home
adrci> set home
5 shows all the problems
adrci> show problem
6 show all events
adrci> show incident
7 diagnostic information packed event
adrci> ips pack incident <incident id>
SWB
1 Log in to Enterprise Manager
2 Click the link 'support workbench'
3 Select 'all active' problem
4 Click the 'problem id' to view the corresponding event
5 Select the appropriate event
6 Click the 'quick package'
7 Enter the package name, description, choose whether to upload to oracle support
8 See the information package
9. Select the 'immediate' create the package, and click the button 'submit'
<br /> For more information, please read the following note for more information.
Note 422893.1 - 11g Understanding Automatic Diagnostic Repository.
Note 1091653.1 - "11g Quick Steps - How to create an IPS package using Support Workbench" [Video]
Note 443529.1 - 11g Quick Steps to Package and Send Critical Error Diagnostic Information to Support [Video]
}}}
''installers''
{{{
Oracle Enterprise Manager Grid Control for Linux x86-64
http://download.oracle.com/otn/linux/oem/1110/GridControl_11.1.0.1.0_Linux_x86-64_1of3.zip
http://download.oracle.com/otn/linux/oem/1110/GridControl_11.1.0.1.0_Linux_x86-64_2of3.zip
http://download.oracle.com/otn/linux/oem/1110/GridControl_11.1.0.1.0_Linux_x86-64_3of3.zip
Agent Software for 64-bit Platforms
http://download.oracle.com/otn/linux/oem/1110/Linux_x86_64_Grid_Control_agent_download_11_1_0_1_0.zip
Oracle WebLogic Server 11gR1 (10.3.2) - Package Installer
http://download.oracle.com/otn/nt/middleware/11g/wls/wls1032_generic.jar
}}}
http://www.oracle.com/technetwork/oem/grid-control/downloads/index.html
http://www.oracle.com/technetwork/middleware/ias/downloads/wls-main-097127.html
http://www.oracle.com/technetwork/oem/grid-control/downloads/linuxx8664soft-085949.html
http://www.oracle.com/technetwork/oem/grid-control/downloads/agentsoft-090381.html
http://www.oracle-base.com/articles/11g/GridControl11gR1InstallationOnOEL5.php
http://ocpdba.wordpress.com/2010/05/28/enterprise-manager-11g-installation/
http://gavinsoorma.com/2010/04/11g-enterprise-manager-grid-control-installation-overview/
http://ivan.kartik.sk/oracle/install_ora11gR1_elinux.html
http://www.masterschema.com/2010/04/install-enterprise-manager-grid-control-11g-release-1/
http://blogs.griddba.com/2010/05/enterprise-manger-grid-control-11g.html
Also check out the [[EnterpriseManagerMetalink]]
11g : Active Database Duplication
Doc ID: Note:568034.1
-- DATABASE REPLAY
Oracle Database Replay Client Provisioning - Platform Download Matrix
Doc ID: 815567.1
How To Find Database Replay Divergence Details [ID 1388309.1]
Oracle Database 11g: Interactive Quick Reference http://goo.gl/rQejT
{{{
New Products Installed in 11g:
------------------------------
1) Oracle APEX
**- Installed by default
2) Oracle Warehouse Builder
**- Installed by default
3) Oracle Configuration Manager
- Offered, not installed by default
two options:
connected mode
disconnected mode
4) SQL Developer
- Installed by default with template-based database installations
- It is also installed with database client
5) Database Vault
- Installed by default (OPTIONAL component - custom installation)
Changes in Install Options:
---------------------------
1) Oracle Configuration Manager
- Starting 11g, Integrated with OUI (OPTIONAL component)
2) Oracle Data Mining
- Selected on Enterprise Edition Installation type
3) Oracle Database Vault
- Starting 11g, Integrated with OUI (OPTIONAL component - custom installation)
4) Oracle HTTP Server
- Starting 11g, Available on separate media
5) Oracle Ultra Search
- Starting 11g, Integrated with the Oracle Database
6) Oracle XML DB
- Starting 11g, Installed by default
New Parameters:
---------------
MEMORY_TARGET
DIAGNOSTIC_DEST
New in ASM:
-----------
Automatic Storage Management Fast Mirror Resync
see: Oracle Database Storage Administrator's Guide
SYSASM privilege
OSASM group
New Directories:
----------------
ADR_base/diag <-- automatic diagnostic repository
Deprecated Components:
----------------------
iSQL*Plus
Oracle Workflow
Oracle Data Mining Scoring Engine
Oracle Enterprise Manager Java Console
Overview of Installation:
-------------------------
CSS (Cluster Synchronization Services) does the synchronization between ASM and database instance
for RAC, resides on Clusterware Home
for Single Node-Single System, resides on home directory of ASM instance
Automatic Storage Management
can be used starting 10.1.0.3 or later
also, if you are 11.1 then you could use ASM from 10.1
Database Management Options:
either you use:
1) Enterprise Manager Grid Control
Oracle Management Repository & Service --> Install Management Agent on each computer
2) Local Database Control
Upgrading the database using RHEL 2.1 OS
www.oracle.com/technology/tech/linux/pdf/rhel_23_upgrade.pdf
Preinstallation:
----------------
1) Logging In to the System as root
2) Checking the Hardware Requirements
**NEW-parameters:
memory_max_target
memory_target
3) Checking the Software Requirements
# Operating System Requirements
# Kernel Requirements
# Package Requirements
rpm -qa | grep -i "binutils"
rpm -qa | grep -i "compat-libstdc++"
rpm -qa | grep -i "elfutils-libelf"
rpm -qa | grep -i "elfutils-libelf-devel"
rpm -qa | grep -i "glibc"
rpm -qa | grep -i "glibc-common"
rpm -qa | grep -i "glibc-devel"
rpm -qa | grep -i "gcc"
rpm -qa | grep -i "gcc-c++"
rpm -qa | grep -i "libaio"
rpm -qa | grep -i "libaio-devel"
rpm -qa | grep -i "libgcc"
rpm -qa | grep -i "libstdc++"
rpm -qa | grep -i "libstdc++-devel"
rpm -qa | grep -i "make"
rpm -qa | grep -i "sysstat"
rpm -qa | grep -i "unixODBC"
rpm -qa | grep -i "unixODBC-devel"
NOT DISCOVERED:
rpm -qa | grep -i "elfutils-libelf-devel"
dep: elfutils-libelf-devel-static-0.125-3.el5.i386.rpm
rpm -qa | grep -i "libaio-devel"
rpm -qa | grep -i "sysstat"
rpm -qa | grep -i "unixODBC"
rpm -qa | grep -i "unixODBC-devel"
# Compiler Requirements
# Additional Software Requirements
4) Preinstallation Requirements for Oracle Configuration Manager
5) Checking the Network Setup
# Configuring Name Resolution
# Installing on DHCP Computers
# Installing on Multihomed Computers
# Installing on Computers with Multiple Aliases
# Installing on Non-Networked Computers
6) Creating Required Operating System Groups and Users
**NEW-group:
OSASM group...which has a usual name of "ASMADMIN"
this group is for ASM storage administrators
groupadd oinstall
groupadd dba
groupadd oper
groupadd asmadmin
useradd -g oinstall -G dba,oper,asmadmin oracle
7) Configuring Kernel Parameters
in /etc/sysctl.conf
# Controls the maximum shared segment size, in bytes
kernel.shmmax = 4294967295
# Controls the maximum number of shared memory segments, in pages
kernel.shmall = 268435456
fs.file-max = 102552
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default = 4194304
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 262144
to increase shell limits:
in /etc/security/limits.conf
oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536
in /etc/pam.d/login
session required /lib/security/pam_limits.so
session required pam_limits.so
in /etc/profile
if [ $USER = "oracle" ]; then
if [ $SHELL = "/bin/ksh" ]; then
ulimit -p 16384
ulimit -n 65536
else
ulimit -u 16384 -n 65536
fi
fi
8) Identifying Required Software Directories
9) Identifying or Creating an Oracle Base Directory
root@localhost ~]# mkdir -p /u01/app
[root@localhost ~]# chown -R oracle:oinstall /u01/app
[root@localhost ~]# chmod -R 775 /u01/app
10) Choosing a Storage Option for Oracle Database and Recovery Files
11) Creating Directories for Oracle Database or Recovery Files
[root@localhost oracle]# mkdir flash_recovery_area
[root@localhost oracle]# chown oracle:oinstall flash_recovery_area/
[root@localhost oracle]# chmod 775 flash_recovery_area/
12) Preparing Disk Groups for an Automatic Storage Management Installation
13) Stopping Existing Oracle Processes
14) Configuring the oracle User's Environment
umask 022
export ORACLE_HOME=/u01/app/oracle/product/11.1.0/db_1
export ORACLE_BASE=/u01/app/oracle
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
export ORACLE_SID=ora11
PATH=$ORACLE_HOME/bin:$PATH
}}}
http://www.oracle-base.com/articles/11g/ACFS_11gR2.php
ACFS Technical Overview and Deployment Guide [ID 948187.1] ''<-- ACFS now supports RMAN, DataPump on 11.2.0.3 above... BTW, it does not support archivelogs… You still have to have the FRA diskgroup to put your archivelogs/redo. At least you can have the ACFS as container of backupsets and data pump files''
''update''
11.2.0.3 now supports almost everything
http://docs.oracle.com/cd/E11882_01/server.112/e18951/asmfilesystem.htm#CACJFGCD
Starting with Oracle Automatic Storage Management 11g Release 2 (11.2.0.3), Oracle ACFS supports RMAN backups (BACKUPSET file type), archive logs (ARCHIVELOG file type), and Data Pump dumpsets (DUMPSET file type). Note that Oracle ACFS snapshots are not supported with these files.
How To Install/Reinstall Or Deinstall ACFS Modules/Installation Manually? [ID 1371067.1]
http://www.oracle-base.com/articles/11g/DBFS_11gR2.php
http://ronnyegner.wordpress.com/2009/10/08/the-oracle-database-file-system-dbfs/
http://www.pythian.com/news/17849/chopt-utility/
http://perumal.org/enabling-and-disabling-database-options/
http://juliandyke.wordpress.com/2010/10/06/oracle-11-2-0-2-requires-multicasting-on-the-interconnect/
http://dbastreet.com/blog/?p=515
http://blog.ronnyegner-consulting.de/oracle-11g-release-2-install-guide/
Interesting observation about 15sec Top Activity graph
http://oracleprof.blogspot.com/2010/07/oem-performance-tab-and-active-session.html
http://www.evernote.com/shard/s48/sh/1a9c1779-94ec-4e5a-a26f-ba92ea08988e/3bb10603e76f4fb346d7df4328882dcd
Also check out this thread at oracle-l for options on 10GbE on V2 http://www.freelists.org/post/oracle-l/Exadata-V2-Compute-Node-10GigE-PCI-card-installation
— Oracle Mix - Oracle OpenWorld and Oracle Develop Suggest-a-Session
https://mix.oracle.com/oow10/faq
https://mix.oracle.com/oow10/streams
http://blogs.oracle.com/oracleopenworld/2010/06/missed_the_call_for_papers_dea.html
http://blogs.oracle.com/datawarehousing/2010/06/openworld_suggest-a-session_vo.html
http://structureddata.org/2010/07/13/oracle-openworld-2010-the-oracle-real-world-performance-group/
http://kevinclosson.wordpress.com/2010/08/26/whats-really-happening-at-openworld-2010/
BI
http://www.rittmanmead.com/2010/09/03/rittman-mead-at-oracle-openworld-2010-san-francisco/
OCW 2010 photos by Karl Arao
http://www.flickr.com/photos/kylehailey/sets/72157625025196338/
Oracle Closed World 2010
http://www.flickr.com/photos/kylehailey/sets/72157625018583630/
-- scheduler builder username is karlara0
https://oracleus.wingateweb.com/scheduler/login.jsp
Volunteer geek work at RACSIG 9-10am Wed, Oct5
http://en.wikibooks.org/wiki/RAC_Attack_-_Oracle_Cluster_Database_at_Home/Events
my notes ... http://www.evernote.com/shard/s48/sh/6591ce43-e00f-4b5c-ad12-b1f1547183a7/2a146737c4bfb7dab7453ba0bcdb4677
''bloggers meetup''
http://blogs.portrix-systems.de/brost/good-morning-san-francisco-5k-partner-fun-run/
http://dbakevlar.com/2011/10/oracle-open-world-2011-followup/
making use of smart scan made the run times faster, cpu on a lower utilization, + can accommodate more databases
http://www.evernote.com/shard/s48/sh/b1f43d49-1bcd-4319-b274-19a91cf338ac/f9f554d2d03b3f20db591d5e68392cbf
{{{
How To Avoid ORA-04030/ORA-12500 In 32 Bit Windows Environment
Doc ID: Note:373602.1
How to convert a 32-bit database to 64-bit database on Linux?
Doc ID: Note:341880.1
-- PAE/AWE
Some relief may be obtained by setting the /3GB flag as well as the /PAE flag in Oracle. This at least assures that up to 2 GB of memory is available for the Large Pool,
the Shared Pool, the PGA, and all user threads, after the AWE_WINDOW_SIZE parameter is taken into account. However, Microsoft recommends that the /3GB flag not be set if
the /AWE flag is set. This is due to the fact that the total amount of RAM accessible for ALL purposes is limited to 16 GB if the /3GB flag is set. RAM above 16 GB simply
�disappears� from the view of the OS. For PowerEdge 6850 servers that can support up to 64 GB of RAM, a limitation to only 16 GB of RAM is unacceptable.
As noted previously, the model used for extended memory access under a 32-bit Operating System entails a substantial performance penalty. However, with a 64-bit OS, a flat linear model for memory used, with no need for PAE to access memory above 4 GB. Improved performance will be experienced for database SGA sizes greater than 3 GB, due to elimination of PAE overhead.
MAXIMUM OF 4 GB OF ADDRESSABLE MEMORY FOR THE 32 BIT ARCHITECTURE. THIS IS A MAXIMUM PER PROCESS. THAT IS, EACH PROCESS MAY ALLOCATE UP TO 4 GB OF MEMORY
2GB for OS
2GB for USER THREADS
1st workaround on 4GB limit:
- To expand the total memory used by Oracle above 2 GB, the /3GB flag may be set in the boot.ini file.
With the /3GB flag set, only 1 GB is used for the OS, and 3 GB is available for all user threads, including the Oracle SGA.
2nd workaround on 4GB limit:
- use the PAE, Intel 32-bit processors such as the Xeon processor support PAGING ADDRESS EXTENSIONS for large memory support
MS Windows 2000 and 2003 support PAE through ADDRESS WINDOWING EXTENSIONS (AWE). PAE/AWE may be enabled by setting the /PAE flag in the boot.ini file.
The �USE_INDIRECT_BUFFERS=TRUE� parameter must also be set in the Oracle initialization file. In addition, the DB_BLOCK_BUFFERS parameter must be used
instead of the DB_CACHE parameter in the Oracle initialization file. With this method, Windows 2000 Server and Windows Server 2003 versions can support
up to 8 GB of total memory.
Windows Advanced Server and Data Center versions support up to 64 GB of addressable memory with PAE/AWE.
- One limitation of AWE is that only the Data Buffer component of the SGA may be placed in extended memory. Threads for other
SGA components such as the Shared Pool and the Large Pool, as well as the PGA and all Oracle user sessions must still fit inside
a relatively small memory area. THERE IS AN AWE_WINDOW_SIZE REGISTRY KEY PARAMETER THAT IS USED TO SET THE SIZE OF A KIND OF �SWAP� AREA IN THE SGA. <-- swap area in SGA
This �swap� area is used for mapping data blocks in upper memory to a lower memory location. By default,
this takes an additional 1 GB of low memory. This leaves only 2 GB of memory for everything other than the Buffer cache, assuming
the /3GB flag is set. If the /3GB flag is not set, only 1 GB of memory is available for the non-Buffer Cache components.
- Note that the maximum addressable memory was limited to 16 GB of RAM
Some relief may be obtained by setting the /3GB flag as well as the /PAE flag in Oracle. This at least assures that up to 2 GB of memory is available
for the Large Pool, the Shared Pool, the PGA, and all user threads, after the AWE_WINDOW_SIZE parameter is taken into account. However, Microsoft
recommends that the /3GB flag not be set if the /AWE flag is set. This is due to the fact that the total amount of RAM accessible for ALL purposes
is limited to 16 GB if the /3GB flag is set. RAM ABOVE 16 GB SIMPLY �DISAPPEARS� FROM THE VIEW OF THE OS. For PowerEdge 6850 servers that can support
up to 64 GB of RAM, a limitation to only 16 GB of RAM is unacceptable.
This will give you (/3GB is set):
3-4GB for Buffer Cache
1GB for the swap area
2GB for everything other than the Buffer Cache
1GB for OS
This will give you (/3GB is not set):
3-4GB for Buffer Cache
1GB for the swap area
1GB for everything other than the Buffer Cache
2GB for OS
- Performance Tuning Corporation Benchmark:
This will give you (/3GB is set):
11GB for Buffer Cache
.75GB for the swap area (AWE_MEMORY_WINDOW..minimum size that allowed the database to start)
2.25GB for everything other than the Buffer Cache
1GB for OS
This will give you (/3GB is not set):
11GB for Buffer Cache
.75GB for the swap area (AWE_MEMORY_WINDOW..minimum size that allowed the database to start)
1.25GB for everything other than the Buffer Cache
2GB for OS
}}}
Using Large Pages for Oracle on Windows 64-bit (ORA_LPENABLE) http://blog.ronnyegner-consulting.de/2010/10/19/using-large-pages-for-oracle-on-windows-64-bit-ora_lpenable/
http://karlarao.wordpress.com/2009/12/31/50-sql-performance-optimization-scenarios/
{{{
ORACLE SQL Performance Optimization Series (1)
1. The types of ORACLE optimizer
2. The way to visit Table
3. Shared SQL statement
ORACLE SQL Performance Optimization Series (2)
4. Select the table name of the most efficient order (only in the effective rule-based optimizer)
5. WHERE clause in the order of the connections
6. SELECT clause to avoid using ‘*’
7. Access to the database to reduce the number of
ORACLE SQL Performance Optimization Series (3)
8. Using the DECODE function to reduce the processing time
9. Integration of simple, non-associated database access
10. Remove duplicate records
11. Alternative DELETE with TRUNCATE
12. As much as possible the use of COMMIT
ORACLE SQL Performance Optimization Series (4)
13. Calculate the number of records
14. Where clause with the HAVING clause to replace
15. To reduce the query table
16. Through an internal function to improve SQL efficiency
ORACLE SQL Performance Optimization Series (5)
17. Use the table alias (Alias)
18. Replace IN with EXISTS
19. Replace NOT IN with NOT EXISTS
ORACLE SQL performance optimization Series (6)
20. Connect with the table to replace EXISTS
21. Replace DISTINCT with EXISTS
22. Recognition ‘inefficient implementation of the’ in SQL statements
23. Use TKPROF tool to query SQL Performance Status
ORACLE SQL Performance Optimization Series (7)
24. Analysis of SQL statements with EXPLAIN PLAN
ORACLE SQL Performance Optimization Series (8)
25. With the index to improve efficiency
26. Operation index
ORACLE SQL Performance Optimization Series (9)
27. The choice of the basis of the table
28. Number of equal index
29. Comparing and scope of the comparison equation
30. The index level is not clear
ORACLE SQL Performance Optimization Series (10)
31. Force index failure
32. Avoid the use of columns in the index calculation.
33. Auto Select Index
34. Avoid the use of NOT in the index column
35. With “= substitute”
ORACLE SQL Performance Optimization Series (11)
36. UNION replaced with the OR (for the index column)
37. To replace the OR with the IN
38. Avoid the use of columns in the index IS NULL and IS NOT NULL
ORACLE SQL Performance Optimization Series (12)
39. Always use the first column index
40. ORACLE internal operations
41. With the UNION-ALL replaced UNION (if possible)
42. Usage Tips (Hints)
ORACLE SQL Performance Optimization Series (13)
43. WHERE replaced with ORDER BY
44. Avoid changing the index of the column type
45. Need to be careful of the WHERE clause
ORACLE SQL Performance Optimization Series (14)
46. Connect multiple scan
47. CBO to use a more selective index of
48. Avoid the use of resource-intensive operations
49. GROUP BY Optimization
50. Use Date
51. Use explicit cursor (CURSORs)
52. Optimization EXPORT and IMPORT
53. Separate tables and indexes
ORACLE SQL Performance Optimization Series (15)
EXISTS / NOT EXISTS must be better than IN / NOT IN the efficiency of high?
ORACLE SQL Performance Optimization Series (16)
I used the view of how query results are wrong?
ORACLE SQL Performance Optimization Series (17)
Page Which writing efficient SQL?
ORACLE SQL Performance Optimization Series (18)
COUNT (rowid) / COUNT (pk) the efficiency of high?
ORACLE SQL Performance Optimization Series (19)
ORACLE data type implicit conversions
ORACLE SQL Performance Optimization Series (20)
The use of INDEX should pay attention to the three questions
ORACLE Tips (HINT) use (Part 1) (21)
ORACLE Tips (HINT) use (Part 2) (22)
Analysis of function-based index (Part 1) (23)
Analysis of function-based index (Part 2) (24)
How to achieve efficient paging query (25)
ORACLE achieved in the SELECT TOP N method (26)
}}}
Average Active Sessions (AAS) is a metric of the database load. This value should not go above the CPU count, if it does then that means the database is working very hard or waiting a lot for something.
''The AAS & CPU count is used as a yardstick for a possible performance problem (I suggest reading Kyle's stuff about this):''
{{{
if AAS < 1
-- Database is not blocked
AAS ~= 0
-- Database basically idle
-- Problems are in the APP not DB
AAS < # of CPUs
-- CPU available
-- Database is probably not blocked
-- Are any single sessions 100% active?
AAS > # of CPUs
-- Could have performance problems
AAS >> # of CPUS
-- There is a bottleneck
}}}
''AAS Formula''
--
{{{
* AAS is either dbtime/elapsed
* or count/samples
* in the case of dba_hist_ count is count*10 since they only write out 1/10 samples (19751*10)/600 = 329.18
}}}
This Tiddler will show you a new interesting metric included in the performance graph of Enterprise Manager 11g.. which is the ''CPU Wait'' or ''CPU + CPU Wait''
a little background..
I've done an IO test with the intention of bringing the system down to its knees and characterizing the IO performance on that level of stress. That time I want to know the IO performance of my R&D server http://www.facebook.com/photo.php?pid=5272015&l=d5f2be4166&id=552113028 (which I intend to run lots of VMs) having 8GB memory, IntelCore2Quad Q9500 & 5 x 1TB short stroked disk (on the outer 100GB area) and I was able to built from it an LVM stripe that produced about 900+ IOPS & 300+ MB/s on my ''Orion'' and ''dbms_resource_manager.calibrate_io'' runs and validated those numbers against the database I created by actually running ''256 parallel sessions'' doing SELECT * on a 300GB table http://goo.gl/PYYyH (the same disks are used but as ASM disks on the next 100GB area - short stroked).
I'll start off by showing you how AAS is computed.. Then detail on how it is being graphed and show you the behavior of AAS on IO and CPU bound workload..
The tools I used for graphing the AAS:
* Enterprise Manager 11g
** both the real time and historical graphs
* ASH Viewer by Alexander Kardapolov http://j.mp/dNidrB
** this tool samples from the ASH itself and graphs it.. so it allows me to check the correctness and compare it with the ''real time'' graph of Enterprise Manager
* MS Excel and awr_topevents.sql
** this tool samples from the DBA_HIST views and graphs it.. so it allows me to check the correctness and compare it with the ''historical'' graph of Enterprise Manager
Let's get started..
!
! How AAS is computed
AAS is the abstraction of database load and you can get it by the following means...
!!!! 1) From ASH
<<<
[img[picturename| https://lh5.googleusercontent.com/_F2x5WXOJ6Q8/TZtyRXwwiOI/AAAAAAAABLA/BYOUYtXO1Vo/AASFromASH.png]]
<<<
!!!! 2) From DBA_HIST_ACTIVE_SESS_HISTORY
* In the case of DBA_HIST_ ''sample count'' is sample count*10 since they only write out 1/10 samples
<<<
[img[picturename| https://lh4.googleusercontent.com/_F2x5WXOJ6Q8/TZtyRcp7m_I/AAAAAAAABLI/sLqztbLY3Mw/AASFromDBA_HIST.png]]
<<<
!!!! 3) From the AWR Top Events
* The Top Events section unions the output of ''dba_hist_system_event'' (all the events) and the ''CPU'' from time model (''dba_hist_sys_time_model'') and then filter only the ''top 5'' and do this across the SNAP_IDs
** To get the ''high level AAS'' you have to divide DB Time / Elapsed Time
** To get the ''AAS for the Top Events'', you have to divide the ''time'' (from event or cpu) by ''elapsed time''
* You can see below that we are having ''the same'' AAS numbers compared to the ASH reports
<<<
[img[picturename| https://lh3.googleusercontent.com/_F2x5WXOJ6Q8/TZtyRdPqm3I/AAAAAAAABLE/o23FMIG1yeQ/AASFromAWRTop.png]]
<<<
!
! How AAS is being graphed
I have a dedicated blog post on this topic.. http://karlarao.wordpress.com/2010/07/25/graphing-the-aas-with-perfsheet-a-la-enterprise-manager/
So we already know how we get the AAS, and how is it graphed.. ''so what's my issue?''
''Remember I mentioned this on the blog post above.. ?''
<<<
"So what’s the effect? mm… on a high CPU activity period you’ll notice that there will be a higher AAS on the Top Activity Page compared to Performance Page. Simply because ASH samples every second and it does that quickly on every active session (the only way to see CPU usage realtime) while the time model CPU although it updates quicker (5secs I think) than v$sysstat “CPU used by this session” there could still be some lag time and it will still be based on Time Statistics (one of two ways to calculate AAS) which could be affected by averages."
<<<
I'll expound on that with test cases included.. ''see below!''
!
! AAS behavior on an IO bound load
* This is the graph of an IO bound load using ASH Viewer, this will be similar to the graph you will see on ''real time'' view of the Enterprise Manager 11g
<<<
[img[picturename| https://lh3.googleusercontent.com/_F2x5WXOJ6Q8/TZ9Cp2Kc8aI/AAAAAAAABN0/1konJAJZMUo/highio-3.png]]
[img[picturename| https://lh4.googleusercontent.com/_F2x5WXOJ6Q8/TZt3yMWQUCI/AAAAAAAABLM/8d-I2RqvF3I/AASIObound.png]]
<<<
* This is the graph of the same workload using MS Excel and the script awr_topevents.sql, this will be the similar graph you will see on the ''historical'' view of the Enterprise Manager 11g
<<<
[img[picturename| https://lh6.googleusercontent.com/_F2x5WXOJ6Q8/TZ9FJ6cXxRI/AAAAAAAABN4/eWRs8SQd0ws/highio-4.png]]
<<<
As you can see from the images above and the numbers below.. the database is doing a lot of ''direct path read'' and we don't have a high load average. Although when you look at the OS statistics, from this IO intensive workload you will see high IO WAIT from the CPU.
Looking at the data below from AWR and ASH.. ''we see no discrepancies''.. now, let's compare this to the workload below where the database server is CPU bound and has a really high load average.
''AAS Data from AWR''
<<<
[img[picturename| https://lh4.googleusercontent.com/_F2x5WXOJ6Q8/TZ8-nKFw2pI/AAAAAAAABNk/oozsoEgnmeE/highio-1.png]]
<<<
''AAS Data from ASH''
<<<
[img[picturename| https://lh6.googleusercontent.com/_F2x5WXOJ6Q8/TZ8-nFhmP7I/AAAAAAAABNo/x5kIF-HuhnY/highio-2.png]]
<<<
!
! AAS behavior on a CPU bound load
This is the Enterprise Manager 11g graph of a CPU bound load
<<<
[img[picturename| https://lh5.googleusercontent.com/_F2x5WXOJ6Q8/TZt8ZxUeEUI/AAAAAAAABLY/gmclSmutRVg/AASCPUbound.png]]
<<<
This is the ASH Viewer graph of a CPU bound load
* The dark green color you see below (18:30 - 22:00) is actually the ''CPU Wait'' metric that you are seeing on the Enterprise Manager graph above
* The light green color on the end part of the graph (22:00) is the ''Scheduler wait - resmgr: cpu quantum''
* The small hump on the 16:30-17:30 time frame is the IO bound load test case
<<<
[img[picturename| https://lh3.googleusercontent.com/_F2x5WXOJ6Q8/TZ6emvgui7I/AAAAAAAABNI/fxVzQryIwKc/highcpu-4.png]]
<<<
Below are the data from AWR and ASH of the same time period ''(21:50 - 22:00)''.. see the high level and drill down numbers below
... it seems like if the database server is ''high on CPU/high on runqueue'' or the ''"wait for CPU"'' appears.. then the AAS numbers from the AWR and ASH reports don't match anymore but I would expect ASH to be bigger because it has fine grained samples of 1 second. But as you can see (below)..
* the ASH top events correctly accounted the CPU time ''(95.37 AAS)'' which was tagged as ''CPU + Wait for CPU''
* while the AWR CPU seems to be idle ''(.2 AAS)''.
And what's even more interesting is
* the high level AAS on AWR is ''356.7''
* while on the ASH it is ''329.18''
that's a huge gap! Well that could be because of
* the high DB Time ''(215947.8)'' on AWR
* compared to what Sample Count ASH has ''(197510)''.
Do you have any idea why is this happening? Interesting right?
''AAS Data from AWR''
<<<
[img[picturename| https://lh5.googleusercontent.com/_F2x5WXOJ6Q8/TZ6BdKu23hI/AAAAAAAABMw/Nuwg_qTt6m8/highcpu-1.png]]
[img[picturename| https://lh5.googleusercontent.com/_F2x5WXOJ6Q8/TZ6BdrU46FI/AAAAAAAABM4/6Inv_8_Z5dc/highcpu-2.png]]
<<<
''AAS Data from ASH''
<<<
[img[picturename| https://lh6.googleusercontent.com/_F2x5WXOJ6Q8/TZ8rp2UTbWI/AAAAAAAABNg/6VBzvJxxApM/highcpu-3.png]]
<<<
''A picture is worth a thousand words...'' - To clearly explain this behavior of ''CPU not properly accounted'' I'll show you the graph of the data samples
__''AWR Top Events with CPU "not properly" accounted''__
<<<
* This is the high level AAS we are getting from the ''DB Time/Elapsed Time'' from the AWR report across SNAP_IDs.. this output comes from the script ''awr_genwl.sql'' (AAS column - http://goo.gl/MUWr) notice that there are AAS number as high as 350 and above.. the second occurence of 350+ is from the SNAP_ID 495-496 mentioned above..
[img[picturename| https://lh5.googleusercontent.com/_F2x5WXOJ6Q8/TZ61tG_iQ0I/AAAAAAAABNY/iKAy7j4Y534/highcpu-5.png]]
* Drilling down on the AAS components of that high level AAS we have to graph the output of the ''awr_topevents.sql''... given that this is still the same workload, you see here that only the ''Direct Path Read'' is properly accounted and when you look at the CPU time it seems to be idle... thus, giving lower AAS than the image above..
* Take note that SNAP_ID 495 the AWR ''CPU'' seems to be idle (.2 AAS) which is what is happening on this image
* Also on the 22:00 period, the database stopped waiting on CPU and started to wait on ''Scheduler''.. and then it matched again the high level AAS from the image above (AAS range of 320).. Interesting right?
[img[picturename| https://lh5.googleusercontent.com/_F2x5WXOJ6Q8/TZ53u_cLWLI/AAAAAAAABMY/9QP2C4S7AUI/highcpu-6.png]]
* We will also have this same behavior on Enterprise Manager 11g when we go to the ''Top Activity page'' and change the ''Real Time'' to ''Historical''... see the similarities on the graph from MS Excel? So when you go ''Real Time'' you are actually pulling from ASH.. then when you go ''Historical'' you are just pulling the Top Timed events across SNAP_IDs and graphing it.. but when you have issues like CPU time not properly accounted you'll see a really different graph and if you are not careful and don't know what it means you may end up with bad conclusions..
[img[picturename| https://lh5.googleusercontent.com/_F2x5WXOJ6Q8/TZ6fz5UzkVI/AAAAAAAABNM/9xL8IukSM4A/highcpu-10.png]]
<<<
__''AWR Top Events with CPU "properly" accounted''__
<<<
* Now, this is really interesting... the graph shown below is from the ''Performance page'' and is also ''Historical'' but produced a different graph from the ''Top Activity page''...
* Why and how did it account for the ''CPU Wait''? where did it pull the data that the ''Top Activity page'' missed?
* This is an improvement in the Enterprise Manager! So I'm curious how is this happening...
[img[picturename| https://lh3.googleusercontent.com/_F2x5WXOJ6Q8/TZ6ogMsAp0I/AAAAAAAABNQ/b9dTIxATxoY/highcpu-11.png]]
<<<
__''ASH with CPU "properly" accounted (well.. I say, ALWAYS!)''__
From the graph above & below where the CPU is properly accounted, you see the AAS is consistent at the range of 320..
[img[picturename| https://lh6.googleusercontent.com/_F2x5WXOJ6Q8/TZ53uvK1xkI/AAAAAAAABMU/7HThzn4uoEo/highcpu-7.png]]
What makes ASH different is the proper accounting of the ''CPU'' AAS component unlike the chart coming from awr_topevents.sql (mentioned on the AWR Top Events with CPU "not properly" accounted) where there's no CPU accounted at all... this could be the problem of DBA_HIST_SYS_TIME_MODEL - ''DB CPU'' metric that when the database server is high on runqueue and there are already scheduling issues in the OS the ''ASH is even more reliable'' on accounting all the CPU time..
Another thing that bothers me is why is it that the ''DB Time'' when applied to the AAS formula gives much higher AAS value than of the ASH? so that could also mean that ''the DB Time is another reliable source'' if the database server is high on runqueue..
If this is the case, from a pure AWR perspective... what I would do is have the output of ''awr_genwl.sql''.. then run the ''awr_topevents.sql''..
and then if I would see that my AAS is high on awr_genwl.sql with a really high "OS Load" and "CPU Utilization" and then if I compare it with the output of awr_topevents.sql and see a big discrepancy that would give me an idea that I'm experiencing the same issue mentioned here, and I would investigate further with the ASH data to solidify my conclusions..
If you are curious about the output of Time model statistics on SNAP_ID 495-496
the CPU values found here does not help either because they have low values..
{{{
DB CPU = 126.70 sec
BG CPU = 4.32 sec
OS CPU (osstat) = 335.71 sec
Statistic Name Time (s) % of DB Time
------------------------------------------ ------------------ ------------
sql execute elapsed time 215,866.2 100.0
DB CPU 126.7 .1
parse time elapsed 62.8 .0
hard parse elapsed time 60.0 .0
PL/SQL execution elapsed time 33.9 .0
hard parse (sharing criteria) elapsed time 9.7 .0
sequence load elapsed time 0.6 .0
PL/SQL compilation elapsed time 0.2 .0
connection management call elapsed time 0.0 .0
repeated bind elapsed time 0.0 .0
hard parse (bind mismatch) elapsed time 0.0 .0
DB time 215,947.9
background elapsed time 1,035.5
background cpu time 4.3
-------------------------------------------------------------
}}}
''Now we move on by splitting the ASH AAS components into their separate areas..''
* the ''CPU''
* and ''USER IO''
see the charts below..
This just shows that there is something about ASH properly accounting the ''CPU + WAIT FOR CPU'' whenever the database server is high on runqueue or OS load average... as well as the ''DB Time''
[img[picturename| https://lh6.googleusercontent.com/_F2x5WXOJ6Q8/TZ53wDeLd4I/AAAAAAAABMc/G5lodk6IAqE/highcpu-8.png]]
this is the ''USER IO'' AAS.. same as what is accounted in awr_topevents.sql
[img[picturename| https://lh3.googleusercontent.com/_F2x5WXOJ6Q8/TZ53wKTIMVI/AAAAAAAABMg/dAihs-LYGfY/highcpu-9.png]]
So the big question for me is...
How does ASH and the Enterprise Manager performance page account for the "CPU + WAIT FOR CPU"? even if you drill down on the V$ACTIVE_SESSION_HISTORY you will not find this metric. So I'm really interested on where they pull the data.. :)
''update''... and then I asked a couple of people, and I had a recent problem on a client site running on Exadata where I was troubleshooting their ETL runs. I was running 10046 for every run and found out that my unaccounted-for time is due to the CPU wait that is shown on this tiddler. So using Mr. Tools, and given that I'm having a similar workload.. I had an idea that the unaccounted-for time is the CPU wait. See the write up here http://www.evernote.com/shard/s48/sh/3ccc1e38-b5ef-46f8-bc75-371156ade4b3/69066fa2741f780f93b86af1626a1bcd , and I was right all along ;)
''AAS investigation updates: Answered questions + bits of interesting findings''
http://www.evernote.com/shard/s48/sh/b4ecaaf2-1ceb-43ea-b58e-6f16079a775c/cb2e28e651c3993b325e66cc858c3935
''I've updated the awr_topevents.sql script to show CPU wait to solve the unnaccounted DB Time issue'' see the write up on the link below:
awr_topevents_v2.sql - http://www.evernote.com/shard/s48/sh/a64a656f-6511-4026-be97-467dccc82688/de5991c75289f16eee73c26c249a60bf
Thanks to the following people for reading/listening about this research, and for the interesting discussions and ideas around this topic:
- Kyle Hailey, Riyaj Shamsudeen, Dave Abercrombie, Cary Millsap, John Beresniewicz
https://wiki.archlinux.org/index.php/AHCI
http://en.wikipedia.org/wiki/AHCI
http://en.wikipedia.org/wiki/NCQ
{{{
Logical Partitioning (LPAR) in AIX
Doc ID: Note:458571.1
-- INSTALLATION
Minimum Software Versions and Patches Required to Support Oracle Products on IBM pSeries
Doc ID: Note:282036.1
Additional Steps Required To Upgrade IBM JDK On IBM iSeries
Doc ID: Note:457287.1
Questions regarding Oracle database upgrades on AIX
Doc ID: Note:223521.1
PAR: MATRIX IBM AIX for Oracle RDBMS Compatibility
Doc ID: Note:41984.1
http://www-933.ibm.com/eserver/support/fixes/fixcentral/pfixpacks/53
-- BUG on 10.2.0.2 and ML 05 and higher
http://unix.derkeiler.com/Mailing-Lists/AIX-L/2006-09/msg00030.html
http://www.tek-tips.com/viewthread.cfm?qid=1272346&page=7
-- IY fix
ftp://ftp.software.ibm.com/aix/efixes/iy89080/
-- one-of-patch download
https://updates.oracle.com/ARULink/PatchDetails/process_form?patch_num=5496862&release=80102020&plat_lang=212P&patch_num_id=747092&email=karao@sqlwizard.com&userid=ml-591048.992&
Bug 5496862 - AIX: Mandatory patch to use Oracle with IBM Technology Level 5 (5300-5)
Doc ID: Note:5496862.8
Introduction to "Bug Description" Articles
Doc ID: Note:245840.1
10.2.0.3 PMON CRASHES ON STARTUP ON AIX 5L 5.3 ML05 -- WORKS on ML06
Doc ID: Note:458442.1
Does A DB Running Oracle 10.2.0.2 On Aix 5.3 Tl5 Sp1 Have To Use Patch 5496862
Doc ID: Note:432998.1
Is Patch 5496862 Mandatory for 10.2.0.3?
Doc ID: Note:418105.1
How To Determine Whether an APAR has been Fixed in AIX Version/Maintenance Level
Doc ID: Note:417451.1
How To Determine Service Pack in AIX
Doc ID: Note:421513.1
How Do I Determine The AIX Technology level ?
Doc ID: Note:443343.1
Is Patch 5496862 applicable on AIX 5.3 TL 06 / TL 07 / TL 08 ?
Doc ID: Note:443944.1
How To Determine Whether an APAR has been Fixed in AIX Version/Maintenance Level
Doc ID: Note:417451.1
Is Patch 5496862 Mandatory for 10.2.0.3?
Doc ID: Note:418105.1
How Do I Determine The AIX Technology level ?
Doc ID: Note:443343.1
ORA-01115 ORA-01110 ORA-27091 ORA-27072 Error: 5: I/O error
Doc ID: Note:559697.1
IO Interoperability Issue between IBM ML05 and Oracle Databases
Doc ID: Note:390656.1
Patch 5496862 Now Available For RDBMS Server Version 10.1.0.4.2 (AIX)
Doc ID: Note:418048.1
-- DYNAMIC CPU ALLOCATION BUG
http://oracledoug.com/serendipity/index.php?/archives/1318-10.2.0.2-bug-with-Dynamic-Reconfiguration-of-CPU.html
Bug 4704890 - OERI[kslgetl:1] after adding CPU using dynamic reconfiguration
Doc ID: Note:4704890.8
Pmon Terminated With Ora-00600 [1100] After Dynamically Increase CPU_COUNT
Doc ID: Note:467695.1
ORA-600 [kslgetl:1]
Doc ID: Note:351779.1
Ora-07445 (Internal Error)
Doc ID: Note:421045.1
Ora-600 [Kslgetl:1] when dynamically changing CPU
Doc ID: Note:369400.1
-- MEMORY
Memory Consumption on AIX
Doc ID: 259983.1
}}}
Power5
Power6 <-- most advanced processor, starting clock is 4Ghz
Power7
Hardware Virtualization (LPAR)
1) Standard Partition
4 LPARs, each have its own dedicated resources (processor, memory)
2) Micropartition
4 LPARs can utilize a pool of 8 processors
2 LPARs can utilize 1 processor
Note:
- Dynamic allocation can happen,
CPU 5seconds
Memory 1minute
http://www.oraclerant.com/?p=8
{{{
# Oracle Database environment variables
umask 022
export ORACLE_BASE='/oracle/app/oracle'
export ORACLE_HOME="${ORACLE_BASE}/product/10.2.0/db_1"
export AIXTHREAD_SCOPE=S
export PATH="${ORACLE_HOME}/OPatch:${ORACLE_HOME}/bin:${PATH}"
# export NLS_LANG=language_territory.characterset
export LIBPATH=$ORACLE_HOME/lib:$LIBPATH
export TNS_ADMIN=$ORACLE_HOME/network/admin
}}}
http://www.scribd.com/doc/2153747/AIX-EtherChannel-Load-Balancing-Options
http://gjilevski.wordpress.com/2009/12/13/hardware-solution-for-oracle-rac-11g-private-interconnect-aggregating/
http://www.freelists.org/post/oracle-l/Oracle-10g-R2-RAC-network-configuration
{{{
To show system configuration
# prtconf
To list all IYs
# instfix –i | pg
To show the filesets on a given IY
# instfix –avik IY59135
To commit a fileset
# smitty maintain_software
To list the fileset of an executable
# lslpp –w <full path of the executable>
To install an IY
# Uncompress <file>
# Tar –xvf <file>
# inutoc .
# smity installp
}}}
{{{
> iostat -sl
System configuration: lcpu=4 drives=88 ent=0.20 paths=176 vdisks=8
tty: tin tout avg-cpu: % user % sys % idle % iowait physc % entc
0.3 29.5 64.5 28.6 5.1 1.9 0.9 435.5
System:
Kbps tps Kb_read Kb_wrtn
30969.7 429.9 937381114927 200661442300
Disks: % tm_act Kbps tps Kb_read Kb_wrtn
hdisk0 1.3 61.9 7.6 1479300432 794583660
...
> iostat -st
System configuration: lcpu=4 drives=88 ent=0.20 paths=176 vdisks=8
tty: tin tout avg-cpu: % user % sys % idle % iowait physc % entc
0.3 29.5 64.5 28.6 5.1 1.9 0.9 435.5
System:
Kbps tps Kb_read Kb_wrtn
30969.7 429.9 937381298349 200661442605
}}}
-- from http://www.perfvision.com/statspack/ash.txt
{{{
ASH Report For CDB10/cdb10
DB Name DB Id Instance Inst Num Release RAC Host
CPUs SGA Size Buffer Cache Shared Pool ASH Buffer Size
Top User Events
Top Background Events
Top Event P1/P2/P3 Values
Top Service/Module
Top Client IDs
Top SQL Command Types
Top SQL Statements
Top SQL using literals
Top Sessions
Top Blocking Sessions
Top DB Objects
Top DB Files
Top Latches
Activity Over Time
}}}
-- from http://www.perfvision.com/statspack/ash.txt
{{{
ASH Report For CDB10/cdb10
DB Name DB Id Instance Inst Num Release RAC Host
------------ ----------- ------------ -------- ----------- --- ------------
CDB10 1193559071 cdb10 1 10.2.0.1.0 NO tsukuba
CPUs SGA Size Buffer Cache Shared Pool ASH Buffer Size
---- ------------------ ------------------ ------------------ ------------------
2 440M (100%) 28M (6.4%) 128M (29.1%) 4.0M (0.9%)
Analysis Begin Time: 31-Jul-07 17:52:21
Analysis End Time: 31-Jul-07 18:07:21
Elapsed Time: 15.0 (mins)
Sample Count: 2,647
Average Active Sessions: 2.94
Avg. Active Session per CPU: 1.47
Report Target: None specified
Top User Events DB/Inst: CDB10/cdb10 (Jul 31 17:52 to 18:07)
Avg Active
Event Event Class % Activity Sessions
----------------------------------- --------------- ---------- ----------
db file sequential read User I/O 26.60 0.78
CPU + Wait for CPU CPU 8.88 0.26
db file scattered read User I/O 7.25 0.21
log file sync Commit 5.44 0.16
log buffer space Configuration 4.53 0.13
-------------------------------------------------------------
Top Background Events DB/Inst: CDB10/cdb10 (Jul 31 17:52 to 18:07)
Avg Active
Event Event Class % Activity Sessions
----------------------------------- --------------- ---------- ----------
db file parallel write System I/O 21.61 0.64
log file parallel write System I/O 18.21 0.54
-------------------------------------------------------------
Top Event P1/P2/P3 Values DB/Inst: CDB10/cdb10 (Jul 31 17:52 to 18:07)
Event % Event P1 Value, P2 Value, P3 Value % Activity
------------------------------ ------- ----------------------------- ----------
Parameter 1 Parameter 2 Parameter 3
-------------------------- -------------------------- --------------------------
db file sequential read 26.97 "201","66953","1" 0.11
file# block# blocks
db file parallel write 21.61 "3","0","2147483647" 3.21
requests interrupt timeout
"2","0","2147483647" 2.49
"5","0","2147483647" 2.42
log file parallel write 18.21 "1","2022","1" 0.68
files blocks requests
db file scattered read 7.37 "201","72065","8" 0.23
file# block# blocks
log file sync 5.48 "4114","0","0" 0.30
buffer# NOT DEFINED NOT DEFINED
-------------------------------------------------------------
Top Service/Module DB/Inst: CDB10/cdb10 (Jul 31 17:52 to 18:07)
Service Module % Activity Action % Action
-------------- ------------------------ ---------- ------------------ ----------
SYS$USERS UNNAMED 50.70 UNNAMED 50.70
SYS$BACKGROUND UNNAMED 41.56 UNNAMED 41.56
cdb10 OEM.SystemPool 2.64 UNNAMED 1.47
XMLLoader0 1.17
SYS$USERS sqlplus@tsukuba (TNS V1- 1.55 UNNAMED 1.55
cdb10 Lab128 1.36 UNNAMED 1.36
-------------------------------------------------------------
Top Client IDs DB/Inst: CDB10/cdb10 (Jul 31 17:52 to 18:07)
No data exists for this section of the report.
-------------------------------------------------------------
Top SQL Command Types DB/Inst: CDB10/cdb10 (Jul 31 17:52 to 18:07)
-> 'Distinct SQLIDs' is the count of the distinct number of SQLIDs
with the given SQL Command Type found over all the ASH samples
in the analysis period
Distinct Avg Active
SQL Command Type SQLIDs % Activity Sessions
---------------------------------------- ---------- ---------- ----------
INSERT 28 27.81 0.82
SELECT 45 12.73 0.37
UPDATE 11 3.85 0.11
DELETE 4 3.70 0.11
-------------------------------------------------------------
Top SQL Statements DB/Inst: CDB10/cdb10 (Jul 31 17:52 to 18:07)
SQL ID Planhash % Activity Event % Event
------------- ----------- ---------- ------------------------------ ----------
fd6a0p6333g8z 2993408006 7.59 db file sequential read 3.06
SELECT trunc(SYSDATE, 'HH24') HOUR_STAMP, CM_ID, MA
X(SUBSTR(CM_DESC, 1, 12)) CM_DESC, MAX(UP_ID) UP_ID, MA
X(DOWN_ID) DOWN_ID, MAX(MAC_ID) MAC_ID, MAX(CMTS_
ID) CMTS_ID, SUM(BYTES_UP) SUM_BYTES_UP, SUM(BY
direct path write temp 1.74
db file scattered read 1.32
298wmz1kxjs1m 4251515144 5.25 CPU + Wait for CPU 2.68
INSERT INTO CM_QOS_PROF SELECT :B1 , R.TOPOLOGYID, :B1 - :B4 , P.NODE_PROFILE_ID
, R.DOCSIFCMTSSERVICEQOSPROFILE FROM CM_SID_RAWDATA R, ( SELECT DISTINCT T.CMID,
P.QOS_PROF_IDX, P.NODE_PROFILE_ID FROM TMP_TOP_SLOW_CM T, CMTS_QOS_PROF P WHERE
T.CMTSID = P.TOPOLOGYID AND P.SECONDID = :B1 ) P WHERE R.BATCHID = :B3 AND R.PR
db file sequential read 1.78
fhawr20n0wy5x 1792062018 3.40 db file sequential read 2.91
INSERT INTO TMP_CALC_HFC_SLOW_CM_TMP SELECT T.CMTSID, T.DOWNID, T.CMID, 0, 0, 0,
T.DOWN_SNR_CNR_A3, T.DOWN_SNR_CNR_A2, T.DOWN_SNR_CNR_A1, T.DOWN_SNR_CNR_A0, R.S
YSUPTIME, R.DOCSIFSIGQUNERROREDS, R.DOCSIFSIGQCORRECTEDS, R.DOCSIFSIGQUNCORRECTA
BLES, R.DOCSIFSIGQSIGNALNOISE, :B3 , L.PREV_SECONDID, L.PREV_DOCSIFSIGQUNERRORED
3a11s4c86wdu5 1366293986 3.21 db file sequential read 1.85
DELETE FROM CM_RAWDATA WHERE BATCHID = 0 AND PROFINDX = :B1
log buffer space 1.06
998t5bbdfm5rm 1914870171 3.21 db file sequential read 1.70
INSERT INTO CM_RAWDATA SELECT PROFINDX, 0 BATCHID, TOPOLOGYID, SAMPLETIME, SYSUP
TIME, DOCSIFCMTSCMSTATUSVALUE, DOCSIFCMTSSERVICEINOCTETS, DOCSIFCMTSSERVICEOUTOC
TETS, DOCSIFCMSTATUSTXPOWER, DOCSIFCMTSCMSTATUSRXPOWER, DOCSIFDOWNCHANNELPOWER,
DOCSIFSIGQUNERROREDS, DOCSIFSIGQCORRECTEDS, DOCSIFSIGQUNCORRECTABLES, DOCSIFSIGQ
-------------------------------------------------------------
Top SQL using literals DB/Inst: CDB10/cdb10 (Jul 31 17:52 to 18:07)
No data exists for this section of the report.
-------------------------------------------------------------
Top Sessions DB/Inst: CDB10/cdb10 (Jul 31 17:52 to 18:07)
-> '# Samples Active' shows the number of ASH samples in which the session
was found waiting for that particular event. The percentage shown
in this column is calculated with respect to wall clock time
and not total database activity.
-> 'XIDs' shows the number of distinct transaction IDs sampled in ASH
when the session was waiting for that particular event
-> For sessions running Parallel Queries, this section will NOT aggregate
the PQ slave activity into the session issuing the PQ. Refer to
the 'Top Sessions running PQs' section for such statistics.
Sid, Serial# % Activity Event % Event
--------------- ---------- ------------------------------ ----------
User Program # Samples Active XIDs
-------------------- ------------------------------ ------------------ --------
126, 5 33.59 db file sequential read 18.62
STARGUS 493/900 [ 55%] 4
CPU + Wait for CPU 5.52
146/900 [ 16%] 2
db file scattered read 5.02
133/900 [ 15%] 2
167, 1 21.80 db file parallel write 21.61
SYS oracle@tsukuba (DBW0) 572/900 [ 64%] 0
166, 1 18.47 log file parallel write 18.21
SYS oracle@tsukuba (LGWR) 482/900 [ 54%] 0
133, 763 9.67 db file sequential read 4.80
STARGUS 127/900 [ 14%] 1
direct path write temp 1.74
46/900 [ 5%] 0
db file scattered read 1.32
35/900 [ 4%] 0
152, 618 3.10 db file sequential read 1.10
STARGUS 29/900 [ 3%] 1
-------------------------------------------------------------
Top Blocking Sessions DB/Inst: CDB10/cdb10 (Jul 31 17:52 to 18:07)
-> Blocking session activity percentages are calculated with respect to
waits on enqueues, latches and "buffer busy" only
-> '% Activity' represents the load on the database caused by
a particular blocking session
-> '# Samples Active' shows the number of ASH samples in which the
blocking session was found active.
-> 'XIDs' shows the number of distinct transaction IDs sampled in ASH
when the blocking session was found active.
Blocking Sid % Activity Event Caused % Event
--------------- ---------- ------------------------------ ----------
User Program # Samples Active XIDs
-------------------- ------------------------------ ------------------ --------
166, 1 5.48 log file sync 5.48
SYS oracle@tsukuba (LGWR) 512/900 [ 57%] 0
-------------------------------------------------------------
Top Sessions running PQs DB/Inst: CDB10/cdb10 (Jul 31 17:52 to 18:07)
No data exists for this section of the report.
-------------------------------------------------------------
Top DB Objects DB/Inst: CDB10/cdb10 (Jul 31 17:52 to 18:07)
-> With respect to Application, Cluster, User I/O and buffer busy waits only.
Object ID % Activity Event % Event
--------------- ---------- ------------------------------ ----------
Object Name (Type) Tablespace
----------------------------------------------------- -------------------------
52652 4.08 db file scattered read 4.08
STARGUS.TMP_CALC_HFC_SLOW_CM_TMP (TABLE) SYSTEM
52543 3.32 db file sequential read 3.32
STARGUS.PK_CM_RAWDATA (INDEX) TS_STARGUS
52698 3.21 db file sequential read 2.98
STARGUS.TMP_TOP_SLOW_CM (TABLE) SYSTEM
52542 2.98 db file sequential read 2.98
STARGUS.CM_RAWDATA (TABLE) TS_STARGUS
52699 1.78 db file sequential read 1.78
STARGUS.PK_TMP_TOP_SLOW_CM (INDEX) SYSTEM
-------------------------------------------------------------
Top DB Files DB/Inst: CDB10/cdb10 (Jul 31 17:52 to 18:07)
-> With respect to Cluster and User I/O events only.
File ID % Activity Event % Event
--------------- ---------- ------------------------------ ----------
File Name Tablespace
----------------------------------------------------- -------------------------
6 23.31 db file sequential read 19.83
/export/home/oracle10/oradata/cdb10/ts_stargus_01.dbf TS_STARGUS
db file scattered read 1.59
direct path write temp 1.59
-------------------------------------------------------------
Top Latches DB/Inst: CDB10/cdb10 (Jul 31 17:52 to 18:07)
No data exists for this section of the report.
-------------------------------------------------------------
Activity Over Time DB/Inst: CDB10/cdb10 (Jul 31 17:52 to 18:07)
-> Analysis period is divided into smaller time slots
-> Top 3 events are reported in each of those slots
-> 'Slot Count' shows the number of ASH samples in that slot
-> 'Event Count' shows the number of ASH samples waiting for
that event in that slot
-> '% Event' is 'Event Count' over all ASH samples in the analysis period
Slot Event
Slot Time (Duration) Count Event Count % Event
-------------------- -------- ------------------------------ -------- -------
17:52:21 (1.7 min) 354 log file parallel write 85 3.21
db file sequential read 82 3.10
db file parallel write 65 2.46
17:54:00 (2.0 min) 254 CPU + Wait for CPU 73 2.76
db file sequential read 46 1.74
log file parallel write 44 1.66
17:56:00 (2.0 min) 323 log file parallel write 94 3.55
db file parallel write 85 3.21
db file sequential read 85 3.21
17:58:00 (2.0 min) 385 log file parallel write 109 4.12
db file parallel write 95 3.59
db file sequential read 71 2.68
18:00:00 (2.0 min) 470 db file sequential read 169 6.38
db file parallel write 66 2.49
log file parallel write 61 2.30
18:02:00 (2.0 min) 277 db file sequential read 139 5.25
db file parallel write 58 2.19
CPU + Wait for CPU 39 1.47
18:04:00 (2.0 min) 364 db file parallel write 105 3.97
db file scattered read 90 3.40
db file sequential read 80 3.02
18:06:00 (1.4 min) 220 db file parallel write 67 2.53
db file scattered read 44 1.66
db file sequential read 42 1.59
-------------------------------------------------------------
End of Report
}}}
http://oracledoug.com/serendipity/index.php?/archives/1614-Network-Events-in-ASH.html
other articles by Doug about ASH
Alternative Pictures Demo
That Pictures demo in full
Time Matters: Throughput vs. Response Time - Part 2
Diagnosing Locking Problems using ASH/LogMiner – The End
Diagnosing Locking Problems using ASH/LogMiner – Part 9
Diagnosing Locking Problems using ASH/LogMiner – Part 8
Diagnosing Locking Problems using ASH/LogMiner – Part 7
Diagnosing Locking Problems using ASH – Part 6
Diagnosing Locking Problems using ASH – Part 5
Diagnosing Locking Problems using ASH – Part 4
http://www.oaktable.net/content/ukoug-2011-ash-outliers
http://oracledoug.com/serendipity/index.php?/archives/1669-UKOUG-2011-Ash-Outliers.html#comments
http://oracledoug.com/ASHoutliers3c.sql
http://oracledoug.com/adaptive_thresholds_faq.pdf
http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:1525205200346930663 <-- JB and Graham comments
DAVE ABERCROMBIE research on AAS and ASH
http://aberdave.blogspot.com/search?updated-max=2011-04-02T08:09:00-07:00&max-results=7
http://dboptimizer.com/2011/10/20/tuning-blog-entries/
{{{
ASH
SQL execution times from ASH – using ASH to see SQL execution times and execution time variations
AAS on AWR – my favorite ASH query that shows AAS wait classes as an ascii graph
CPU Wait vs CPU Usage
Simulated ASH 2.1
AWR
Wait Metrics vs v$system_event
Statistic Metrics verses v$sysstat
I/O latency fluctuations
I/O wait histograms
Redo over weeks
AWR mining
Diff’ing AWR reports
Importing AWR repositories
Redo
LGWR redo write times (log file parallel write)
Ratio of Redo bytes to Datablocks writes
Etc
V$ view time units S,CS,MS,US
Parsing 10046 traces
SQL
Display Cursor Explained – what are all those display_cursor options and what exactly is the data
VST – vistual sql tunning
VST in DB Optimizer 3.0
VST with 100 Tables !
SQL Joins using sets
Visualizing SQL Queries
VST – product design
View expansion with VST
Outer Joins Graphically
}}}
* ASM Mind Map
http://jarneil.wordpress.com/2008/08/26/the-asm-mind-map/
* v$asm_disk
http://www.rachelp.nl/index_kb.php?menu=articles&actie=show&id=10
http://www.freelists.org/post/oracle-l/ASM-on-SAN,5
http://www.freelists.org/post/oracle-l/ASM-and-EMC-PowerPath
https://twiki.cern.ch/twiki/bin/view/PDBService/ASM_Internals <-- GOOD STUFF
https://twiki.cern.ch/twiki/bin/view/PDBService/HAandPerf
{{{
ASM considerations on SinglePath and MultiPath across versions (OCR,VD,DATA)
In general you gotta have a facility/mechanism for:
* multipathing -> persistent naming -> ASM
on 10gR2, 11gR1 for your OCR and VD you must use the following:
*
* clustered filesystem (OCFS2) or NFS
* raw devices (RHEL4) or udev (RHEL5)
on 11gR2, for your OCR and VD you must use the following:
*
* clustered filesystem or NFS
* ASM (mirrored at least 3 disks)
-----------------------
Single Path
-----------------------
If you have ASMlib you will go with this setup
*
* ASMlib -> ASM"
If you don't have ASMlib and Powerpath you will go with this setup
*
* 10gR2 and 11g
* raw devices
* udev -> ASM
* 11gR2
* udev -> ASM
-----------------------
Multi Path
-----------------------
If you have ASMlib and Powerpath you will go with this setup
*
* 10gR2, 11g, 11gR2
* "powerpath -> ASMlib -> ASM"
If you don't have ASMlib and Powerpath you will go with this setup
*
* 10gR2
* "dm multipath (dev mapper) -> raw devices -> ASM"
* 11g and 11gR2
* "dm multipath (dev mapper) -> ASM"
you can also be flexible and go with
*
* "dm multipath (dev mapper) -> ASMlib -> ASM"
-----------------------
Notes
-----------------------
kpartx confuses me..just do this..
- assign and share luns on all nodes.
- fdisk the luns and update partition table on all nodes
- configure multipath
- use </dev/mapper/<mpath_alias>
- create asm storage using above devices
https://forums.oracle.com/forums/thread.jspa?threadID=2288213
}}}
http://www.evernote.com/shard/s48/sh/0012dbf5-6648-4792-84ff-825a363f68d3/a744de57fdb99349388e21cdd9c6059a
http://www.pythian.com/news/1078/oracle-11g-asm-diskgroup-compatibility/
http://www.freelists.org/post/oracle-l/Does-ocssdbin-started-from-11gASM-home-support-diskgroups-mounted-by-10g-ASM-instance,5
{{{
Hi Sanjeev,
I'd like to clear some info first.
1st)... the ocssd.bin
the CSS is created when:
- you use ASM as storage
- when you install Clusterware (RAC, but Clusterware has its separate
home already)
For Oracle Real Application Clusters installations, the CSS daemon
is installed with Oracle Clusterware in a separate Oracle home
directory (also called the Clusterware home directory). For
single-node installations, the CSS daemon is installed in and runs
from the same Oracle home as Oracle Database.
You could identify the Oracle home directory being used to run the CSS daemon:
# cat /etc/oracle/ocr.loc
The output from this command is similar to the following:
[oracle@dbrocaix01 bin]$ cat /etc/oracle/ocr.loc
ocrconfig_loc=/oracle/app/oracle/product/10.2.0/asm_1/cdata/localhost/local.ocr
local_only=TRUE
The ocrconfig_loc parameter specifies the location of the Oracle
Cluster Registry (OCR) used by the CSS daemon. The path up to the
cdata directory is the Oracle home directory where the CSS daemon is
running (/oracle/app/oracle/product/10.2.0/asm_1 in this example). To
confirm you could grep the css deamon and see that it's running on
that home
[oracle@dbrocaix01 bin]$ ps -ef | grep -i css
oracle 4950 1 0 04:23 ? 00:00:00
/oracle/app/oracle/product/10.2.0/asm_1/bin/ocssd.bin
oracle 5806 5609 0 04:26 pts/1 00:00:00 grep -i css
Note:
If the value of the local_only parameter is FALSE, Oracle Clusterware
is installed on this system.
2nd)... ASM and Database compatibility
I'll supply you with some references..
Note 337737.1 Oracle Clusterware - ASM - Database Version Compatibility
Note 363254.1 Applying one-off Oracle Clusterware patches in a mixed
version home environment
and Chapter 4, page 116-120 of Oracle ASM (under the hood & practical
deployment guide) 10g & 11g
In the book it says that there are two types of compatibility settings
between ASM and the RDBMS:
1) instance-level software compatibility settings
- the COMPATIBLE parameter (mine is 10.2.0), this defines what
software features are available to the instance. Setting the
COMPATIBLE parameter in the ASM instance
to 10.1 will not enable you to use 11g ASM new features (variable
extents, etc.)
2) diskgroup-specific settings
- COMPATIBLE.ASM and COMPATIBLE.RDBMS which are persistently stored
in the ASM diskgroup metadata..these compatibility settings are
specific to a diskgroup and control which
attributes are available to the ASM diskgroup and which are
available to the database.
- COMPATIBLE.RDBMS, which defaults to 10.1 in 11g, is the minimum
COMPATIBLE version setting of a database that can mount the
diskgroup.. once you advanced it, it cannot be reversed
- COMPATIBLE.ASM, which controls the persistent format of the on-disk
ASM metadata structures. The ASM compatibility defaults to 10.1 in 11g
and must always be greater than or equal to the RDBMS compatibility
level.. once you advanced it, it cannot be reversed
The combination of the compatibility parameter setting of the
database, the software version of the database, and the RDBMS
compatibility setting of a diskgroup determines whether a database
instance is permitted to mount a given diskgroup. The compatibility
setting also determines which ASM features are available for a
diskgroup.
An ASM instance can support different RDBMS clients with different
compatibility settings, as long as the database COMPATIBLE init.ora
parameter setting of each database instance is greater than or equal
to the RDBMS compatibility of all diskgroups.
You could also read more here...
http://download.oracle.com/docs/cd/B28359_01/server.111/b31107/asmdiskgrps.htm#CHDDIGBJ
So the following info will give us some background on your environment
cat /etc/oracle/ocr.loc
ps -ef | grep -i css
cat /etc/oratab
select name, group_number, value from v$asm_attribute order by 2;
select db_name, status,software_version,compatible_version from v$asm_client;
select name,compatibility, database_compatibility from v$asm_diskgroup;
I hope I did not confuse you with all of this info.
- Karl Arao
http://karlarao.wordpress.com
}}}
http://blog.ronnyegner-consulting.de/2009/10/27/asm-resilvering-or-how-to-recovery-your-asm-in-crash-scenarios/
http://www.ardentperf.com/2010/07/15/asm-mirroring-no-hot-spare-disk/
http://uhesse.wordpress.com/2010/12/01/database-migration-to-asm-with-short-downtime/
{{{
backup as copy database format '+DATA';
switch database to copy;
}}}
''Migrating Databases from non-ASM to ASM and Vice-Versa'' http://www.idevelopment.info/data/Oracle/DBA_tips/Automatic_Storage_Management/ASM_33.shtml
-- ''OCFS to ASM''
''How to Migrate an Existing RAC database to ASM'' http://www.colestock.com/blogs/2008/05/how-to-migrate-existing-rac-database-to.html
http://oss.oracle.com/pipermail/oracleasm-users/2009-June/000094.html
How to create ASM filesystem in Oracle 11gR2
http://translate.google.com/translate?sl=auto&tl=en&u=http://www.dbform.com/html/2010/1255.html
OTN ASM
http://www.oracle.com/technology/tech/linux/asmlib/index.html
http://www.oracle.com/technology/tech/linux/asmlib/raw_migration.html
http://www.oracle.com/technology/tech/linux/asmlib/multipath.html
http://www.oracle.com/technology/tech/linux/asmlib/persistence.html
ASM using ASMLib and Raw Devices
http://www.oracle-base.com/articles/10g/ASMUsingASMLibAndRawDevices.php
Raw devices with release 11: Note ID 754305.1
#
However, the Unbreakable Enterprise Kernel is optional,
and Oracle Linux continues to include a Red Hat compatible kernel, compiled directly from Red Hat
Enterprise Linux source code, for customers who require strict RHEL compatibility. Oracle also
recommends the Unbreakable Enterprise Kernel when running third party software and third party
hardware.
# Performance improvements
latencytop?
# ASMlib and virtualization modules in the kernel
Updated Kernel Modules
The Unbreakable Enterprise Kernel includes both OCFS2 1.6 as well as Oracle ASMLib, the kernel
driver for Oracle’s Automatic Storage Management feature. There is no need to install separate RPMs
to implement these kernel features. Also, the Unbreakable Enterprise Kernel can be run directly on
bare metal or as a virtual guest on Oracle VM, both in hardware virtualized (HVM) and paravirtualized (PV) mode, as it implements the paravirt_ops instruction set and includes the xen_netfront and
xen_blkfront drivers.
#
Unbreakable Enterprise Kernel itself already includes ocfs2 and oracleasm
Questions:
1) Since it will be a new kernel, what if I have a third party module like EMC Powerpath? I'm sure ill have to reinstall it once I use the new
kernel. But, once reinstalled.. will it be certified with EMC (or vice versa)?
2) Also, Oracle says, if you have to maintain compatibility with a third party module. You can use the old vanilla kernel. Questions is, since the
ASMlib module is already integrated on the Unbreakable Kernel, once I use the non-Unbreakable kernel do they also have the old style RPM
(oracleasm-`uname -r` - kernel driver) for having the ASMlib module?
OR
if it's not supported at all and I'm
ASMLIB has three components.
1. oracleasm-support - user space shell scripts
2. oracleasmlib - user space library (closed source)
3. oracleasm-`uname -r` - kernel driver <-- kernel dependent
###############################################################################################3
-- from this thread http://www.freelists.org/post/oracle-l/ASM-and-EMC-PowerPath
!
! The Storage Report (ASM -> Linux -> EMC)
Below is a sample storage info that you should have, it clearly shows the relationship from the Oracle layer (ASM), Linux, and SAN storage. This info is very useful for you and the storage engineer. So you would know which is which in case of catastrophic problems..
Very useful for storage activities like:
* SAN Migration
* Add/Remove disk
* Powerpath upgrade
* Kernel upgrade
//(Note: The images below might be too big on your current screen resolution, to have a better view just right click and download the images or ''double click'' on this page to see the full path of the images..)//
[img[picturename| https://lh6.googleusercontent.com/_F2x5WXOJ6Q8/TaFARe_nqfI/AAAAAAAABOI/jXAshWxpfw8/powerpath1.png]]
[img[picturename| https://lh6.googleusercontent.com/_F2x5WXOJ6Q8/TaFARSJDiLI/AAAAAAAABOE/SoDU7jrddUQ/powerpath2.png]]
[img[picturename| https://lh3.googleusercontent.com/_F2x5WXOJ6Q8/TaFAUat0HcI/AAAAAAAABOM/qe5qoeF3wTw/powerpath3.png]]
!
! What info do you need to produce the report?
''You need the following:''
* AWR time series output (my scripts http://karlarao.wordpress.com/scripts-resources)
* output of the command ''powermt display dev=all'' (run as root)
* RDA
* SAR (because I just love looking at the performance data)
* sysreport (run as root)
''You have to collect'' this on each server / instance and properly arrange them per folder so you won't have a hard time documenting the bits of info you need on the Excel sheet
[img[picturename| https://lh4.googleusercontent.com/_F2x5WXOJ6Q8/TaFK4F_SexI/AAAAAAAABPQ/VjSQm0_uUUM/powerdevices4.png]]
''Below is the drill down on each folder'', the data you'll see is from a separate two RAC clusters.. each with it's own SAN storage.. the project I'm working on here is to migrate/consolidate them into a single SAN storage (newly purchased). So I need to collect all these data to help on planning the activity and mitigate the risks/issues. Also the collection of performance data is a must to verify if the IO requirements of the databases can be handled by the new SAN. On this project I have verified that the Capacity exceeds the current requirements.
* AWR
<<<
per server
[img[picturename| https://lh6.googleusercontent.com/_F2x5WXOJ6Q8/TaFDmcOnhBI/AAAAAAAABOk/lxo8_tbLqX4/powerdevices5-awr.png]]
> per instance
> [img[picturename| https://lh3.googleusercontent.com/_F2x5WXOJ6Q8/TaFKbFENV1I/AAAAAAAABPE/nUCFo_HOjHY/powerdevices5-awr2.png]]
>> awr output on each instance
>> [img[picturename| https://lh5.googleusercontent.com/_F2x5WXOJ6Q8/TaFKbZB6nnI/AAAAAAAABPI/8MVhDN5Q_rI/powerdevices5-awr3.png]]
<<<
* powermt display dev=all
<<<
[img[picturename| https://lh5.googleusercontent.com/_F2x5WXOJ6Q8/TaFDmG2XayI/AAAAAAAABOg/0Lo8QoDbm_A/powerdevices6-powermt.png]]
<<<
* RDA
<<<
[img[picturename| https://lh3.googleusercontent.com/_F2x5WXOJ6Q8/TaFDmsNLT2I/AAAAAAAABOs/sHa-KUryYFo/powerdevices7-rda.png]]
<<<
* SAR
<<<
[img[picturename| https://lh6.googleusercontent.com/_F2x5WXOJ6Q8/TaFDmcOnhBI/AAAAAAAABOk/lxo8_tbLqX4/powerdevices5-awr.png]]
> sample output
> [img[picturename| https://lh3.googleusercontent.com/_F2x5WXOJ6Q8/TaFDmyLyKAI/AAAAAAAABOw/f5UgyqVu09I/powerdevices8-sar.png]]
<<<
* sysreport
<<<
[img[picturename| https://lh4.googleusercontent.com/_F2x5WXOJ6Q8/TaFDm08TuYI/AAAAAAAABO0/bZzSwZX6Vqc/powerdevices8-sysreport.png]]
> sample output
> [img[picturename| https://lh4.googleusercontent.com/_F2x5WXOJ6Q8/TaFDnQpFRHI/AAAAAAAABO4/SiDKdZE9kOY/powerdevices8-sysreport2.png]]
<<<
!
! Putting it all together
On the Excel sheet, you have to fill in the following sections
* From RDA
** ASM Library Information
** ASM Library Disk Information
** Disk Partitions
** Operating System Setup->Operating System Packages
** Operating System Setup->Disk Drives->Disk Mounts
** Oracle Cluster Registry (Cluster -> Cluster Information -> ocrcheck)
* From ''powermt'' command
** Logical Device IDs and names
* From sysreport
** raw devices (possible for OCR and Voting Disk)
** fstab (check for OCFS2 mounts)
* Double check from OS commands
** Voting Disk (''crsctl query css votedisk'')
** ls -l /dev/
** /etc/init.d/oracleasm querydisk <device_name>
''Below are the output from the various sources...'' this will show you how to map the ''ASM disk'' to a particular ''EMC power device'' (follow the ''RED ARROWS'').. you have to do it on all "ASM disks" and the method will also be the same on accounting the ''raw devices'', ''OCFS2'', and ''OCR'' for their mapping on their respective EMC power devices..
To do the correlated report of the ASM, Linux, and SAN storage.. follow the ''BLUE ARROWS''..
You will also see below that having this proper accounting and correlating it from the ASM, Linux, and EMC storage level you will never go wrong and you have the definitive information that you can share with the EMC Storage Engineer which they can also ''double check''.. in that way both the ''DBAs and the Storage guys will be on the same page''.
[img[picturename| https://lh3.googleusercontent.com/_F2x5WXOJ6Q8/TaFvF-b2-tI/AAAAAAAABPk/cdnpkq6yLeg/emcreport10.png]]
Notice above that the ''emcpowerr'' and ''emcpowers'' have no allocations, so what does that mean? can we allocate these devices now? ... mm ''no!'' ... ''stop''...''move back''... ''think''...
I will do the following:
* Run this query to check if it's recognized as ''FOREIGN'' or ''CANDIDATE''
{{{
set lines 400
col name format a20
col label format a20
col path format a20
col redundancy format a20
select a.group_number, a.name, a.header_status, a.mount_status, a.state, a.total_mb, a.free_mb, a.label, path, a.redundancy
from v$asm_disk a
order by 1,2;
GROUP_NUMBER NAME HEADER_STATU STATE TOTAL_MB FREE_MB LABEL PATH REDUNDANCY
------------ -------------------- ------------ -------- ---------- ---------- -------------------- -------------------- --------------------
}}}
* I've done some precautions on my data gathering by checking on the ''fstab'' and ''raw devices config'' and found out that ''there are no pointers to the two devices''..
** I have an obsessive–compulsive tendencies just to make sure that these devices are not used by some services. If accidentally these EMC power devices were used for something else let's say as a filesystem.. Oracle will still allow you to do the ADD/DROP operation on these devices wiping out all the data on those devices!
* Another thing I would do is validate it with my storage engineer or the in-house DBA if these disks exist for the purpose of expanding the disk group.
If everything is okay. I can safely say they are candidate disks for expanding the space of my current disk group and go ahead with the activity.
!
! From Matt Zito (former EMC solutions architect)
<<<
Hey guys,
I haven't gotten this email address straightened out on Oracle-L yet, but I figured I'd drop you a note, and you could forward it on to the list if you cared to.
The doc you read is correct, powerpath will cheerfully work with any of the devices you send IOs to, because the kernel driver intercepts requests for all devices and routes them through itself before dishing them down the appropriate path.
However, setting scandisks to the emcpower has the administrative benefits of making sure the disks don't show up twice. However, even if ASM picks the first of the two disks, it will still be load-balanced successfully.
Thanks,
Matt Zito
(former EMC solutions architect)
<<<
https://blogs.oracle.com/XPSONHA/entry/asr_snmp_on_exadata
Oracle Auto Service Request (ASR) [ID 1185493.1]
''ASR Documentation'' http://www.oracle.com/technetwork/server-storage/asr/documentation/index.html?ssSourceSiteId=ocomen
''Good chapter on HOW to read AWR reports'' http://filezone.orapub.com/FF_Book/v4Chap9.pdf
{{{
Understand each field of AWR (Doc ID 884046.1)
AWR report is broken into multiple parts.
1)Instance information:-
This provides information the instance name , number,snapshot ids,total time the report was taken for and the database time during this elapsed time.
Elapsed time= end snapshot time - start snapshot time
Database time= Work done by database during this much elapsed time( CPU and I/o both add to Database time).If this is lesser than the elapsed time by a great margin, then database is idle.Database time does not include time spend by the background processes.
2)Cache Sizes : This shows the size of each SGA region after AMM has changed them. This information
can be compared to the original init.ora parameters at the end of the AWR report.
3)Load Profile: This important section shows important rates expressed in units of per second and
transactions per second.This is very important for understanding how is the instance behaving.This has to be compared to base line report to understand the expected load on the machine and the delta during bad times.
4)Instance Efficiency Percentages (Target 100%): This section talks about how close are the vital ratios like buffer cache hit, library cache hit,parses etc.These can be taken as indicators ,but should not be a cause of worry if they are low.As the ratios cold be low or high based in database activities, and not due to real performance problem.Hence these are not stand alone statistics, should be read for a high level view .
5)Shared Pool Statistics: This summarizes changes to the shared pool during the snapshot
period.
6)Top 5 Timed Events :This is the section which is most relevant for analysis.This section shows what % of database time was the wait event seen for.Till 9i, this was the way to backtrack what was the total database time for the report , as there was no Database time column in 9i.
7)RAC Statistics :This part is seen only incase of cluster instance.This provides important indication on the average time take for block transfer, block receiving , messages ., which can point to performance problems in the Cluster instead of database.
8)Wait Class : This Depicts which wait class was the area of contention and where we need to focus.Was that network, concurrency, cluster, i/o Application, configuration etc.
9)Wait Events Statistics Section: This section shows a breakdown of the main wait events in the
database including foreground and background database wait events as well as time model, operating
system, service, and wait classes statistics.
10)Wait Events: This AWR report section provides more detailed wait event information for foreground
user processes which includes Top 5 wait events and many other wait events that occurred during
the snapshot interval.
11)Background Wait Events: This section is relevant to the background process wait events.
12)Time Model Statistics: Time mode statistics report how database-processing time is spent. This
section contains detailed timing information on particular components participating in database
processing.This gives information about background process timing also which is not included in database time.
13)Operating System Statistics: This section is important from OS server contention point of view.This section shows the main external resources including I/O, CPU, memory, and network usage.
14)Service Statistics: The service statistics section gives information services and their load in terms of CPU seconds, i/o seconds, number of buffer reads etc.
15)SQL Section: This section displays top SQL, ordered by important SQL execution metrics.
a)SQL Ordered by Elapsed Time: Includes SQL statements that took significant execution
time during processing.
b)SQL Ordered by CPU Time: Includes SQL statements that consumed significant CPU time
during its processing.
c)SQL Ordered by Gets: These SQLs performed a high number of logical reads while
retrieving data.
d)SQL Ordered by Reads: These SQLs performed a high number of physical disk reads while
retrieving data.
e)SQL Ordered by Parse Calls: These SQLs experienced a high number of reparsing operations.
f)SQL Ordered by Sharable Memory: Includes SQL statements cursors which consumed a large
amount of SGA shared pool memory.
g)SQL Ordered by Version Count: These SQLs have a large number of versions in shared pool
for some reason.
16)Instance Activity Stats: This section contains statistical information describing how the database
operated during the snapshot period.
17)I/O Section: This section shows the all important I/O activity.This provides time it took to make 1 i/o say Av Rd(ms), and i/o per second say Av Rd/s.This should be compared to the baseline to see if the rate of i/o has always been like this or there is a diversion now.
18)Advisory Section: This section show details of the advisories for the buffer, shared pool, PGA and
Java pool.
19)Buffer Wait Statistics: This important section shows buffer cache waits statistics.
20)Enqueue Activity: This important section shows how enqueue operates in the database. Enqueues are
special internal structures which provide concurrent access to various database resources.
21)Undo Segment Summary: This section gives a summary about how undo segments are used by the database.
Undo Segment Stats: This section shows detailed history information about undo segment activity.
22)Latch Activity: This section shows details about latch statistics. Latches are a lightweight
serialization mechanism that is used to single-thread access to internal Oracle structures.The latch should be checked by its sleeps.The sleepiest Latch is the latch that is under contention , and not the latch with high requests.Hence run through the sleep breakdown part of this section to arrive at the latch under highest contention.
23)Segment Section: This portion is important to make a guess in which segment and which segment type the contention could be.Tally this with the top 5 wait events.
Segments by Logical Reads: Includes top segments which experienced high number of
logical reads.
Segments by Physical Reads: Includes top segments which experienced high number of disk
physical reads.
Segments by Buffer Busy Waits: These segments have the largest number of buffer waits
caused by their data blocks.
Segments by Row Lock Waits: Includes segments that had a large number of row locks on
their data.
Segments by ITL Waits: Includes segments that had a large contention for Interested
Transaction List (ITL). The contention for ITL can be reduced by increasing INITRANS storage
parameter of the table.
24)Dictionary Cache Stats: This section exposes details about how the data dictionary cache is
operating.
25)Library Cache Activity: Includes library cache statistics which are needed in case you see library cache in top 5 wait events.You might want to see if the reload/invalidations are causing the contention or there is some other issue with library cache.
26)SGA Memory Summary:This would tell us the difference in the respective pools at the start and end of report.This could be an indicator of setting minimum value for each, when sga)target is being used..
27)init.ora Parameters: This section shows the original init.ora parameters for the instance during
the snapshot period.
There would be more Sections in case of RAC setups to provide details.
}}}
A SQL Performance History from AWR
http://www.toadworld.com/BLOGS/tabid/67/EntryId/125/A-SQL-Performance-History-from-AWR.aspx <-- This could also be possible to graph using my awr_topsqlx.sql
http://gavinsoorma.com/2009/07/exporting-and-importing-awr-snapshot-data/
http://dboptimizer.com/2011/11/08/importing-awr-repositories-from-cloned-databases/ <-- this is to change the DBIDs
https://sites.google.com/site/oraclemonitor/dba_hist_active_sess_history#TOC-Force-importing-a-in-AWR <-- this is to ''FORCE'' import ASH data
{{{
###################################
on the source env
###################################
CREATE DIRECTORY AWR_DATA AS '/oracle/app/oracle/awrdata';
@?/rdbms/admin/awrextr.sql
~~~~~~~~~~~~~
AWR EXTRACT
~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~ This script will extract the AWR data for a range of snapshots ~
~ into a dump file. The script will prompt users for the ~
~ following information: ~
~ (1) database id ~
~ (2) snapshot range to extract ~
~ (3) name of directory object ~
~ (4) name of dump file ~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Databases in this Workload Repository schema
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DB Id DB Name Host
------------ ------------ ------------
* 2607950532 IVRS dbrocaix01.b
ayantel.com
The default database id is the local one: '2607950532'. To use this
database id, press <return> to continue, otherwise enter an alternative.
Enter value for dbid: 2607950532
Specify the Begin and End Snapshot Ids
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Enter value for begin_snap: 235
Begin Snapshot Id specified: 235
Enter value for end_snap: 3333
Specify the Directory Name
~~~~~~~~~~~~~~~~~~~~~~~~~~
Directory Name Directory Path
------------------------------ -------------------------------------------------
ADMIN_DIR /oracle/app/oracle/product/10.2.0/db_1/md/admin
AWR_DATA /oracle/app/oracle/awrdata
DATA_PUMP_DIR /flash_reco/flash_recovery_area/IVRS/expdp
DATA_PUMP_LOG /home/oracle/logs
SQLT$STAGE /oracle/app/oracle/admin/ivrs/udump
SQLT$UDUMP /oracle/app/oracle/admin/ivrs/udump
WORK_DIR /oracle/app/oracle/product/10.2.0/db_1/work
Choose a Directory Name from the above list (case-sensitive).
Enter value for directory_name: AWR_DATA
Using the dump directory: AWR_DATA
Specify the Name of the Extract Dump File
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The prefix for the default dump file name is awrdat_235_3333.
To use this name, press <return> to continue, otherwise enter
an alternative.
Enter value for file_name: awrexp
###################################
on the target env
###################################
CREATE DIRECTORY AWR_DATA AS '/oracle/app/oracle/awrdata';
@?/rdbms/admin/awrload.sql
-- on target before the load
-- MIN/MAX for dba_hist tables
2 select min(snap_id) min_snap_id, max(snap_id) max_snap_id from dba_hist_snapshot;
3 select to_char(min(end_interval_time),'yyyy-mon-dd hh24:mi:ss') min_date, to_char(max(end_interval_time),'yyyy-mon-dd hh24:mi:ss') max_date from dba_hist_snapshot;
4 5 6 7 8 9 10 11
INSTANCE_NUMBER SNAP_ID STARTUP_TIME SNAP_START SNAP_END ELA_MIN
--------------- ---------- -------------------- -------------------- -------------------- ----------
1 238 2011-jan-27 08:52:09 2011-jan-27 09:30:31 2011-jan-27 09:40:34 10.05
1 237 2011-jan-27 08:52:09 2011-jan-27 09:20:28 2011-jan-27 09:30:31 10.04
1 236 2011-jan-27 08:52:09 2011-jan-27 09:10:26 2011-jan-27 09:20:28 10.04
1 235 2011-jan-27 08:52:09 2011-jan-27 09:03:24 2011-jan-27 09:10:26 7.03
1 234 2009-dec-15 13:41:20 2009-dec-15 14:00:32 2011-jan-27 09:03:24 587222.87
1 233 2009-dec-15 12:08:35 2009-dec-15 13:00:49 2009-dec-15 14:00:32 59.72
1 232 2009-dec-15 12:08:35 2009-dec-15 12:19:42 2009-dec-15 13:00:49 41.12
1 231 2009-dec-15 07:58:35 2009-dec-15 08:09:41 2009-dec-15 12:19:42 250.01
1 230 2009-dec-14 23:35:11 2009-dec-14 23:46:20 2009-dec-15 08:09:41 503.35
1 229 2009-dec-10 11:27:30 2009-dec-11 04:00:38 2009-dec-14 23:46:20 5505.7
10 rows selected.
sys@IVRS> sys@IVRS> sys@IVRS>
MIN_SNAP_ID MAX_SNAP_ID
----------- -----------
213 239
sys@IVRS>
MIN_DATE MAX_DATE
-------------------- --------------------
2009-dec-10 11:38:56 2011-jan-27 09:40:34
~~~~~~~~~~
AWR LOAD
~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~ This script will load the AWR data from a dump file. The ~
~ script will prompt users for the following information: ~
~ (1) name of directory object ~
~ (2) name of dump file ~
~ (3) staging schema name to load AWR data into ~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Specify the Directory Name
~~~~~~~~~~~~~~~~~~~~~~~~~~
Directory Name Directory Path
------------------------------ -------------------------------------------------
ADMIN_DIR /oracle/app/oracle/product/10.2.0/db_1/md/admin
AWR_DATA /oracle/app/oracle/awrdata
DATA_PUMP_DIR /flash_reco/flash_recovery_area/IVRS/expdp
DATA_PUMP_LOG /home/oracle/logs
SQLT$STAGE /oracle/app/oracle/admin/ivrs/udump
SQLT$UDUMP /oracle/app/oracle/admin/ivrs/udump
WORK_DIR /oracle/app/oracle/product/10.2.0/db_1/work
Choose a Directory Name from the list above (case-sensitive).
Enter value for directory_name: AWR_DATA
Using the dump directory: AWR_DATA
Specify the Name of the Dump File to Load
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Please specify the prefix of the dump file (.dmp) to load:
Enter value for file_name: awrexp
Enter value for schema_name:
Using the staging schema name: AWR_STAGE
Choose the Default tablespace for the AWR_STAGE user
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Choose the AWR_STAGE users's default tablespace. This is the
tablespace in which the AWR data will be staged.
TABLESPACE_NAME CONTENTS DEFAULT TABLESPACE
------------------------------ --------- ------------------
CCDATA PERMANENT
CCINDEX PERMANENT
PSE PERMANENT
SOE PERMANENT
SOEINDEX PERMANENT
SYSAUX PERMANENT *
TPCCTAB PERMANENT
TPCHTAB PERMANENT
USERS PERMANENT
Pressing <return> will result in the recommended default
tablespace (identified by *) being used.
Enter value for default_tablespace:
Using tablespace SYSAUX as the default tablespace for the AWR_STAGE
Choose the Temporary tablespace for the AWR_STAGE user
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Choose the AWR_STAGE user's temporary tablespace.
TABLESPACE_NAME CONTENTS DEFAULT TEMP TABLESPACE
------------------------------ --------- -----------------------
TEMP TEMPORARY *
Pressing <return> will result in the database's default temporary
tablespace (identified by *) being used.
Enter value for temporary_tablespace:
Processing object type TABLE_EXPORT/TABLE/INDEX/INDEX
Processing object type TABLE_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
Processing object type TABLE_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT
Job "SYS"."SYS_IMPORT_FULL_01" successfully completed at 12:46:07
begin
*
ERROR at line 1:
ORA-20105: unable to move AWR data to SYS
ORA-06512: at "SYS.DBMS_SWRF_INTERNAL", line 1760
ORA-20107: not allowed to move AWR data for local dbid
ORA-06512: at line 3
... Dropping AWR_STAGE user
End of AWR Load
}}}
-- from http://www.perfvision.com/statspack/awr.txt
{{{
WORKLOAD REPOSITORY report for
DB Name DB Id Instance Inst Num Release RAC Host
Snap Id Snap Time Sessions Curs/Sess
Cache Sizes
Load Profile
Instance Efficiency Percentages (Target 100%)
Top 5 Timed Events Avg %Total
Time Model Statistics
Wait Class
Wait Events
Background Wait Events
Operating System Statistics
Service Statistics
Service Wait Class Stats
SQL ordered by Elapsed Time
SQL ordered by CPU Time
SQL ordered by Gets
SQL ordered by Reads
SQL ordered by Executions
SQL ordered by Parse Calls
SQL ordered by Sharable Memory
SQL ordered by Version Count
Instance Activity Stats
Instance Activity Stats - Absolute Values
Instance Activity Stats - Thread Activity
Tablespace IO Stats
File IO Stats
Buffer Pool Statistics
Instance Recovery Stats
Buffer Pool Advisory
PGA Aggr Summary
PGA Aggr Target Histogram
PGA Memory Advisory
Shared Pool Advisory
SGA Target Advisory
Streams Pool Advisory
Java Pool Advisory
Buffer Wait Statistics
Enqueue Activity
Undo Segment Summary
Latch Activity
Latch Sleep Breakdown
Latch Miss Sources
Parent Latch Statistics
Segments by Logical Reads
Segments by Physical Reads
Segments by Row Lock Waits
Segments by ITL Waits
Segments by Buffer Busy Waits
Dictionary Cache Stats
Library Cache Activity
Process Memory Summary
SGA Memory Summary
SGA regions Begin Size (Bytes) (if different)
SGA breakdown difference
Streams CPU/IO Usage
Streams Capture
Streams Apply
Buffered Queues
Buffered Subscribers
Rule Set
Resource Limit Stats
init.ora Parameters
}}}
{{{
WORKLOAD REPOSITORY report for
DB Name DB Id Instance Inst Num Release RAC Host
Snap Id Snap Time Sessions Curs/Sess
Cache Sizes
Load Profile
Instance Efficiency Percentages (Target 100%)
Top 5 Timed Events Avg wait %Total Call
Time Model Statistics
Wait Class
Wait Events
Background Wait Events
Operating System Statistics
Service Statistics
Service Wait Class Stats
SQL ordered by Elapsed Time
SQL ordered by CPU Time
SQL ordered by Gets
SQL ordered by Reads
SQL ordered by Executions
SQL ordered by Parse Calls
SQL ordered by Sharable Memory
SQL ordered by Version Count
Instance Activity Stats
Instance Activity Stats - Absolute Values
Instance Activity Stats - Thread Activity
Tablespace IO Stats
File IO Stats
Buffer Pool Statistics
Instance Recovery Stats
Buffer Pool Advisory
PGA Aggr Summary
PGA Aggr Target Stats <-- new in 10.2.0.3
PGA Aggr Target Histogram
PGA Memory Advisory
Shared Pool Advisory
SGA Target Advisory
Streams Pool Advisory
Java Pool Advisory
Buffer Wait Statistics
Enqueue Activity
Undo Segment Summary
Undo Segment Stats <-- new in 10.2.0.3
Latch Activity
Latch Sleep Breakdown
Latch Miss Sources
Parent Latch Statistics
Child Latch Statistics <-- new in 10.2.0.3
Segments by Logical Reads
Segments by Physical Reads
Segments by Row Lock Waits
Segments by ITL Waits
Segments by Buffer Busy Waits
Dictionary Cache Stats
Library Cache Activity
Process Memory Summary
SGA Memory Summary
SGA breakdown difference
Streams CPU/IO Usage
Streams Capture
Streams Apply
Buffered Queues
Buffered Subscribers
Rule Set
Resource Limit Stats
init.ora Parameters
}}}
-- from http://www.perfvision.com/statspack/awrrpt_1_122_123.txt
{{{
WORKLOAD REPOSITORY report for
DB Name DB Id Instance Inst Num Release RAC Host
------------ ----------- ------------ -------- ----------- --- ------------
CDB10 1193559071 cdb10 1 10.2.0.1.0 NO tsukuba
Snap Id Snap Time Sessions Curs/Sess
--------- ------------------- -------- ---------
Begin Snap: 122 31-Jul-07 17:00:40 36 24.9
End Snap: 123 31-Jul-07 18:00:56 37 25.0
Elapsed: 60.26 (mins)
DB Time: 89.57 (mins)
Cache Sizes
~~~~~~~~~~~ Begin End
---------- ----------
Buffer Cache: 28M 28M Std Block Size: 8K
Shared Pool Size: 128M 128M Log Buffer: 6,256K
Load Profile
~~~~~~~~~~~~ Per Second Per Transaction
--------------- ---------------
Redo size: 404,585.37 714,975.12
Logical reads: 8,318.76 14,700.74
Block changes: 2,744.42 4,849.89
Physical reads: 111.18 196.48
Physical writes: 48.07 84.96
User calls: 154.96 273.84
Parses: 3.17 5.60
Hard parses: 0.07 0.13
Sorts: 9.07 16.04
Logons: 0.05 0.09
Executes: 150.07 265.20
Transactions: 0.57
% Blocks changed per Read: 32.99 Recursive Call %: 16.44
Rollback per transaction %: 21.11 Rows per Sort: 57.60
Instance Efficiency Percentages (Target 100%)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Buffer Nowait %: 100.00 Redo NoWait %: 99.98
Buffer Hit %: 98.70 In-memory Sort %: 100.00
Library Hit %: 99.94 Soft Parse %: 97.71
Execute to Parse %: 97.89 Latch Hit %: 100.00
Parse CPU to Parse Elapsd %: 3.60 % Non-Parse CPU: 99.62
Shared Pool Statistics Begin End
------ ------
Memory Usage %: 91.89 91.86
% SQL with executions>1: 75.28 73.08
% Memory for SQL w/exec>1: 73.58 70.06
Top 5 Timed Events Avg %Total
~~~~~~~~~~~~~~~~~~ wait Call
Event Waits Time (s) (ms) Time Wait Class
------------------------------ ------------ ----------- ------ ------ ----------
log file parallel write 2,819 2,037 723 37.9 System I/O
db file parallel write 32,625 1,949 60 36.3 System I/O
db file sequential read 268,447 1,761 7 32.8 User I/O
log file sync 1,850 1,117 604 20.8 Commit
log buffer space 1,189 866 728 16.1 Configurat
-------------------------------------------------------------
Time Model Statistics DB/Inst: CDB10/cdb10 Snaps: 122-123
-> Total time in database user-calls (DB Time): 5374.1s
-> Statistics including the word "background" measure background process
time, and so do not contribute to the DB time statistic
-> Ordered by % or DB time desc, Statistic name
Statistic Name Time (s) % of DB Time
------------------------------------------ ------------------ ------------
sql execute elapsed time 4,409.2 82.0
DB CPU 488.2 9.1
parse time elapsed 48.5 .9
hard parse elapsed time 45.8 .9
PL/SQL execution elapsed time 24.0 .4
sequence load elapsed time 6.1 .1
connection management call elapsed time 3.6 .1
failed parse elapsed time 0.8 .0
hard parse (sharing criteria) elapsed time 0.1 .0
repeated bind elapsed time 0.0 .0
DB time 5,374.1 N/A
background elapsed time 4,199.3 N/A
background cpu time 76.0 N/A
-------------------------------------------------------------
Wait Class DB/Inst: CDB10/cdb10 Snaps: 122-123
-> s - second
-> cs - centisecond - 100th of a second
-> ms - millisecond - 1000th of a second
-> us - microsecond - 1000000th of a second
-> ordered by wait time desc, waits desc
Avg
%Time Total Wait wait Waits
Wait Class Waits -outs Time (s) (ms) /txn
-------------------- ---------------- ------ ---------------- ------- ---------
System I/O 63,959 .0 4,080 64 31.3
User I/O 286,652 .0 2,337 8 140.1
Commit 1,850 47.2 1,117 604 0.9
Configuration 4,319 79.1 1,081 250 2.1
Concurrency 211 14.7 64 301 0.1
Application 1,432 .3 29 21 0.7
Network 566,962 .0 20 0 277.1
Other 499 1.2 9 19 0.2
-------------------------------------------------------------
Wait Events DB/Inst: CDB10/cdb10 Snaps: 122-123
-> s - second
-> cs - centisecond - 100th of a second
-> ms - millisecond - 1000th of a second
-> us - microsecond - 1000000th of a second
-> ordered by wait time desc, waits desc (idle events last)
Avg
%Time Total Wait wait Waits
Event Waits -outs Time (s) (ms) /txn
---------------------------- -------------- ------ ----------- ------- ---------
log file parallel write 2,819 .0 2,037 723 1.4
db file parallel write 32,625 .0 1,949 60 15.9
db file sequential read 268,447 .0 1,761 7 131.2
log file sync 1,850 47.2 1,117 604 0.9
log buffer space 1,189 51.9 866 728 0.6
db file scattered read 16,589 .0 449 27 8.1
log file switch completion 182 35.2 109 597 0.1
control file parallel write 2,134 .0 87 41 1.0
direct path write temp 415 .0 78 188 0.2
log file switch (checkpoint 120 24.2 53 444 0.1
buffer busy waits 155 18.1 49 315 0.1
free buffer waits 2,387 95.0 43 18 1.2
enq: RO - fast object reuse 60 6.7 23 379 0.0
SQL*Net more data to dblink 1,723 .0 19 11 0.8
direct path read temp 350 .0 16 46 0.2
local write wait 164 1.8 15 90 0.1
direct path write 304 .0 13 42 0.1
write complete waits 11 90.9 10 923 0.0
latch: In memory undo latch 5 .0 8 1592 0.0
os thread startup 40 7.5 7 171 0.0
enq: CF - contention 25 .0 7 272 0.0
SQL*Net break/reset to clien 1,372 .0 7 5 0.7
control file sequential read 26,253 .0 5 0 12.8
db file parallel read 149 .0 4 29 0.1
direct path read 233 .0 1 6 0.1
latch: cache buffers lru cha 10 .0 1 132 0.0
latch: object queue header o 2 .0 1 460 0.0
SQL*Net message to client 557,769 .0 1 0 272.6
log file single write 64 .0 1 13 0.0
SQL*Net more data to client 1,806 .0 0 0 0.9
LGWR wait for redo copy 125 4.8 0 1 0.1
rdbms ipc reply 298 .0 0 0 0.1
SQL*Net more data from clien 93 .0 0 1 0.0
latch free 2 .0 0 17 0.0
latch: redo allocation 1 .0 0 21 0.0
latch: shared pool 2 .0 0 10 0.0
log file sequential read 64 .0 0 0 0.0
reliable message 36 .0 0 1 0.0
read by other session 1 .0 0 15 0.0
SQL*Net message to dblink 5,565 .0 0 0 2.7
latch: library cache 4 .0 0 1 0.0
undo segment extension 430 99.3 0 0 0.2
latch: cache buffers chains 4 .0 0 0 0.0
latch: library cache pin 1 .0 0 0 0.0
SQL*Net more data from dblin 6 .0 0 0 0.0
SQL*Net message from client 557,767 .0 51,335 92 272.6
Streams AQ: waiting for time 50 40.0 3,796 75924 0.0
wait for unread message on b 3,588 99.5 3,522 982 1.8
Streams AQ: qmn slave idle w 128 .0 3,520 27498 0.1
Streams AQ: qmn coordinator 275 53.5 3,520 12799 0.1
virtual circuit status 120 100.0 3,503 29191 0.1
Streams AQ: waiting for mess 725 97.7 3,498 4825 0.4
jobq slave wait 1,133 97.5 3,284 2898 0.6
PL/SQL lock timer 977 99.9 2,862 2929 0.5
SQL*Net message from dblink 5,566 .0 540 97 2.7
class slave wait 2 100.0 10 4892 0.0
single-task message 2 .0 0 103 0.0
-------------------------------------------------------------
Background Wait Events DB/Inst: CDB10/cdb10 Snaps: 122-123
-> ordered by wait time desc, waits desc (idle events last)
Avg
%Time Total Wait wait Waits
Event Waits -outs Time (s) (ms) /txn
---------------------------- -------------- ------ ----------- ------- ---------
log file parallel write 2,820 .0 2,037 722 1.4
db file parallel write 32,625 .0 1,949 60 15.9
control file parallel write 2,134 .0 87 41 1.0
direct path write 231 .0 13 55 0.1
db file sequential read 935 .0 12 13 0.5
log buffer space 13 53.8 10 791 0.0
events in waitclass Other 415 1.4 8 19 0.2
os thread startup 40 7.5 7 171 0.0
db file scattered read 115 .0 3 27 0.1
log file sync 3 66.7 2 828 0.0
direct path read 231 .0 1 6 0.1
buffer busy waits 21 .0 1 63 0.0
control file sequential read 2,550 .0 1 0 1.2
log file single write 64 .0 1 13 0.0
log file sequential read 64 .0 0 0 0.0
latch: shared pool 1 .0 0 7 0.0
latch: library cache 2 .0 0 1 0.0
latch: cache buffers chains 1 .0 0 0 0.0
rdbms ipc message 13,865 72.8 27,604 1991 6.8
Streams AQ: waiting for time 50 40.0 3,796 75924 0.0
pmon timer 1,272 98.6 3,526 2772 0.6
Streams AQ: qmn slave idle w 128 .0 3,520 27498 0.1
Streams AQ: qmn coordinator 275 53.5 3,520 12799 0.1
smon timer 178 3.4 3,360 18875 0.1
-------------------------------------------------------------
Operating System Statistics DB/Inst: CDB10/cdb10 Snaps: 122-123
Statistic Total
-------------------------------- --------------------
AVG_BUSY_TIME 204,954
AVG_IDLE_TIME 155,940
AVG_IOWAIT_TIME 0
AVG_SYS_TIME 15,979
AVG_USER_TIME 188,638
BUSY_TIME 410,601
IDLE_TIME 312,370
IOWAIT_TIME 0
SYS_TIME 32,591
USER_TIME 378,010
LOAD 1
OS_CPU_WAIT_TIME 228,200
RSRC_MGR_CPU_WAIT_TIME 0
VM_IN_BYTES 338,665,472
VM_OUT_BYTES 397,410,304
PHYSICAL_MEMORY_BYTES 6,388,301,824
NUM_CPUS 2
-------------------------------------------------------------
Service Statistics DB/Inst: CDB10/cdb10 Snaps: 122-123
-> ordered by DB Time
Physical Logical
Service Name DB Time (s) DB CPU (s) Reads Reads
-------------------------------- ------------ ------------ ---------- ----------
SYS$USERS 4,666.5 429.9 348,141 ##########
cdb10 701.4 58.1 51,046 224,419
SYS$BACKGROUND 0.0 0.0 2,830 18,255
cdb10XDB 0.0 0.0 0 0
-------------------------------------------------------------
Service Wait Class Stats DB/Inst: CDB10/cdb10 Snaps: 122-123
-> Wait Class info for services in the Service Statistics section.
-> Total Waits and Time Waited displayed for the following wait
classes: User I/O, Concurrency, Administrative, Network
-> Time Waited (Wt Time) in centisecond (100th of a second)
Service Name
----------------------------------------------------------------
User I/O User I/O Concurcy Concurcy Admin Admin Network Network
Total Wts Wt Time Total Wts Wt Time Total Wts Wt Time Total Wts Wt Time
--------- --------- --------- --------- --------- --------- --------- ---------
SYS$USERS
271425 210890 65 602 0 0 532492 1979
cdb10
12969 18550 81 4945 0 0 34068 15
SYS$BACKGROUND
2261 4306 65 815 0 0 0 0
-------------------------------------------------------------
SQL ordered by Elapsed Time DB/Inst: CDB10/cdb10 Snaps: 122-123
-> Resources reported for PL/SQL code includes the resources used by all SQL
statements called by the code.
-> % Total DB Time is the Elapsed Time of the SQL statement divided
into the Total Database Time multiplied by 100
Elapsed CPU Elap per % Total
Time (s) Time (s) Executions Exec (s) DB Time SQL Id
---------- ---------- ------------ ---------- ------- -------------
797 134 1 796.6 14.8 f1qcyh20550cf
Call CALC_QOS_SLOW(:1, :2, :3, :4)
773 58 1 773.2 14.4 fj6gjgsshtxyx
Call CALC_DELETE_OLD_DATA(:1)
354 25 1 354.3 6.6 0cjsxw5ndqdbc
Call CALC_HFC_SLOW(:1, :2, :3, :4)
275 29 1 275.3 5.1 8t8as9usk11qw
Call CALC_TOPOLOGY_SLOW(:1, :2, :3, :4)
202 4 4 50.5 3.8 dr1rkrznhh95b
Call CALC_TOPOLOGY_MEDIUM(:1, :2, :3, :4)
158 16 0 N/A 2.9 10dkqv3kr8xa5
SELECT trunc(SYSDATE, 'HH24') HOUR_STAMP, CM_ID, MA
X(SUBSTR(CM_DESC, 1, 12)) CM_DESC, MAX(UP_ID) UP_ID, MA
X(DOWN_ID) DOWN_ID, MAX(MAC_ID) MAC_ID, MAX(CMTS_
ID) CMTS_ID, SUM(BYTES_UP) SUM_BYTES_UP, SUM(BY
139 7 1 139.2 2.6 38zhkf4jdyff4
DECLARE job BINARY_INTEGER := :job; next_date DATE := :mydate; broken BOOLEAN :
= FALSE; BEGIN ash.collect(3,1200); :mydate := next_date; IF broken THEN :b := 1
; ELSE :b := 0; END IF; END;
137 72 1 136.8 2.5 298wmz1kxjs1m
INSERT INTO CM_QOS_PROF SELECT :B1 , R.TOPOLOGYID, :B1 - :B4 , P.NODE_PROFILE_ID
, R.DOCSIFCMTSSERVICEQOSPROFILE FROM CM_SID_RAWDATA R, ( SELECT DISTINCT T.CMID,
P.QOS_PROF_IDX, P.NODE_PROFILE_ID FROM TMP_TOP_SLOW_CM T, CMTS_QOS_PROF P WHERE
T.CMTSID = P.TOPOLOGYID AND P.SECONDID = :B1 ) P WHERE R.BATCHID = :B3 AND R.PR
130 9 1 130.5 2.4 6n0d6cv6w6krs
DELETE FROM CM_VA WHERE SECONDID <= :B1
130 9 1 130.0 2.4 86m0m9q8fw9bj
DELETE FROM CM_QOS_PROF WHERE SECONDID <= :B1
126 3 1 125.6 2.3 33bpz9dh1w5jk
Module: Lab128
--lab128 select /*+rule*/ owner, segment_name||decode(partition_name,null,nul
l,' ('||partition_name||')') name, segment_type,tablespace_name, extent_id,f
ile_id,block_id, blocks,bytes/1048576 bytes from dba_extents
124 9 1 124.5 2.3 gyqv6h5pft4mj
DELETE FROM CM_BYTES WHERE SECONDID <= :B1
121 2 56 2.2 2.3 6gvch1xu9ca3g
DECLARE job BINARY_INTEGER := :job; next_date DATE := :mydate; broken BOOLEAN :
= FALSE; BEGIN EMD_MAINTENANCE.EXECUTE_EM_DBMS_JOB_PROCS(); :mydate := next_date
; IF broken THEN :b := 1; ELSE :b := 0; END IF; END;
120 2 4 30.0 2.2 4zjg6w4mwu0wv
INSERT INTO TMP_TOP_MED_DN SELECT M.CMTSID, M.VENDOR_DESC, M.MODEL_DESC, MAC_L.T
OPOLOGYID, DOWN_L.TOPOLOGYID, M.UP_SNR_CNR_A3, M.UP_SNR_CNR_A2, M.UP_SNR_CNR_A1,
M.UP_SNR_CNR_A0, M.MAC_SLOTS_OPEN, M.MAC_SLOTS_USED, M.CMTS_REBOOT, 0 FROM TMP_
TOP_MED_CMTS M, TOPOLOGY_LINK DOWN_L, TOPOLOGY_NODE DOWN_N, TOPOLOGY_LINK MAC_L
119 9 1 119.1 2.2 aywfs0n7wwwhn
DELETE FROM CM_POWER_2 WHERE SECONDID <= :B1
SQL ordered by Elapsed Time DB/Inst: CDB10/cdb10 Snaps: 122-123
-> Resources reported for PL/SQL code includes the resources used by all SQL
statements called by the code.
-> % Total DB Time is the Elapsed Time of the SQL statement divided
into the Total Database Time multiplied by 100
Elapsed CPU Elap per % Total
Time (s) Time (s) Executions Exec (s) DB Time SQL Id
---------- ---------- ------------ ---------- ------- -------------
117 9 1 117.4 2.2 0fnnktt50m86h
DELETE FROM CM_ERRORS WHERE SECONDID <= :B1
116 1 977 0.1 2.1 5jh6zfmvpu77f
UPDATE ASH.DBIDS@REPO SET ASHSEQ = :B2 WHERE DBID = :B1
108 9 1 107.5 2.0 21jqxqyf80cn8
DELETE FROM CM_POWER_1 WHERE SECONDID <= :B1
107 11 1 107.0 2.0 87gy6mxtk7f3z
DELETE FROM CM_POLL_STATUS WHERE TOPOLOGYID IN ( SELECT DISTINCT TOPOLOGYID FROM
CM_RAWDATA WHERE BATCHID = :B1 )
96 6 1 95.9 1.8 2r6jnnf1hzb4z
select power.TOPOLOGYID, power.SAMPLE_LENGTH, UNIQUE_CMS, ACTIVE_CMS, BITSPERSYM
BOL, TXPOWER_UP FROM CM_POWER_2 power, TOPOLOGY_LINK link, UPSTREAM_CHANNEL chan
nel WHERE power.SECONDID = :1 AND link.TOPOLOGYID = power.TOPOLOGYID AND link.PA
RENTLEN = 1 AND link.STATEID = 1 AND link.LINKTYPEID = 1 AND link.PARENTID = cha
95 1 1 95.1 1.8 1qp1yn30gajjw
SELECT trunc(SYSDATE, 'HH24') HOUR_STAMP, M.
TOPOLOGYID UP_ID, T.UP_DESC UP_DESC, T.MAC_ID
MAC_ID, T.CMTS_ID CMTS_ID, M.MAX_PERCENT_UTI
L, M.MAX_PACKETS_PER_SEC, M.AVG_PACKET_SIZE,
94 5 1 93.9 1.7 fxvdq915s3qpt
DELETE FROM TMP_CALC_HFC_SLOW_CM_LAST
87 4 1 86.9 1.6 axyukfdx12pu4
Call CALC_DELETE_SLOW_RAWDATA(:1, :2)
85 9 1 84.6 1.6 998t5bbdfm5rm
INSERT INTO CM_RAWDATA SELECT PROFINDX, 0 BATCHID, TOPOLOGYID, SAMPLETIME, SYSUP
TIME, DOCSIFCMTSCMSTATUSVALUE, DOCSIFCMTSSERVICEINOCTETS, DOCSIFCMTSSERVICEOUTOC
TETS, DOCSIFCMSTATUSTXPOWER, DOCSIFCMTSCMSTATUSRXPOWER, DOCSIFDOWNCHANNELPOWER,
DOCSIFSIGQUNERROREDS, DOCSIFSIGQCORRECTEDS, DOCSIFSIGQUNCORRECTABLES, DOCSIFSIGQ
84 5 1 83.8 1.6 3a11s4c86wdu5
DELETE FROM CM_RAWDATA WHERE BATCHID = 0 AND PROFINDX = :B1
77 22 150,832 0.0 1.4 5zm9acqtd51h7
insert into cm_sid_rawdata (profindx, batchid, topologyid, sid, sampletime, docs
IfCmtsServiceQosProfile) values (:1, :2, :3, :4, :5, :6)
74 9 1 73.6 1.4 3whpusvtv0qq1
INSERT INTO TMP_CALC_QOS_SLOW_CM_TMP SELECT T.CMTSID, T.DOWNID, T.UPID, T.CMID,
GREATEST(T.CMTS_REBOOT, T.UP_REBOOT), GREATEST(T.CMTS_REBOOT, T.UP_REBOOT), R.DO
CSIFCMTSSERVICEINOCTETS, R.DOCSIFCMTSSERVICEOUTOCTETS, S.SID, L.PREV_SECONDID, L
.PREV_IFINOCTETS, L.PREV_IFOUTOCTETS, L.PREV_SID FROM TMP_TOP_SLOW_CM T, CM_RAWD
74 8 1 73.5 1.4 9h99br1t3qq3a
INSERT INTO TMP_CALC_HFC_SLOW_CM_LAST SELECT * FROM TMP_CALC_HFC_SLOW_CM_LAST_TM
P
72 7 1 72.0 1.3 4qunm1qbf8cyk
select power.TOPOLOGYID, power.SAMPLE_LENGTH, UNIQUE_CMS, ACTIVE_CMS, CHANNELWID
TH, RXPOWER_UP, RXPOWER UPSTREAM_AVG_RX FROM CM_POWER_1 power, TOPOLOGY_LINK lin
k, UPSTREAM_CHANNEL channel, UPSTREAM_POWER_1 upstream_rx WHERE power.SECONDID =
:1 and power.SECONDID = upstream_rx.secondid AND link.TOPOLOGYID = power.TOPOLO
SQL ordered by Elapsed Time DB/Inst: CDB10/cdb10 Snaps: 122-123
-> Resources reported for PL/SQL code includes the resources used by all SQL
statements called by the code.
-> % Total DB Time is the Elapsed Time of the SQL statement divided
into the Total Database Time multiplied by 100
Elapsed CPU Elap per % Total
Time (s) Time (s) Executions Exec (s) DB Time SQL Id
---------- ---------- ------------ ---------- ------- -------------
68 3 1 68.4 1.3 bzmccctnyjb3z
INSERT INTO DOWNSTREAM_ERRORS SELECT T2.SECONDID, T1.DOWNID, ROUND(AVG(T2.SAMPLE
_LENGTH), 0), ROUND(AVG(DECODE(T2.UNERROREDS + T2.CORRECTEDS + T2.UNCORRECTABLES
,0,0, T2.UNCORRECTABLES / ( T2.UNERROREDS + T2.CORRECTEDS + T2.UNCORRECTABLES )
* 100)) ,2) AVG_CER, ROUND(AVG(DECODE(T2.UNERROREDS + T2.CORRECTEDS + T2.UNCORRE
64 7 1 63.6 1.2 fqcwt6uak8x3w
INSERT INTO TMP_CALC_QOS_SLOW_CM_LAST SELECT * FROM TMP_CALC_QOS_SLOW_CM_LAST_TM
P
59 6 1 58.8 1.1 fd6a0p6333g8z
SELECT trunc(SYSDATE, 'HH24') HOUR_STAMP, CM_ID, MA
X(SUBSTR(CM_DESC, 1, 12)) CM_DESC, MAX(UP_ID) UP_ID, MA
X(DOWN_ID) DOWN_ID, MAX(MAC_ID) MAC_ID, MAX(CMTS_
ID) CMTS_ID, SUM(BYTES_UP) SUM_BYTES_UP, SUM(BY
-------------------------------------------------------------
SQL ordered by CPU Time DB/Inst: CDB10/cdb10 Snaps: 122-123
-> Resources reported for PL/SQL code includes the resources used by all SQL
statements called by the code.
-> % Total DB Time is the Elapsed Time of the SQL statement divided
into the Total Database Time multiplied by 100
CPU Elapsed CPU per % Total
Time (s) Time (s) Executions Exec (s) DB Time SQL Id
---------- ---------- ------------ ----------- ------- -------------
134 797 1 133.81 14.8 f1qcyh20550cf
Call CALC_QOS_SLOW(:1, :2, :3, :4)
72 137 1 71.96 2.5 298wmz1kxjs1m
INSERT INTO CM_QOS_PROF SELECT :B1 , R.TOPOLOGYID, :B1 - :B4 , P.NODE_PROFILE_ID
, R.DOCSIFCMTSSERVICEQOSPROFILE FROM CM_SID_RAWDATA R, ( SELECT DISTINCT T.CMID,
P.QOS_PROF_IDX, P.NODE_PROFILE_ID FROM TMP_TOP_SLOW_CM T, CMTS_QOS_PROF P WHERE
T.CMTSID = P.TOPOLOGYID AND P.SECONDID = :B1 ) P WHERE R.BATCHID = :B3 AND R.PR
58 773 1 57.60 14.4 fj6gjgsshtxyx
Call CALC_DELETE_OLD_DATA(:1)
29 275 1 29.25 5.1 8t8as9usk11qw
Call CALC_TOPOLOGY_SLOW(:1, :2, :3, :4)
25 354 1 24.50 6.6 0cjsxw5ndqdbc
Call CALC_HFC_SLOW(:1, :2, :3, :4)
22 77 150,832 0.00 1.4 5zm9acqtd51h7
insert into cm_sid_rawdata (profindx, batchid, topologyid, sid, sampletime, docs
IfCmtsServiceQosProfile) values (:1, :2, :3, :4, :5, :6)
19 52 150,324 0.00 1.0 6xz6vg8q1zygu
insert into cm_rawdata (profindx, batchid, topologyid, sampletime, docsifcmtscms
tatusvalue, docsifcmtsserviceinoctets, docsifcmtsserviceoutoctets, docsifcmtscms
tatusrxpower, cmtscm_unerr, cmtscm_corr, cmtscm_uncorr, cmtscm_snr, cmtscm_timin
goffset) values (:1, :2, :3, :4, :5, :6, :7, :8, :9, :10, :11, :12, :13)
18 40 150,259 0.00 0.7 c2a2g4fqnm25h
insert into cm_rawdata (profindx, batchid, topologyid, sampletime, sysuptime, do
csifcmstatustxpower, docsifdownchannelpower, docsifsigqunerroreds, docsifsigqcor
recteds, docsifsigquncorrectables, docsifsigqsignalnoise, sysobjectid) values (:
1,:2,:3,:4,:5,:6,:7,:8,:9,:10,:11,:12)
16 158 0 N/A 2.9 10dkqv3kr8xa5
SELECT trunc(SYSDATE, 'HH24') HOUR_STAMP, CM_ID, MA
X(SUBSTR(CM_DESC, 1, 12)) CM_DESC, MAX(UP_ID) UP_ID, MA
X(DOWN_ID) DOWN_ID, MAX(MAC_ID) MAC_ID, MAX(CMTS_
ID) CMTS_ID, SUM(BYTES_UP) SUM_BYTES_UP, SUM(BY
11 107 1 10.68 2.0 87gy6mxtk7f3z
DELETE FROM CM_POLL_STATUS WHERE TOPOLOGYID IN ( SELECT DISTINCT TOPOLOGYID FROM
CM_RAWDATA WHERE BATCHID = :B1 )
9 130 1 9.26 2.4 86m0m9q8fw9bj
DELETE FROM CM_QOS_PROF WHERE SECONDID <= :B1
9 130 1 9.03 2.4 6n0d6cv6w6krs
DELETE FROM CM_VA WHERE SECONDID <= :B1
9 108 1 9.01 2.0 21jqxqyf80cn8
DELETE FROM CM_POWER_1 WHERE SECONDID <= :B1
9 74 1 8.99 1.4 3whpusvtv0qq1
INSERT INTO TMP_CALC_QOS_SLOW_CM_TMP SELECT T.CMTSID, T.DOWNID, T.UPID, T.CMID,
GREATEST(T.CMTS_REBOOT, T.UP_REBOOT), GREATEST(T.CMTS_REBOOT, T.UP_REBOOT), R.DO
CSIFCMTSSERVICEINOCTETS, R.DOCSIFCMTSSERVICEOUTOCTETS, S.SID, L.PREV_SECONDID, L
.PREV_IFINOCTETS, L.PREV_IFOUTOCTETS, L.PREV_SID FROM TMP_TOP_SLOW_CM T, CM_RAWD
9 117 1 8.96 2.2 0fnnktt50m86h
SQL ordered by CPU Time DB/Inst: CDB10/cdb10 Snaps: 122-123
-> Resources reported for PL/SQL code includes the resources used by all SQL
statements called by the code.
-> % Total DB Time is the Elapsed Time of the SQL statement divided
into the Total Database Time multiplied by 100
CPU Elapsed CPU per % Total
Time (s) Time (s) Executions Exec (s) DB Time SQL Id
---------- ---------- ------------ ----------- ------- -------------
DELETE FROM CM_ERRORS WHERE SECONDID <= :B1
9 124 1 8.88 2.3 gyqv6h5pft4mj
DELETE FROM CM_BYTES WHERE SECONDID <= :B1
9 119 1 8.87 2.2 aywfs0n7wwwhn
DELETE FROM CM_POWER_2 WHERE SECONDID <= :B1
9 85 1 8.52 1.6 998t5bbdfm5rm
INSERT INTO CM_RAWDATA SELECT PROFINDX, 0 BATCHID, TOPOLOGYID, SAMPLETIME, SYSUP
TIME, DOCSIFCMTSCMSTATUSVALUE, DOCSIFCMTSSERVICEINOCTETS, DOCSIFCMTSSERVICEOUTOC
TETS, DOCSIFCMSTATUSTXPOWER, DOCSIFCMTSCMSTATUSRXPOWER, DOCSIFDOWNCHANNELPOWER,
DOCSIFSIGQUNERROREDS, DOCSIFSIGQCORRECTEDS, DOCSIFSIGQUNCORRECTABLES, DOCSIFSIGQ
8 74 1 7.66 1.4 9h99br1t3qq3a
INSERT INTO TMP_CALC_HFC_SLOW_CM_LAST SELECT * FROM TMP_CALC_HFC_SLOW_CM_LAST_TM
P
7 64 1 7.43 1.2 fqcwt6uak8x3w
INSERT INTO TMP_CALC_QOS_SLOW_CM_LAST SELECT * FROM TMP_CALC_QOS_SLOW_CM_LAST_TM
P
7 139 1 7.13 2.6 38zhkf4jdyff4
DECLARE job BINARY_INTEGER := :job; next_date DATE := :mydate; broken BOOLEAN :
= FALSE; BEGIN ash.collect(3,1200); :mydate := next_date; IF broken THEN :b := 1
; ELSE :b := 0; END IF; END;
7 72 1 6.69 1.3 4qunm1qbf8cyk
select power.TOPOLOGYID, power.SAMPLE_LENGTH, UNIQUE_CMS, ACTIVE_CMS, CHANNELWID
TH, RXPOWER_UP, RXPOWER UPSTREAM_AVG_RX FROM CM_POWER_1 power, TOPOLOGY_LINK lin
k, UPSTREAM_CHANNEL channel, UPSTREAM_POWER_1 upstream_rx WHERE power.SECONDID =
:1 and power.SECONDID = upstream_rx.secondid AND link.TOPOLOGYID = power.TOPOLO
6 59 1 6.12 1.1 fd6a0p6333g8z
SELECT trunc(SYSDATE, 'HH24') HOUR_STAMP, CM_ID, MA
X(SUBSTR(CM_DESC, 1, 12)) CM_DESC, MAX(UP_ID) UP_ID, MA
X(DOWN_ID) DOWN_ID, MAX(MAC_ID) MAC_ID, MAX(CMTS_
ID) CMTS_ID, SUM(BYTES_UP) SUM_BYTES_UP, SUM(BY
6 96 1 5.82 1.8 2r6jnnf1hzb4z
select power.TOPOLOGYID, power.SAMPLE_LENGTH, UNIQUE_CMS, ACTIVE_CMS, BITSPERSYM
BOL, TXPOWER_UP FROM CM_POWER_2 power, TOPOLOGY_LINK link, UPSTREAM_CHANNEL chan
nel WHERE power.SECONDID = :1 AND link.TOPOLOGYID = power.TOPOLOGYID AND link.PA
RENTLEN = 1 AND link.STATEID = 1 AND link.LINKTYPEID = 1 AND link.PARENTID = cha
5 84 1 5.23 1.6 3a11s4c86wdu5
DELETE FROM CM_RAWDATA WHERE BATCHID = 0 AND PROFINDX = :B1
5 94 1 5.19 1.7 fxvdq915s3qpt
DELETE FROM TMP_CALC_HFC_SLOW_CM_LAST
4 202 4 1.11 3.8 dr1rkrznhh95b
Call CALC_TOPOLOGY_MEDIUM(:1, :2, :3, :4)
4 87 1 3.68 1.6 axyukfdx12pu4
Call CALC_DELETE_SLOW_RAWDATA(:1, :2)
3 126 1 2.92 2.3 33bpz9dh1w5jk
Module: Lab128
--lab128 select /*+rule*/ owner, segment_name||decode(partition_name,null,nul
SQL ordered by CPU Time DB/Inst: CDB10/cdb10 Snaps: 122-123
-> Resources reported for PL/SQL code includes the resources used by all SQL
statements called by the code.
-> % Total DB Time is the Elapsed Time of the SQL statement divided
into the Total Database Time multiplied by 100
CPU Elapsed CPU per % Total
Time (s) Time (s) Executions Exec (s) DB Time SQL Id
---------- ---------- ------------ ----------- ------- -------------
l,' ('||partition_name||')') name, segment_type,tablespace_name, extent_id,f
ile_id,block_id, blocks,bytes/1048576 bytes from dba_extents
3 68 1 2.66 1.3 bzmccctnyjb3z
INSERT INTO DOWNSTREAM_ERRORS SELECT T2.SECONDID, T1.DOWNID, ROUND(AVG(T2.SAMPLE
_LENGTH), 0), ROUND(AVG(DECODE(T2.UNERROREDS + T2.CORRECTEDS + T2.UNCORRECTABLES
,0,0, T2.UNCORRECTABLES / ( T2.UNERROREDS + T2.CORRECTEDS + T2.UNCORRECTABLES )
* 100)) ,2) AVG_CER, ROUND(AVG(DECODE(T2.UNERROREDS + T2.CORRECTEDS + T2.UNCORRE
2 121 56 0.04 2.3 6gvch1xu9ca3g
DECLARE job BINARY_INTEGER := :job; next_date DATE := :mydate; broken BOOLEAN :
= FALSE; BEGIN EMD_MAINTENANCE.EXECUTE_EM_DBMS_JOB_PROCS(); :mydate := next_date
; IF broken THEN :b := 1; ELSE :b := 0; END IF; END;
2 120 4 0.42 2.2 4zjg6w4mwu0wv
INSERT INTO TMP_TOP_MED_DN SELECT M.CMTSID, M.VENDOR_DESC, M.MODEL_DESC, MAC_L.T
OPOLOGYID, DOWN_L.TOPOLOGYID, M.UP_SNR_CNR_A3, M.UP_SNR_CNR_A2, M.UP_SNR_CNR_A1,
M.UP_SNR_CNR_A0, M.MAC_SLOTS_OPEN, M.MAC_SLOTS_USED, M.CMTS_REBOOT, 0 FROM TMP_
TOP_MED_CMTS M, TOPOLOGY_LINK DOWN_L, TOPOLOGY_NODE DOWN_N, TOPOLOGY_LINK MAC_L
1 95 1 1.19 1.8 1qp1yn30gajjw
SELECT trunc(SYSDATE, 'HH24') HOUR_STAMP, M.
TOPOLOGYID UP_ID, T.UP_DESC UP_DESC, T.MAC_ID
MAC_ID, T.CMTS_ID CMTS_ID, M.MAX_PERCENT_UTI
L, M.MAX_PACKETS_PER_SEC, M.AVG_PACKET_SIZE,
1 116 977 0.00 2.1 5jh6zfmvpu77f
UPDATE ASH.DBIDS@REPO SET ASHSEQ = :B2 WHERE DBID = :B1
-------------------------------------------------------------
SQL ordered by Gets DB/Inst: CDB10/cdb10 Snaps: 122-123
-> Resources reported for PL/SQL code includes the resources used by all SQL
statements called by the code.
-> Total Buffer Gets: 30,077,723
-> Captured SQL account for 169.4% of Total
Gets CPU Elapsed
Buffer Gets Executions per Exec %Total Time (s) Time (s) SQL Id
-------------- ------------ ------------ ------ -------- --------- -------------
16,494,914 1 ############ 54.8 133.81 796.60 f1qcyh20550cf
Call CALC_QOS_SLOW(:1, :2, :3, :4)
11,322,501 1 ############ 37.6 71.96 136.75 298wmz1kxjs1m
INSERT INTO CM_QOS_PROF SELECT :B1 , R.TOPOLOGYID, :B1 - :B4 , P.NODE_PROFILE_ID
, R.DOCSIFCMTSSERVICEQOSPROFILE FROM CM_SID_RAWDATA R, ( SELECT DISTINCT T.CMID,
P.QOS_PROF_IDX, P.NODE_PROFILE_ID FROM TMP_TOP_SLOW_CM T, CMTS_QOS_PROF P WHERE
T.CMTSID = P.TOPOLOGYID AND P.SECONDID = :B1 ) P WHERE R.BATCHID = :B3 AND R.PR
3,835,310 1 3,835,310.0 12.8 57.60 773.15 fj6gjgsshtxyx
Call CALC_DELETE_OLD_DATA(:1)
2,140,461 1 2,140,461.0 7.1 24.50 354.27 0cjsxw5ndqdbc
Call CALC_HFC_SLOW(:1, :2, :3, :4)
1,434,233 1 1,434,233.0 4.8 29.25 275.28 8t8as9usk11qw
Call CALC_TOPOLOGY_SLOW(:1, :2, :3, :4)
1,400,037 1 1,400,037.0 4.7 8.99 73.62 3whpusvtv0qq1
INSERT INTO TMP_CALC_QOS_SLOW_CM_TMP SELECT T.CMTSID, T.DOWNID, T.UPID, T.CMID,
GREATEST(T.CMTS_REBOOT, T.UP_REBOOT), GREATEST(T.CMTS_REBOOT, T.UP_REBOOT), R.DO
CSIFCMTSSERVICEINOCTETS, R.DOCSIFCMTSSERVICEOUTOCTETS, S.SID, L.PREV_SECONDID, L
.PREV_IFINOCTETS, L.PREV_IFOUTOCTETS, L.PREV_SID FROM TMP_TOP_SLOW_CM T, CM_RAWD
1,213,966 1 1,213,966.0 4.0 6.05 14.45 553hp60qv7vyh
select errors.TOPOLOGYID, errors.SAMPLE_LENGTH, UNIQUE_CMS, ACTIVE_CMS, CHANNELW
IDTH, BITSPERSYMBOL, SNR_DOWN, RXPOWER_DOWN FROM CM_ERRORS errors, CM_POWER_2 po
wer, TOPOLOGY_LINK link, DOWNSTREAM_CHANNEL channel where errors.SECONDID = powe
r.SECONDID AND errors.SECONDID = :1 AND errors.TOPOLOGYID = power.TOPOLOGYID AND
1,065,052 1 1,065,052.0 3.5 6.69 72.01 4qunm1qbf8cyk
select power.TOPOLOGYID, power.SAMPLE_LENGTH, UNIQUE_CMS, ACTIVE_CMS, CHANNELWID
TH, RXPOWER_UP, RXPOWER UPSTREAM_AVG_RX FROM CM_POWER_1 power, TOPOLOGY_LINK lin
k, UPSTREAM_CHANNEL channel, UPSTREAM_POWER_1 upstream_rx WHERE power.SECONDID =
:1 and power.SECONDID = upstream_rx.secondid AND link.TOPOLOGYID = power.TOPOLO
1,011,784 1 1,011,784.0 3.4 8.52 84.62 998t5bbdfm5rm
INSERT INTO CM_RAWDATA SELECT PROFINDX, 0 BATCHID, TOPOLOGYID, SAMPLETIME, SYSUP
TIME, DOCSIFCMTSCMSTATUSVALUE, DOCSIFCMTSSERVICEINOCTETS, DOCSIFCMTSSERVICEOUTOC
TETS, DOCSIFCMSTATUSTXPOWER, DOCSIFCMTSCMSTATUSRXPOWER, DOCSIFDOWNCHANNELPOWER,
DOCSIFSIGQUNERROREDS, DOCSIFSIGQCORRECTEDS, DOCSIFSIGQUNCORRECTABLES, DOCSIFSIGQ
776,443 1 776,443.0 2.6 7.66 73.54 9h99br1t3qq3a
INSERT INTO TMP_CALC_HFC_SLOW_CM_LAST SELECT * FROM TMP_CALC_HFC_SLOW_CM_LAST_TM
P
762,710 1 762,710.0 2.5 5.82 95.88 2r6jnnf1hzb4z
select power.TOPOLOGYID, power.SAMPLE_LENGTH, UNIQUE_CMS, ACTIVE_CMS, BITSPERSYM
BOL, TXPOWER_UP FROM CM_POWER_2 power, TOPOLOGY_LINK link, UPSTREAM_CHANNEL chan
nel WHERE power.SECONDID = :1 AND link.TOPOLOGYID = power.TOPOLOGYID AND link.PA
RENTLEN = 1 AND link.STATEID = 1 AND link.LINKTYPEID = 1 AND link.PARENTID = cha
724,267 1 724,267.0 2.4 7.43 63.59 fqcwt6uak8x3w
INSERT INTO TMP_CALC_QOS_SLOW_CM_LAST SELECT * FROM TMP_CALC_QOS_SLOW_CM_LAST_TM
P
669,534 1 669,534.0 2.2 6.37 38.97 094vgzny6jvm4
INSERT INTO CM_VA ( SECONDID, TOPOLOGYID, CER, CCER, SNR, STATUSVALUE, TIMINGOFF
SET ) SELECT :B3 , TOPOLOGYID, CASE WHEN (CMTSCM_UNERR_D IS NULL OR CMTSCM_CORR_
D IS NULL OR CMTSCM_UNCORR_D IS NULL) THEN NULL ELSE 100 * CMTSCM_UNCORR_D/TOTAL
SQL ordered by Gets DB/Inst: CDB10/cdb10 Snaps: 122-123
-> Resources reported for PL/SQL code includes the resources used by all SQL
statements called by the code.
-> Total Buffer Gets: 30,077,723
-> Captured SQL account for 169.4% of Total
Gets CPU Elapsed
Buffer Gets Executions per Exec %Total Time (s) Time (s) SQL Id
-------------- ------------ ------------ ------ -------- --------- -------------
_D END CER, CASE WHEN (CMTSCM_UNERR_D IS NULL OR CMTSCM_CORR_D IS NULL OR CMTSCM
633,947 150,259 4.2 2.1 18.21 40.04 c2a2g4fqnm25h
insert into cm_rawdata (profindx, batchid, topologyid, sampletime, sysuptime, do
csifcmstatustxpower, docsifdownchannelpower, docsifsigqunerroreds, docsifsigqcor
recteds, docsifsigquncorrectables, docsifsigqsignalnoise, sysobjectid) values (:
1,:2,:3,:4,:5,:6,:7,:8,:9,:10,:11,:12)
618,871 150,324 4.1 2.1 18.56 51.78 6xz6vg8q1zygu
insert into cm_rawdata (profindx, batchid, topologyid, sampletime, docsifcmtscms
tatusvalue, docsifcmtsserviceinoctets, docsifcmtsserviceoutoctets, docsifcmtscms
tatusrxpower, cmtscm_unerr, cmtscm_corr, cmtscm_uncorr, cmtscm_snr, cmtscm_timin
goffset) values (:1, :2, :3, :4, :5, :6, :7, :8, :9, :10, :11, :12, :13)
615,244 1 615,244.0 2.0 9.03 130.46 6n0d6cv6w6krs
DELETE FROM CM_VA WHERE SECONDID <= :B1
615,129 1 615,129.0 2.0 9.26 130.03 86m0m9q8fw9bj
DELETE FROM CM_QOS_PROF WHERE SECONDID <= :B1
614,747 1 614,747.0 2.0 8.96 117.43 0fnnktt50m86h
DELETE FROM CM_ERRORS WHERE SECONDID <= :B1
614,661 1 614,661.0 2.0 8.88 124.47 gyqv6h5pft4mj
DELETE FROM CM_BYTES WHERE SECONDID <= :B1
614,649 1 614,649.0 2.0 10.68 107.01 87gy6mxtk7f3z
DELETE FROM CM_POLL_STATUS WHERE TOPOLOGYID IN ( SELECT DISTINCT TOPOLOGYID FROM
CM_RAWDATA WHERE BATCHID = :B1 )
613,965 1 613,965.0 2.0 8.87 119.15 aywfs0n7wwwhn
DELETE FROM CM_POWER_2 WHERE SECONDID <= :B1
613,256 1 613,256.0 2.0 9.01 107.53 21jqxqyf80cn8
DELETE FROM CM_POWER_1 WHERE SECONDID <= :B1
598,348 150,832 4.0 2.0 22.39 76.71 5zm9acqtd51h7
insert into cm_sid_rawdata (profindx, batchid, topologyid, sid, sampletime, docs
IfCmtsServiceQosProfile) values (:1, :2, :3, :4, :5, :6)
343,903 1 343,903.0 1.1 2.45 11.06 8b7g4s4qa5r1d
INSERT INTO UPSTREAM_POWER_1 SELECT :B4 , T.UPID, :B4 - :B3 , ROUND(AVG(C.DOCSIF
CMTSCMSTATUSRXPOWER), 0) FROM CM_RAWDATA C, TMP_TOP_SLOW_CM T WHERE C.TOPOLOGYID
= T.CMID AND C.BATCHID = :B2 AND C.PROFINDX = :B1 GROUP BY T.UPID
301,471 1 301,471.0 1.0 2.66 68.37 bzmccctnyjb3z
INSERT INTO DOWNSTREAM_ERRORS SELECT T2.SECONDID, T1.DOWNID, ROUND(AVG(T2.SAMPLE
_LENGTH), 0), ROUND(AVG(DECODE(T2.UNERROREDS + T2.CORRECTEDS + T2.UNCORRECTABLES
,0,0, T2.UNCORRECTABLES / ( T2.UNERROREDS + T2.CORRECTEDS + T2.UNCORRECTABLES )
* 100)) ,2) AVG_CER, ROUND(AVG(DECODE(T2.UNERROREDS + T2.CORRECTEDS + T2.UNCORRE
-------------------------------------------------------------
SQL ordered by Reads DB/Inst: CDB10/cdb10 Snaps: 122-123
-> Total Disk Reads: 401,992
-> Captured SQL account for 134.7% of Total
Reads CPU Elapsed
Physical Reads Executions per Exec %Total Time (s) Time (s) SQL Id
-------------- ----------- ------------- ------ -------- --------- -------------
192,597 1 192,597.0 47.9 133.81 796.60 f1qcyh20550cf
Call CALC_QOS_SLOW(:1, :2, :3, :4)
144,969 1 144,969.0 36.1 71.96 136.75 298wmz1kxjs1m
INSERT INTO CM_QOS_PROF SELECT :B1 , R.TOPOLOGYID, :B1 - :B4 , P.NODE_PROFILE_ID
, R.DOCSIFCMTSSERVICEQOSPROFILE FROM CM_SID_RAWDATA R, ( SELECT DISTINCT T.CMID,
P.QOS_PROF_IDX, P.NODE_PROFILE_ID FROM TMP_TOP_SLOW_CM T, CMTS_QOS_PROF P WHERE
T.CMTSID = P.TOPOLOGYID AND P.SECONDID = :B1 ) P WHERE R.BATCHID = :B3 AND R.PR
28,436 4 7,109.0 7.1 4.42 201.93 dr1rkrznhh95b
Call CALC_TOPOLOGY_MEDIUM(:1, :2, :3, :4)
22,352 1 22,352.0 5.6 24.50 354.27 0cjsxw5ndqdbc
Call CALC_HFC_SLOW(:1, :2, :3, :4)
21,907 1 21,907.0 5.4 57.60 773.15 fj6gjgsshtxyx
Call CALC_DELETE_OLD_DATA(:1)
15,834 0 N/A 3.9 15.56 158.02 10dkqv3kr8xa5
SELECT trunc(SYSDATE, 'HH24') HOUR_STAMP, CM_ID, MA
X(SUBSTR(CM_DESC, 1, 12)) CM_DESC, MAX(UP_ID) UP_ID, MA
X(DOWN_ID) DOWN_ID, MAX(MAC_ID) MAC_ID, MAX(CMTS_
ID) CMTS_ID, SUM(BYTES_UP) SUM_BYTES_UP, SUM(BY
15,050 1 15,050.0 3.7 29.25 275.28 8t8as9usk11qw
Call CALC_TOPOLOGY_SLOW(:1, :2, :3, :4)
13,424 1 13,424.0 3.3 6.12 58.83 fd6a0p6333g8z
SELECT trunc(SYSDATE, 'HH24') HOUR_STAMP, CM_ID, MA
X(SUBSTR(CM_DESC, 1, 12)) CM_DESC, MAX(UP_ID) UP_ID, MA
X(DOWN_ID) DOWN_ID, MAX(MAC_ID) MAC_ID, MAX(CMTS_
ID) CMTS_ID, SUM(BYTES_UP) SUM_BYTES_UP, SUM(BY
10,667 1 10,667.0 2.7 2.92 125.63 33bpz9dh1w5jk
Module: Lab128
--lab128 select /*+rule*/ owner, segment_name||decode(partition_name,null,nul
l,' ('||partition_name||')') name, segment_type,tablespace_name, extent_id,f
ile_id,block_id, blocks,bytes/1048576 bytes from dba_extents
9,156 4 2,289.0 2.3 1.68 119.84 4zjg6w4mwu0wv
INSERT INTO TMP_TOP_MED_DN SELECT M.CMTSID, M.VENDOR_DESC, M.MODEL_DESC, MAC_L.T
OPOLOGYID, DOWN_L.TOPOLOGYID, M.UP_SNR_CNR_A3, M.UP_SNR_CNR_A2, M.UP_SNR_CNR_A1,
M.UP_SNR_CNR_A0, M.MAC_SLOTS_OPEN, M.MAC_SLOTS_USED, M.CMTS_REBOOT, 0 FROM TMP_
TOP_MED_CMTS M, TOPOLOGY_LINK DOWN_L, TOPOLOGY_NODE DOWN_N, TOPOLOGY_LINK MAC_L
8,700 1 8,700.0 2.2 3.68 86.86 axyukfdx12pu4
Call CALC_DELETE_SLOW_RAWDATA(:1, :2)
6,878 1 6,878.0 1.7 8.99 73.62 3whpusvtv0qq1
INSERT INTO TMP_CALC_QOS_SLOW_CM_TMP SELECT T.CMTSID, T.DOWNID, T.UPID, T.CMID,
GREATEST(T.CMTS_REBOOT, T.UP_REBOOT), GREATEST(T.CMTS_REBOOT, T.UP_REBOOT), R.DO
CSIFCMTSSERVICEINOCTETS, R.DOCSIFCMTSSERVICEOUTOCTETS, S.SID, L.PREV_SECONDID, L
.PREV_IFINOCTETS, L.PREV_IFOUTOCTETS, L.PREV_SID FROM TMP_TOP_SLOW_CM T, CM_RAWD
5,338 1 5,338.0 1.3 6.37 38.97 094vgzny6jvm4
INSERT INTO CM_VA ( SECONDID, TOPOLOGYID, CER, CCER, SNR, STATUSVALUE, TIMINGOFF
SET ) SELECT :B3 , TOPOLOGYID, CASE WHEN (CMTSCM_UNERR_D IS NULL OR CMTSCM_CORR_
D IS NULL OR CMTSCM_UNCORR_D IS NULL) THEN NULL ELSE 100 * CMTSCM_UNCORR_D/TOTAL
_D END CER, CASE WHEN (CMTSCM_UNERR_D IS NULL OR CMTSCM_CORR_D IS NULL OR CMTSCM
SQL ordered by Reads DB/Inst: CDB10/cdb10 Snaps: 122-123
-> Total Disk Reads: 401,992
-> Captured SQL account for 134.7% of Total
Reads CPU Elapsed
Physical Reads Executions per Exec %Total Time (s) Time (s) SQL Id
-------------- ----------- ------------- ------ -------- --------- -------------
4,337 4 1,084.3 1.1 0.36 5.60 46jpzuthyv6wa
Module: Lab128
--lab128 select se.fa_se, uit.ui, uipt.uip, uist.uis, fr_s.fr_se, t.dt from (se
lect /*+ all_rows */ count(*) fa_se from (select ts#,max(length) m from sys.fet$
group by ts#) f, sys.seg$ s where s.ts#=f.ts# and extsize>m) se, (select count(
*) ui from sys.ind$ where bitand(flags,1)=1) uit, (select count(*) uip from sys.
4,197 1 4,197.0 1.0 2.45 11.06 8b7g4s4qa5r1d
INSERT INTO UPSTREAM_POWER_1 SELECT :B4 , T.UPID, :B4 - :B3 , ROUND(AVG(C.DOCSIF
CMTSCMSTATUSRXPOWER), 0) FROM CM_RAWDATA C, TMP_TOP_SLOW_CM T WHERE C.TOPOLOGYID
= T.CMID AND C.BATCHID = :B2 AND C.PROFINDX = :B1 GROUP BY T.UPID
-------------------------------------------------------------
SQL ordered by Executions DB/Inst: CDB10/cdb10 Snaps: 122-123
-> Total Executions: 542,597
-> Captured SQL account for 86.2% of Total
CPU per Elap per
Executions Rows Processed Rows per Exec Exec (s) Exec (s) SQL Id
------------ --------------- -------------- ---------- ----------- -------------
150,832 150,324 1.0 0.00 0.00 5zm9acqtd51h7
insert into cm_sid_rawdata (profindx, batchid, topologyid, sid, sampletime, docs
IfCmtsServiceQosProfile) values (:1, :2, :3, :4, :5, :6)
150,324 150,324 1.0 0.00 0.00 6xz6vg8q1zygu
insert into cm_rawdata (profindx, batchid, topologyid, sampletime, docsifcmtscms
tatusvalue, docsifcmtsserviceinoctets, docsifcmtsserviceoutoctets, docsifcmtscms
tatusrxpower, cmtscm_unerr, cmtscm_corr, cmtscm_uncorr, cmtscm_snr, cmtscm_timin
goffset) values (:1, :2, :3, :4, :5, :6, :7, :8, :9, :10, :11, :12, :13)
150,259 150,259 1.0 0.00 0.00 c2a2g4fqnm25h
insert into cm_rawdata (profindx, batchid, topologyid, sampletime, sysuptime, do
csifcmstatustxpower, docsifdownchannelpower, docsifsigqunerroreds, docsifsigqcor
recteds, docsifsigquncorrectables, docsifsigqsignalnoise, sysobjectid) values (:
1,:2,:3,:4,:5,:6,:7,:8,:9,:10,:11,:12)
8,128 8,128 1.0 0.00 0.01 12a0nrhpk3hym
UPDATE TOPOLOGY_LINK SET DATETO=sysdate, STATEID=0 WHERE TOPOLOGYID=:1 AND PAREN
TID=:2 AND STATEID=1
977 977 1.0 0.00 0.12 5jh6zfmvpu77f
UPDATE ASH.DBIDS@REPO SET ASHSEQ = :B2 WHERE DBID = :B1
624 624 1.0 0.00 0.00 7h35uxf5uhmm1
select sysdate from dual
624 0 0.0 0.00 0.00 apuw5pk7p77hc
ALTER SESSION SET ISOLATION_LEVEL = READ COMMITTED
595 7,140 12.0 0.01 0.01 d5vf5a1ffcskb
Module: Lab128
--lab128 select replace(stat_name,'TICKS','TIME') stat_name,value from v$osstat
where substr(stat_name,1,3) !='AVG'
567 567 1.0 0.00 0.00 bsa0wjtftg3uw
select file# from file$ where ts#=:1
556 556 1.0 0.01 0.02 7gtztzv329wg0
select c.name, u.name from con$ c, cdef$ cd, user$ u where c.con# = cd.con# and
cd.enabled = :1 and c.owner# = u.user#
-------------------------------------------------------------
SQL ordered by Parse Calls DB/Inst: CDB10/cdb10 Snaps: 122-123
-> Total Parse Calls: 11,460
-> Captured SQL account for 56.7% of Total
% Total
Parse Calls Executions Parses SQL Id
------------ ------------ --------- -------------
624 624 5.45 7h35uxf5uhmm1
select sysdate from dual
624 624 5.45 apuw5pk7p77hc
ALTER SESSION SET ISOLATION_LEVEL = READ COMMITTED
567 567 4.95 bsa0wjtftg3uw
select file# from file$ where ts#=:1
556 556 4.85 7gtztzv329wg0
select c.name, u.name from con$ c, cdef$ cd, user$ u where c.con# = cd.con# and
cd.enabled = :1 and c.owner# = u.user#
508 150,832 4.43 5zm9acqtd51h7
insert into cm_sid_rawdata (profindx, batchid, topologyid, sid, sampletime, docs
IfCmtsServiceQosProfile) values (:1, :2, :3, :4, :5, :6)
448 448 3.91 0h6b2sajwb74n
select privilege#,level from sysauth$ connect by grantee#=prior privilege# and p
rivilege#>0 start with grantee#=:1 and privilege#>0
411 411 3.59 9qgtwh66xg6nz
update seg$ set type#=:4,blocks=:5,extents=:6,minexts=:7,maxexts=:8,extsize=:9,e
xtpct=:10,user#=:11,iniexts=:12,lists=decode(:13, 65535, NULL, :13),groups=decod
e(:14, 65535, NULL, :14), cachehint=:15, hwmincr=:16, spare1=DECODE(:17,0,NULL,:
17),scanhint=:18 where ts#=:1 and file#=:2 and block#=:3
297 297 2.59 350f5yrnnmshs
lock table sys.mon_mods$ in exclusive mode nowait
297 297 2.59 g00cj285jmgsw
update sys.mon_mods$ set inserts = inserts + :ins, updates = updates + :upd, del
etes = deletes + :del, flags = (decode(bitand(flags, :flag), :flag, flags, flags
+ :flag)), drop_segments = drop_segments + :dropseg, timestamp = :time where ob
j# = :objn
181 181 1.58 6129566gyvx21
Module: OEM.SystemPool
SELECT INSTANTIABLE, supertype_owner, supertype_name, LOCAL_ATTRIBUTES FROM all_
types WHERE type_name = :1 AND owner = :2
144 144 1.26 0k8522rmdzg4k
select privilege# from sysauth$ where (grantee#=:1 or grantee#=1) and privilege#
>0
128 128 1.12 cp8ygp2mr8j6s
select * from TOPOLOGY_NODETYPE where NODETYPEID < 0
117 117 1.02 2b064ybzkwf1y
Module: OEM.SystemPool
BEGIN EMD_NOTIFICATION.QUEUE_READY(:1, :2, :3); END;
117 117 1.02 9p1um1wd886xb
select o.owner#, u.name, o.name, o.namespace, o.obj#, d.d
_timestamp, nvl(d.property,0), o.type#, o.subname, d.d_attrs from dependency$ d
, obj$ o, user$ u where d.p_obj#=:1 and (d.p_timestamp=:2 or d.property=2)
and d.d_obj#=o.obj# and o.owner#=u.user# order by o.obj#
116 116 1.01 9zg6y3ucgy8kb
select n.intcol# from ntab$ n, col$ c where n.obj#=:1 and c.obj#=:1 and c.intco
SQL ordered by Parse Calls DB/Inst: CDB10/cdb10 Snaps: 122-123
-> Total Parse Calls: 11,460
-> Captured SQL account for 56.7% of Total
% Total
Parse Calls Executions Parses SQL Id
------------ ------------ --------- -------------
l#=n.intcol# and bitand(c.property, 32768)!=32768
-------------------------------------------------------------
SQL ordered by Sharable Memory DB/Inst: CDB10/cdb10 Snaps: 122-123
No data exists for this section of the report.
-------------------------------------------------------------
SQL ordered by Version Count DB/Inst: CDB10/cdb10 Snaps: 122-123
No data exists for this section of the report.
-------------------------------------------------------------
Instance Activity Stats DB/Inst: CDB10/cdb10 Snaps: 122-123
Statistic Total per Second per Trans
-------------------------------- ------------------ -------------- -------------
CPU used by this session 48,802 13.5 23.9
CPU used when call started 49,725 13.8 24.3
CR blocks created 1,548 0.4 0.8
Cached Commit SCN referenced 4,257 1.2 2.1
Commit SCN cached 19 0.0 0.0
DB time 2,051,539 567.4 1,002.7
DBWR checkpoint buffers written 7,052 2.0 3.5
DBWR checkpoints 78 0.0 0.0
DBWR object drop buffers written 352 0.1 0.2
DBWR revisited being-written buf 281 0.1 0.1
DBWR thread checkpoint buffers w 6,008 1.7 2.9
DBWR transaction table writes 169 0.1 0.1
DBWR undo block writes 86,711 24.0 42.4
IMU CR rollbacks 196 0.1 0.1
IMU Flushes 1,921 0.5 0.9
IMU Redo allocation size 4,831,688 1,336.3 2,361.5
IMU commits 1,095 0.3 0.5
IMU contention 51 0.0 0.0
IMU ktichg flush 11 0.0 0.0
IMU pool not allocated 261 0.1 0.1
IMU recursive-transaction flush 5 0.0 0.0
IMU undo allocation size 8,282,272 2,290.7 4,048.0
IMU- failed to get a private str 261 0.1 0.1
PX local messages recv'd 0 0.0 0.0
PX local messages sent 0 0.0 0.0
SMON posted for undo segment shr 8 0.0 0.0
SQL*Net roundtrips to/from clien 557,524 154.2 272.5
SQL*Net roundtrips to/from dblin 5,571 1.5 2.7
active txn count during cleanout 667,416 184.6 326.2
application wait time 2,949 0.8 1.4
auto extends on undo tablespace 0 0.0 0.0
background checkpoints completed 33 0.0 0.0
background checkpoints started 32 0.0 0.0
background timeouts 10,887 3.0 5.3
branch node splits 14 0.0 0.0
buffer is not pinned count 16,308,390 4,510.5 7,970.9
buffer is pinned count 37,217,420 10,293.4 18,190.3
bytes received via SQL*Net from 54,299,124 15,017.8 26,539.2
bytes received via SQL*Net from 702,510 194.3 343.4
bytes sent via SQL*Net to client 59,493,239 16,454.4 29,077.8
bytes sent via SQL*Net to dblink 4,758,313 1,316.0 2,325.7
calls to get snapshot scn: kcmgs 102,555 28.4 50.1
calls to kcmgas 122,772 34.0 60.0
calls to kcmgcs 666,871 184.4 325.9
change write time 93,636 25.9 45.8
cleanout - number of ktugct call 694,894 192.2 339.6
cleanouts and rollbacks - consis 524 0.1 0.3
cleanouts only - consistent read 16,400 4.5 8.0
cluster key scan block gets 62,504 17.3 30.6
cluster key scans 44,624 12.3 21.8
commit batch performed 5 0.0 0.0
commit batch requested 5 0.0 0.0
commit batch/immediate performed 49 0.0 0.0
commit batch/immediate requested 49 0.0 0.0
commit cleanout failures: block 10,148 2.8 5.0
commit cleanout failures: buffer 39 0.0 0.0
commit cleanout failures: callba 93 0.0 0.1
commit cleanout failures: cannot 2 0.0 0.0
commit cleanouts 49,810 13.8 24.4
commit cleanouts successfully co 39,528 10.9 19.3
Instance Activity Stats DB/Inst: CDB10/cdb10 Snaps: 122-123
Statistic Total per Second per Trans
-------------------------------- ------------------ -------------- -------------
commit immediate performed 44 0.0 0.0
commit immediate requested 44 0.0 0.0
commit txn count during cleanout 37,416 10.4 18.3
concurrency wait time 6,361 1.8 3.1
consistent changes 375,588 103.9 183.6
consistent gets 19,788,311 5,473.0 9,671.7
consistent gets - examination 15,781,101 4,364.7 7,713.2
consistent gets direct 2 0.0 0.0
consistent gets from cache 19,788,309 5,473.0 9,671.7
current blocks converted for CR 1 0.0 0.0
cursor authentications 60 0.0 0.0
data blocks consistent reads - u 7,046 2.0 3.4
db block changes 9,922,875 2,744.4 4,849.9
db block gets 10,289,412 2,845.8 5,029.0
db block gets direct 3,341 0.9 1.6
db block gets from cache 10,286,071 2,844.9 5,027.4
deferred (CURRENT) block cleanou 10,217 2.8 5.0
dirty buffers inspected 142,881 39.5 69.8
enqueue conversions 13,940 3.9 6.8
enqueue releases 71,947 19.9 35.2
enqueue requests 71,973 19.9 35.2
enqueue timeouts 34 0.0 0.0
enqueue waits 65 0.0 0.0
exchange deadlocks 0 0.0 0.0
execute count 542,597 150.1 265.2
free buffer inspected 536,842 148.5 262.4
free buffer requested 511,414 141.4 250.0
global undo segment hints helped 0 0.0 0.0
global undo segment hints were s 0 0.0 0.0
heap block compress 23,794 6.6 11.6
hot buffers moved to head of LRU 35,300 9.8 17.3
immediate (CR) block cleanout ap 16,924 4.7 8.3
immediate (CURRENT) block cleano 40,644 11.2 19.9
index fast full scans (full) 11 0.0 0.0
index fetch by key 9,609,838 2,657.9 4,696.9
index scans kdiixs1 540,504 149.5 264.2
leaf node 90-10 splits 3,675 1.0 1.8
leaf node splits 7,868 2.2 3.9
lob reads 10 0.0 0.0
lob writes 597 0.2 0.3
lob writes unaligned 597 0.2 0.3
logons cumulative 179 0.1 0.1
messages received 36,800 10.2 18.0
messages sent 36,800 10.2 18.0
no buffer to keep pinned count 0 0.0 0.0
no work - consistent read gets 3,414,669 944.4 1,669.0
opened cursors cumulative 11,030 3.1 5.4
parse count (failures) 11 0.0 0.0
parse count (hard) 263 0.1 0.1
parse count (total) 11,460 3.2 5.6
parse time cpu 184 0.1 0.1
parse time elapsed 5,105 1.4 2.5
physical read IO requests 286,506 79.2 140.0
physical read bytes 3,293,118,464 910,795.7 1,609,539.8
physical read total IO requests 312,883 86.5 152.9
physical read total bytes 3,723,894,784 1,029,937.9 1,820,085.4
physical read total multi block 16,936 4.7 8.3
physical reads 401,992 111.2 196.5
physical reads cache 391,309 108.2 191.3
physical reads cache prefetch 106,160 29.4 51.9
Instance Activity Stats DB/Inst: CDB10/cdb10 Snaps: 122-123
Statistic Total per Second per Trans
-------------------------------- ------------------ -------------- -------------
physical reads direct 10,683 3.0 5.2
physical reads direct (lob) 2 0.0 0.0
physical reads direct temporary 10,450 2.9 5.1
physical write IO requests 124,209 34.4 60.7
physical write bytes 1,423,941,632 393,827.3 695,963.7
physical write total IO requests 135,013 37.3 66.0
physical write total bytes 3,039,874,048 840,754.5 1,485,764.4
physical write total multi block 9,946 2.8 4.9
physical writes 173,821 48.1 85.0
physical writes direct 15,138 4.2 7.4
physical writes direct (lob) 3 0.0 0.0
physical writes direct temporary 13,312 3.7 6.5
physical writes from cache 158,683 43.9 77.6
physical writes non checkpoint 171,458 47.4 83.8
pinned buffers inspected 1,327 0.4 0.7
prefetched blocks aged out befor 971 0.3 0.5
process last non-idle time 5,863 1.6 2.9
recovery blocks read 0 0.0 0.0
recursive calls 110,227 30.5 53.9
recursive cpu usage 28,845 8.0 14.1
redo blocks read for recovery 0 0.0 0.0
redo blocks written 2,951,190 816.2 1,442.4
redo buffer allocation retries 4,972 1.4 2.4
redo entries 4,971,193 1,374.9 2,429.7
redo log space requests 1,018 0.3 0.5
redo log space wait time 16,736 4.6 8.2
redo ordering marks 86,212 23.8 42.1
redo size 1,462,839,100 404,585.4 714,975.1
redo synch time 114,641 31.7 56.0
redo synch writes 5,072 1.4 2.5
redo wastage 773,164 213.8 377.9
redo write time 208,649 57.7 102.0
redo writer latching time 9 0.0 0.0
redo writes 2,820 0.8 1.4
rollback changes - undo records 7,908 2.2 3.9
rollbacks only - consistent read 1,010 0.3 0.5
rows fetched via callback 6,732,803 1,862.1 3,290.7
session connect time 0 0.0 0.0
session cursor cache hits 6,009 1.7 2.9
session logical reads 30,077,723 8,318.8 14,700.7
session pga memory 87,991,760 24,336.4 43,006.7
session pga memory max 128,361,936 35,501.8 62,738.0
session uga memory 262,000,976,040 72,463,036.0 #############
session uga memory max 122,117,960 33,774.8 59,686.2
shared hash latch upgrades - no 918,434 254.0 448.9
shared hash latch upgrades - wai 3 0.0 0.0
sorts (disk) 0 0.0 0.0
sorts (memory) 32,808 9.1 16.0
sorts (rows) 1,889,801 522.7 923.7
sql area purged 58 0.0 0.0
summed dirty queue length 2,498,747 691.1 1,221.3
switch current to new buffer 10,984 3.0 5.4
table fetch by rowid 20,173,244 5,579.4 9,859.9
table fetch continued row 9 0.0 0.0
table scan blocks gotten 227,381 62.9 111.1
table scan rows gotten 22,027,503 6,092.3 10,766.1
table scans (cache partitions) 0 0.0 0.0
table scans (long tables) 176 0.1 0.1
table scans (short tables) 5,560 1.5 2.7
total number of times SMON poste 172 0.1 0.1
Instance Activity Stats DB/Inst: CDB10/cdb10 Snaps: 122-123
Statistic Total per Second per Trans
-------------------------------- ------------------ -------------- -------------
transaction rollbacks 49 0.0 0.0
transaction tables consistent re 7 0.0 0.0
transaction tables consistent re 254 0.1 0.1
undo change vector size 619,905,088 171,450.5 302,983.9
user I/O wait time 233,992 64.7 114.4
user calls 560,283 155.0 273.8
user commits 1,614 0.5 0.8
user rollbacks 432 0.1 0.2
workarea executions - onepass 4 0.0 0.0
workarea executions - optimal 36,889 10.2 18.0
write clones created in backgrou 169 0.1 0.1
write clones created in foregrou 830 0.2 0.4
-------------------------------------------------------------
Instance Activity Stats - Absolute ValuesDB/Inst: CDB10/cdb10 Snaps: 122-123
-> Statistics with absolute values (should not be diffed)
Statistic Begin Value End Value
-------------------------------- --------------- ---------------
session cursor cache count 36,864 38,406
opened cursors current 895 925
workarea memory allocated 33,293 34,475
logons current 36 37
-------------------------------------------------------------
Instance Activity Stats - Thread Activity DB/Inst: CDB10/cdb10 Snaps: 122-123
-> Statistics identified by '(derived)' come from sources other than SYSSTAT
Statistic Total per Hour
-------------------------------- ------------------ ---------
log switches (derived) 32 31.86
-------------------------------------------------------------
Tablespace IO Stats DB/Inst: CDB10/cdb10 Snaps: 122-123
-> ordered by IOs (Reads + Writes) desc
Tablespace
------------------------------
Av Av Av Av Buffer Av Buf
Reads Reads/s Rd(ms) Blks/Rd Writes Writes/s Waits Wt(ms)
-------------- ------- ------ ------- ------------ -------- ---------- ------
TS_STARGUS
194,616 54 8.3 1.2 43,074 12 0 0.0
TEMP
73,213 20 5.1 1.4 13,433 4 0 0.0
UNDOTBS1
998 0 34.5 1.0 65,474 18 152 325.0
SYSTEM
9,656 3 12.1 5.1 254 0 2 300.0
SYSAUX
6,768 2 16.5 1.1 1,773 0 2 10.0
PERFSTAT
661 0 35.7 1.0 271 0 0 0.0
EXAMPLE
482 0 13.4 1.0 33 0 0 0.0
USERS
105 0 8.7 1.0 33 0 0 0.0
-------------------------------------------------------------
File IO Stats DB/Inst: CDB10/cdb10 Snaps: 122-123
-> ordered by Tablespace, File
Tablespace Filename
------------------------ ----------------------------------------------------
Av Av Av Av Buffer Av Buf
Reads Reads/s Rd(ms) Blks/Rd Writes Writes/s Waits Wt(ms)
-------------- ------- ------ ------- ------------ -------- ---------- ------
EXAMPLE /export/home/oracle10/oradata/cdb10/example01.dbf
482 0 13.4 1.0 33 0 0 0.0
PERFSTAT /export/home/oracle10/oradata/cdb10/perfstat01.dbf
661 0 35.7 1.0 271 0 0 0.0
SYSAUX /export/home/oracle10/oradata/cdb10/sysaux01.dbf
6,768 2 16.5 1.1 1,773 0 2 10.0
SYSTEM /export/home/oracle10/oradata/cdb10/system01.dbf
9,656 3 12.1 5.1 254 0 2 300.0
TEMP /export/home/oracle10/oradata/cdb10/temp01.dbf
73,213 20 5.1 1.4 13,433 4 0 N/A
TS_STARGUS /export/home/oracle10/oradata/cdb10/ts_stargus_01.db
194,616 54 8.3 1.2 43,074 12 0 0.0
UNDOTBS1 /export/home/oracle10/oradata/cdb10/undotbs01.dbf
998 0 34.5 1.0 65,474 18 152 325.0
USERS /export/home/oracle10/oradata/cdb10/users01.dbf
105 0 8.7 1.0 33 0 0 0.0
-------------------------------------------------------------
Buffer Pool Statistics DB/Inst: CDB10/cdb10 Snaps: 122-123
-> Standard block size Pools D: default, K: keep, R: recycle
-> Default Pools for other block sizes: 2k, 4k, 8k, 16k, 32k
Free Writ Buffer
Number of Pool Buffer Physical Physical Buff Comp Busy
P Buffers Hit% Gets Reads Writes Wait Wait Waits
--- ---------- ---- -------------- ------------ ----------- ---- ---- ----------
D 3,465 99 30,072,012 391,303 159,176 #### 8 156
-------------------------------------------------------------
Instance Recovery Stats DB/Inst: CDB10/cdb10 Snaps: 122-123
-> B: Begin snapshot, E: End snapshot
Targt Estd Log File Log Ckpt Log Ckpt
MTTR MTTR Recovery Actual Target Size Timeout Interval
(s) (s) Estd IOs Redo Blks Redo Blks Redo Blks Redo Blks Redo Blks
- ----- ----- ---------- --------- --------- ---------- --------- ------------
B 0 20 1046 147434 184320 184320 483666 N/A
E 0 16 764 94387 184320 184320 441470 N/A
-------------------------------------------------------------
Buffer Pool Advisory DB/Inst: CDB10/cdb10 Snap: 123
-> Only rows with estimated physical reads >0 are displayed
-> ordered by Block Size, Buffers For Estimate
Est
Phys
Size for Size Buffers for Read Estimated
P Est (M) Factor Estimate Factor Physical Reads
--- -------- ------ ---------------- ------ ------------------
D 4 .1 495 2.6 5,966,703
D 8 .3 990 1.4 3,331,760
D 12 .4 1,485 1.4 3,181,146
D 16 .6 1,980 1.3 3,073,609
D 20 .7 2,475 1.3 2,965,522
D 24 .9 2,970 1.0 2,373,562
D 28 1.0 3,465 1.0 2,334,724
D 32 1.1 3,960 1.0 2,309,994
D 36 1.3 4,455 1.0 2,278,012
D 40 1.4 4,950 1.0 2,253,921
D 44 1.6 5,445 1.0 2,231,246
D 48 1.7 5,940 0.9 2,212,530
D 52 1.9 6,435 0.9 2,184,378
D 56 2.0 6,930 0.9 2,146,358
-------------------------------------------------------------
PGA Aggr Summary DB/Inst: CDB10/cdb10 Snaps: 122-123
-> PGA cache hit % - percentage of W/A (WorkArea) data processed only in-memory
PGA Cache Hit % W/A MB Processed Extra W/A MB Read/Written
--------------- ------------------ --------------------------
93.7 3,557 241
-------------------------------------------------------------
PGA Aggr Target Stats DB/Inst: CDB10/cdb10 Snaps: 122-123
-> B: Begin snap E: End snap (rows dentified with B or E contain data
which is absolute i.e. not diffed over the interval)
-> Auto PGA Target - actual workarea memory target
-> W/A PGA Used - amount of memory used for all Workareas (manual + auto)
-> %PGA W/A Mem - percentage of PGA memory allocated to workareas
-> %Auto W/A Mem - percentage of workarea memory controlled by Auto Mem Mgmt
-> %Man W/A Mem - percentage of workarea memory under manual control
%PGA %Auto %Man
PGA Aggr Auto PGA PGA Mem W/A PGA W/A W/A W/A Global Mem
Target(M) Target(M) Alloc(M) Used(M) Mem Mem Mem Bound(K)
- ---------- ---------- ---------- ---------- ------ ------ ------ ----------
B 200 127 141.6 32.5 23.0 100.0 .0 40,960
E 200 125 144.8 33.7 23.2 100.0 .0 40,960
-------------------------------------------------------------
PGA Aggr Target Histogram DB/Inst: CDB10/cdb10 Snaps: 122-123
-> Optimal Executions are purely in-memory operations
Low High
Optimal Optimal Total Execs Optimal Execs 1-Pass Execs M-Pass Execs
------- ------- -------------- -------------- ------------ ------------
2K 4K 33,637 33,637 0 0
64K 128K 25 25 0 0
128K 256K 3 3 0 0
256K 512K 26 26 0 0
512K 1024K 2,273 2,273 0 0
1M 2M 895 895 0 0
4M 8M 10 8 2 0
8M 16M 12 12 0 0
16M 32M 2 2 0 0
64M 128M 2 0 2 0
-------------------------------------------------------------
PGA Memory Advisory DB/Inst: CDB10/cdb10 Snap: 123
-> When using Auto Memory Mgmt, minimally choose a pga_aggregate_target value
where Estd PGA Overalloc Count is 0
Estd Extra Estd PGA Estd PGA
PGA Target Size W/A MB W/A MB Read/ Cache Overalloc
Est (MB) Factr Processed Written to Disk Hit % Count
---------- ------- ---------------- ---------------- -------- ----------
25 0.1 56,190.1 4,876.0 92.0 353
50 0.3 56,190.1 3,846.0 94.0 203
100 0.5 56,190.1 406.6 99.0 0
150 0.8 56,190.1 278.9 100.0 0
200 1.0 56,190.1 278.9 100.0 0
240 1.2 56,190.1 215.7 100.0 0
280 1.4 56,190.1 215.7 100.0 0
320 1.6 56,190.1 215.7 100.0 0
360 1.8 56,190.1 215.7 100.0 0
400 2.0 56,190.1 215.7 100.0 0
600 3.0 56,190.1 215.7 100.0 0
800 4.0 56,190.1 215.7 100.0 0
1,200 6.0 56,190.1 215.7 100.0 0
1,600 8.0 56,190.1 215.7 100.0 0
-------------------------------------------------------------
Shared Pool Advisory DB/Inst: CDB10/cdb10 Snap: 123
-> SP: Shared Pool Est LC: Estimated Library Cache Factr: Factor
-> Note there is often a 1:Many correlation between a single logical object
in the Library Cache, and the physical number of memory objects associated
with it. Therefore comparing the number of Lib Cache objects (e.g. in
v$librarycache), with the number of Lib Cache Memory Objects is invalid.
Est LC Est LC Est LC Est LC
Shared SP Est LC Time Time Load Load Est LC
Pool Size Size Est LC Saved Saved Time Time Mem
Size(M) Factr (M) Mem Obj (s) Factr (s) Factr Obj Hits
---------- ----- -------- ------------ ------- ------ ------- ------ -----------
96 .8 19 2,407 ####### 1.0 882 2.0 3,172,239
112 .9 33 3,038 ####### 1.0 538 1.2 3,190,425
128 1.0 47 4,150 ####### 1.0 433 1.0 3,193,792
144 1.1 62 5,909 ####### 1.0 430 1.0 3,194,235
160 1.3 77 7,196 ####### 1.0 427 1.0 3,194,510
176 1.4 92 8,955 ####### 1.0 427 1.0 3,194,594
192 1.5 107 10,579 ####### 1.0 426 1.0 3,194,828
208 1.6 122 12,029 ####### 1.0 426 1.0 3,195,128
224 1.8 137 13,603 ####### 1.0 424 1.0 3,195,555
240 1.9 152 14,744 ####### 1.0 423 1.0 3,195,770
256 2.0 167 15,773 ####### 1.0 423 1.0 3,195,906
-------------------------------------------------------------
SGA Target Advisory DB/Inst: CDB10/cdb10 Snap: 123
No data exists for this section of the report.
-------------------------------------------------------------
Streams Pool Advisory DB/Inst: CDB10/cdb10 Snap: 123
No data exists for this section of the report.
-------------------------------------------------------------
Java Pool Advisory DB/Inst: CDB10/cdb10 Snap: 123
No data exists for this section of the report.
-------------------------------------------------------------
Buffer Wait Statistics DB/Inst: CDB10/cdb10 Snaps: 122-123
-> ordered by wait time desc, waits desc
Class Waits Total Wait Time (s) Avg Time (ms)
------------------ ----------- ------------------- --------------
undo header 152 49 325
data block 4 1 155
-------------------------------------------------------------
Enqueue Activity DB/Inst: CDB10/cdb10 Snaps: 122-123
-> only enqueues with waits are shown
-> Enqueue stats gathered prior to 10g should not be compared with 10g data
-> ordered by Wait Time desc, Waits desc
Enqueue Type (Request Reason)
------------------------------------------------------------------------------
Requests Succ Gets Failed Gets Waits Wt Time (s) Av Wt Time(ms)
------------ ------------ ----------- ----------- ------------ --------------
RO-Multiple Object Reuse (fast object reuse)
414 414 0 46 23 505.78
CF-Controlfile Transaction
2,004 2,003 1 19 7 366.58
-------------------------------------------------------------
Undo Segment Summary DB/Inst: CDB10/cdb10 Snaps: 122-123
-> Min/Max TR (mins) - Min and Max Tuned Retention (minutes)
-> STO - Snapshot Too Old count, OOS - Out of Space count
-> Undo segment block stats:
-> uS - unexpired Stolen, uR - unexpired Released, uU - unexpired reUsed
-> eS - expired Stolen, eR - expired Released, eU - expired reUsed
Undo Num Undo Number of Max Qry Max Tx Min/Max STO/ uS/uR/uU/
TS# Blocks (K) Transactions Len (s) Concurcy TR (mins) OOS eS/eR/eU
---- ---------- --------------- -------- -------- --------- ----- --------------
1 82.3 16,347 253 6 15/15.25 0/0 0/0/0/0/0/0
-------------------------------------------------------------
Undo Segment Stats DB/Inst: CDB10/cdb10 Snaps: 122-123
-> Most recent 35 Undostat rows, ordered by Time desc
Num Undo Number of Max Qry Max Tx Tun Ret STO/ uS/uR/uU/
End Time Blocks Transactions Len (s) Concy (mins) OOS eS/eR/eU
------------ ----------- ------------ ------- ------- ------- ----- ------------
31-Jul 17:54 17,588 4,451 13 6 15 0/0 0/0/0/0/0/0
31-Jul 17:44 11,302 4,215 0 4 15 0/0 0/0/0/0/0/0
31-Jul 17:34 8,066 1,832 0 4 15 0/0 0/0/0/0/0/0
31-Jul 17:24 17,412 861 90 5 15 0/0 0/0/0/0/0/0
31-Jul 17:14 15,100 892 137 3 15 0/0 0/0/0/0/0/0
31-Jul 17:04 12,857 4,096 253 6 15 0/0 0/0/0/0/0/0
-------------------------------------------------------------
Latch Activity DB/Inst: CDB10/cdb10 Snaps: 122-123
-> "Get Requests", "Pct Get Miss" and "Avg Slps/Miss" are statistics for
willing-to-wait latch get requests
-> "NoWait Requests", "Pct NoWait Miss" are for no-wait latch get requests
-> "Pct Misses" for both should be very close to 0.0
Pct Avg Wait Pct
Get Get Slps Time NoWait NoWait
Latch Name Requests Miss /Miss (s) Requests Miss
------------------------ -------------- ------ ------ ------ ------------ ------
AWR Alerted Metric Eleme 13,936 0.0 N/A 0 0 N/A
Consistent RBA 2,852 0.0 N/A 0 0 N/A
FOB s.o list latch 333 0.0 N/A 0 0 N/A
In memory undo latch 30,230 0.0 0.7 8 4,148 0.0
JS mem alloc latch 3 0.0 N/A 0 0 N/A
JS queue access latch 3 0.0 N/A 0 0 N/A
JS queue state obj latch 25,990 0.0 N/A 0 0 N/A
JS slv state obj latch 115 0.0 N/A 0 0 N/A
KMG MMAN ready and start 1,201 0.0 N/A 0 0 N/A
KTF sga latch 10 0.0 N/A 0 1,006 0.0
KWQMN job cache list lat 116 0.0 N/A 0 0 N/A
KWQP Prop Status 1 0.0 N/A 0 0 N/A
MQL Tracking Latch 0 N/A N/A 0 72 0.0
Memory Management Latch 0 N/A N/A 0 1,201 0.0
OS process 573 0.0 N/A 0 0 N/A
OS process allocation 1,584 0.0 N/A 0 0 N/A
OS process: request allo 235 0.0 N/A 0 0 N/A
PL/SQL warning settings 935 0.0 N/A 0 0 N/A
SQL memory manager latch 2 0.0 N/A 0 1,177 0.0
SQL memory manager worka 92,470 0.0 N/A 0 0 N/A
Shared B-Tree 137 0.0 N/A 0 0 N/A
active checkpoint queue 34,292 0.0 N/A 0 0 N/A
active service list 8,119 0.0 N/A 0 1,272 0.0
archive control 1,017 0.0 N/A 0 0 N/A
begin backup scn array 92 0.0 N/A 0 0 N/A
cache buffer handles 22,997 0.0 N/A 0 0 N/A
cache buffers chains 66,867,303 0.0 0.0 0 665,222 0.0
cache buffers lru chain 1,026,321 0.1 0.0 1 135,882 0.1
cache table scan latch 0 N/A N/A 0 16,587 0.0
channel handle pool latc 570 0.0 N/A 0 0 N/A
channel operations paren 25,362 0.1 0.0 0 0 N/A
checkpoint queue latch 369,985 0.0 0.0 0 140,728 0.0
client/application info 2,329 0.0 N/A 0 0 N/A
commit callback allocati 97 0.0 N/A 0 0 N/A
compile environment latc 7,185 0.0 N/A 0 0 N/A
dictionary lookup 55 0.0 N/A 0 0 N/A
dml lock allocation 21,178 0.0 N/A 0 0 N/A
dummy allocation 357 0.0 N/A 0 0 N/A
enqueue hash chains 157,981 0.0 0.0 0 5,754 0.0
enqueues 97,190 0.0 0.0 0 0 N/A
event group latch 118 0.0 N/A 0 0 N/A
file cache latch 995 0.0 N/A 0 0 N/A
global KZLD latch for me 81 0.0 N/A 0 0 N/A
global tx hash mapping 10,377 0.0 N/A 0 0 N/A
hash table column usage 163 0.0 N/A 0 72,097 0.0
hash table modification 129 0.0 N/A 0 0 N/A
job workq parent latch 0 N/A N/A 0 122 0.0
job_queue_processes para 120 0.0 N/A 0 0 N/A
kks stats 504 0.0 N/A 0 0 N/A
ksuosstats global area 1,435 0.0 N/A 0 0 N/A
ktm global data 194 0.0 N/A 0 0 N/A
kwqbsn:qsga 137 0.0 N/A 0 0 N/A
lgwr LWN SCN 2,855 0.0 0.0 0 0 N/A
library cache 1,239,482 0.0 0.0 0 322 0.0
library cache load lock 90 0.0 N/A 0 7 0.0
library cache lock 55,083 0.0 N/A 0 0 N/A
library cache lock alloc 1,753 0.0 N/A 0 0 N/A
library cache pin 1,158,486 0.0 0.0 0 0 N/A
library cache pin alloca 584 0.0 N/A 0 0 N/A
list of block allocation 1,340 0.0 N/A 0 0 N/A
Latch Activity DB/Inst: CDB10/cdb10 Snaps: 122-123
-> "Get Requests", "Pct Get Miss" and "Avg Slps/Miss" are statistics for
willing-to-wait latch get requests
-> "NoWait Requests", "Pct NoWait Miss" are for no-wait latch get requests
-> "Pct Misses" for both should be very close to 0.0
Pct Avg Wait Pct
Get Get Slps Time NoWait NoWait
Latch Name Requests Miss /Miss (s) Requests Miss
------------------------ -------------- ------ ------ ------ ------------ ------
loader state object free 570 0.0 N/A 0 0 N/A
longop free list parent 1 0.0 N/A 0 1 0.0
message pool operations 568 0.0 N/A 0 0 N/A
messages 99,560 0.0 0.0 0 0 N/A
mostly latch-free SCN 2,865 0.2 0.0 0 0 N/A
multiblock read objects 35,166 0.0 N/A 0 0 N/A
ncodef allocation latch 71 0.0 N/A 0 0 N/A
object queue header heap 7,276 0.0 N/A 0 7,237 0.0
object queue header oper 1,520,984 0.0 0.0 1 0 N/A
object stats modificatio 360 1.1 0.0 0 0 N/A
parallel query alloc buf 472 0.0 N/A 0 0 N/A
parameter list 643 0.0 N/A 0 0 N/A
parameter table allocati 240 0.0 N/A 0 0 N/A
post/wait queue 9,658 0.1 0.0 0 3,466 0.0
process allocation 235 0.0 N/A 0 118 0.0
process group creation 235 0.0 N/A 0 0 N/A
qmn task queue latch 512 0.0 N/A 0 0 N/A
redo allocation 25,223 0.1 0.0 0 4,972,609 0.0
redo copy 0 N/A N/A 0 4,972,708 0.0
redo writing 46,698 0.0 0.0 0 0 N/A
resmgr group change latc 533 0.0 N/A 0 0 N/A
resmgr:actses active lis 950 0.0 N/A 0 0 N/A
resmgr:actses change gro 142 0.0 N/A 0 0 N/A
resmgr:free threads list 353 0.0 N/A 0 0 N/A
resmgr:schema config 597 0.0 N/A 0 0 N/A
row cache objects 231,601 0.0 0.0 0 448 0.0
rules engine aggregate s 17 0.0 N/A 0 0 N/A
rules engine rule set st 134 0.0 N/A 0 0 N/A
sequence cache 4,464 0.0 N/A 0 0 N/A
session allocation 42,421 0.0 N/A 0 0 N/A
session idle bit 1,127,557 0.0 0.0 0 0 N/A
session state list latch 494 0.0 N/A 0 0 N/A
session switching 71 0.0 N/A 0 0 N/A
session timer 1,272 0.0 N/A 0 0 N/A
shared pool 26,428 0.0 0.4 0 0 N/A
simulator hash latch 2,137,589 0.0 N/A 0 0 N/A
simulator lru latch 2,051,579 0.0 0.0 0 46,222 0.1
slave class 2 0.0 N/A 0 0 N/A
slave class create 8 0.0 N/A 0 0 N/A
sort extent pool 4,406 0.1 0.0 0 0 N/A
state object free list 2 0.0 N/A 0 0 N/A
statistics aggregation 140 0.0 N/A 0 0 N/A
temp lob duration state 2 0.0 N/A 0 0 N/A
threshold alerts latch 305 0.0 N/A 0 0 N/A
transaction allocation 875,726 0.0 N/A 0 0 N/A
transaction branch alloc 2,031 0.0 N/A 0 0 N/A
undo global data 804,587 0.0 0.0 0 0 N/A
user lock 444 0.0 N/A 0 0 N/A
-------------------------------------------------------------
Latch Sleep Breakdown DB/Inst: CDB10/cdb10 Snaps: 122-123
-> ordered by misses desc
Latch Name
----------------------------------------
Get Requests Misses Sleeps Spin Gets Sleep1 Sleep2 Sleep3
-------------- ----------- ----------- ---------- -------- -------- --------
cache buffers chains
66,867,303 1,726 4 1,722 0 0 0
cache buffers lru chain
1,026,321 1,124 10 1,114 0 0 0
simulator lru latch
2,051,579 537 2 535 0 0 0
library cache
1,239,482 149 4 145 0 0 0
object queue header operation
1,520,984 123 2 121 0 0 0
library cache pin
1,158,486 33 1 32 0 0 0
redo allocation
25,223 33 1 32 0 0 0
In memory undo latch
30,230 7 5 2 0 0 0
shared pool
26,428 5 2 3 0 0 0
-------------------------------------------------------------
Latch Miss Sources DB/Inst: CDB10/cdb10 Snaps: 122-123
-> only latches with sleeps are shown
-> ordered by name, sleeps desc
NoWait Waiter
Latch Name Where Misses Sleeps Sleeps
------------------------ -------------------------- ------- ---------- --------
In memory undo latch ktiFlush: child 0 5 4
cache buffers chains kcbgtcr: kslbegin excl 0 4 0
cache buffers chains kcbgtcr: fast path 0 2 1
cache buffers chains kcbchg: kslbegin: call CR 0 1 1
cache buffers chains kcbgtcr: kslbegin shared 0 1 0
cache buffers lru chain kcbzgws_1 0 6 9
cache buffers lru chain kcbzar: KSLNBEGIN 0 2 0
cache buffers lru chain kcbbic2 0 1 1
cache buffers lru chain kcbbwlru 0 1 0
library cache kglhdiv: child 0 1 0
library cache lock kgllkdl: child: no lock ha 0 2 0
library cache pin kglpndl 0 1 1
object queue header oper kcbo_switch_cq 0 1 1
object queue header oper kcbw_link_q 0 1 0
redo allocation kcrfw_redo_gen: redo alloc 0 1 0
shared pool kghalp 0 1 0
shared pool kghfrunp: clatch: nowait 0 1 0
shared pool kghupr1 0 1 0
simulator lru latch kcbs_simulate: simulate se 0 2 1
-------------------------------------------------------------
Parent Latch Statistics DB/Inst: CDB10/cdb10 Snaps: 122-123
No data exists for this section of the report.
-------------------------------------------------------------
Child Latch Statistics DB/Inst: CDB10/cdb10 Snaps: 122-123
No data exists for this section of the report.
-------------------------------------------------------------
Segments by Logical Reads DB/Inst: CDB10/cdb10 Snaps: 122-123
-> Total Logical Reads: 30,077,723
-> Captured Segments account for 88.6% of Total
Tablespace Subobject Obj. Logical
Owner Name Object Name Name Type Reads %Total
---------- ---------- -------------------- ---------- ----- ------------ -------
STARGUS TEMP PK_TMP_TOP_SLOW_CM INDEX 5,264,912 17.50
STARGUS TEMP TMP_TOP_SLOW_CM TABLE 5,244,192 17.44
STARGUS TS_STARGUS PK_CM_RAWDATA INDEX 2,271,232 7.55
STARGUS TS_STARGUS CM_RAWDATA TABLE 1,899,472 6.32
STARGUS TS_STARGUS CM_SID_RAWDATA TABLE 1,440,752 4.79
-------------------------------------------------------------
Segments by Physical Reads DB/Inst: CDB10/cdb10 Snaps: 122-123
-> Total Physical Reads: 401,992
-> Captured Segments account for 67.7% of Total
Tablespace Subobject Obj. Physical
Owner Name Object Name Name Type Reads %Total
---------- ---------- -------------------- ---------- ----- ------------ -------
STARGUS TS_STARGUS PK_CM_SID_RAWDATA INDEX 42,629 10.60
STARGUS TEMP TMP_TOP_SLOW_CM TABLE 38,818 9.66
STARGUS TS_STARGUS CM_SID_RAWDATA TABLE 38,588 9.60
STARGUS TEMP PK_TMP_TOP_SLOW_CM INDEX 31,020 7.72
STARGUS TS_STARGUS TOPOLOGY_LINK TABLE 30,360 7.55
-------------------------------------------------------------
Segments by Row Lock Waits DB/Inst: CDB10/cdb10 Snaps: 122-123
-> % of Capture shows % of row lock waits for each top segment compared
-> with total row lock waits for all segments captured by the Snapshot
Row
Tablespace Subobject Obj. Lock % of
Owner Name Object Name Name Type Waits Capture
---------- ---------- -------------------- ---------- ----- ------------ -------
SYS SYSTEM SMON_SCN_TIME TABLE 4 30.77
SYSMAN SYSAUX MGMT_METRICS_1HOUR_P INDEX 2 15.38
PERFSTAT PERFSTAT STATS$EVENT_HISTOGRA INDEX 2 15.38
PERFSTAT PERFSTAT STATS$LATCH_PK INDEX 2 15.38
SYS SYSAUX WRH$_SERVICE_STAT_PK 559071_106 INDEX 2 15.38
-------------------------------------------------------------
Segments by ITL Waits DB/Inst: CDB10/cdb10 Snaps: 122-123
No data exists for this section of the report.
-------------------------------------------------------------
Segments by Buffer Busy Waits DB/Inst: CDB10/cdb10 Snaps: 122-123
-> % of Capture shows % of Buffer Busy Waits for each top segment compared
-> with total Buffer Busy Waits for all segments captured by the Snapshot
Buffer
Tablespace Subobject Obj. Busy % of
Owner Name Object Name Name Type Waits Capture
---------- ---------- -------------------- ---------- ----- ------------ -------
SYS SYSTEM JOB$ TABLE 2 66.67
SYSMAN SYSAUX MGMT_CURRENT_METRICS INDEX 1 33.33
-------------------------------------------------------------
Dictionary Cache Stats DB/Inst: CDB10/cdb10 Snaps: 122-123
-> "Pct Misses" should be very low (< 2% in most cases)
-> "Final Usage" is the number of cache entries being used
Get Pct Scan Pct Mod Final
Cache Requests Miss Reqs Miss Reqs Usage
------------------------- ------------ ------ ------- ----- -------- ----------
dc_awr_control 67 0.0 0 N/A 2 1
dc_database_links 72 0.0 0 N/A 0 1
dc_files 70 0.0 0 N/A 0 7
dc_global_oids 4,852 0.0 0 N/A 0 16
dc_histogram_data 3,190 0.9 0 N/A 0 1,064
dc_histogram_defs 6,187 0.7 0 N/A 0 1,592
dc_object_ids 7,737 0.9 0 N/A 1 480
dc_objects 1,345 1.9 0 N/A 56 437
dc_profiles 163 0.0 0 N/A 0 2
dc_rollback_segments 677 0.0 0 N/A 0 22
dc_segments 1,839 0.5 0 N/A 411 264
dc_sequences 75 0.0 0 N/A 75 6
dc_tablespace_quotas 890 0.1 0 N/A 0 5
dc_tablespaces 26,615 0.0 0 N/A 0 8
dc_usernames 257 0.4 0 N/A 0 9
dc_users 25,512 0.0 0 N/A 0 44
outstanding_alerts 126 7.1 0 N/A 17 17
-------------------------------------------------------------
Library Cache Activity DB/Inst: CDB10/cdb10 Snaps: 122-123
-> "Pct Misses" should be very low
Get Pct Pin Pct Invali-
Namespace Requests Miss Requests Miss Reloads dations
--------------- ------------ ------ -------------- ------ ---------- --------
BODY 550 0.0 6,440 0.0 0 0
CLUSTER 1 0.0 4 0.0 0 0
INDEX 41 0.0 86 0.0 0 0
SQL AREA 64 71.9 548,251 0.1 194 177
TABLE/PROCEDURE 389 3.9 13,583 0.3 16 0
TRIGGER 34 11.8 520 0.8 0 0
-------------------------------------------------------------
Process Memory Summary DB/Inst: CDB10/cdb10 Snaps: 122-123
-> B: Begin snap E: End snap
-> All rows below contain absolute values (i.e. not diffed over the interval)
-> Max Alloc is Maximum PGA Allocation size at snapshot time
-> Hist Max Alloc is the Historical Max Allocation for still-connected processes
-> ordered by Begin/End snapshot, Alloc (MB) desc
Hist
Avg Std Dev Max Max
Alloc Used Alloc Alloc Alloc Alloc Num Num
Category (MB) (MB) (MB) (MB) (MB) (MB) Proc Alloc
- -------- --------- --------- -------- -------- ------- ------- ------ ------
B Other 71.7 N/A 1.9 3.6 22 22 38 38
SQL 39.2 38.0 1.4 6.9 37 46 29 25
Freeable 29.8 .0 1.1 1.5 9 N/A 26 26
PL/SQL .9 .5 .0 .0 0 0 36 36
E Other 74.2 N/A 1.9 3.6 22 22 39 39
SQL 40.2 38.9 1.3 6.7 37 46 30 26
Freeable 29.5 .0 1.1 1.5 9 N/A 26 26
PL/SQL 1.0 .6 .0 .0 0 0 37 37
-------------------------------------------------------------
SGA Memory Summary DB/Inst: CDB10/cdb10 Snaps: 122-123
End Size (Bytes)
SGA regions Begin Size (Bytes) (if different)
------------------------------ ------------------- -------------------
Database Buffers 29,360,128
Fixed Size 1,979,488
Redo Buffers 6,406,144
Variable Size 423,627,680
-------------------
sum 461,373,440
-------------------------------------------------------------
SGA breakdown difference DB/Inst: CDB10/cdb10 Snaps: 122-123
-> ordered by Pool, Name
-> N/A value for Begin MB or End MB indicates the size of that Pool/Name was
insignificant, or zero in that snapshot
Pool Name Begin MB End MB % Diff
------ ------------------------------ -------------- -------------- -------
java free memory 24.0 24.0 0.00
shared ASH buffers 4.0 4.0 0.00
shared CCursor 6.5 6.5 -0.11
shared FileOpenBlock 1.4 1.4 0.00
shared Heap0: KGL 3.8 3.7 -0.62
shared KCB Table Scan Buffer 3.8 3.8 0.00
shared KGLS heap 1.6 1.5 -6.07
shared KQR M PO 1.5 1.3 -9.15
shared KSFD SGA I/O b 3.8 3.8 0.00
shared PCursor 5.2 5.3 0.20
shared PL/SQL MPCODE 3.4 3.4 0.00
shared event statistics per sess 1.5 1.5 0.00
shared free memory 10.4 10.4 0.39
shared kglsim hash table bkts 4.0 4.0 0.00
shared kglsim heap 1.3 1.4 1.72
shared kglsim object batch 2.1 2.1 1.04
shared kks stbkt 1.5 1.5 0.00
shared library cache 9.5 9.6 0.57
shared private strands 2.3 2.3 0.00
shared row cache 7.1 7.1 0.00
shared sql area 27.2 27.4 0.89
buffer_cache 28.0 28.0 0.00
fixed_sga 1.9 1.9 0.00
log_buffer 6.1 6.1 0.00
-------------------------------------------------------------
Streams CPU/IO Usage DB/Inst: CDB10/cdb10 Snaps: 122-123
No data exists for this section of the report.
-------------------------------------------------------------
Streams Capture DB/Inst: CDB10/cdb10 Snaps: 122-123
No data exists for this section of the report.
-------------------------------------------------------------
Streams Apply DB/Inst: CDB10/cdb10 Snaps: 122-123
No data exists for this section of the report.
-------------------------------------------------------------
Buffered Queues DB/Inst: CDB10/cdb10 Snaps: 122-123
No data exists for this section of the report.
-------------------------------------------------------------
Buffered Subscribers DB/Inst: CDB10/cdb10 Snaps: 122-123
No data exists for this section of the report.
-------------------------------------------------------------
Rule Set DB/Inst: CDB10/cdb10 Snaps: 122-123
No data exists for this section of the report.
-------------------------------------------------------------
Resource Limit Stats DB/Inst: CDB10/cdb10 Snap: 123
No data exists for this section of the report.
-------------------------------------------------------------
init.ora Parameters DB/Inst: CDB10/cdb10 Snaps: 122-123
End value
Parameter Name Begin value (if different)
----------------------------- --------------------------------- --------------
audit_file_dest /export/home/oracle10/admin/cdb10
background_dump_dest /export/home/oracle10/admin/cdb10
compatible 10.2.0.1.0
control_files /export/home/oracle10/oradata/cdb
core_dump_dest /export/home/oracle10/admin/cdb10
db_block_size 8192
db_cache_size 29360128
db_domain
db_file_multiblock_read_count 8
db_name cdb10
db_recovery_file_dest /export/home/oracle10/flash_recov
db_recovery_file_dest_size 2147483648
dispatchers (PROTOCOL=TCP) (SERVICE=cdb10XDB)
job_queue_processes 10
open_cursors 300
pga_aggregate_target 209715200
processes 150
remote_login_passwordfile EXCLUSIVE
sga_max_size 461373440
sga_target 0
shared_pool_size 134217728
undo_management AUTO
undo_tablespace UNDOTBS1
user_dump_dest /export/home/oracle10/admin/cdb10
-------------------------------------------------------------
End of Report
}}}
{{{
WORKLOAD REPOSITORY report for
DB Name DB Id Instance Inst Num Release RAC Host
------------ ----------- ------------ -------- ----------- --- ------------
IVRS 2607950532 ivrs 1 10.2.0.3.0 NO dbrocaix01.b
Snap Id Snap Time Sessions Curs/Sess
--------- ------------------- -------- ---------
Begin Snap: 338 17-Jan-10 06:50:58 31 2.9
End Snap: 339 17-Jan-10 07:01:01 30 2.2
Elapsed: 10.05 (mins)
DB Time: 22.08 (mins)
Cache Sizes
~~~~~~~~~~~ Begin End
---------- ----------
Buffer Cache: 200M 196M Std Block Size: 8K
Shared Pool Size: 92M 96M Log Buffer: 2,860K
Load Profile
~~~~~~~~~~~~ Per Second Per Transaction
--------------- ---------------
Redo size: 25,946.47 6,162.81
Logical reads: 10,033.03 2,383.05
Block changes: 147.02 34.92
Physical reads: 9,390.59 2,230.46
Physical writes: 41.20 9.79
User calls: 19.14 4.55
Parses: 9.87 2.34
Hard parses: 0.69 0.16
Sorts: 3.05 0.72
Logons: 0.52 0.12
Executes: 95.91 22.78
Transactions: 4.21
% Blocks changed per Read: 1.47 Recursive Call %: 90.93
Rollback per transaction %: 0.51 Rows per Sort: ########
Instance Efficiency Percentages (Target 100%)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Buffer Nowait %: 100.00 Redo NoWait %: 99.99
Buffer Hit %: 102.59 In-memory Sort %: 100.00
Library Hit %: 97.85 Soft Parse %: 93.01
Execute to Parse %: 89.71 Latch Hit %: 100.00
Parse CPU to Parse Elapsd %: 19.56 % Non-Parse CPU: 98.43
Shared Pool Statistics Begin End
------ ------
Memory Usage %: 75.99 78.27
% SQL with executions>1: 68.86 64.10
% Memory for SQL w/exec>1: 65.95 58.03
Top 5 Timed Events Avg %Total
~~~~~~~~~~~~~~~~~~ wait Call
Event Waits Time (s) (ms) Time Wait Class
------------------------------ ------------ ----------- ------ ------ ----------
CPU time 436 32.9
db file sequential read 18,506 279 15 21.1 User I/O
PX Deq Credit: send blkd 79,918 177 2 13.4 Other
direct path read 374,300 149 0 11.2 User I/O
log file parallel write 2,299 83 36 6.2 System I/O
-------------------------------------------------------------
Time Model Statistics DB/Inst: IVRS/ivrs Snaps: 338-339
-> Total time in database user-calls (DB Time): 1324.6s
-> Statistics including the word "background" measure background process
time, and so do not contribute to the DB time statistic
-> Ordered by % or DB time desc, Statistic name
Statistic Name Time (s) % of DB Time
------------------------------------------ ------------------ ------------
sql execute elapsed time 1,272.2 96.0
DB CPU 435.7 32.9
parse time elapsed 52.3 3.9
hard parse elapsed time 42.5 3.2
Java execution elapsed time 4.0 .3
PL/SQL execution elapsed time 3.3 .2
PL/SQL compilation elapsed time 0.3 .0
connection management call elapsed time 0.1 .0
sequence load elapsed time 0.1 .0
hard parse (sharing criteria) elapsed time 0.1 .0
repeated bind elapsed time 0.1 .0
hard parse (bind mismatch) elapsed time 0.0 .0
DB time 1,324.6 N/A
background elapsed time 314.3 N/A
background cpu time 11.6 N/A
-------------------------------------------------------------
Wait Class DB/Inst: IVRS/ivrs Snaps: 338-339
-> s - second
-> cs - centisecond - 100th of a second
-> ms - millisecond - 1000th of a second
-> us - microsecond - 1000000th of a second
-> ordered by wait time desc, waits desc
Avg
%Time Total Wait wait Waits
Wait Class Waits -outs Time (s) (ms) /txn
-------------------- ---------------- ------ ---------------- ------- ---------
User I/O 396,180 .0 488 1 156.0
Other 88,652 5.2 259 3 34.9
System I/O 4,903 .0 243 50 1.9
Commit 1,418 1.3 67 48 0.6
Concurrency 29 20.7 2 60 0.0
Configuration 1 .0 0 247 0.0
Network 8,410 .0 0 0 3.3
Application 36 .0 0 0 0.0
-------------------------------------------------------------
Wait Events DB/Inst: IVRS/ivrs Snaps: 338-339
-> s - second
-> cs - centisecond - 100th of a second
-> ms - millisecond - 1000th of a second
-> us - microsecond - 1000000th of a second
-> ordered by wait time desc, waits desc (idle events last)
Avg
%Time Total Wait wait Waits
Event Waits -outs Time (s) (ms) /txn
---------------------------- -------------- ------ ----------- ------- ---------
db file sequential read 18,506 .0 279 15 7.3
PX Deq Credit: send blkd 79,918 .0 177 2 31.5
direct path read 374,300 .0 149 0 147.4
log file parallel write 2,299 .0 83 36 0.9
db file parallel write 658 .0 79 120 0.3
PX qref latch 6,958 64.7 79 11 2.7
log file sync 1,418 1.3 67 48 0.6
buffer read retry 54 81.5 43 797 0.0
control file parallel write 259 .0 42 163 0.1
log file sequential read 54 .0 27 507 0.0
control file sequential read 1,577 .0 11 7 0.6
db file scattered read 236 .0 9 36 0.1
direct path write temp 1,533 .0 7 4 0.6
direct path read temp 1,533 .0 2 1 0.6
os thread startup 5 20.0 2 321 0.0
PX Deq: Signal ACK 182 26.4 1 8 0.1
change tracking file synchro 11 .0 1 105 0.0
Log archive I/O 54 .0 1 17 0.0
log file switch completion 1 .0 0 247 0.0
PX Deq: Table Q qref 1,422 .0 0 0 0.6
enq: PS - contention 51 .0 0 3 0.0
SQL*Net more data from clien 12 .0 0 12 0.0
PX Deq: Table Q Get Keys 40 .0 0 3 0.0
latch: library cache 9 .0 0 9 0.0
SQL*Net message to client 8,291 .0 0 0 3.3
latch free 7 .0 0 9 0.0
cursor: pin S wait on X 10 50.0 0 5 0.0
latch: cache buffers lru cha 25 .0 0 2 0.0
latch: session allocation 7 .0 0 5 0.0
log file single write 2 .0 0 9 0.0
direct path write 15 .0 0 1 0.0
latch: shared pool 2 .0 0 6 0.0
latch: redo allocation 1 .0 0 10 0.0
read by other session 3 .0 0 3 0.0
SQL*Net break/reset to clien 36 .0 0 0 0.0
SQL*Net more data to client 107 .0 0 0 0.0
latch: object queue header o 3 .0 0 1 0.0
change tracking file synchro 12 .0 0 0 0.0
LGWR wait for redo copy 14 .0 0 0 0.0
latch: cache buffers chains 3 .0 0 0 0.0
enq: BF - allocation content 1 .0 0 0 0.0
PX Idle Wait 1,398 79.0 2,234 1598 0.6
class slave wait 28 21.4 1,114 39769 0.0
PX Deq: Table Q Normal 348,049 .0 682 2 137.1
jobq slave wait 232 94.8 670 2890 0.1
ASM background timer 148 .0 583 3937 0.1
Streams AQ: qmn coordinator 43 51.2 577 13430 0.0
Streams AQ: qmn slave idle w 21 .0 577 27498 0.0
PX Deq: Execution Msg 7,434 2.5 573 77 2.9
SQL*Net message from client 8,291 .0 568 68 3.3
virtual circuit status 19 100.0 557 29296 0.0
PX Deq: Execute Reply 5,871 1.1 508 86 2.3
PX Deq Credit: need buffer 62,922 .0 48 1 24.8
PX Deq: Table Q Sample 1,307 .0 5 4 0.5
KSV master wait 22 .0 0 22 0.0
PX Deq: Parse Reply 201 .0 0 1 0.1
PX Deq: Msg Fragment 234 .0 0 1 0.1
PX Deq: Join ACK 170 .0 0 1 0.1
SGA: MMAN sleep for componen 16 43.8 0 12 0.0
-------------------------------------------------------------
Background Wait Events DB/Inst: IVRS/ivrs Snaps: 338-339
-> ordered by wait time desc, waits desc (idle events last)
Avg
%Time Total Wait wait Waits
Event Waits -outs Time (s) (ms) /txn
---------------------------- -------------- ------ ----------- ------- ---------
log file parallel write 2,299 .0 82 36 0.9
db file parallel write 654 .0 78 119 0.3
control file parallel write 259 .0 42 163 0.1
log file sequential read 54 .0 27 507 0.0
control file sequential read 399 .0 11 26 0.2
os thread startup 5 20.0 2 321 0.0
Log archive I/O 54 .0 1 17 0.0
events in waitclass Other 38 .0 1 16 0.0
log file single write 2 .0 0 9 0.0
direct path write 13 .0 0 1 0.0
latch: shared pool 1 .0 0 10 0.0
direct path read 13 .0 0 0 0.0
db file sequential read 543 .0 -1 -2 0.2
rdbms ipc message 4,458 50.1 7,496 1681 1.8
smon timer 39 .0 611 15662 0.0
ASM background timer 148 .0 583 3937 0.1
pmon timer 241 100.0 581 2412 0.1
Streams AQ: qmn coordinator 43 51.2 577 13430 0.0
Streams AQ: qmn slave idle w 21 .0 577 27498 0.0
KSV master wait 22 .0 0 22 0.0
SGA: MMAN sleep for componen 16 43.8 0 12 0.0
-------------------------------------------------------------
Operating System Statistics DB/Inst: IVRS/ivrs Snaps: 338-339
Statistic Total
-------------------------------- --------------------
BUSY_TIME 46,982
IDLE_TIME 9,587
IOWAIT_TIME 5,623
NICE_TIME 172
SYS_TIME 37,041
USER_TIME 9,589
LOAD 4
RSRC_MGR_CPU_WAIT_TIME 0
PHYSICAL_MEMORY_BYTES 50,048
NUM_CPUS 1
-------------------------------------------------------------
Service Statistics DB/Inst: IVRS/ivrs Snaps: 338-339
-> ordered by DB Time
Physical Logical
Service Name DB Time (s) DB CPU (s) Reads Reads
-------------------------------- ------------ ------------ ---------- ----------
ivrs.bayantel.com 1,329.2 427.1 5,587,106 5,878,962
SYS$USERS 91.6 13.5 1,357 94,224
SYS$BACKGROUND 0.0 0.0 1,367 19,062
ivrsXDB 0.0 0.0 0 0
-------------------------------------------------------------
Service Wait Class Stats DB/Inst: IVRS/ivrs Snaps: 338-339
-> Wait Class info for services in the Service Statistics section.
-> Total Waits and Time Waited displayed for the following wait
classes: User I/O, Concurrency, Administrative, Network
-> Time Waited (Wt Time) in centisecond (100th of a second)
Service Name
----------------------------------------------------------------
User I/O User I/O Concurcy Concurcy Admin Admin Network Network
Total Wts Wt Time Total Wts Wt Time Total Wts Wt Time Total Wts Wt Time
--------- --------- --------- --------- --------- --------- --------- ---------
ivrs.bayantel.com
394179 34576 16 6 0 0 8358 6
SYS$USERS
1120 3538 2 1 0 0 42 14
SYS$BACKGROUND
1310 10821 6 162 0 0 0 0
-------------------------------------------------------------
SQL ordered by Elapsed Time DB/Inst: IVRS/ivrs Snaps: 338-339
-> Resources reported for PL/SQL code includes the resources used by all SQL
statements called by the code.
-> % Total DB Time is the Elapsed Time of the SQL statement divided
into the Total Database Time multiplied by 100
Elapsed CPU Elap per % Total
Time (s) Time (s) Executions Exec (s) DB Time SQL Id
---------- ---------- ------------ ---------- ------- -------------
90 28 1 89.6 6.8 bsdgaykhvy4xr
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select s_name, count(*) as numwait from supplier, lineitem l1, orders, nation wh
ere s_suppkey = l1.l_suppkey and o_orderkey = l1.l_orderkey and o_orderstatus =
'F' and l1.l_receiptdate > l1.l_commitdate and exists ( select * from lineitem l
2 where l2.l_orderkey = l1.l_orderkey and l2.l_suppkey <> l1.l_suppkey) and not
89 28 2 44.5 6.7 bmfc2a2ym0kwr
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select nation, o_year, sum(amount) as sum_profit from ( select n_name as nation,
extract(year from o_orderdate) as o_year, l_extendedprice * (1 - l_discount) -
ps_supplycost * l_quantity as amount from part, supplier, lineitem, partsupp, or
ders, nation where s_suppkey = l_suppkey and ps_suppkey = l_suppkey and ps_partk
59 6 1 58.5 4.4 081am6psuh26j
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select sum(l_extendedprice) / 7.0 as avg_yearly from lineitem, part where p_part
key = l_partkey and p_brand = 'Brand#35' and p_container = 'LG BOX' and l_quanti
ty < ( select 0.2 * avg(l_quantity) from lineitem where l_partkey = p_partkey)
57 22 1 56.9 4.3 6mrh6s1s5g851
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select s_name, count(*) as numwait from supplier, lineitem l1, orders, nation wh
ere s_suppkey = l1.l_suppkey and o_orderkey = l1.l_orderkey and o_orderstatus =
'F' and l1.l_receiptdate > l1.l_commitdate and exists ( select * from lineitem l
2 where l2.l_orderkey = l1.l_orderkey and l2.l_suppkey <> l1.l_suppkey) and not
50 6 1 50.2 3.8 acgpfd4ysyfxb
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select s_name, s_address from supplier, nation where s_suppkey in ( select ps_su
ppkey from partsupp where ps_partkey in ( select p_partkey from part where p_nam
e like 'puff%') and ps_availqty > ( select 0.5 * sum(l_quantity) from lineitem w
here l_partkey = ps_partkey and l_suppkey = ps_suppkey and l_shipdate >= date '1
49 21 1 49.2 3.7 2n4xg8c3dmd62
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select s_name, count(*) as numwait from supplier, lineitem l1, orders, nation wh
ere s_suppkey = l1.l_suppkey and o_orderkey = l1.l_orderkey and o_orderstatus =
'F' and l1.l_receiptdate > l1.l_commitdate and exists ( select * from lineitem l
2 where l2.l_orderkey = l1.l_orderkey and l2.l_suppkey <> l1.l_suppkey) and not
46 15 1 45.7 3.4 29rqwcj4cs31u
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select c_name, c_custkey, o_orderkey, o_orderdate, o_totalprice, sum(l_quantity)
from customer, orders, lineitem where o_orderkey in ( select l_orderkey from li
neitem group by l_orderkey having sum(l_quantity) > 313) and c_custkey = o_custk
ey and o_orderkey = l_orderkey group by c_name, c_custkey, o_orderkey, o_orderda
40 1 1 40.1 3.0 d92h3rjp0y217
begin prvt_hdm.auto_execute( :db_id, :inst_id, :end_snap ); end;
34 14 1 34.1 2.6 cvhgz2zwbk4qf
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select l_returnflag, l_linestatus, sum(l_quantity) as sum_qty, sum(l_extendedpri
ce) as sum_base_price, sum(l_extendedprice * (1 - l_discount)) as sum_disc_price
, sum(l_extendedprice * (1 - l_discount) * (1 + l_tax)) as sum_charge, avg(l_qua
ntity) as avg_qty, avg(l_extendedprice) as avg_price, avg(l_discount) as avg_dis
31 14 1 30.8 2.3 7409gxv4spfj2
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
SQL ordered by Elapsed Time DB/Inst: IVRS/ivrs Snaps: 338-339
-> Resources reported for PL/SQL code includes the resources used by all SQL
statements called by the code.
-> % Total DB Time is the Elapsed Time of the SQL statement divided
into the Total Database Time multiplied by 100
Elapsed CPU Elap per % Total
Time (s) Time (s) Executions Exec (s) DB Time SQL Id
---------- ---------- ------------ ---------- ------- -------------
select l_returnflag, l_linestatus, sum(l_quantity) as sum_qty, sum(l_extendedpri
ce) as sum_base_price, sum(l_extendedprice * (1 - l_discount)) as sum_disc_price
, sum(l_extendedprice * (1 - l_discount) * (1 + l_tax)) as sum_charge, avg(l_qua
ntity) as avg_qty, avg(l_extendedprice) as avg_price, avg(l_discount) as avg_dis
29 14 1 29.3 2.2 1f0r8shtps3bu
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select nation, o_year, sum(amount) as sum_profit from ( select n_name as nation,
extract(year from o_orderdate) as o_year, l_extendedprice * (1 - l_discount) -
ps_supplycost * l_quantity as amount from part, supplier, lineitem, partsupp, or
ders, nation where s_suppkey = l_suppkey and ps_suppkey = l_suppkey and ps_partk
26 14 1 25.9 2.0 05jp96tzvutb6
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select l_returnflag, l_linestatus, sum(l_quantity) as sum_qty, sum(l_extendedpri
ce) as sum_base_price, sum(l_extendedprice * (1 - l_discount)) as sum_disc_price
, sum(l_extendedprice * (1 - l_discount) * (1 + l_tax)) as sum_charge, avg(l_qua
ntity) as avg_qty, avg(l_extendedprice) as avg_price, avg(l_discount) as avg_dis
26 8 1 25.5 1.9 6aqpwwba8xvuu
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select o_year, sum(case when nation = 'GERMANY' then volume else 0 end) / sum(vo
lume) as mkt_share from ( select extract(year from o_orderdate) as o_year, l_ext
endedprice * (1 - l_discount) as volume, n2.n_name as nation from part, supplier
, lineitem, orders, customer, nation n1, nation n2, region where p_partkey = l_p
24 11 1 23.7 1.8 8sfhj7ua3qfjf
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select c_name, c_custkey, o_orderkey, o_orderdate, o_totalprice, sum(l_quantity)
from customer, orders, lineitem where o_orderkey in ( select l_orderkey from li
neitem group by l_orderkey having sum(l_quantity) > 312) and c_custkey = o_custk
ey and o_orderkey = l_orderkey group by c_name, c_custkey, o_orderkey, o_orderda
23 11 2 11.6 1.8 814qvp0rkqug4
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select c_name, c_custkey, o_orderkey, o_orderdate, o_totalprice, sum(l_quantity)
from customer, orders, lineitem where o_orderkey in ( select l_orderkey from li
neitem group by l_orderkey having sum(l_quantity) > 314) and c_custkey = o_custk
ey and o_orderkey = l_orderkey group by c_name, c_custkey, o_orderkey, o_orderda
23 7 1 23.2 1.8 94wqqbu0ajcvn
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select o_year, sum(case when nation = 'JAPAN' then volume else 0 end) / sum(volu
me) as mkt_share from ( select extract(year from o_orderdate) as o_year, l_exten
dedprice * (1 - l_discount) as volume, n2.n_name as nation from part, supplier,
lineitem, orders, customer, nation n1, nation n2, region where p_partkey = l_par
23 7 1 23.2 1.8 5xd0ak4417rk0
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select o_year, sum(case when nation = 'MOZAMBIQUE' then volume else 0 end) / sum
(volume) as mkt_share from ( select extract(year from o_orderdate) as o_year, l_
extendedprice * (1 - l_discount) as volume, n2.n_name as nation from part, suppl
ier, lineitem, orders, customer, nation n1, nation n2, region where p_partkey =
22 2 539 0.0 1.7 aw9ttz9acxbc3
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
BEGIN payment(:p_w_id,:p_d_id,:p_c_w_id,:p_c_d_id,:p_c_id,:byname,:p_h_amount,:p
_c_last,:p_w_street_1,:p_w_street_2,:p_w_city,:p_w_state,:p_w_zip,:p_d_street_1,
:p_d_street_2,:p_d_city,:p_d_state,:p_d_zip,:p_c_first,:p_c_middle,:p_c_street_1
,:p_c_street_2,:p_c_city,:p_c_state,:p_c_zip,:p_c_phone,:p_c_since,:p_c_credit,:
SQL ordered by Elapsed Time DB/Inst: IVRS/ivrs Snaps: 338-339
-> Resources reported for PL/SQL code includes the resources used by all SQL
statements called by the code.
-> % Total DB Time is the Elapsed Time of the SQL statement divided
into the Total Database Time multiplied by 100
Elapsed CPU Elap per % Total
Time (s) Time (s) Executions Exec (s) DB Time SQL Id
---------- ---------- ------------ ---------- ------- -------------
21 4 2 10.6 1.6 2x4gjqru5u1xx
Module: SQL*Plus
SELECT s0.snap_id id, -- TO_CHAR(s0.END_INTERVAL_TIME,'YY/MM/DD HH24:MI') tm,
round(EXTRACT(DAY FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) * 1440
+ EXTRACT(HOUR FROM s1.END_INTERVAL_TIME - s0.END
_INTERVAL_TIME) * 60 + EXTRACT(MINUTE FROM s1.
21 4 546 0.0 1.6 16dhat4ta7xs9
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
begin neword(:no_w_id,:no_max_w_id,:no_d_id,:no_c_id,:no_o_ol_cnt,:no_c_discount
,:no_c_last,:no_c_credit,:no_d_tax,:no_w_tax,:no_d_next_o_id,TO_DATE(:timestamp,
'YYYYMMDDHH24MISS')); END;
21 0 1 20.9 1.6 14wnf35dahb7v
SELECT A.ID,A.TYPE FROM SYS.WRI$_ADV_DEFINITIONS A WHERE A.NAME = :B1
17 0 42 0.4 1.3 d4ujh5yqt1fph
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
BEGIN delivery(:d_w_id,:d_o_carrier_id,TO_DATE(:timestamp,'YYYYMMDDHH24MISS'));
END;
16 2 1 16.5 1.2 1wzqub25cwnjm
DECLARE job BINARY_INTEGER := :job; next_date DATE := :mydate; broken BOOLEAN :
= FALSE; BEGIN wksys.wk_job.invoke(21,21); :mydate := next_date; IF broken THEN
:b := 1; ELSE :b := 0; END IF; END;
16 0 420 0.0 1.2 5ps73nuy5f2vj
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
UPDATE ORDER_LINE SET OL_DELIVERY_D = :B4 WHERE OL_O_ID = :B3 AND OL_D_ID = :B2
AND OL_W_ID = :B1
15 1 317 0.0 1.1 4wg725nwpxb1z
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
SELECT C_FIRST, C_MIDDLE, C_ID, C_STREET_1, C_STREET_2, C_CITY, C_STATE, C_ZIP,
C_PHONE, C_CREDIT, C_CREDIT_LIM, C_DISCOUNT, C_BALANCE, C_SINCE FROM CUSTOMER WH
ERE C_W_ID = :B3 AND C_D_ID = :B2 AND C_LAST = :B1 ORDER BY C_FIRST
15 6 1 14.5 1.1 fcfjqugcc1zy0
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select c_count, count(*) as custdist from ( select c_custkey, count(o_orderkey)
as c_count from customer left outer join orders on c_custkey = o_custkey and o_c
omment not like '%express%requests%' group by c_custkey) c_orders group by c_cou
nt order by custdist desc, c_count desc
14 2 9 1.6 1.1 6gvch1xu9ca3g
DECLARE job BINARY_INTEGER := :job; next_date DATE := :mydate; broken BOOLEAN :
= FALSE; BEGIN EMD_MAINTENANCE.EXECUTE_EM_DBMS_JOB_PROCS(); :mydate := next_date
; IF broken THEN :b := 1; ELSE :b := 0; END IF; END;
14 7 1 13.9 1.0 15dxu5nmuj14a
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select o_orderpriority, count(*) as order_count from orders where o_orderdate >=
date '1994-08-01' and o_orderdate < date '1994-08-01' + interval '3' month and
exists ( select * from lineitem where l_orderkey = o_orderkey and l_commitdate <
l_receiptdate) group by o_orderpriority order by o_orderpriority
14 2 5,442 0.0 1.0 8yvup05pk06ca
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
SELECT S_QUANTITY, S_DATA, S_DIST_01, S_DIST_02, S_DIST_03, S_DIST_04, S_DIST_05
SQL ordered by Elapsed Time DB/Inst: IVRS/ivrs Snaps: 338-339
-> Resources reported for PL/SQL code includes the resources used by all SQL
statements called by the code.
-> % Total DB Time is the Elapsed Time of the SQL statement divided
into the Total Database Time multiplied by 100
Elapsed CPU Elap per % Total
Time (s) Time (s) Executions Exec (s) DB Time SQL Id
---------- ---------- ------------ ---------- ------- -------------
, S_DIST_06, S_DIST_07, S_DIST_08, S_DIST_09, S_DIST_10 FROM STOCK WHERE S_I_ID
= :B2 AND S_W_ID = :B1
-------------------------------------------------------------
SQL ordered by CPU Time DB/Inst: IVRS/ivrs Snaps: 338-339
-> Resources reported for PL/SQL code includes the resources used by all SQL
statements called by the code.
-> % Total DB Time is the Elapsed Time of the SQL statement divided
into the Total Database Time multiplied by 100
CPU Elapsed CPU per % Total
Time (s) Time (s) Executions Exec (s) DB Time SQL Id
---------- ---------- ------------ ----------- ------- -------------
28 89 2 14.17 6.7 bmfc2a2ym0kwr
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select nation, o_year, sum(amount) as sum_profit from ( select n_name as nation,
extract(year from o_orderdate) as o_year, l_extendedprice * (1 - l_discount) -
ps_supplycost * l_quantity as amount from part, supplier, lineitem, partsupp, or
ders, nation where s_suppkey = l_suppkey and ps_suppkey = l_suppkey and ps_partk
28 90 1 28.03 6.8 bsdgaykhvy4xr
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select s_name, count(*) as numwait from supplier, lineitem l1, orders, nation wh
ere s_suppkey = l1.l_suppkey and o_orderkey = l1.l_orderkey and o_orderstatus =
'F' and l1.l_receiptdate > l1.l_commitdate and exists ( select * from lineitem l
2 where l2.l_orderkey = l1.l_orderkey and l2.l_suppkey <> l1.l_suppkey) and not
22 57 1 21.81 4.3 6mrh6s1s5g851
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select s_name, count(*) as numwait from supplier, lineitem l1, orders, nation wh
ere s_suppkey = l1.l_suppkey and o_orderkey = l1.l_orderkey and o_orderstatus =
'F' and l1.l_receiptdate > l1.l_commitdate and exists ( select * from lineitem l
2 where l2.l_orderkey = l1.l_orderkey and l2.l_suppkey <> l1.l_suppkey) and not
21 49 1 20.85 3.7 2n4xg8c3dmd62
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select s_name, count(*) as numwait from supplier, lineitem l1, orders, nation wh
ere s_suppkey = l1.l_suppkey and o_orderkey = l1.l_orderkey and o_orderstatus =
'F' and l1.l_receiptdate > l1.l_commitdate and exists ( select * from lineitem l
2 where l2.l_orderkey = l1.l_orderkey and l2.l_suppkey <> l1.l_suppkey) and not
15 46 1 14.85 3.4 29rqwcj4cs31u
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select c_name, c_custkey, o_orderkey, o_orderdate, o_totalprice, sum(l_quantity)
from customer, orders, lineitem where o_orderkey in ( select l_orderkey from li
neitem group by l_orderkey having sum(l_quantity) > 313) and c_custkey = o_custk
ey and o_orderkey = l_orderkey group by c_name, c_custkey, o_orderkey, o_orderda
14 34 1 14.34 2.6 cvhgz2zwbk4qf
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select l_returnflag, l_linestatus, sum(l_quantity) as sum_qty, sum(l_extendedpri
ce) as sum_base_price, sum(l_extendedprice * (1 - l_discount)) as sum_disc_price
, sum(l_extendedprice * (1 - l_discount) * (1 + l_tax)) as sum_charge, avg(l_qua
ntity) as avg_qty, avg(l_extendedprice) as avg_price, avg(l_discount) as avg_dis
14 31 1 14.08 2.3 7409gxv4spfj2
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select l_returnflag, l_linestatus, sum(l_quantity) as sum_qty, sum(l_extendedpri
ce) as sum_base_price, sum(l_extendedprice * (1 - l_discount)) as sum_disc_price
, sum(l_extendedprice * (1 - l_discount) * (1 + l_tax)) as sum_charge, avg(l_qua
ntity) as avg_qty, avg(l_extendedprice) as avg_price, avg(l_discount) as avg_dis
14 26 1 13.69 2.0 05jp96tzvutb6
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select l_returnflag, l_linestatus, sum(l_quantity) as sum_qty, sum(l_extendedpri
ce) as sum_base_price, sum(l_extendedprice * (1 - l_discount)) as sum_disc_price
, sum(l_extendedprice * (1 - l_discount) * (1 + l_tax)) as sum_charge, avg(l_qua
ntity) as avg_qty, avg(l_extendedprice) as avg_price, avg(l_discount) as avg_dis
14 29 1 13.58 2.2 1f0r8shtps3bu
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select nation, o_year, sum(amount) as sum_profit from ( select n_name as nation,
extract(year from o_orderdate) as o_year, l_extendedprice * (1 - l_discount) -
SQL ordered by CPU Time DB/Inst: IVRS/ivrs Snaps: 338-339
-> Resources reported for PL/SQL code includes the resources used by all SQL
statements called by the code.
-> % Total DB Time is the Elapsed Time of the SQL statement divided
into the Total Database Time multiplied by 100
CPU Elapsed CPU per % Total
Time (s) Time (s) Executions Exec (s) DB Time SQL Id
---------- ---------- ------------ ----------- ------- -------------
ps_supplycost * l_quantity as amount from part, supplier, lineitem, partsupp, or
ders, nation where s_suppkey = l_suppkey and ps_suppkey = l_suppkey and ps_partk
11 24 1 11.47 1.8 8sfhj7ua3qfjf
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select c_name, c_custkey, o_orderkey, o_orderdate, o_totalprice, sum(l_quantity)
from customer, orders, lineitem where o_orderkey in ( select l_orderkey from li
neitem group by l_orderkey having sum(l_quantity) > 312) and c_custkey = o_custk
ey and o_orderkey = l_orderkey group by c_name, c_custkey, o_orderkey, o_orderda
11 23 2 5.66 1.8 814qvp0rkqug4
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select c_name, c_custkey, o_orderkey, o_orderdate, o_totalprice, sum(l_quantity)
from customer, orders, lineitem where o_orderkey in ( select l_orderkey from li
neitem group by l_orderkey having sum(l_quantity) > 314) and c_custkey = o_custk
ey and o_orderkey = l_orderkey group by c_name, c_custkey, o_orderkey, o_orderda
8 26 1 8.14 1.9 6aqpwwba8xvuu
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select o_year, sum(case when nation = 'GERMANY' then volume else 0 end) / sum(vo
lume) as mkt_share from ( select extract(year from o_orderdate) as o_year, l_ext
endedprice * (1 - l_discount) as volume, n2.n_name as nation from part, supplier
, lineitem, orders, customer, nation n1, nation n2, region where p_partkey = l_p
7 23 1 6.89 1.8 5xd0ak4417rk0
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select o_year, sum(case when nation = 'MOZAMBIQUE' then volume else 0 end) / sum
(volume) as mkt_share from ( select extract(year from o_orderdate) as o_year, l_
extendedprice * (1 - l_discount) as volume, n2.n_name as nation from part, suppl
ier, lineitem, orders, customer, nation n1, nation n2, region where p_partkey =
7 23 1 6.76 1.8 94wqqbu0ajcvn
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select o_year, sum(case when nation = 'JAPAN' then volume else 0 end) / sum(volu
me) as mkt_share from ( select extract(year from o_orderdate) as o_year, l_exten
dedprice * (1 - l_discount) as volume, n2.n_name as nation from part, supplier,
lineitem, orders, customer, nation n1, nation n2, region where p_partkey = l_par
7 14 1 6.63 1.0 15dxu5nmuj14a
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select o_orderpriority, count(*) as order_count from orders where o_orderdate >=
date '1994-08-01' and o_orderdate < date '1994-08-01' + interval '3' month and
exists ( select * from lineitem where l_orderkey = o_orderkey and l_commitdate <
l_receiptdate) group by o_orderpriority order by o_orderpriority
6 15 1 6.36 1.1 fcfjqugcc1zy0
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select c_count, count(*) as custdist from ( select c_custkey, count(o_orderkey)
as c_count from customer left outer join orders on c_custkey = o_custkey and o_c
omment not like '%express%requests%' group by c_custkey) c_orders group by c_cou
nt order by custdist desc, c_count desc
6 50 1 6.02 3.8 acgpfd4ysyfxb
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select s_name, s_address from supplier, nation where s_suppkey in ( select ps_su
ppkey from partsupp where ps_partkey in ( select p_partkey from part where p_nam
e like 'puff%') and ps_availqty > ( select 0.5 * sum(l_quantity) from lineitem w
here l_partkey = ps_partkey and l_suppkey = ps_suppkey and l_shipdate >= date '1
6 59 1 5.87 4.4 081am6psuh26j
SQL ordered by CPU Time DB/Inst: IVRS/ivrs Snaps: 338-339
-> Resources reported for PL/SQL code includes the resources used by all SQL
statements called by the code.
-> % Total DB Time is the Elapsed Time of the SQL statement divided
into the Total Database Time multiplied by 100
CPU Elapsed CPU per % Total
Time (s) Time (s) Executions Exec (s) DB Time SQL Id
---------- ---------- ------------ ----------- ------- -------------
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select sum(l_extendedprice) / 7.0 as avg_yearly from lineitem, part where p_part
key = l_partkey and p_brand = 'Brand#35' and p_container = 'LG BOX' and l_quanti
ty < ( select 0.2 * avg(l_quantity) from lineitem where l_partkey = p_partkey)
4 21 2 2.15 1.6 2x4gjqru5u1xx
Module: SQL*Plus
SELECT s0.snap_id id, -- TO_CHAR(s0.END_INTERVAL_TIME,'YY/MM/DD HH24:MI') tm,
round(EXTRACT(DAY FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) * 1440
+ EXTRACT(HOUR FROM s1.END_INTERVAL_TIME - s0.END
_INTERVAL_TIME) * 60 + EXTRACT(MINUTE FROM s1.
4 21 546 0.01 1.6 16dhat4ta7xs9
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
begin neword(:no_w_id,:no_max_w_id,:no_d_id,:no_c_id,:no_o_ol_cnt,:no_c_discount
,:no_c_last,:no_c_credit,:no_d_tax,:no_w_tax,:no_d_next_o_id,TO_DATE(:timestamp,
'YYYYMMDDHH24MISS')); END;
2 14 9 0.27 1.1 6gvch1xu9ca3g
DECLARE job BINARY_INTEGER := :job; next_date DATE := :mydate; broken BOOLEAN :
= FALSE; BEGIN EMD_MAINTENANCE.EXECUTE_EM_DBMS_JOB_PROCS(); :mydate := next_date
; IF broken THEN :b := 1; ELSE :b := 0; END IF; END;
2 16 1 2.12 1.2 1wzqub25cwnjm
DECLARE job BINARY_INTEGER := :job; next_date DATE := :mydate; broken BOOLEAN :
= FALSE; BEGIN wksys.wk_job.invoke(21,21); :mydate := next_date; IF broken THEN
:b := 1; ELSE :b := 0; END IF; END;
2 14 5,442 0.00 1.0 8yvup05pk06ca
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
SELECT S_QUANTITY, S_DATA, S_DIST_01, S_DIST_02, S_DIST_03, S_DIST_04, S_DIST_05
, S_DIST_06, S_DIST_07, S_DIST_08, S_DIST_09, S_DIST_10 FROM STOCK WHERE S_I_ID
= :B2 AND S_W_ID = :B1
2 22 539 0.00 1.7 aw9ttz9acxbc3
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
BEGIN payment(:p_w_id,:p_d_id,:p_c_w_id,:p_c_d_id,:p_c_id,:byname,:p_h_amount,:p
_c_last,:p_w_street_1,:p_w_street_2,:p_w_city,:p_w_state,:p_w_zip,:p_d_street_1,
:p_d_street_2,:p_d_city,:p_d_state,:p_d_zip,:p_c_first,:p_c_middle,:p_c_street_1
,:p_c_street_2,:p_c_city,:p_c_state,:p_c_zip,:p_c_phone,:p_c_since,:p_c_credit,:
1 40 1 1.18 3.0 d92h3rjp0y217
begin prvt_hdm.auto_execute( :db_id, :inst_id, :end_snap ); end;
1 15 317 0.00 1.1 4wg725nwpxb1z
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
SELECT C_FIRST, C_MIDDLE, C_ID, C_STREET_1, C_STREET_2, C_CITY, C_STATE, C_ZIP,
C_PHONE, C_CREDIT, C_CREDIT_LIM, C_DISCOUNT, C_BALANCE, C_SINCE FROM CUSTOMER WH
ERE C_W_ID = :B3 AND C_D_ID = :B2 AND C_LAST = :B1 ORDER BY C_FIRST
0 17 42 0.01 1.3 d4ujh5yqt1fph
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
BEGIN delivery(:d_w_id,:d_o_carrier_id,TO_DATE(:timestamp,'YYYYMMDDHH24MISS'));
END;
0 16 420 0.00 1.2 5ps73nuy5f2vj
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
UPDATE ORDER_LINE SET OL_DELIVERY_D = :B4 WHERE OL_O_ID = :B3 AND OL_D_ID = :B2
AND OL_W_ID = :B1
SQL ordered by CPU Time DB/Inst: IVRS/ivrs Snaps: 338-339
-> Resources reported for PL/SQL code includes the resources used by all SQL
statements called by the code.
-> % Total DB Time is the Elapsed Time of the SQL statement divided
into the Total Database Time multiplied by 100
CPU Elapsed CPU per % Total
Time (s) Time (s) Executions Exec (s) DB Time SQL Id
---------- ---------- ------------ ----------- ------- -------------
0 21 1 0.12 1.6 14wnf35dahb7v
SELECT A.ID,A.TYPE FROM SYS.WRI$_ADV_DEFINITIONS A WHERE A.NAME = :B1
-------------------------------------------------------------
SQL ordered by Gets DB/Inst: IVRS/ivrs Snaps: 338-339
-> Resources reported for PL/SQL code includes the resources used by all SQL
statements called by the code.
-> Total Buffer Gets: 6,050,561
-> Captured SQL account for 72.1% of Total
Gets CPU Elapsed
Buffer Gets Executions per Exec %Total Time (s) Time (s) SQL Id
-------------- ------------ ------------ ------ -------- --------- -------------
331,630 1 331,630.0 5.5 21.81 56.88 6mrh6s1s5g851
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select s_name, count(*) as numwait from supplier, lineitem l1, orders, nation wh
ere s_suppkey = l1.l_suppkey and o_orderkey = l1.l_orderkey and o_orderstatus =
'F' and l1.l_receiptdate > l1.l_commitdate and exists ( select * from lineitem l
2 where l2.l_orderkey = l1.l_orderkey and l2.l_suppkey <> l1.l_suppkey) and not
331,630 1 331,630.0 5.5 28.03 89.61 bsdgaykhvy4xr
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select s_name, count(*) as numwait from supplier, lineitem l1, orders, nation wh
ere s_suppkey = l1.l_suppkey and o_orderkey = l1.l_orderkey and o_orderstatus =
'F' and l1.l_receiptdate > l1.l_commitdate and exists ( select * from lineitem l
2 where l2.l_orderkey = l1.l_orderkey and l2.l_suppkey <> l1.l_suppkey) and not
331,626 1 331,626.0 5.5 20.85 49.20 2n4xg8c3dmd62
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select s_name, count(*) as numwait from supplier, lineitem l1, orders, nation wh
ere s_suppkey = l1.l_suppkey and o_orderkey = l1.l_orderkey and o_orderstatus =
'F' and l1.l_receiptdate > l1.l_commitdate and exists ( select * from lineitem l
2 where l2.l_orderkey = l1.l_orderkey and l2.l_suppkey <> l1.l_suppkey) and not
294,409 2 147,204.5 4.9 28.34 89.09 bmfc2a2ym0kwr
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select nation, o_year, sum(amount) as sum_profit from ( select n_name as nation,
extract(year from o_orderdate) as o_year, l_extendedprice * (1 - l_discount) -
ps_supplycost * l_quantity as amount from part, supplier, lineitem, partsupp, or
ders, nation where s_suppkey = l_suppkey and ps_suppkey = l_suppkey and ps_partk
147,206 1 147,206.0 2.4 13.58 29.35 1f0r8shtps3bu
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select nation, o_year, sum(amount) as sum_profit from ( select n_name as nation,
extract(year from o_orderdate) as o_year, l_extendedprice * (1 - l_discount) -
ps_supplycost * l_quantity as amount from part, supplier, lineitem, partsupp, or
ders, nation where s_suppkey = l_suppkey and ps_suppkey = l_suppkey and ps_partk
132,996 1 132,996.0 2.2 6.89 23.19 5xd0ak4417rk0
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select o_year, sum(case when nation = 'MOZAMBIQUE' then volume else 0 end) / sum
(volume) as mkt_share from ( select extract(year from o_orderdate) as o_year, l_
extendedprice * (1 - l_discount) as volume, n2.n_name as nation from part, suppl
ier, lineitem, orders, customer, nation n1, nation n2, region where p_partkey =
132,996 1 132,996.0 2.2 8.14 25.54 6aqpwwba8xvuu
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select o_year, sum(case when nation = 'GERMANY' then volume else 0 end) / sum(vo
lume) as mkt_share from ( select extract(year from o_orderdate) as o_year, l_ext
endedprice * (1 - l_discount) as volume, n2.n_name as nation from part, supplier
, lineitem, orders, customer, nation n1, nation n2, region where p_partkey = l_p
132,996 1 132,996.0 2.2 6.76 23.21 94wqqbu0ajcvn
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select o_year, sum(case when nation = 'JAPAN' then volume else 0 end) / sum(volu
me) as mkt_share from ( select extract(year from o_orderdate) as o_year, l_exten
dedprice * (1 - l_discount) as volume, n2.n_name as nation from part, supplier,
lineitem, orders, customer, nation n1, nation n2, region where p_partkey = l_par
125,774 1 125,774.0 2.1 6.39 12.83 05burzzbuh660
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select o_orderpriority, count(*) as order_count from orders where o_orderdate >=
date '1993-05-01' and o_orderdate < date '1993-05-01' + interval '3' month and
SQL ordered by Gets DB/Inst: IVRS/ivrs Snaps: 338-339
-> Resources reported for PL/SQL code includes the resources used by all SQL
statements called by the code.
-> Total Buffer Gets: 6,050,561
-> Captured SQL account for 72.1% of Total
Gets CPU Elapsed
Buffer Gets Executions per Exec %Total Time (s) Time (s) SQL Id
-------------- ------------ ------------ ------ -------- --------- -------------
exists ( select * from lineitem where l_orderkey = o_orderkey and l_commitdate <
l_receiptdate) group by o_orderpriority order by o_orderpriority
125,774 1 125,774.0 2.1 6.12 12.15 05pqvq1019n1t
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select o_orderpriority, count(*) as order_count from orders where o_orderdate >=
date '1996-05-01' and o_orderdate < date '1996-05-01' + interval '3' month and
exists ( select * from lineitem where l_orderkey = o_orderkey and l_commitdate <
l_receiptdate) group by o_orderpriority order by o_orderpriority
125,774 1 125,774.0 2.1 6.63 13.86 15dxu5nmuj14a
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select o_orderpriority, count(*) as order_count from orders where o_orderdate >=
date '1994-08-01' and o_orderdate < date '1994-08-01' + interval '3' month and
exists ( select * from lineitem where l_orderkey = o_orderkey and l_commitdate <
l_receiptdate) group by o_orderpriority order by o_orderpriority
125,774 1 125,774.0 2.1 5.85 11.77 2xf48ymvbjhxv
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select l_shipmode, sum(case when o_orderpriority = '1-URGENT' or o_orderpriority
= '2-HIGH' then 1 else 0 end) as high_line_count, sum(case when o_orderpriority
<> '1-URGENT' and o_orderpriority <> '2-HIGH' then 1 else 0 end) as low_line_co
unt from orders, lineitem where o_orderkey = l_orderkey and l_shipmode in ('MAIL
125,774 1 125,774.0 2.1 5.78 11.67 3yj8qcg6sf32h
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select l_shipmode, sum(case when o_orderpriority = '1-URGENT' or o_orderpriority
= '2-HIGH' then 1 else 0 end) as high_line_count, sum(case when o_orderpriority
<> '1-URGENT' and o_orderpriority <> '2-HIGH' then 1 else 0 end) as low_line_co
unt from orders, lineitem where o_orderkey = l_orderkey and l_shipmode in ('AIR'
125,774 1 125,774.0 2.1 6.01 12.20 c5dr0bxu3s966
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select l_shipmode, sum(case when o_orderpriority = '1-URGENT' or o_orderpriority
= '2-HIGH' then 1 else 0 end) as high_line_count, sum(case when o_orderpriority
<> '1-URGENT' and o_orderpriority <> '2-HIGH' then 1 else 0 end) as low_line_co
unt from orders, lineitem where o_orderkey = l_orderkey and l_shipmode in ('TRUC
114,091 1 114,091.0 1.9 6.32 12.80 bdaz68nhm6jm4
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select s_name, s_address from supplier, nation where s_suppkey in ( select ps_su
ppkey from partsupp where ps_partkey in ( select p_partkey from part where p_nam
e like 'linen%') and ps_availqty > ( select 0.5 * sum(l_quantity) from lineitem
where l_partkey = ps_partkey and l_suppkey = ps_suppkey and l_shipdate >= date '
113,956 1 113,956.0 1.9 6.02 50.23 acgpfd4ysyfxb
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select s_name, s_address from supplier, nation where s_suppkey in ( select ps_su
ppkey from partsupp where ps_partkey in ( select p_partkey from part where p_nam
e like 'puff%') and ps_availqty > ( select 0.5 * sum(l_quantity) from lineitem w
here l_partkey = ps_partkey and l_suppkey = ps_suppkey and l_shipdate >= date '1
113,849 1 113,849.0 1.9 5.46 10.68 cx10bjzjkg410
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select s_name, s_address from supplier, nation where s_suppkey in ( select ps_su
ppkey from partsupp where ps_partkey in ( select p_partkey from part where p_nam
e like 'moccasin%') and ps_availqty > ( select 0.5 * sum(l_quantity) from lineit
em where l_partkey = ps_partkey and l_suppkey = ps_suppkey and l_shipdate >= dat
106,702 1 106,702.0 1.8 5.18 9.82 3v74jf7w31h8v
SQL ordered by Gets DB/Inst: IVRS/ivrs Snaps: 338-339
-> Resources reported for PL/SQL code includes the resources used by all SQL
statements called by the code.
-> Total Buffer Gets: 6,050,561
-> Captured SQL account for 72.1% of Total
Gets CPU Elapsed
Buffer Gets Executions per Exec %Total Time (s) Time (s) SQL Id
-------------- ------------ ------------ ------ -------- --------- -------------
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select sum(l_extendedprice) / 7.0 as avg_yearly from lineitem, part where p_part
key = l_partkey and p_brand = 'Brand#21' and p_container = 'LG DRUM' and l_quant
ity < ( select 0.2 * avg(l_quantity) from lineitem where l_partkey = p_partkey)
106,702 1 106,702.0 1.8 5.52 10.44 5u88ac3spdu0n
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select sum(l_extendedprice* (1 - l_discount)) as revenue from lineitem, part whe
re ( p_partkey = l_partkey and p_brand = 'Brand#45' and p_container in ('SM CASE
', 'SM BOX', 'SM PACK', 'SM PKG') and l_quantity >= 1 and l_quantity <= 1 + 10 a
nd p_size between 1 and 5 and l_shipmode in ('AIR', 'AIR REG') and l_shipinstruc
106,702 1 106,702.0 1.8 5.42 12.66 75d32g70ru6f2
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select sum(l_extendedprice* (1 - l_discount)) as revenue from lineitem, part whe
re ( p_partkey = l_partkey and p_brand = 'Brand#34' and p_container in ('SM CASE
', 'SM BOX', 'SM PACK', 'SM PKG') and l_quantity >= 3 and l_quantity <= 3 + 10 a
nd p_size between 1 and 5 and l_shipmode in ('AIR', 'AIR REG') and l_shipinstruc
106,702 1 106,702.0 1.8 5.36 10.16 by11nan0n3nbb
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select sum(l_extendedprice* (1 - l_discount)) as revenue from lineitem, part whe
re ( p_partkey = l_partkey and p_brand = 'Brand#23' and p_container in ('SM CASE
', 'SM BOX', 'SM PACK', 'SM PKG') and l_quantity >= 1 and l_quantity <= 1 + 10 a
nd p_size between 1 and 5 and l_shipmode in ('AIR', 'AIR REG') and l_shipinstruc
106,698 1 106,698.0 1.8 5.87 58.52 081am6psuh26j
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select sum(l_extendedprice) / 7.0 as avg_yearly from lineitem, part where p_part
key = l_partkey and p_brand = 'Brand#35' and p_container = 'LG BOX' and l_quanti
ty < ( select 0.2 * avg(l_quantity) from lineitem where l_partkey = p_partkey)
102,798 1 102,798.0 1.7 11.47 23.72 8sfhj7ua3qfjf
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select c_name, c_custkey, o_orderkey, o_orderdate, o_totalprice, sum(l_quantity)
from customer, orders, lineitem where o_orderkey in ( select l_orderkey from li
neitem group by l_orderkey having sum(l_quantity) > 312) and c_custkey = o_custk
ey and o_orderkey = l_orderkey group by c_name, c_custkey, o_orderkey, o_orderda
102,774 1 102,774.0 1.7 14.85 45.70 29rqwcj4cs31u
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select c_name, c_custkey, o_orderkey, o_orderdate, o_totalprice, sum(l_quantity)
from customer, orders, lineitem where o_orderkey in ( select l_orderkey from li
neitem group by l_orderkey having sum(l_quantity) > 313) and c_custkey = o_custk
ey and o_orderkey = l_orderkey group by c_name, c_custkey, o_orderkey, o_orderda
102,763 2 51,381.5 1.7 11.32 23.29 814qvp0rkqug4
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select c_name, c_custkey, o_orderkey, o_orderdate, o_totalprice, sum(l_quantity)
from customer, orders, lineitem where o_orderkey in ( select l_orderkey from li
neitem group by l_orderkey having sum(l_quantity) > 314) and c_custkey = o_custk
ey and o_orderkey = l_orderkey group by c_name, c_custkey, o_orderkey, o_orderda
102,697 1 102,697.0 1.7 13.69 25.90 05jp96tzvutb6
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select l_returnflag, l_linestatus, sum(l_quantity) as sum_qty, sum(l_extendedpri
ce) as sum_base_price, sum(l_extendedprice * (1 - l_discount)) as sum_disc_price
, sum(l_extendedprice * (1 - l_discount) * (1 + l_tax)) as sum_charge, avg(l_qua
ntity) as avg_qty, avg(l_extendedprice) as avg_price, avg(l_discount) as avg_dis
SQL ordered by Gets DB/Inst: IVRS/ivrs Snaps: 338-339
-> Resources reported for PL/SQL code includes the resources used by all SQL
statements called by the code.
-> Total Buffer Gets: 6,050,561
-> Captured SQL account for 72.1% of Total
Gets CPU Elapsed
Buffer Gets Executions per Exec %Total Time (s) Time (s) SQL Id
-------------- ------------ ------------ ------ -------- --------- -------------
102,697 1 102,697.0 1.7 14.08 30.77 7409gxv4spfj2
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select l_returnflag, l_linestatus, sum(l_quantity) as sum_qty, sum(l_extendedpri
ce) as sum_base_price, sum(l_extendedprice * (1 - l_discount)) as sum_disc_price
, sum(l_extendedprice * (1 - l_discount) * (1 + l_tax)) as sum_charge, avg(l_qua
ntity) as avg_qty, avg(l_extendedprice) as avg_price, avg(l_discount) as avg_dis
102,697 1 102,697.0 1.7 14.34 34.07 cvhgz2zwbk4qf
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select l_returnflag, l_linestatus, sum(l_quantity) as sum_qty, sum(l_extendedpri
ce) as sum_base_price, sum(l_extendedprice * (1 - l_discount)) as sum_disc_price
, sum(l_extendedprice * (1 - l_discount) * (1 + l_tax)) as sum_charge, avg(l_qua
ntity) as avg_qty, avg(l_extendedprice) as avg_price, avg(l_discount) as avg_dis
88,530 546 162.1 1.5 4.02 20.99 16dhat4ta7xs9
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
begin neword(:no_w_id,:no_max_w_id,:no_d_id,:no_c_id,:no_o_ol_cnt,:no_c_discount
,:no_c_last,:no_c_credit,:no_d_tax,:no_w_tax,:no_d_next_o_id,TO_DATE(:timestamp,
'YYYYMMDDHH24MISS')); END;
80,163 2 40,081.5 1.3 4.30 21.15 2x4gjqru5u1xx
Module: SQL*Plus
SELECT s0.snap_id id, -- TO_CHAR(s0.END_INTERVAL_TIME,'YY/MM/DD HH24:MI') tm,
round(EXTRACT(DAY FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) * 1440
+ EXTRACT(HOUR FROM s1.END_INTERVAL_TIME - s0.END
_INTERVAL_TIME) * 60 + EXTRACT(MINUTE FROM s1.
69,716 2 34,858.0 1.2 4.26 8.54 ag9jkv5xuz0dz
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select ps_partkey, sum(ps_supplycost * ps_availqty) as value from partsupp, supp
lier, nation where ps_suppkey = s_suppkey and s_nationkey = n_nationkey and n_na
me = 'EGYPT' group by ps_partkey having sum(ps_supplycost * ps_availqty) > ( sel
ect sum(ps_supplycost * ps_availqty) * 0.0001000000 from partsupp, supplier, nat
-------------------------------------------------------------
SQL ordered by Reads DB/Inst: IVRS/ivrs Snaps: 338-339
-> Total Disk Reads: 5,663,126
-> Captured SQL account for 74.4% of Total
Reads CPU Elapsed
Physical Reads Executions per Exec %Total Time (s) Time (s) SQL Id
-------------- ----------- ------------- ------ -------- --------- -------------
330,210 1 330,210.0 5.8 20.85 49.20 2n4xg8c3dmd62
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select s_name, count(*) as numwait from supplier, lineitem l1, orders, nation wh
ere s_suppkey = l1.l_suppkey and o_orderkey = l1.l_orderkey and o_orderstatus =
'F' and l1.l_receiptdate > l1.l_commitdate and exists ( select * from lineitem l
2 where l2.l_orderkey = l1.l_orderkey and l2.l_suppkey <> l1.l_suppkey) and not
330,210 1 330,210.0 5.8 21.81 56.88 6mrh6s1s5g851
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select s_name, count(*) as numwait from supplier, lineitem l1, orders, nation wh
ere s_suppkey = l1.l_suppkey and o_orderkey = l1.l_orderkey and o_orderstatus =
'F' and l1.l_receiptdate > l1.l_commitdate and exists ( select * from lineitem l
2 where l2.l_orderkey = l1.l_orderkey and l2.l_suppkey <> l1.l_suppkey) and not
330,210 1 330,210.0 5.8 28.03 89.61 bsdgaykhvy4xr
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select s_name, count(*) as numwait from supplier, lineitem l1, orders, nation wh
ere s_suppkey = l1.l_suppkey and o_orderkey = l1.l_orderkey and o_orderstatus =
'F' and l1.l_receiptdate > l1.l_commitdate and exists ( select * from lineitem l
2 where l2.l_orderkey = l1.l_orderkey and l2.l_suppkey <> l1.l_suppkey) and not
301,265 2 150,632.5 5.3 28.34 89.09 bmfc2a2ym0kwr
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select nation, o_year, sum(amount) as sum_profit from ( select n_name as nation,
extract(year from o_orderdate) as o_year, l_extendedprice * (1 - l_discount) -
ps_supplycost * l_quantity as amount from part, supplier, lineitem, partsupp, or
ders, nation where s_suppkey = l_suppkey and ps_suppkey = l_suppkey and ps_partk
151,726 1 151,726.0 2.7 13.58 29.35 1f0r8shtps3bu
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select nation, o_year, sum(amount) as sum_profit from ( select n_name as nation,
extract(year from o_orderdate) as o_year, l_extendedprice * (1 - l_discount) -
ps_supplycost * l_quantity as amount from part, supplier, lineitem, partsupp, or
ders, nation where s_suppkey = l_suppkey and ps_suppkey = l_suppkey and ps_partk
132,179 1 132,179.0 2.3 6.89 23.19 5xd0ak4417rk0
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select o_year, sum(case when nation = 'MOZAMBIQUE' then volume else 0 end) / sum
(volume) as mkt_share from ( select extract(year from o_orderdate) as o_year, l_
extendedprice * (1 - l_discount) as volume, n2.n_name as nation from part, suppl
ier, lineitem, orders, customer, nation n1, nation n2, region where p_partkey =
132,179 1 132,179.0 2.3 8.14 25.54 6aqpwwba8xvuu
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select o_year, sum(case when nation = 'GERMANY' then volume else 0 end) / sum(vo
lume) as mkt_share from ( select extract(year from o_orderdate) as o_year, l_ext
endedprice * (1 - l_discount) as volume, n2.n_name as nation from part, supplier
, lineitem, orders, customer, nation n1, nation n2, region where p_partkey = l_p
132,179 1 132,179.0 2.3 6.76 23.21 94wqqbu0ajcvn
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select o_year, sum(case when nation = 'JAPAN' then volume else 0 end) / sum(volu
me) as mkt_share from ( select extract(year from o_orderdate) as o_year, l_exten
dedprice * (1 - l_discount) as volume, n2.n_name as nation from part, supplier,
lineitem, orders, customer, nation n1, nation n2, region where p_partkey = l_par
125,250 1 125,250.0 2.2 6.39 12.83 05burzzbuh660
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select o_orderpriority, count(*) as order_count from orders where o_orderdate >=
date '1993-05-01' and o_orderdate < date '1993-05-01' + interval '3' month and
SQL ordered by Reads DB/Inst: IVRS/ivrs Snaps: 338-339
-> Total Disk Reads: 5,663,126
-> Captured SQL account for 74.4% of Total
Reads CPU Elapsed
Physical Reads Executions per Exec %Total Time (s) Time (s) SQL Id
-------------- ----------- ------------- ------ -------- --------- -------------
exists ( select * from lineitem where l_orderkey = o_orderkey and l_commitdate <
l_receiptdate) group by o_orderpriority order by o_orderpriority
125,250 1 125,250.0 2.2 6.12 12.15 05pqvq1019n1t
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select o_orderpriority, count(*) as order_count from orders where o_orderdate >=
date '1996-05-01' and o_orderdate < date '1996-05-01' + interval '3' month and
exists ( select * from lineitem where l_orderkey = o_orderkey and l_commitdate <
l_receiptdate) group by o_orderpriority order by o_orderpriority
125,250 1 125,250.0 2.2 6.63 13.86 15dxu5nmuj14a
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select o_orderpriority, count(*) as order_count from orders where o_orderdate >=
date '1994-08-01' and o_orderdate < date '1994-08-01' + interval '3' month and
exists ( select * from lineitem where l_orderkey = o_orderkey and l_commitdate <
l_receiptdate) group by o_orderpriority order by o_orderpriority
125,250 1 125,250.0 2.2 5.85 11.77 2xf48ymvbjhxv
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select l_shipmode, sum(case when o_orderpriority = '1-URGENT' or o_orderpriority
= '2-HIGH' then 1 else 0 end) as high_line_count, sum(case when o_orderpriority
<> '1-URGENT' and o_orderpriority <> '2-HIGH' then 1 else 0 end) as low_line_co
unt from orders, lineitem where o_orderkey = l_orderkey and l_shipmode in ('MAIL
125,250 1 125,250.0 2.2 5.78 11.67 3yj8qcg6sf32h
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select l_shipmode, sum(case when o_orderpriority = '1-URGENT' or o_orderpriority
= '2-HIGH' then 1 else 0 end) as high_line_count, sum(case when o_orderpriority
<> '1-URGENT' and o_orderpriority <> '2-HIGH' then 1 else 0 end) as low_line_co
unt from orders, lineitem where o_orderkey = l_orderkey and l_shipmode in ('AIR'
125,250 1 125,250.0 2.2 6.01 12.20 c5dr0bxu3s966
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select l_shipmode, sum(case when o_orderpriority = '1-URGENT' or o_orderpriority
= '2-HIGH' then 1 else 0 end) as high_line_count, sum(case when o_orderpriority
<> '1-URGENT' and o_orderpriority <> '2-HIGH' then 1 else 0 end) as low_line_co
unt from orders, lineitem where o_orderkey = l_orderkey and l_shipmode in ('TRUC
109,730 1 109,730.0 1.9 6.02 50.23 acgpfd4ysyfxb
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select s_name, s_address from supplier, nation where s_suppkey in ( select ps_su
ppkey from partsupp where ps_partkey in ( select p_partkey from part where p_nam
e like 'puff%') and ps_availqty > ( select 0.5 * sum(l_quantity) from lineitem w
here l_partkey = ps_partkey and l_suppkey = ps_suppkey and l_shipdate >= date '1
108,262 1 108,262.0 1.9 5.46 10.68 cx10bjzjkg410
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select s_name, s_address from supplier, nation where s_suppkey in ( select ps_su
ppkey from partsupp where ps_partkey in ( select p_partkey from part where p_nam
e like 'moccasin%') and ps_availqty > ( select 0.5 * sum(l_quantity) from lineit
em where l_partkey = ps_partkey and l_suppkey = ps_suppkey and l_shipdate >= dat
107,978 1 107,978.0 1.9 6.32 12.80 bdaz68nhm6jm4
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select s_name, s_address from supplier, nation where s_suppkey in ( select ps_su
ppkey from partsupp where ps_partkey in ( select p_partkey from part where p_nam
e like 'linen%') and ps_availqty > ( select 0.5 * sum(l_quantity) from lineitem
where l_partkey = ps_partkey and l_suppkey = ps_suppkey and l_shipdate >= date '
106,241 1 106,241.0 1.9 5.87 58.52 081am6psuh26j
SQL ordered by Reads DB/Inst: IVRS/ivrs Snaps: 338-339
-> Total Disk Reads: 5,663,126
-> Captured SQL account for 74.4% of Total
Reads CPU Elapsed
Physical Reads Executions per Exec %Total Time (s) Time (s) SQL Id
-------------- ----------- ------------- ------ -------- --------- -------------
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select sum(l_extendedprice) / 7.0 as avg_yearly from lineitem, part where p_part
key = l_partkey and p_brand = 'Brand#35' and p_container = 'LG BOX' and l_quanti
ty < ( select 0.2 * avg(l_quantity) from lineitem where l_partkey = p_partkey)
106,241 1 106,241.0 1.9 5.18 9.82 3v74jf7w31h8v
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select sum(l_extendedprice) / 7.0 as avg_yearly from lineitem, part where p_part
key = l_partkey and p_brand = 'Brand#21' and p_container = 'LG DRUM' and l_quant
ity < ( select 0.2 * avg(l_quantity) from lineitem where l_partkey = p_partkey)
106,241 1 106,241.0 1.9 5.52 10.44 5u88ac3spdu0n
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select sum(l_extendedprice* (1 - l_discount)) as revenue from lineitem, part whe
re ( p_partkey = l_partkey and p_brand = 'Brand#45' and p_container in ('SM CASE
', 'SM BOX', 'SM PACK', 'SM PKG') and l_quantity >= 1 and l_quantity <= 1 + 10 a
nd p_size between 1 and 5 and l_shipmode in ('AIR', 'AIR REG') and l_shipinstruc
106,241 1 106,241.0 1.9 5.42 12.66 75d32g70ru6f2
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select sum(l_extendedprice* (1 - l_discount)) as revenue from lineitem, part whe
re ( p_partkey = l_partkey and p_brand = 'Brand#34' and p_container in ('SM CASE
', 'SM BOX', 'SM PACK', 'SM PKG') and l_quantity >= 3 and l_quantity <= 3 + 10 a
nd p_size between 1 and 5 and l_shipmode in ('AIR', 'AIR REG') and l_shipinstruc
106,241 1 106,241.0 1.9 5.36 10.16 by11nan0n3nbb
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select sum(l_extendedprice* (1 - l_discount)) as revenue from lineitem, part whe
re ( p_partkey = l_partkey and p_brand = 'Brand#23' and p_container in ('SM CASE
', 'SM BOX', 'SM PACK', 'SM PKG') and l_quantity >= 1 and l_quantity <= 1 + 10 a
nd p_size between 1 and 5 and l_shipmode in ('AIR', 'AIR REG') and l_shipinstruc
103,748 1 103,748.0 1.8 14.85 45.70 29rqwcj4cs31u
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select c_name, c_custkey, o_orderkey, o_orderdate, o_totalprice, sum(l_quantity)
from customer, orders, lineitem where o_orderkey in ( select l_orderkey from li
neitem group by l_orderkey having sum(l_quantity) > 313) and c_custkey = o_custk
ey and o_orderkey = l_orderkey group by c_name, c_custkey, o_orderkey, o_orderda
102,436 2 51,218.0 1.8 11.32 23.29 814qvp0rkqug4
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select c_name, c_custkey, o_orderkey, o_orderdate, o_totalprice, sum(l_quantity)
from customer, orders, lineitem where o_orderkey in ( select l_orderkey from li
neitem group by l_orderkey having sum(l_quantity) > 314) and c_custkey = o_custk
ey and o_orderkey = l_orderkey group by c_name, c_custkey, o_orderkey, o_orderda
102,430 1 102,430.0 1.8 11.47 23.72 8sfhj7ua3qfjf
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select c_name, c_custkey, o_orderkey, o_orderdate, o_totalprice, sum(l_quantity)
from customer, orders, lineitem where o_orderkey in ( select l_orderkey from li
neitem group by l_orderkey having sum(l_quantity) > 312) and c_custkey = o_custk
ey and o_orderkey = l_orderkey group by c_name, c_custkey, o_orderkey, o_orderda
102,405 1 102,405.0 1.8 13.69 25.90 05jp96tzvutb6
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select l_returnflag, l_linestatus, sum(l_quantity) as sum_qty, sum(l_extendedpri
ce) as sum_base_price, sum(l_extendedprice * (1 - l_discount)) as sum_disc_price
, sum(l_extendedprice * (1 - l_discount) * (1 + l_tax)) as sum_charge, avg(l_qua
ntity) as avg_qty, avg(l_extendedprice) as avg_price, avg(l_discount) as avg_dis
SQL ordered by Reads DB/Inst: IVRS/ivrs Snaps: 338-339
-> Total Disk Reads: 5,663,126
-> Captured SQL account for 74.4% of Total
Reads CPU Elapsed
Physical Reads Executions per Exec %Total Time (s) Time (s) SQL Id
-------------- ----------- ------------- ------ -------- --------- -------------
102,405 1 102,405.0 1.8 14.08 30.77 7409gxv4spfj2
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select l_returnflag, l_linestatus, sum(l_quantity) as sum_qty, sum(l_extendedpri
ce) as sum_base_price, sum(l_extendedprice * (1 - l_discount)) as sum_disc_price
, sum(l_extendedprice * (1 - l_discount) * (1 + l_tax)) as sum_charge, avg(l_qua
ntity) as avg_qty, avg(l_extendedprice) as avg_price, avg(l_discount) as avg_dis
102,405 1 102,405.0 1.8 14.34 34.07 cvhgz2zwbk4qf
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select l_returnflag, l_linestatus, sum(l_quantity) as sum_qty, sum(l_extendedpri
ce) as sum_base_price, sum(l_extendedprice * (1 - l_discount)) as sum_disc_price
, sum(l_extendedprice * (1 - l_discount) * (1 + l_tax)) as sum_charge, avg(l_qua
ntity) as avg_qty, avg(l_extendedprice) as avg_price, avg(l_discount) as avg_dis
66,900 2 33,450.0 1.2 4.26 8.54 ag9jkv5xuz0dz
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
select ps_partkey, sum(ps_supplycost * ps_availqty) as value from partsupp, supp
lier, nation where ps_suppkey = s_suppkey and s_nationkey = n_nationkey and n_na
me = 'EGYPT' group by ps_partkey having sum(ps_supplycost * ps_availqty) > ( sel
ect sum(ps_supplycost * ps_availqty) * 0.0001000000 from partsupp, supplier, nat
-------------------------------------------------------------
SQL ordered by Executions DB/Inst: IVRS/ivrs Snaps: 338-339
-> Total Executions: 57,841
-> Captured SQL account for 18.5% of Total
CPU per Elap per
Executions Rows Processed Rows per Exec Exec (s) Exec (s) SQL Id
------------ --------------- -------------- ---------- ----------- -------------
5,442 5,442 1.0 0.00 0.00 8yvup05pk06ca
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
SELECT S_QUANTITY, S_DATA, S_DIST_01, S_DIST_02, S_DIST_03, S_DIST_04, S_DIST_05
, S_DIST_06, S_DIST_07, S_DIST_08, S_DIST_09, S_DIST_10 FROM STOCK WHERE S_I_ID
= :B2 AND S_W_ID = :B1
563 563 1.0 0.00 0.00 3c1kubcdjnppq
update sys.col_usage$ set equality_preds = equality_preds + decode(bitan
d(:flag,1),0,0,1), equijoin_preds = equijoin_preds + decode(bitand(:flag
,2),0,0,1), nonequijoin_preds = nonequijoin_preds + decode(bitand(:flag,4),0,0
,1), range_preds = range_preds + decode(bitand(:flag,8),0,0,1),
546 546 1.0 0.01 0.04 16dhat4ta7xs9
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
begin neword(:no_w_id,:no_max_w_id,:no_d_id,:no_c_id,:no_o_ol_cnt,:no_c_discount
,:no_c_last,:no_c_credit,:no_d_tax,:no_w_tax,:no_d_next_o_id,TO_DATE(:timestamp,
'YYYYMMDDHH24MISS')); END;
539 539 1.0 0.00 0.04 aw9ttz9acxbc3
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
BEGIN payment(:p_w_id,:p_d_id,:p_c_w_id,:p_c_d_id,:p_c_id,:byname,:p_h_amount,:p
_c_last,:p_w_street_1,:p_w_street_2,:p_w_city,:p_w_state,:p_w_zip,:p_d_street_1,
:p_d_street_2,:p_d_city,:p_d_state,:p_d_zip,:p_c_first,:p_c_middle,:p_c_street_1
,:p_c_street_2,:p_c_city,:p_c_state,:p_c_zip,:p_c_phone,:p_c_since,:p_c_credit,:
420 4,284 10.2 0.00 0.04 5ps73nuy5f2vj
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
UPDATE ORDER_LINE SET OL_DELIVERY_D = :B4 WHERE OL_O_ID = :B3 AND OL_D_ID = :B2
AND OL_W_ID = :B1
317 2,534 8.0 0.00 0.05 4wg725nwpxb1z
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
SELECT C_FIRST, C_MIDDLE, C_ID, C_STREET_1, C_STREET_2, C_CITY, C_STATE, C_ZIP,
C_PHONE, C_CREDIT, C_CREDIT_LIM, C_DISCOUNT, C_BALANCE, C_SINCE FROM CUSTOMER WH
ERE C_W_ID = :B3 AND C_D_ID = :B2 AND C_LAST = :B1 ORDER BY C_FIRST
268 268 1.0 0.00 0.00 2ym6hhaq30r73
select type#,blocks,extents,minexts,maxexts,extsize,extpct,user#,iniexts,NVL(lis
ts,65535),NVL(groups,65535),cachehint,hwmincr, NVL(spare1,0),NVL(scanhint,0) fro
m seg$ where ts#=:1 and file#=:2 and block#=:3
224 203 0.9 0.00 0.02 96g93hntrzjtr
select /*+ rule */ bucket_cnt, row_cnt, cache_cnt, null_cnt, timestamp#, sample_
size, minimum, maximum, distcnt, lowval, hival, density, col#, spare1, spare2, a
vgcln from hist_head$ where obj#=:1 and intcol#=:2
203 0 0.0 0.00 0.00 b2gnxm5z6r51n
lock table sys.col_usage$ in exclusive mode nowait
135 135 1.0 0.00 0.00 3m8smr0v7v1m6
INSERT INTO sys.wri$_adv_message_groups (task_id,id,seq,message#,fac,hdr,lm,nl,p
1,p2,p3,p4,p5) VALUES (:1,:2,:3,:4,:5,:6,:7,:8,:9,:10,:11,:12,:13)
-------------------------------------------------------------
SQL ordered by Parse Calls DB/Inst: IVRS/ivrs Snaps: 338-339
-> Total Parse Calls: 5,952
-> Captured SQL account for 61.4% of Total
% Total
Parse Calls Executions Parses SQL Id
------------ ------------ --------- -------------
546 546 9.17 16dhat4ta7xs9
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
begin neword(:no_w_id,:no_max_w_id,:no_d_id,:no_c_id,:no_o_ol_cnt,:no_c_discount
,:no_c_last,:no_c_credit,:no_d_tax,:no_w_tax,:no_d_next_o_id,TO_DATE(:timestamp,
'YYYYMMDDHH24MISS')); END;
539 539 9.06 aw9ttz9acxbc3
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
BEGIN payment(:p_w_id,:p_d_id,:p_c_w_id,:p_c_d_id,:p_c_id,:byname,:p_h_amount,:p
_c_last,:p_w_street_1,:p_w_street_2,:p_w_city,:p_w_state,:p_w_zip,:p_d_street_1,
:p_d_street_2,:p_d_city,:p_d_state,:p_d_zip,:p_c_first,:p_c_middle,:p_c_street_1
,:p_c_street_2,:p_c_city,:p_c_state,:p_c_zip,:p_c_phone,:p_c_since,:p_c_credit,:
268 268 4.50 2ym6hhaq30r73
select type#,blocks,extents,minexts,maxexts,extsize,extpct,user#,iniexts,NVL(lis
ts,65535),NVL(groups,65535),cachehint,hwmincr, NVL(spare1,0),NVL(scanhint,0) fro
m seg$ where ts#=:1 and file#=:2 and block#=:3
203 563 3.41 3c1kubcdjnppq
update sys.col_usage$ set equality_preds = equality_preds + decode(bitan
d(:flag,1),0,0,1), equijoin_preds = equijoin_preds + decode(bitand(:flag
,2),0,0,1), nonequijoin_preds = nonequijoin_preds + decode(bitand(:flag,4),0,0
,1), range_preds = range_preds + decode(bitand(:flag,8),0,0,1),
203 0 3.41 53btfq0dt9bs9
insert into sys.col_usage$ values ( :objn, :coln, decode(bitand(:flag,1),0,0
,1), decode(bitand(:flag,2),0,0,1), decode(bitand(:flag,4),0,0,1), decode(
bitand(:flag,8),0,0,1), decode(bitand(:flag,16),0,0,1), decode(bitand(:flag,
32),0,0,1), :time)
203 203 3.41 b2gnxm5z6r51n
lock table sys.col_usage$ in exclusive mode nowait
135 135 2.27 3m8smr0v7v1m6
INSERT INTO sys.wri$_adv_message_groups (task_id,id,seq,message#,fac,hdr,lm,nl,p
1,p2,p3,p4,p5) VALUES (:1,:2,:3,:4,:5,:6,:7,:8,:9,:10,:11,:12,:13)
132 132 2.22 grwydz59pu6mc
select text from view$ where rowid=:1
130 130 2.18 f80h0xb1qvbsk
SELECT sys.wri$_adv_seq_msggroup.nextval FROM dual
125 125 2.10 350f5yrnnmshs
lock table sys.mon_mods$ in exclusive mode nowait
125 125 2.10 g00cj285jmgsw
update sys.mon_mods$ set inserts = inserts + :ins, updates = updates + :upd, del
etes = deletes + :del, flags = (decode(bitand(flags, :flag), :flag, flags, flags
+ :flag)), drop_segments = drop_segments + :dropseg, timestamp = :time where ob
j# = :objn
83 83 1.39 4m7m0t6fjcs5x
update seq$ set increment$=:2,minvalue=:3,maxvalue=:4,cycle#=:5,order$=:6,cache=
:7,highwater=:8,audit$=:9,flags=:10 where obj#=:1
82 82 1.38 0h6b2sajwb74n
select privilege#,level from sysauth$ connect by grantee#=prior privilege# and p
rivilege#>0 start with grantee#=:1 and privilege#>0
SQL ordered by Parse Calls DB/Inst: IVRS/ivrs Snaps: 338-339
-> Total Parse Calls: 5,952
-> Captured SQL account for 61.4% of Total
% Total
Parse Calls Executions Parses SQL Id
------------ ------------ --------- -------------
70 70 1.18 1dubbbfqnqvh9
SELECT ORA_TQ_BASE$.NEXTVAL FROM DUAL
63 63 1.06 39m4sx9k63ba2
select /*+ index(idl_ub2$ i_idl_ub21) +*/ piece#,length,piece from idl_ub2$ wher
e obj#=:1 and part=:2 and version=:3 order by piece#
63 63 1.06 c6awqs517jpj0
select /*+ index(idl_char$ i_idl_char1) +*/ piece#,length,piece from idl_char$ w
here obj#=:1 and part=:2 and version=:3 order by piece#
63 63 1.06 cvn54b7yz0s8u
select /*+ index(idl_ub1$ i_idl_ub11) +*/ piece#,length,piece from idl_ub1$ wher
e obj#=:1 and part=:2 and version=:3 order by piece#
63 63 1.06 ga9j9xk5cy9s0
select /*+ index(idl_sb4$ i_idl_sb41) +*/ piece#,length,piece from idl_sb4$ wher
e obj#=:1 and part=:2 and version=:3 order by piece#
62 62 1.04 5hyh0360hgx2u
Module: wish8.5@dbrocaix01.bayantel.com (TNS V1-V3)
BEGIN slev(:st_w_id,:st_d_id,:threshold); END;
-------------------------------------------------------------
SQL ordered by Sharable Memory DB/Inst: IVRS/ivrs Snaps: 338-339
No data exists for this section of the report.
-------------------------------------------------------------
SQL ordered by Version Count DB/Inst: IVRS/ivrs Snaps: 338-339
No data exists for this section of the report.
-------------------------------------------------------------
Instance Activity Stats DB/Inst: IVRS/ivrs Snaps: 338-339
Statistic Total per Second per Trans
-------------------------------- ------------------ -------------- -------------
CPU used by this session 43,952 72.9 17.3
CPU used when call started 80,217 133.0 31.6
CR blocks created 6 0.0 0.0
Cached Commit SCN referenced 432 0.7 0.2
Commit SCN cached 1 0.0 0.0
DB time 374,210 620.5 147.4
DBWR checkpoint buffers written 3,433 5.7 1.4
DBWR checkpoints 1 0.0 0.0
DBWR transaction table writes 20 0.0 0.0
DBWR undo block writes 917 1.5 0.4
DFO trees parallelized 76 0.1 0.0
IMU CR rollbacks 0 0.0 0.0
IMU Flushes 159 0.3 0.1
IMU Redo allocation size 896,956 1,487.3 353.3
IMU commits 1,881 3.1 0.7
IMU contention 5 0.0 0.0
IMU pool not allocated 488 0.8 0.2
IMU recursive-transaction flush 47 0.1 0.0
IMU undo allocation size 14,837,636 24,603.8 5,843.9
IMU- failed to get a private str 488 0.8 0.2
PX local messages recv'd 427,618 709.1 168.4
PX local messages sent 427,626 709.1 168.4
Parallel operations not downgrad 76 0.1 0.0
SMON posted for undo segment shr 0 0.0 0.0
SQL*Net roundtrips to/from clien 8,221 13.6 3.2
active txn count during cleanout 220 0.4 0.1
application wait time 0 0.0 0.0
background checkpoints completed 1 0.0 0.0
background checkpoints started 1 0.0 0.0
background timeouts 2,201 3.7 0.9
branch node splits 0 0.0 0.0
buffer is not pinned count 185,040 306.8 72.9
buffer is pinned count 153,771 255.0 60.6
bytes received via SQL*Net from 2,339,345 3,879.1 921.4
bytes sent via SQL*Net to client 3,067,072 5,085.8 1,208.0
calls to get snapshot scn: kcmgs 93,092 154.4 36.7
calls to kcmgas 4,066 6.7 1.6
calls to kcmgcs 276 0.5 0.1
change write time 204 0.3 0.1
cleanout - number of ktugct call 278 0.5 0.1
cleanouts and rollbacks - consis 0 0.0 0.0
cleanouts only - consistent read 65 0.1 0.0
cluster key scan block gets 1,999 3.3 0.8
cluster key scans 991 1.6 0.4
commit batch/immediate performed 5 0.0 0.0
commit batch/immediate requested 5 0.0 0.0
commit cleanout failures: block 0 0.0 0.0
commit cleanout failures: buffer 0 0.0 0.0
commit cleanout failures: callba 13 0.0 0.0
commit cleanout failures: cannot 0 0.0 0.0
commit cleanouts 21,493 35.6 8.5
commit cleanouts successfully co 21,480 35.6 8.5
commit immediate performed 5 0.0 0.0
commit immediate requested 5 0.0 0.0
commit txn count during cleanout 254 0.4 0.1
concurrency wait time 168 0.3 0.1
consistent changes 87 0.1 0.0
consistent gets 5,981,829 9,919.1 2,356.0
consistent gets - examination 217,091 360.0 85.5
consistent gets direct 5,802,782 9,622.2 2,285.5
Instance Activity Stats DB/Inst: IVRS/ivrs Snaps: 338-339
Statistic Total per Second per Trans
-------------------------------- ------------------ -------------- -------------
consistent gets from cache 354,637 588.1 139.7
cursor authentications 208 0.3 0.1
data blocks consistent reads - u 4 0.0 0.0
db block changes 88,663 147.0 34.9
db block gets 68,732 114.0 27.1
db block gets direct 6 0.0 0.0
db block gets from cache 68,726 114.0 27.1
deferred (CURRENT) block cleanou 9,569 15.9 3.8
dirty buffers inspected 2,347 3.9 0.9
enqueue conversions 806 1.3 0.3
enqueue releases 21,768 36.1 8.6
enqueue requests 21,963 36.4 8.7
enqueue timeouts 201 0.3 0.1
enqueue waits 51 0.1 0.0
execute count 57,841 95.9 22.8
free buffer inspected 20,379 33.8 8.0
free buffer requested 19,793 32.8 7.8
heap block compress 144 0.2 0.1
hot buffers moved to head of LRU 7,705 12.8 3.0
immediate (CR) block cleanout ap 65 0.1 0.0
immediate (CURRENT) block cleano 2,074 3.4 0.8
index crx upgrade (positioned) 498 0.8 0.2
index fast full scans (direct re 78 0.1 0.0
index fast full scans (full) 15 0.0 0.0
index fast full scans (rowid ran 156 0.3 0.1
index fetch by key 82,020 136.0 32.3
index scans kdiixs1 16,708 27.7 6.6
leaf node 90-10 splits 10 0.0 0.0
leaf node splits 172 0.3 0.1
lob reads 42 0.1 0.0
lob writes 178 0.3 0.1
lob writes unaligned 178 0.3 0.1
logons cumulative 312 0.5 0.1
messages received 2,837 4.7 1.1
messages sent 2,837 4.7 1.1
no buffer to keep pinned count 0 0.0 0.0
no work - consistent read gets 5,895,112 9,775.3 2,321.8
opened cursors cumulative 6,773 11.2 2.7
parse count (failures) 0 0.0 0.0
parse count (hard) 416 0.7 0.2
parse count (total) 5,952 9.9 2.3
parse time cpu 684 1.1 0.3
parse time elapsed 3,497 5.8 1.4
physical read IO requests 397,584 659.3 156.6
physical read bytes 47,825,584,128 79,304,326.1 18,836,386.0
physical read total IO requests 387,784 643.0 152.7
physical read total bytes 47,903,270,912 79,433,146.3 18,866,983.4
physical read total multi block 380,329 630.7 149.8
physical reads 5,663,126 9,390.6 2,230.5
physical reads cache 17,948 29.8 7.1
physical reads cache prefetch 943 1.6 0.4
physical reads direct 5,820,136 9,650.9 2,292.3
physical reads direct (lob) 0 0.0 0.0
physical reads direct temporary 17,299 28.7 6.8
physical reads prefetch warmup 0 0.0 0.0
physical reads retry corrupt 54 0.1 0.0
physical write IO requests 5,731 9.5 2.3
physical write bytes 203,554,816 337,534.4 80,171.3
physical write total IO requests 8,484 14.1 3.3
physical write total bytes 283,976,192 470,889.0 111,845.7
Instance Activity Stats DB/Inst: IVRS/ivrs Snaps: 338-339
Statistic Total per Second per Trans
-------------------------------- ------------------ -------------- -------------
physical write total multi block 5,019 8.3 2.0
physical writes 24,848 41.2 9.8
physical writes direct 17,318 28.7 6.8
physical writes direct (lob) 0 0.0 0.0
physical writes direct temporary 17,299 28.7 6.8
physical writes from cache 7,530 12.5 3.0
physical writes non checkpoint 23,712 39.3 9.3
pinned buffers inspected 6 0.0 0.0
prefetch warmup blocks aged out 0 0.0 0.0
prefetched blocks aged out befor 2 0.0 0.0
process last non-idle time 579 1.0 0.2
queries parallelized 67 0.1 0.0
recursive calls 115,742 191.9 45.6
recursive cpu usage 43,163 71.6 17.0
redo blocks written 32,504 53.9 12.8
redo buffer allocation retries 1 0.0 0.0
redo entries 19,373 32.1 7.6
redo log space requests 1 0.0 0.0
redo log space wait time 25 0.0 0.0
redo size 15,647,384 25,946.5 6,162.8
redo synch time 5,470 9.1 2.2
redo synch writes 2,102 3.5 0.8
redo wastage 473,620 785.4 186.5
redo write time 7,062 11.7 2.8
redo writer latching time 1 0.0 0.0
redo writes 2,253 3.7 0.9
rollback changes - undo records 109 0.2 0.0
rollbacks only - consistent read 4 0.0 0.0
rows fetched via callback 65,515 108.6 25.8
session connect time 0 0.0 0.0
session cursor cache hits 5,056 8.4 2.0
session logical reads 6,050,561 10,033.0 2,383.1
session pga memory 411,760,136 682,780.2 162,174.1
session pga memory max 5,395,314,184 8,946,503.5 2,124,976.1
session uga memory 51,546,743,504 85,474,748.1 20,301,986.4
session uga memory max 1,043,985,628 1,731,135.7 411,179.9
shared hash latch upgrades - no 4,344 7.2 1.7
sorts (disk) 0 0.0 0.0
sorts (memory) 1,839 3.1 0.7
sorts (rows) 25,796,856 42,776.3 10,160.2
sql area evicted 85 0.1 0.0
sql area purged 0 0.0 0.0
summed dirty queue length 13,205 21.9 5.2
switch current to new buffer 858 1.4 0.3
table fetch by rowid 127,462 211.4 50.2
table fetch continued row 199 0.3 0.1
table scan blocks gotten 5,826,518 9,661.5 2,294.8
table scan rows gotten 342,238,570 567,499.6 134,792.7
table scans (direct read) 3,353 5.6 1.3
table scans (long tables) 4,229 7.0 1.7
table scans (rowid ranges) 4,229 7.0 1.7
table scans (short tables) 4,797 8.0 1.9
total number of times SMON poste 39 0.1 0.0
transaction rollbacks 5 0.0 0.0
transaction tables consistent re 2 0.0 0.0
transaction tables consistent re 28 0.1 0.0
undo change vector size 5,810,908 9,635.6 2,288.7
user I/O wait time 42,789 71.0 16.9
user calls 11,544 19.1 4.6
user commits 2,526 4.2 1.0
Instance Activity Stats DB/Inst: IVRS/ivrs Snaps: 338-339
Statistic Total per Second per Trans
-------------------------------- ------------------ -------------- -------------
user rollbacks 13 0.0 0.0
workarea executions - onepass 10 0.0 0.0
workarea executions - optimal 1,805 3.0 0.7
write clones created in foregrou 7 0.0 0.0
-------------------------------------------------------------
Instance Activity Stats - Absolute Values DB/Inst: IVRS/ivrs Snaps: 338-339
-> Statistics with absolute values (should not be diffed)
Statistic Begin Value End Value
-------------------------------- --------------- ---------------
session cursor cache count 10,364 10,760
opened cursors current 91 67
workarea memory allocated 2,258 2,368
logons current 31 30
-------------------------------------------------------------
Instance Activity Stats - Thread Activity DB/Inst: IVRS/ivrs Snaps: 338-339
-> Statistics identified by '(derived)' come from sources other than SYSSTAT
Statistic Total per Hour
-------------------------------- ------------------ ---------
log switches (derived) 1 5.97
-------------------------------------------------------------
Tablespace IO Stats DB/Inst: IVRS/ivrs Snaps: 338-339
-> ordered by IOs (Reads + Writes) desc
Tablespace
------------------------------
Av Av Av Av Buffer Av Buf
Reads Reads/s Rd(ms) Blks/Rd Writes Writes/s Waits Wt(ms)
-------------- ------- ------ ------- ------------ -------- ---------- ------
TPCHTAB
387,123 642 0.2 14.8 2 0 3 0.0
USERS
5,988 10 14.6 1.0 3,649 6 0 0.0
TEMP
1,534 3 0.0 11.3 1,533 3 0 0.0
SYSTEM
1,211 2 47.0 1.1 41 0 0 0.0
SYSAUX
726 1 100.0 1.3 254 0 0 0.0
UNDOTBS1
9 0 4.4 1.0 354 1 0 0.0
CCDATA
1 0 0.0 1.0 1 0 0 0.0
CCINDEX
1 0 0.0 1.0 1 0 0 0.0
PSE
1 0 0.0 1.0 1 0 0 0.0
SOE
1 0 0.0 1.0 1 0 0 0.0
SOEINDEX
1 0 0.0 1.0 1 0 0 0.0
TPCCTAB
1 0 0.0 1.0 1 0 0 0.0
-------------------------------------------------------------
File IO Stats DB/Inst: IVRS/ivrs Snaps: 338-339
-> ordered by Tablespace, File
Tablespace Filename
------------------------ ----------------------------------------------------
Av Av Av Av Buffer Av Buf
Reads Reads/s Rd(ms) Blks/Rd Writes Writes/s Waits Wt(ms)
-------------- ------- ------ ------- ------------ -------- ---------- ------
CCDATA +DATA_1/ivrs/datafile/ccdata.dbf
1 0 0.0 1.0 1 0 0 0.0
CCINDEX +DATA_1/ivrs/datafile/ccindex.dbf
1 0 0.0 1.0 1 0 0 0.0
PSE +DATA_1/ivrs/pse.dbf
1 0 0.0 1.0 1 0 0 0.0
SOE +DATA_1/ivrs/datafile/soe.dbf
1 0 0.0 1.0 1 0 0 0.0
SOEINDEX +DATA_1/ivrs/datafile/soeindex.dbf
1 0 0.0 1.0 1 0 0 0.0
SYSAUX +DATA_1/ivrs/datafile/sysaux.258.652821943
726 1 100.0 1.3 254 0 0 0.0
SYSTEM +DATA_1/ivrs/datafile/system.267.652821909
1,176 2 48.3 1.1 40 0 0 0.0
SYSTEM +DATA_1/ivrs/datafile/system_02.dbf
35 0 4.6 1.0 1 0 0 0.0
TEMP +DATA_1/ivrs/tempfile/temp.256.652821953
1,534 3 0.0 11.3 1,533 3 0 N/A
TPCCTAB +DATA_1/ivrs/tpcctab01.dbf
1 0 0.0 1.0 1 0 0 0.0
TPCHTAB +DATA_1/ivrs/datafile/tpch_01.dbf
387,123 642 0.2 14.8 2 0 3 0.0
UNDOTBS1 +DATA_1/ivrs/datafile/undotbs1.257.652821933
9 0 4.4 1.0 354 1 0 0.0
USERS +DATA_1/ivrs/datafile/users.263.652821963
5,739 10 13.0 1.0 3,515 6 0 0.0
USERS +DATA_1/ivrs/datafile/users02.dbf
249 0 50.3 1.0 134 0 0 0.0
-------------------------------------------------------------
Buffer Pool Statistics DB/Inst: IVRS/ivrs Snaps: 338-339
-> Standard block size Pools D: default, K: keep, R: recycle
-> Default Pools for other block sizes: 2k, 4k, 8k, 16k, 32k
Free Writ Buffer
Number of Pool Buffer Physical Physical Buff Comp Busy
P Buffers Hit% Gets Reads Writes Wait Wait Waits
--- ---------- ---- -------------- ------------ ----------- ---- ---- ----------
D 24,184 96 428,087 18,328 7,579 0 0 3
-------------------------------------------------------------
Instance Recovery Stats DB/Inst: IVRS/ivrs Snaps: 338-339
-> B: Begin snapshot, E: End snapshot
Targt Estd Log File Log Ckpt Log Ckpt
MTTR MTTR Recovery Actual Target Size Timeout Interval
(s) (s) Estd IOs Redo Blks Redo Blks Redo Blks Redo Blks Redo Blks
- ----- ----- ---------- --------- --------- ---------- --------- ------------
B 0 50 1945 28667 184320 184320 219902 N/A
E 0 45 490 3284 119243 184320 119243 N/A
-------------------------------------------------------------
Buffer Pool Advisory DB/Inst: IVRS/ivrs Snap: 339
-> Only rows with estimated physical reads >0 are displayed
-> ordered by Block Size, Buffers For Estimate
Est
Phys
Size for Size Buffers for Read Estimated
P Est (M) Factor Estimate Factor Physical Reads
--- -------- ------ ---------------- ------ ------------------
D 16 .1 1,996 3.5 550,709
D 32 .2 3,992 2.5 392,558
D 48 .2 5,988 1.8 285,114
D 64 .3 7,984 1.5 235,318
D 80 .4 9,980 1.3 209,129
D 96 .5 11,976 1.2 196,161
D 112 .6 13,972 1.2 185,692
D 128 .7 15,968 1.1 178,684
D 144 .7 17,964 1.1 172,352
D 160 .8 19,960 1.1 166,932
D 176 .9 21,956 1.0 162,491
D 192 1.0 23,952 1.0 159,080
D 196 1.0 24,451 1.0 158,303
D 208 1.1 25,948 1.0 156,344
D 224 1.1 27,944 1.0 153,879
D 240 1.2 29,940 1.0 150,890
D 256 1.3 31,936 0.9 141,958
D 272 1.4 33,932 0.9 138,023
D 288 1.5 35,928 0.9 135,507
D 304 1.6 37,924 0.8 133,447
D 320 1.6 39,920 0.8 131,793
-------------------------------------------------------------
PGA Aggr Summary DB/Inst: IVRS/ivrs Snaps: 338-339
-> PGA cache hit % - percentage of W/A (WorkArea) data processed only in-memory
PGA Cache Hit % W/A MB Processed Extra W/A MB Read/Written
--------------- ------------------ --------------------------
88.6 1,083 139
-------------------------------------------------------------
PGA Aggr Target Stats DB/Inst: IVRS/ivrs Snaps: 338-339
-> B: Begin snap E: End snap (rows dentified with B or E contain data
which is absolute i.e. not diffed over the interval)
-> Auto PGA Target - actual workarea memory target
-> W/A PGA Used - amount of memory used for all Workareas (manual + auto)
-> %PGA W/A Mem - percentage of PGA memory allocated to workareas
-> %Auto W/A Mem - percentage of workarea memory controlled by Auto Mem Mgmt
-> %Man W/A Mem - percentage of workarea memory under manual control
%PGA %Auto %Man
PGA Aggr Auto PGA PGA Mem W/A PGA W/A W/A W/A Global Mem
Target(M) Target(M) Alloc(M) Used(M) Mem Mem Mem Bound(K)
- ---------- ---------- ---------- ---------- ------ ------ ------ ----------
B 103 39 148.9 7.7 5.2 100.0 .0 21,094
E 103 39 154.8 7.2 4.7 100.0 .0 21,094
-------------------------------------------------------------
PGA Aggr Target Histogram DB/Inst: IVRS/ivrs Snaps: 338-339
-> Optimal Executions are purely in-memory operations
Low High
Optimal Optimal Total Execs Optimal Execs 1-Pass Execs M-Pass Execs
------- ------- -------------- -------------- ------------ ------------
2K 4K 1,418 1,418 0 0
64K 128K 14 14 0 0
128K 256K 30 30 0 0
256K 512K 12 12 0 0
512K 1024K 140 140 0 0
1M 2M 98 98 0 0
2M 4M 70 70 0 0
4M 8M 18 18 0 0
8M 16M 12 6 6 0
16M 32M 24 20 4 0
-------------------------------------------------------------
PGA Memory Advisory DB/Inst: IVRS/ivrs Snap: 339
-> When using Auto Memory Mgmt, minimally choose a pga_aggregate_target value
where Estd PGA Overalloc Count is 0
Estd Extra Estd PGA Estd PGA
PGA Target Size W/A MB W/A MB Read/ Cache Overalloc
Est (MB) Factr Processed Written to Disk Hit % Count
---------- ------- ---------------- ---------------- -------- ----------
13 0.1 2,834.0 3,667.8 44.0 146
26 0.3 2,834.0 3,667.8 44.0 146
52 0.5 2,834.0 3,664.7 44.0 145
77 0.8 2,834.0 756.1 79.0 7
103 1.0 2,834.0 194.9 94.0 1
124 1.2 2,834.0 41.8 99.0 0
144 1.4 2,834.0 41.8 99.0 0
165 1.6 2,834.0 0.0 100.0 0
185 1.8 2,834.0 0.0 100.0 0
206 2.0 2,834.0 0.0 100.0 0
309 3.0 2,834.0 0.0 100.0 0
412 4.0 2,834.0 0.0 100.0 0
618 6.0 2,834.0 0.0 100.0 0
824 8.0 2,834.0 0.0 100.0 0
-------------------------------------------------------------
Shared Pool Advisory DB/Inst: IVRS/ivrs Snap: 339
-> SP: Shared Pool Est LC: Estimated Library Cache Factr: Factor
-> Note there is often a 1:Many correlation between a single logical object
in the Library Cache, and the physical number of memory objects associated
with it. Therefore comparing the number of Lib Cache objects (e.g. in
v$librarycache), with the number of Lib Cache Memory Objects is invalid.
Est LC Est LC Est LC Est LC
Shared SP Est LC Time Time Load Load Est LC
Pool Size Size Est LC Saved Saved Time Time Mem
Size(M) Factr (M) Mem Obj (s) Factr (s) Factr Obj Hits
---------- ----- -------- ------------ ------- ------ ------- ------ -----------
60 .6 14 1,547 44,365 .8 12,137 28.4 331,775
72 .8 24 2,600 50,039 .9 6,463 15.1 333,416
84 .9 35 3,092 54,519 1.0 1,983 4.6 334,661
96 1.0 45 3,178 56,075 1.0 427 1.0 335,447
108 1.1 56 3,304 56,282 1.0 220 .5 335,896
120 1.3 66 3,529 56,304 1.0 198 .5 336,179
132 1.4 77 3,956 56,314 1.0 188 .4 336,411
144 1.5 88 4,522 56,317 1.0 185 .4 336,631
156 1.6 100 6,389 56,319 1.0 183 .4 336,791
168 1.8 100 6,389 56,319 1.0 183 .4 336,855
180 1.9 100 6,389 56,319 1.0 183 .4 336,865
192 2.0 100 6,389 56,319 1.0 183 .4 336,867
-------------------------------------------------------------
SGA Target Advisory DB/Inst: IVRS/ivrs Snap: 339
SGA Target SGA Size Est DB Est Physical
Size (M) Factor Time (s) Reads
---------- ---------- ------------ ----------------
156 0.5 11,816 283,577
234 0.8 8,316 195,068
312 1.0 7,642 158,193
390 1.3 7,248 137,264
468 1.5 7,098 131,063
546 1.8 7,093 131,063
624 2.0 7,093 131,063
-------------------------------------------------------------
Streams Pool Advisory DB/Inst: IVRS/ivrs Snap: 339
Size for Size Est Spill Est Spill Est Unspill Est Unspill
Est (MB) Factor Count Time (s) Count Time (s)
---------- --------- ----------- ----------- ----------- -----------
4 1.0 0 0 0 0
8 2.0 0 0 0 0
12 3.0 0 0 0 0
16 4.0 0 0 0 0
20 5.0 0 0 0 0
24 6.0 0 0 0 0
28 7.0 0 0 0 0
32 8.0 0 0 0 0
36 9.0 0 0 0 0
40 10.0 0 0 0 0
44 11.0 0 0 0 0
48 12.0 0 0 0 0
52 13.0 0 0 0 0
56 14.0 0 0 0 0
60 15.0 0 0 0 0
64 16.0 0 0 0 0
68 17.0 0 0 0 0
72 18.0 0 0 0 0
76 19.0 0 0 0 0
80 20.0 0 0 0 0
-------------------------------------------------------------
Java Pool Advisory DB/Inst: IVRS/ivrs Snap: 339
Est LC Est LC Est LC Est LC
Java JP Est LC Time Time Load Load Est LC
Pool Size Size Est LC Saved Saved Time Time Mem
Size(M) Factr (M) Mem Obj (s) Factr (s) Factr Obj Hits
---------- ----- -------- ------------ ------- ------ ------- ------ -----------
8 1.0 4 148 78 1.0 427 1.0 163
12 1.5 4 148 78 1.0 427 1.0 163
16 2.0 4 148 78 1.0 427 1.0 163
-------------------------------------------------------------
Buffer Wait Statistics DB/Inst: IVRS/ivrs Snaps: 338-339
-> ordered by wait time desc, waits desc
Class Waits Total Wait Time (s) Avg Time (ms)
------------------ ----------- ------------------- --------------
data block 3 0 0
-------------------------------------------------------------
Enqueue Activity DB/Inst: IVRS/ivrs Snaps: 338-339
-> only enqueues with waits are shown
-> Enqueue stats gathered prior to 10g should not be compared with 10g data
-> ordered by Wait Time desc, Waits desc
Enqueue Type (Request Reason)
------------------------------------------------------------------------------
Requests Succ Gets Failed Gets Waits Wt Time (s) Av Wt Time(ms)
------------ ------------ ----------- ----------- ------------ --------------
PS-PX Process Reservation
1,368 1,168 200 50 0 3.80
BF-BLOOM FILTER (allocation contention)
78 78 0 1 0 .00
-------------------------------------------------------------
Undo Segment Summary DB/Inst: IVRS/ivrs Snaps: 338-339
-> Min/Max TR (mins) - Min and Max Tuned Retention (minutes)
-> STO - Snapshot Too Old count, OOS - Out of Space count
-> Undo segment block stats:
-> uS - unexpired Stolen, uR - unexpired Released, uU - unexpired reUsed
-> eS - expired Stolen, eR - expired Released, eU - expired reUsed
Undo Num Undo Number of Max Qry Max Tx Min/Max STO/ uS/uR/uU/
TS# Blocks (K) Transactions Len (s) Concurcy TR (mins) OOS eS/eR/eU
---- ---------- --------------- -------- -------- --------- ----- --------------
1 1.4 4,612 49 4 15/15 0/0 0/0/0/0/0/0
-------------------------------------------------------------
Undo Segment Stats DB/Inst: IVRS/ivrs Snaps: 338-339
-> Most recent 35 Undostat rows, ordered by Time desc
Num Undo Number of Max Qry Max Tx Tun Ret STO/ uS/uR/uU/
End Time Blocks Transactions Len (s) Concy (mins) OOS eS/eR/eU
------------ ----------- ------------ ------- ------- ------- ----- ------------
17-Jan 07:07 170 198 0 3 15 0/0 0/0/0/0/0/0
17-Jan 06:57 1,200 4,414 49 4 15 0/0 0/0/0/0/0/0
-------------------------------------------------------------
Latch Activity DB/Inst: IVRS/ivrs Snaps: 338-339
-> "Get Requests", "Pct Get Miss" and "Avg Slps/Miss" are statistics for
willing-to-wait latch get requests
-> "NoWait Requests", "Pct NoWait Miss" are for no-wait latch get requests
-> "Pct Misses" for both should be very close to 0.0
Pct Avg Wait Pct
Get Get Slps Time NoWait NoWait
Latch Name Requests Miss /Miss (s) Requests Miss
------------------------ -------------- ------ ------ ------ ------------ ------
ASM allocation 154 0.0 N/A 0 0 N/A
ASM db client latch 358 0.0 N/A 0 0 N/A
ASM map headers 66 0.0 N/A 0 0 N/A
ASM map load waiting lis 11 0.0 N/A 0 0 N/A
ASM map operation freeli 35 0.0 N/A 0 0 N/A
ASM map operation hash t 836,612 0.0 N/A 0 0 N/A
ASM network background l 302 0.0 N/A 0 0 N/A
AWR Alerted Metric Eleme 2,246 0.0 N/A 0 0 N/A
Bloom filter list latch 27 0.0 N/A 0 0 N/A
Consistent RBA 2,298 0.0 N/A 0 0 N/A
FAL request queue 14 0.0 N/A 0 0 N/A
FAL subheap alocation 14 0.0 N/A 0 0 N/A
FIB s.o chain latch 26 0.0 N/A 0 0 N/A
FOB s.o list latch 131 0.0 N/A 0 0 N/A
In memory undo latch 35,563 0.0 N/A 0 2,736 0.0
JOX SGA heap latch 887 0.0 N/A 0 0 N/A
JS queue state obj latch 4,248 0.0 N/A 0 0 N/A
JS slv state obj latch 4 0.0 N/A 0 0 N/A
KFK SGA context latch 301 0.0 N/A 0 0 N/A
KFMD SGA 33 0.0 N/A 0 0 N/A
KMG MMAN ready and start 213 0.0 N/A 0 0 N/A
KMG resize request state 9 0.0 N/A 0 0 N/A
KTF sga latch 2 0.0 N/A 0 157 0.0
KWQP Prop Status 3 0.0 N/A 0 0 N/A
MQL Tracking Latch 0 N/A N/A 0 11 0.0
Memory Management Latch 96 0.0 N/A 0 213 0.0
OS process 51 0.0 N/A 0 0 N/A
OS process allocation 230 0.0 N/A 0 0 N/A
OS process: request allo 17 0.0 N/A 0 0 N/A
PL/SQL warning settings 2,329 0.0 N/A 0 0 N/A
Reserved Space Latch 3 0.0 N/A 0 0 N/A
SGA IO buffer pool latch 128 0.0 N/A 0 164 0.0
SQL memory manager latch 48 0.0 N/A 0 179 0.0
SQL memory manager worka 16,771 0.0 1.0 0 0 N/A
Shared B-Tree 28 0.0 N/A 0 0 N/A
active checkpoint queue 829 0.0 N/A 0 0 N/A
active service list 3,643 0.0 N/A 0 240 0.0
archive control 16 0.0 N/A 0 0 N/A
archive process latch 193 0.0 N/A 0 0 N/A
begin backup scn array 2 0.0 N/A 0 0 N/A
buffer pool 8 0.0 N/A 0 0 N/A
cache buffer handles 34,516 0.0 N/A 0 0 N/A
cache buffers chains 952,571 0.0 1.0 0 26,780 0.0
cache buffers lru chain 39,708 0.1 1.0 0 8,252 0.0
cache table scan latch 0 N/A N/A 0 236 0.0
channel handle pool latc 95 0.0 N/A 0 0 N/A
channel operations paren 2,989 0.0 N/A 0 0 N/A
checkpoint queue latch 16,493 0.0 N/A 0 4,965 0.0
client/application info 1,815 0.0 N/A 0 0 N/A
compile environment latc 4,979 0.0 N/A 0 0 N/A
dml lock allocation 23,341 0.0 1.0 0 0 N/A
dummy allocation 633 0.0 N/A 0 0 N/A
enqueue hash chains 45,427 0.0 N/A 0 30 0.0
enqueues 19,373 0.0 N/A 0 0 N/A
error message lists 540 0.0 N/A 0 0 N/A
event group latch 8 0.0 N/A 0 0 N/A
file cache latch 36 0.0 N/A 0 0 N/A
global KZLD latch for me 4 0.0 N/A 0 0 N/A
hash table column usage 222 0.0 N/A 0 48,959 0.0
hash table modification 6 0.0 N/A 0 0 N/A
Latch Activity DB/Inst: IVRS/ivrs Snaps: 338-339
-> "Get Requests", "Pct Get Miss" and "Avg Slps/Miss" are statistics for
willing-to-wait latch get requests
-> "NoWait Requests", "Pct NoWait Miss" are for no-wait latch get requests
-> "Pct Misses" for both should be very close to 0.0
Pct Avg Wait Pct
Get Get Slps Time NoWait NoWait
Latch Name Requests Miss /Miss (s) Requests Miss
------------------------ -------------- ------ ------ ------ ------------ ------
job workq parent latch 0 N/A N/A 0 24 0.0
job_queue_processes para 21 0.0 N/A 0 0 N/A
kks stats 1,012 0.0 N/A 0 0 N/A
ksuosstats global area 44 0.0 N/A 0 0 N/A
ktm global data 39 0.0 N/A 0 0 N/A
kwqbsn:qsga 27 0.0 N/A 0 0 N/A
lgwr LWN SCN 2,325 0.0 N/A 0 0 N/A
library cache 50,273 0.0 1.1 0 141 0.7
library cache load lock 800 0.0 N/A 0 0 N/A
library cache lock 20,079 0.0 N/A 0 0 N/A
library cache lock alloc 590 0.0 N/A 0 0 N/A
library cache pin 17,505 0.0 N/A 0 0 N/A
library cache pin alloca 188 0.0 N/A 0 0 N/A
list of block allocation 74 0.0 N/A 0 0 N/A
loader state object free 6,844 0.0 N/A 0 0 N/A
logminer context allocat 1 0.0 N/A 0 0 N/A
longop free list parent 2 0.0 N/A 0 2 0.0
message pool operations 78 0.0 N/A 0 0 N/A
messages 12,610 0.0 N/A 0 0 N/A
mostly latch-free SCN 2,325 0.0 N/A 0 0 N/A
msg queue 22 0.0 N/A 0 22 0.0
multiblock read objects 840 0.0 N/A 0 0 N/A
ncodef allocation latch 11 0.0 N/A 0 0 N/A
object queue header heap 1,079 0.0 N/A 0 92 0.0
object queue header oper 65,592 0.0 1.0 0 1,285 0.0
object stats modificatio 2 0.0 N/A 0 0 N/A
parallel query alloc buf 4,364 0.0 N/A 0 0 N/A
parallel query stats 491 0.0 N/A 0 0 N/A
parameter list 107 0.0 N/A 0 0 N/A
parameter table allocati 624 0.0 N/A 0 0 N/A
post/wait queue 3,549 0.0 N/A 0 1,440 0.0
process allocation 85 0.0 N/A 0 8 0.0
process group creation 17 0.0 N/A 0 0 N/A
process queue 2,870 0.0 N/A 0 0 N/A
process queue reference 7,204,772 0.0 1.0 0 585,085 1.2
qmn task queue latch 88 0.0 N/A 0 0 N/A
query server freelists 2,507 0.0 N/A 0 0 N/A
redo allocation 9,876 0.0 1.0 0 19,450 0.0
redo copy 1 0.0 N/A 0 19,449 0.1
redo writing 8,100 0.0 N/A 0 0 N/A
reservation so alloc lat 2 0.0 N/A 0 0 N/A
resmgr group change latc 366 0.0 N/A 0 0 N/A
resmgr:actses active lis 630 0.0 N/A 0 0 N/A
resmgr:actses change gro 312 0.0 N/A 0 0 N/A
resmgr:free threads list 628 0.0 N/A 0 0 N/A
resmgr:schema config 2 0.0 N/A 0 0 N/A
row cache objects 157,344 0.0 N/A 0 425 0.0
rules engine rule set st 200 0.0 N/A 0 0 N/A
segmented array pool 22 0.0 N/A 0 0 N/A
sequence cache 590 0.0 N/A 0 0 N/A
session allocation 78,343 0.0 1.2 0 0 N/A
session idle bit 28,022 0.0 N/A 0 0 N/A
session state list latch 644 0.0 N/A 0 0 N/A
session switching 11 0.0 N/A 0 0 N/A
session timer 240 0.0 N/A 0 0 N/A
shared pool 33,242 0.0 1.0 0 0 N/A
shared pool sim alloc 10 0.0 N/A 0 0 N/A
shared pool simulator 10,083 0.0 N/A 0 0 N/A
simulator hash latch 47,721 0.0 N/A 0 0 N/A
simulator lru latch 26,263 0.0 1.0 0 18,583 0.0
Latch Activity DB/Inst: IVRS/ivrs Snaps: 338-339
-> "Get Requests", "Pct Get Miss" and "Avg Slps/Miss" are statistics for
willing-to-wait latch get requests
-> "NoWait Requests", "Pct NoWait Miss" are for no-wait latch get requests
-> "Pct Misses" for both should be very close to 0.0
Pct Avg Wait Pct
Get Get Slps Time NoWait NoWait
Latch Name Requests Miss /Miss (s) Requests Miss
------------------------ -------------- ------ ------ ------ ------------ ------
slave class 69 0.0 N/A 0 0 N/A
slave class create 55 1.8 1.0 0 0 N/A
sort extent pool 321 0.0 N/A 0 0 N/A
state object free list 2 0.0 N/A 0 0 N/A
statistics aggregation 140 0.0 N/A 0 0 N/A
temp lob duration state 2 0.0 N/A 0 0 N/A
threshold alerts latch 64 0.0 N/A 0 0 N/A
transaction allocation 50 0.0 N/A 0 0 N/A
transaction branch alloc 11 0.0 N/A 0 0 N/A
undo global data 14,398 0.0 N/A 0 0 N/A
user lock 42 0.0 N/A 0 0 N/A
-------------------------------------------------------------
Latch Sleep Breakdown DB/Inst: IVRS/ivrs Snaps: 338-339
-> ordered by misses desc
Latch Name
----------------------------------------
Get Requests Misses Sleeps Spin Gets Sleep1 Sleep2 Sleep3
-------------- ----------- ----------- ---------- -------- -------- --------
cache buffers lru chain
39,708 22 23 0 0 0 0
library cache
50,273 8 9 0 0 0 0
session allocation
78,343 6 7 0 0 0 0
cache buffers chains
952,571 3 3 0 0 0 0
object queue header operation
65,592 2 2 0 0 0 0
process queue reference
7,204,772 2 2 0 0 0 0
shared pool
33,242 2 2 0 0 0 0
simulator lru latch
26,263 2 2 0 0 0 0
SQL memory manager workarea list latch
16,771 1 1 0 0 0 0
dml lock allocation
23,341 1 1 0 0 0 0
redo allocation
9,876 1 1 0 0 0 0
slave class create
55 1 1 0 0 0 0
-------------------------------------------------------------
Latch Miss Sources DB/Inst: IVRS/ivrs Snaps: 338-339
-> only latches with sleeps are shown
-> ordered by name, sleeps desc
NoWait Waiter
Latch Name Where Misses Sleeps Sleeps
------------------------ -------------------------- ------- ---------- --------
SQL memory manager worka qesmmIRegisterWorkArea 0 1 1
cache buffers chains kcbgtcr: kslbegin excl 0 2 3
cache buffers chains kcbgtcr: fast path 0 1 0
cache buffers lru chain kcbzgws_1 0 19 20
cache buffers lru chain kcbw_activate_granule 0 1 0
dml lock allocation ktaiam 0 1 0
library cache kglScanDependency 0 3 0
library cache kgldte: child 0 0 3 6
library cache kgldti: 2child 0 1 0
library cache kglobpn: child: 0 1 1
object queue header oper kcbw_link_q 0 1 0
object queue header oper kcbw_unlink_q 0 1 1
process queue reference kxfpqrsnd 0 2 0
redo allocation kcrfw_redo_gen: redo alloc 0 1 0
session allocation ksuxds: KSUSFCLC not set 0 3 1
session allocation ksursi 0 2 2
session allocation ksucri 0 1 1
session allocation ksuxds: KSUSFCLC set 0 1 0
shared pool kghalo 0 2 0
shared pool kghfrunp: clatch: nowait 0 1 0
simulator lru latch kcbs_simulate: simulate se 0 2 2
slave class create ksvcreate 0 1 0
-------------------------------------------------------------
Parent Latch Statistics DB/Inst: IVRS/ivrs Snaps: 338-339
No data exists for this section of the report.
-------------------------------------------------------------
Child Latch Statistics DB/Inst: IVRS/ivrs Snaps: 338-339
No data exists for this section of the report.
-------------------------------------------------------------
Segments by Logical Reads DB/Inst: IVRS/ivrs Snaps: 338-339
-> Total Logical Reads: 6,050,561
-> Captured Segments account for 101.7% of Total
Tablespace Subobject Obj. Logical
Owner Name Object Name Name Type Reads %Total
---------- ---------- -------------------- ---------- ----- ------------ -------
TPCH TPCHTAB LINEITEM TABLE 4,960,400 81.98
TPCH TPCHTAB ORDERS TABLE 502,768 8.31
TPCH TPCHTAB PARTSUPP TABLE 161,968 2.68
TPCH TPCHTAB PART TABLE 95,984 1.59
TPCC USERS STOCK_I1 INDEX 91,984 1.52
-------------------------------------------------------------
Segments by Physical Reads DB/Inst: IVRS/ivrs Snaps: 338-339
-> Total Physical Reads: 5,663,126
-> Captured Segments account for 101.7% of Total
Tablespace Subobject Obj. Physical
Owner Name Object Name Name Type Reads %Total
---------- ---------- -------------------- ---------- ----- ------------ -------
TPCH TPCHTAB LINEITEM TABLE 4,947,520 87.36
TPCH TPCHTAB ORDERS TABLE 492,387 8.69
TPCH TPCHTAB PARTSUPP TABLE 158,037 2.79
TPCH TPCHTAB PART TABLE 92,064 1.63
TPCH TPCHTAB CUSTOMER TABLE 55,709 .98
-------------------------------------------------------------
Segments by Row Lock Waits DB/Inst: IVRS/ivrs Snaps: 338-339
-> % of Capture shows % of row lock waits for each top segment compared
-> with total row lock waits for all segments captured by the Snapshot
Row
Tablespace Subobject Obj. Lock % of
Owner Name Object Name Name Type Waits Capture
---------- ---------- -------------------- ---------- ----- ------------ -------
TPCC USERS IORDL INDEX 24 75.00
PERFSTAT USERS STATS$EVENT_HISTOGRA INDEX 4 12.50
PERFSTAT USERS STATS$LATCH_PK INDEX 4 12.50
-------------------------------------------------------------
Segments by ITL Waits DB/Inst: IVRS/ivrs Snaps: 338-339
No data exists for this section of the report.
-------------------------------------------------------------
Segments by Buffer Busy Waits DB/Inst: IVRS/ivrs Snaps: 338-339
No data exists for this section of the report.
-------------------------------------------------------------
Dictionary Cache Stats DB/Inst: IVRS/ivrs Snaps: 338-339
-> "Pct Misses" should be very low (< 2% in most cases)
-> "Final Usage" is the number of cache entries being used
Get Pct Scan Pct Mod Final
Cache Requests Miss Reqs Miss Reqs Usage
------------------------- ------------ ------ ------- ----- -------- ----------
dc_awr_control 14 0.0 0 N/A 2 1
dc_global_oids 91 4.4 0 N/A 0 29
dc_histogram_data 4,249 2.0 0 N/A 0 1,281
dc_histogram_defs 9,313 2.4 0 N/A 0 2,713
dc_object_grants 26 7.7 0 N/A 0 45
dc_object_ids 4,946 1.0 0 N/A 0 663
dc_objects 1,968 4.0 0 N/A 3 794
dc_profiles 16 0.0 0 N/A 0 1
dc_rollback_segments 136 0.0 0 N/A 0 16
dc_segments 1,989 2.6 0 N/A 4 479
dc_sequences 84 0.0 0 N/A 84 7
dc_tablespaces 16,511 0.0 0 N/A 0 12
dc_usernames 260 0.0 0 N/A 0 12
dc_users 15,529 0.0 0 N/A 0 57
outstanding_alerts 27 0.0 0 N/A 0 24
-------------------------------------------------------------
Library Cache Activity DB/Inst: IVRS/ivrs Snaps: 338-339
-> "Pct Misses" should be very low
Get Pct Pin Pct Invali-
Namespace Requests Miss Requests Miss Reloads dations
--------------- ------------ ------ -------------- ------ ---------- --------
SQL AREA 1,117 6.1 64,285 1.8 294 154
TABLE/PROCEDURE 449 0.4 7,900 4.6 261 0
BODY 148 0.0 1,278 1.7 22 0
TRIGGER 42 0.0 80 13.8 11 0
INDEX 24 0.0 80 6.3 5 0
CLUSTER 18 0.0 59 0.0 0 0
JAVA DATA 1 0.0 0 N/A 0 0
-------------------------------------------------------------
Process Memory Summary DB/Inst: IVRS/ivrs Snaps: 338-339
-> B: Begin snap E: End snap
-> All rows below contain absolute values (i.e. not diffed over the interval)
-> Max Alloc is Maximum PGA Allocation size at snapshot time
-> Hist Max Alloc is the Historical Max Allocation for still-connected processes
-> ordered by Begin/End snapshot, Alloc (MB) desc
Hist
Avg Std Dev Max Max
Alloc Used Alloc Alloc Alloc Alloc Num Num
Category (MB) (MB) (MB) (MB) (MB) (MB) Proc Alloc
- -------- --------- --------- -------- -------- ------- ------- ------ ------
B Other 128.6 N/A 3.5 6.1 24 25 37 37
Freeable 9.7 .0 .6 .6 2 N/A 16 16
SQL 3.6 2.9 .2 .3 1 25 22 15
PL/SQL .4 .1 .0 .0 0 0 35 33
E Other 133.6 N/A 3.7 6.1 24 24 36 36
Freeable 12.1 .0 .7 .4 2 N/A 18 18
SQL 2.9 2.6 .1 .3 1 26 22 14
PL/SQL .5 .1 .0 .0 0 0 34 32
JAVA .0 .0 .0 .0 0 2 1 1
-------------------------------------------------------------
SGA Memory Summary DB/Inst: IVRS/ivrs Snaps: 338-339
End Size (Bytes)
SGA regions Begin Size (Bytes) (if different)
------------------------------ ------------------- -------------------
Database Buffers 213,909,504 205,520,896
Fixed Size 1,261,612
Redo Buffers 2,928,640
Variable Size 109,055,956 117,444,564
-------------------
sum 327,155,712
-------------------------------------------------------------
SGA breakdown difference DB/Inst: IVRS/ivrs Snaps: 338-339
-> ordered by Pool, Name
-> N/A value for Begin MB or End MB indicates the size of that Pool/Name was
insignificant, or zero in that snapshot
Pool Name Begin MB End MB % Diff
------ ------------------------------ -------------- -------------- -------
java free memory 2.8 2.7 -3.98
java joxlod exec hp 5.0 5.1 2.23
java joxs heap .2 .2 0.00
large ASM map operations hashta .2 .2 0.00
large CTWR dba buffer .4 .4 0.00
large PX msg pool .2 .2 20.83
large free memory 1.2 1.2 -3.32
large krcc extent chunk 2.0 2.0 0.00
shared ASH buffers 2.0 2.0 0.00
shared CCursor 3.0 3.3 11.37
shared Heap0: KGL 1.7 1.7 2.13
shared KCB Table Scan Buffer 3.8 3.8 0.00
shared KGH: NO ACCESS 12.0 13.9 16.25
shared KGLS heap 2.6 3.4 31.25
shared KQR M PO 2.2 2.1 -3.77
shared KSFD SGA I/O b 3.8 3.8 0.00
shared KTI-UNDO 1.2 1.2 0.00
shared PCursor 2.0 2.0 1.70
shared PL/SQL DIANA N/A 1.1 N/A
shared PL/SQL MPCODE 2.3 2.3 1.07
shared event statistics per sess 1.3 1.3 0.00
shared free memory 22.1 20.9 -5.56
shared kglsim hash table bkts 2.0 2.0 0.00
shared library cache 5.7 5.7 -0.52
shared private strands 1.1 1.1 0.00
shared row cache 3.6 3.6 0.00
shared sql area 9.7 15.0 54.05
stream free memory 4.0 4.0 0.00
buffer_cache 204.0 196.0 -3.92
fixed_sga 1.2 1.2 0.00
log_buffer 2.8 2.8 0.00
-------------------------------------------------------------
Streams CPU/IO Usage DB/Inst: IVRS/ivrs Snaps: 338-339
-> Streams processes ordered by CPU usage
-> CPU and I/O Time in micro seconds
Session Type CPU Time User I/O Time Sys I/O Time
------------------------- -------------- -------------- --------------
QMON Coordinator 31,890 0 0
QMON Slaves 24,062 0 0
-------------------------------------------------------------
Streams Capture DB/Inst: IVRS/ivrs Snaps: 338-339
No data exists for this section of the report.
-------------------------------------------------------------
Streams Apply DB/Inst: IVRS/ivrs Snaps: 338-339
No data exists for this section of the report.
-------------------------------------------------------------
Buffered Queues DB/Inst: IVRS/ivrs Snaps: 338-339
No data exists for this section of the report.
-------------------------------------------------------------
Buffered Subscribers DB/Inst: IVRS/ivrs Snaps: 338-339
No data exists for this section of the report.
-------------------------------------------------------------
Rule Set DB/Inst: IVRS/ivrs Snaps: 338-339
-> Rule Sets ordered by Evaluations
Fast SQL CPU Elapsed
Ruleset Name Evals Evals Execs Time Time
------------------------- -------- -------- -------- -------- --------
SYS.ALERT_QUE_R 0 0 0 0 0
-------------------------------------------------------------
Resource Limit Stats DB/Inst: IVRS/ivrs Snap: 339
No data exists for this section of the report.
-------------------------------------------------------------
init.ora Parameters DB/Inst: IVRS/ivrs Snaps: 338-339
End value
Parameter Name Begin value (if different)
----------------------------- --------------------------------- --------------
audit_file_dest /oracle/app/oracle/admin/ivrs/adu
audit_sys_operations TRUE
background_dump_dest /oracle/app/oracle/admin/ivrs/bdu
compatible 10.2.0.3.0
control_files +DATA_1/ivrs/control01.ctl, +DATA
core_dump_dest /oracle/app/oracle/admin/ivrs/cdu
db_block_size 8192
db_domain bayantel.com
db_file_multiblock_read_count 16
db_name ivrs
db_recovery_file_dest /flash_reco/flash_recovery_area
db_recovery_file_dest_size 161061273600
dispatchers (PROTOCOL=TCP) (SERVICE=ivrsXDB)
job_queue_processes 10
log_archive_dest_1 LOCATION=USE_DB_RECOVERY_FILE_DES
log_archive_format ivrs_%t_%s_%r.arc
open_cursors 300
os_authent_prefix
os_roles FALSE
pga_aggregate_target 108003328
processes 150
recyclebin OFF
remote_login_passwordfile EXCLUSIVE
remote_os_authent FALSE
remote_os_roles FALSE
sga_target 327155712
spfile +DATA_1/ivrs/spfileivrs.ora
sql92_security TRUE
statistics_level TYPICAL
undo_management AUTO
undo_tablespace UNDOTBS1
user_dump_dest /oracle/app/oracle/admin/ivrs/udu
-------------------------------------------------------------
End of Report
}}}
http://arjudba.blogspot.com/2010/08/ora-13516-awr-operation-failed-swrf.html
Mythbusters: AWR retention days and SYSAUX tablespace usage on it?
http://goo.gl/jTjsk
Mmm.. It's a long story, just check out this blog post.. http://karlarao.wordpress.com/2010/04/10/my-personal-wiki-karlarao-tiddlyspot-com/ :)
Also check out my Google profile here https://plus.google.com/102472804060828276067/about to know more about my web/social media presence
http://www.ardentperf.com/2011/08/19/developer-access-to-10046-trace-files/
http://dioncho.wordpress.com/2009/03/19/another-way-to-use-trace-file/
http://kb.acronis.com/content/2788
http://kb.acronis.com/search/apachesolr_search/true%20image%202012%20slow%20backup?filters=%20type%3Aarticle
http://forum.acronis.com/forum/5399
http://kb.acronis.com/content/2293
http://kerryosborne.oracle-guy.com/2009/06/oracle-11g-adaptive-cursor-sharing-acs/
http://aychin.wordpress.com/2011/04/04/adaptive-cursor-sharing-and-spm/
http://jarneil.wordpress.com/2010/11/05/11gr2-database-services-and-instance-shutdown/ <-- 11gR2 version..
http://pat98.tistory.com/531 <-- good stuff, well explained difference on admin and policy managed services
do this to collect the most recent occurrence of the error on any of the trace files
{{{
find . -type f -printf '%TY-%Tm-%Td %TT %p\n' | sort
}}}
files to look out
{{{
Agent Log and Trace files
Note: if there are multiple Agents experiencing problems, the files must be uploaded for each Agent.
From $ORACLE_HOME/sysman/log/*.* directory for a single agent.
From $ORACLE_HOME/host/sysman/log/*.* for a RAC agent.
The files are:
emagent.nohup: Agent watchdog log file, Startup errors are recorded in this file.
emagent.log: Main agent log file
emagent.trc: Main agent trace file
emagentfetchlet.log: Log file for Java Fetchlets
emagentfetchlet.trc: Trace file for Java Fetchlets
}}}
output below
{{{
2011-06-28 10:20:11 ./sysman/emd/state/0005.dlt
2011-06-28 10:20:11 ./sysman/emd/state/snapshot
2011-06-28 10:26:00 ./sysman/emd/cputrack/emagent_11747_2011-06-28_10-26-00_cpudiag.trc
2011-06-28 10:26:00 ./sysman/log/emctl.log
2011-06-28 10:28:43 ./sysman/emd/upload/EM_adaptive_thresholds.dat
2011-06-28 10:30:32 ./sysman/emd/state/parse-log-3CBBC0C79ED9B7E65B93EAC0D7457308
2011-06-28 10:30:39 ./sysman/emd/upload/mgmt_db_hdm_metric_helper.dat
2011-06-28 10:30:54 ./sysman/emd/upload/rawdata8.dat
2011-06-28 10:31:05 ./sysman/emd/state/adr/141DB5270B29BDF93743E123C2DF1231.alert.log.xml.state
2011-06-28 10:32:13 ./sysman/emd/state/adr/C12313AF3162E92001DE7952A752106A.alert.log.xml.state
2011-06-28 10:32:37 ./sysman/emd/upload/mgmt_ha_mttr.dat
2011-06-28 10:32:51 ./sysman/emd/upload/rawdata3.dat
2011-06-28 10:33:08 ./sysman/emd/state/adr/5A9DF4683EEF44F8898ABA391E70D194.alert.log.xml.state
2011-06-28 10:33:08 ./sysman/emd/upload/rawdata5.dat
2011-06-28 10:33:54 ./sysman/emd/agntstmp.txt
2011-06-28 10:33:55 ./sysman/emd/upload/rawdata0.dat
2011-06-28 10:34:06 ./sysman/emd/upload/rawdata9.dat
2011-06-28 10:34:09 ./sysman/emd/upload/rawdata2.dat
2011-06-28 10:34:21 ./sysman/emd/upload/rawdata4.dat
2011-06-28 10:34:25 ./sysman/emd/state/3CBBC0C79ED9B7E65B93EAC0D7457308.alerttd01db01.log
2011-06-28 10:34:25 ./sysman/emd/state/progResUtil.log
2011-06-28 10:34:27 ./sysman/emd/upload/rawdata7.dat
2011-06-28 10:34:28 ./sysman/log/emagent.trc
2011-06-28 09:51:42,537 Thread-1118013760 ERROR recvlets.aq: duplicate registration of metric Recovery_Area for target dbm rac_database
2011-06-28 09:51:42,537 Thread-1118013760 ERROR recvlets.aq: Unable to add metric Recovery_Area to AQDatabase [oracle_database dbm_dbm1] for rac_database dbm
2011-06-28 09:51:42,537 Thread-1118013760 ERROR recvlets: Error adding metric Recovery_Area, target dbm rac_database, to recvlet AQMetrics
2011-06-28 09:51:42,538 Thread-1118013760 ERROR recvlets.aq: duplicate registration of metric Snap_Shot_Too_Old for target dbm rac_database
2011-06-28 09:51:42,538 Thread-1118013760 ERROR recvlets.aq: Unable to add metric Snap_Shot_Too_Old to AQDatabase [oracle_database dbm_dbm1] for rac_database dbm
2011-06-28 09:51:42,538 Thread-1118013760 ERROR recvlets: Error adding metric Snap_Shot_Too_Old, target dbm rac_database, to recvlet AQMetrics
2011-06-28 09:51:42,538 Thread-1118013760 ERROR recvlets.aq: duplicate registration of metric WCR for target dbm rac_database
2011-06-28 09:51:42,538 Thread-1118013760 ERROR recvlets.aq: Unable to add metric WCR to AQDatabase [oracle_database dbm_dbm1] for rac_database dbm
2011-06-28 09:51:42,538 Thread-1118013760 ERROR recvlets: Error adding metric WCR, target dbm rac_database, to recvlet AQMetrics
2011-06-28 09:51:42,539 Thread-1118013760 ERROR recvlets.aq: duplicate registration of metric wrc_client for target dbm rac_database
2011-06-28 09:51:42,539 Thread-1118013760 ERROR recvlets.aq: Unable to add metric wrc_client to AQDatabase [oracle_database dbm_dbm1] for rac_database dbm
2011-06-28 09:51:42,539 Thread-1118013760 ERROR recvlets: Error adding metric wrc_client, target dbm rac_database, to recvlet AQMetrics
2011-06-28 09:51:42,540 Thread-1118013760 WARN recvlets.aq: [oracle_database dbm_dbm1] deferred nmevqd_refreshState for dbm rac_database
2011-06-28 09:51:42,540 Thread-1118013760 WARN upload: Upload manager has no Failure script: disabled
2011-06-28 09:51:48,569 Thread-1136912704 WARN collector: the column name first_message_age in this condition does not exist in metric aq_msgs_persistentq_per_subscriber
2011-06-28 09:51:48,571 Thread-1136912704 WARN collector: the column name first_message_age in this condition does not exist in metric aq_msgs_persistentq_per_subscriber
2011-06-28 09:51:48,575 Thread-1136912704 ERROR recvlets.aq: duplicate registration of metric problemTbsp for target dbm rac_database
2011-06-28 09:51:48,575 Thread-1136912704 ERROR recvlets.aq: Unable to add metric problemTbsp to AQDatabase [oracle_database dbm_dbm1] for rac_database dbm
2011-06-28 09:51:48,575 Thread-1136912704 ERROR recvlets: Error adding metric problemTbsp, target dbm rac_database, to recvlet AQMetrics
2011-06-28 09:51:48,576 Thread-1136912704 ERROR recvlets.aq: duplicate registration of metric Suspended_Session for target dbm rac_database
2011-06-28 09:51:48,576 Thread-1136912704 ERROR recvlets.aq: Unable to add metric Suspended_Session to AQDatabase [oracle_database dbm_dbm1] for rac_database dbm
2011-06-28 09:51:48,576 Thread-1136912704 ERROR recvlets: Error adding metric Suspended_Session, target dbm rac_database, to recvlet AQMetrics
2011-06-28 09:51:48,576 Thread-1136912704 ERROR recvlets.aq: duplicate registration of metric Recovery_Area for target dbm rac_database
2011-06-28 09:51:48,576 Thread-1136912704 ERROR recvlets.aq: Unable to add metric Recovery_Area to AQDatabase [oracle_database dbm_dbm1] for rac_database dbm
2011-06-28 09:51:48,576 Thread-1136912704 ERROR recvlets: Error adding metric Recovery_Area, target dbm rac_database, to recvlet AQMetrics
2011-06-28 09:51:48,576 Thread-1136912704 ERROR recvlets.aq: duplicate registration of metric Snap_Shot_Too_Old for target dbm rac_database
2011-06-28 09:51:48,576 Thread-1136912704 ERROR recvlets.aq: Unable to add metric Snap_Shot_Too_Old to AQDatabase [oracle_database dbm_dbm1] for rac_database dbm
2011-06-28 09:51:48,576 Thread-1136912704 ERROR recvlets: Error adding metric Snap_Shot_Too_Old, target dbm rac_database, to recvlet AQMetrics
2011-06-28 09:51:48,577 Thread-1136912704 ERROR recvlets.aq: duplicate registration of metric WCR for target dbm rac_database
2011-06-28 09:51:48,577 Thread-1136912704 ERROR recvlets.aq: Unable to add metric WCR to AQDatabase [oracle_database dbm_dbm1] for rac_database dbm
2011-06-28 09:51:48,577 Thread-1136912704 ERROR recvlets: Error adding metric WCR, target dbm rac_database, to recvlet AQMetrics
2011-06-28 09:51:48,577 Thread-1136912704 ERROR recvlets.aq: duplicate registration of metric wrc_client for target dbm rac_database
2011-06-28 09:51:48,577 Thread-1136912704 ERROR recvlets.aq: Unable to add metric wrc_client to AQDatabase [oracle_database dbm_dbm1] for rac_database dbm
2011-06-28 09:51:48,577 Thread-1136912704 ERROR recvlets: Error adding metric wrc_client, target dbm rac_database, to recvlet AQMetrics
2011-06-28 09:51:48,578 Thread-1136912704 WARN recvlets.aq: [oracle_database dbm_dbm1] deferred nmevqd_refreshState for dbm rac_database
2011-06-28 09:51:48,579 Thread-1136912704 WARN upload: Upload manager has no Failure script: disabled
2011-06-28 09:51:48,615 Thread-1136912704 WARN collector: the column name first_message_age in this condition does not exist in metric aq_msgs_persistentq_per_subscriber
2011-06-28 09:51:48,617 Thread-1136912704 WARN recvlets.aq: [oracle_database dbm_dbm1] deferred nmevqd_refreshState for dbm rac_database
2011-06-28 09:52:03,663 Thread-1130613056 WARN collector: the column name first_message_age in this condition does not exist in metric aq_msgs_persistentq_per_subscriber
2011-06-28 09:52:03,669 Thread-1130613056 WARN collector: the column name first_message_age in this condition does not exist in metric aq_msgs_persistentq_per_subscriber
2011-06-28 09:52:03,675 Thread-1130613056 WARN collector: the column name first_message_age in this condition does not exist in metric aq_msgs_persistentq_per_subscriber
2011-06-28 09:52:03,678 Thread-1130613056 WARN collector: the column name first_message_age in this condition does not exist in metric aq_msgs_persistentq_per_subscriber
2011-06-28 09:52:03,690 Thread-1130613056 WARN recvlets.aq: [rac_database dbm] deferred nmevqd_refreshState for dbm rac_database
2011-06-28 09:52:03,691 Thread-1130613056 WARN upload: Upload manager has no Failure script: disabled
2011-06-28 09:54:21,234 Thread-1136912704 ERROR vpxoci: ORA-03113: end-of-file on communication channel
2011-06-28 09:59:52,513 Thread-1146362176 ERROR util.fileops: error: file /u01/app/oracle/product/grid/agent11g/bin/nmo is not a setuid file
2011-06-28 09:59:52,513 Thread-1146362176 WARN Authentication: nmo binary in current oraHome doesn't have setuid privileges !!!
2011-06-28 09:59:52,513 Thread-1146362176 ERROR Authentication: altNmo binary doesn't exist ... reverting back to nmo
2011-06-28 10:00:41,308 Thread-1084578112 ERROR util.fileops: error: file /u01/app/oracle/product/grid/agent11g/bin/nmo is not a setuid file
2011-06-28 10:00:41,309 Thread-1084578112 WARN Authentication: nmo binary in current oraHome doesn't have setuid privileges !!!
2011-06-28 10:00:41,309 Thread-1084578112 ERROR Authentication: altNmo binary doesn't exist ... reverting back to nmo
2011-06-28 10:00:54,251 Thread-1146362176 ERROR util.fileops: error: file /u01/app/oracle/product/grid/agent11g/bin/nmo is not a setuid file
2011-06-28 10:00:54,251 Thread-1146362176 WARN Authentication: nmo binary in current oraHome doesn't have setuid privileges !!!
2011-06-28 10:00:54,252 Thread-1146362176 ERROR Authentication: altNmo binary doesn't exist ... reverting back to nmo
2011-06-28 10:01:11,931 Thread-1121163584 ERROR util.fileops: error: file /u01/app/oracle/product/grid/agent11g/bin/nmo is not a setuid file
2011-06-28 10:01:11,931 Thread-1121163584 WARN Authentication: nmo binary in current oraHome doesn't have setuid privileges !!!
2011-06-28 10:01:11,932 Thread-1121163584 ERROR Authentication: altNmo binary doesn't exist ... reverting back to nmo
2011-06-28 10:01:53,036 Thread-1130613056 ERROR util.fileops: error: file /u01/app/oracle/product/grid/agent11g/bin/nmo is not a setuid file
2011-06-28 10:01:53,036 Thread-1130613056 WARN Authentication: nmo binary in current oraHome doesn't have setuid privileges !!!
2011-06-28 10:01:53,036 Thread-1130613056 ERROR Authentication: altNmo binary doesn't exist ... reverting back to nmo
2011-06-28 10:34:28,828 Thread-1130613056 ERROR util.fileops: error: file /u01/app/oracle/product/grid/agent11g/bin/nmo is not a setuid file
2011-06-28 10:34:28,828 Thread-1130613056 WARN Authentication: nmo binary in current oraHome doesn't have setuid privileges !!!
2011-06-28 10:34:28,828 Thread-1130613056 ERROR Authentication: altNmo binary doesn't exist ... reverting back to nmo
2011-06-28 10:20:11 ./sysman/emd/state/snapshot
2011-06-28 10:26:00 ./sysman/emd/cputrack/emagent_11747_2011-06-28_10-26-00_cpudiag.trc
2011-06-28 10:26:00 ./sysman/log/emctl.log
2011-06-28 10:28:43 ./sysman/emd/upload/EM_adaptive_thresholds.dat
2011-06-28 10:30:32 ./sysman/emd/state/parse-log-3CBBC0C79ED9B7E65B93EAC0D7457308
2011-06-28 10:30:54 ./sysman/emd/upload/rawdata8.dat
2011-06-28 10:32:13 ./sysman/emd/state/adr/C12313AF3162E92001DE7952A752106A.alert.log.xml.state
2011-06-28 10:32:51 ./sysman/emd/upload/rawdata3.dat
2011-06-28 10:33:08 ./sysman/emd/state/adr/5A9DF4683EEF44F8898ABA391E70D194.alert.log.xml.state
2011-06-28 10:34:06 ./sysman/emd/upload/rawdata9.dat
2011-06-28 10:34:25 ./sysman/emd/state/3CBBC0C79ED9B7E65B93EAC0D7457308.alerttd01db01.log
2011-06-28 10:34:25 ./sysman/emd/state/progResUtil.log
2011-06-28 10:34:27 ./sysman/emd/upload/rawdata7.dat
2011-06-28 10:35:17 ./sysman/emd/upload/mgmt_ha_mttr.dat
2011-06-28 10:35:21 ./sysman/emd/upload/rawdata5.dat
2011-06-28 10:35:58 ./sysman/emd/upload/rawdata2.dat
2011-06-28 10:36:05 ./sysman/emd/state/adr/141DB5270B29BDF93743E123C2DF1231.alert.log.xml.state
2011-06-28 10:36:28 ./sysman/emd/upload/mgmt_db_hdm_metric_helper.dat
2011-06-28 10:36:32 ./sysman/emd/upload/rawdata4.dat
2011-06-28 10:36:37 ./sysman/log/emagent.trc
2011-06-28 10:36:51 ./sysman/emd/upload/rawdata0.dat
2011-06-28 10:36:54 ./sysman/emd/agntstmp.txt
[td01db01:oracle:dbm1] /home/oracle
> dcli -l oracle -g dbs_group id oracle
td01db01: uid=500(oracle) gid=500(oinstall) groups=500(oinstall),101(fuse),501(dba)
td01db02: uid=500(oracle) gid=500(oinstall) groups=500(oinstall),101(fuse),501(dba)
td01db03: uid=500(oracle) gid=500(oinstall) groups=500(oinstall),101(fuse),501(dba)
td01db04: uid=500(oracle) gid=500(oinstall) groups=500(oinstall),101(fuse),501(dba)
[td01db01:oracle:dbm1] /home/oracle
>
[td01db01:oracle:dbm1] /home/oracle
> dcli -l oracle -g dbs_group ls -l /u01/app/oracle/product/grid/agent11g/bin/nmo
td01db01: -rwxr-xr-x 1 oracle oinstall 32872 Jun 22 17:02 /u01/app/oracle/product/grid/agent11g/bin/nmo
td01db02: -rws--x--- 1 root oinstall 32872 Jun 22 16:07 /u01/app/oracle/product/grid/agent11g/bin/nmo
td01db03: -rws--x--- 1 root oinstall 32872 Jun 22 16:14 /u01/app/oracle/product/grid/agent11g/bin/nmo
td01db04: -rws--x--- 1 root oinstall 32872 Jun 22 16:14 /u01/app/oracle/product/grid/agent11g/bin/nmo
2011-06-28 10:01:53,036 Thread-1130613056 ERROR Authentication: altNmo binary doesn't exist ... reverting back to nmo
2011-06-28 10:34:28,828 Thread-1130613056 ERROR util.fileops: error: file /u01/app/oracle/product/grid/agent11g/bin/nmo is not a setuid file
2011-06-28 10:34:28,828 Thread-1130613056 WARN Authentication: nmo binary in current oraHome doesn't have setuid privileges !!!
2011-06-28 10:34:28,828 Thread-1130613056 ERROR Authentication: altNmo binary doesn't exist ... reverting back to nmo
2011-06-28 10:36:37,862 Thread-1130613056 ERROR util.fileops: error: file /u01/app/oracle/product/grid/agent11g/bin/nmo is not a setuid file
2011-06-28 10:36:37,862 Thread-1130613056 WARN Authentication: nmo binary in current oraHome doesn't have setuid privileges !!!
2011-06-28 10:36:37,863 Thread-1130613056 ERROR Authentication: altNmo binary doesn't exist ... reverting back to nmo
-rwxr-xr-x 1 oracle oinstall 5985 Jun 22 16:14 owm | -rwxr-xr-x 1 oracle oinstall 5985 Jun 22 17:02 owm
-rwxr-xr-x 1 oracle oinstall 2994 Jun 22 16:14 orapki | -rwxr-xr-x 1 oracle oinstall 2994 Jun 22 17:02 orapki
-rwxr-xr-x 1 oracle oinstall 2680 Jun 22 16:14 mkstore | -rwxr-xr-x 1 oracle oinstall 2680 Jun 22 17:02 mkstore
-rwxr-xr-x 1 oracle oinstall 2326 Jun 22 16:14 bndlchk | -rwxr-xr-x 1 oracle oinstall 2326 Jun 22 17:02 bndlchk
-rwxr-xr-x 1 oracle oinstall 3602 Jun 22 16:14 umu | -rwxr-xr-x 1 oracle oinstall 3602 Jun 22 17:02 umu
-rwxr-xr-x 1 oracle oinstall 1641 Jun 22 16:14 eusm | -rwxr-xr-x 1 oracle oinstall 1641 Jun 22 17:02 eusm
-rwxr-xr-x 1 oracle oinstall 60783 Jun 22 16:14 chronos_se | -rwxr-xr-x 1 oracle oinstall 60783 Jun 22 17:02 chronos_se
-rwxr-xr-x 1 oracle oinstall 1551 Jun 22 16:14 chronos_se | -rwxr-xr-x 1 oracle oinstall 1551 Jun 22 17:02 chronos_se
-rwxr-x--x 1 oracle oinstall 19217 Jun 22 16:14 tnsping | -rwxr-x--x 1 oracle oinstall 19217 Jun 22 17:02 tnsping
-rwxr-x--x 1 oracle oinstall 418787 Jun 22 16:14 wrc | -rwxr-x--x 1 oracle oinstall 418787 Jun 22 17:02 wrc
-rwxr-x--x 1 oracle oinstall 25297 Jun 22 16:14 adrci | -rwxr-x--x 1 oracle oinstall 25297 Jun 22 17:02 adrci
-rwxr-x--x 1 oracle oinstall 16793110 Jun 22 16:14 rmanO | -rwxr-x--x 1 oracle oinstall 16793110 Jun 22 17:02 rmanO
-rwxr-xr-x 1 oracle oinstall 227069 Jun 22 16:14 ojmxtool | -rwxr-xr-x 1 oracle oinstall 227069 Jun 22 17:02 ojmxtool
-rwxr-xr-x 1 oracle oinstall 26061 Jun 22 16:14 nmupm | -rwxr-xr-x 1 oracle oinstall 26061 Jun 22 17:02 nmupm
-rwxr-xr-x 1 oracle oinstall 84093 Jun 22 16:14 nmei | -rwxr-xr-x 1 oracle oinstall 84093 Jun 22 17:02 nmei
-rwx------ 1 oracle oinstall 112352 Jun 22 16:14 emdctl | -rwx------ 1 oracle oinstall 112352 Jun 22 17:02 emdctl
-rwxr-xr-x 1 oracle oinstall 37130 Jun 22 16:14 emagtmc | -rwxr-xr-x 1 oracle oinstall 54596 Jun 22 17:02 emagtm
-rwxr-xr-x 1 oracle oinstall 54596 Jun 22 16:14 emagtm | -rwx------ 1 oracle oinstall 15461 Jun 22 17:02 emagent
-rwx------ 1 oracle oinstall 15461 Jun 22 16:14 emagent | -rwxr-xr-x 1 oracle oinstall 656 Jun 22 17:02 commonenv.
-rwxr-xr-x 1 oracle oinstall 656 Jun 22 16:14 commonenv. | -rwx------ 1 oracle oinstall 347 Jun 22 17:02 opmnassoci
-rwx------ 1 oracle oinstall 347 Jun 22 16:14 opmnassoci | -rwxr-xr-x 1 oracle oinstall 2934 Jun 22 17:02 onsctl.opm
-rwxr-xr-x 1 oracle oinstall 2934 Jun 22 16:14 onsctl.opm | -rwxr-xr-x 1 oracle oinstall 484287 Jun 22 17:02 nmosudo
-rwxr-xr-x 1 oracle oinstall 484287 Jun 22 16:14 nmosudo | -rwxr-xr-x 1 oracle oinstall 24725 Jun 22 17:02 nmocat
-rwxr-xr-x 1 oracle oinstall 24725 Jun 22 16:14 nmocat | -rwxr-xr-x 1 oracle oinstall 32872 Jun 22 17:02 nmo.0
-rwxr-xr-x 1 oracle oinstall 32872 Jun 22 16:14 nmo.0 | -rwxr-xr-x 1 oracle oinstall 32872 Jun 22 17:02 nmo
-rws--x--- 1 root oinstall 32872 Jun 22 16:14 nmo | -rwxr-xr-x 1 oracle oinstall 58483 Jun 22 17:02 nmhs.0
-rwxr-xr-x 1 oracle oinstall 58483 Jun 22 16:14 nmhs.0 | -rwxr-xr-x 1 oracle oinstall 58483 Jun 22 17:02 nmhs
-rws--x--- 1 root oinstall 58483 Jun 22 16:14 nmhs | -rwxr-xr-x 1 oracle oinstall 22746 Jun 22 17:02 nmb.0
-rwxr-xr-x 1 oracle oinstall 22746 Jun 22 16:14 nmb.0 | -rwxr-xr-x 1 oracle oinstall 22746 Jun 22 17:02 nmb
-rws--x--- 1 root oinstall 22746 Jun 22 16:14 nmb | -rwsr-s--- 1 oracle oinstall 76234 Jun 22 17:02 emtgtctl2
-rwsr-s--- 1 oracle oinstall 76234 Jun 22 16:14 emtgtctl2 | -rwxr-xr-x 1 oracle oinstall 3895446 Jun 22 17:02 emsubagent
-rwxr-xr-x 1 oracle oinstall 3895446 Jun 22 16:14 emsubagent | -rwxr-xr-x 1 oracle oinstall 37130 Jun 22 17:02 emagtmc
-rwxr-xr-x 1 oracle oinstall 3031365 Jun 22 16:14 e2eme | -rwxr-xr-x 1 oracle oinstall 3031365 Jun 22 17:02 e2eme
-rwx------ 1 oracle oinstall 1634 Jun 22 16:14 dmstool | -rwx------ 1 oracle oinstall 1634 Jun 22 17:02 dmstool
-rwxr-xr-x 1 oracle oinstall 2639 Jun 22 16:14 db2gc | -rwxr-xr-x 1 oracle oinstall 2639 Jun 22 17:02 db2gc
-rwxr-xr-x 1 oracle oinstall 5258 Jun 22 16:14 emutil | -rwxr-xr-x 1 oracle oinstall 5258 Jun 22 17:02 emutil
-rwxr-xr-x 1 oracle oinstall 1516 Jun 22 16:14 emtgtctl | -rwxr-xr-x 1 oracle oinstall 1516 Jun 22 17:02 emtgtctl
-rwx------ 1 oracle oinstall 19063 Jun 22 16:14 emctl.pl | -rwx------ 1 oracle oinstall 19063 Jun 22 17:02 emctl.pl
-rwxr--r-- 1 oracle oinstall 14476 Jun 22 16:14 emctl | -rwxr--r-- 1 oracle oinstall 14476 Jun 22 17:02 emctl
-rwxr-xr-x 1 oracle oinstall 641 Jun 22 16:14 commonenv | -rwxr-xr-x 1 oracle oinstall 641 Jun 22 17:02 commonenv
-rwxr-xr-x 1 oracle oinstall 701 Jun 22 16:14 agentca | -rwxr-xr-x 1 oracle oinstall 701 Jun 22 17:02 agentca
-rwxr-x--x 1 oracle oinstall 16792553 Jun 22 16:14 rman | -rwxr-x--x 1 oracle oinstall 16792553 Jun 22 17:03 rman
}}}
http://wikis.sun.com/display/Performance/Aligning+Flash+Modules+for+Optimal+Performance
http://blogs.oracle.com/lisan/entry/io_sizes_and_alignments_with
Find Answers Faster
By Jonathan Gennick and Anthony Molinaro
http://www.oracle.com/technology/oramag/oracle/05-mar/o25dba.html
LAG
http://www.appsdba.com/blog/?p=383
CAST function
http://www.oracle.com/technetwork/database/focus-areas/manageability/diag-pack-ow08-131537.pdf
http://psoug.org/reference/cast.html
Oracle Clusterware and Application Failover Management [ID 790189.1]
http://onlineappsdba.com/index.php/2010/08/30/time-out-while-waiting-for-a-managed-process-to-stop-http_server/
{{{
http://www.oracle.com/technology/software/products/ias/files/ha-certification.html
How to Obtain Pre-Requisites for Oracle Application Server 10g Installation
Doc ID: Note:433077.1
Oracle Application Server 10g Release 3 (10.1.3) Support Status and Alerts
Doc ID: Note:397022.1
How to Find Certification Details for Oracle Application Server 10g
Doc ID: Note:431578.1
How to Verify 9iAS Release 2 (9.0.2) Components
Doc ID: Note:226187.1
What is a 9iAS (9.0.2) Farm
Doc ID: Note:218038.1
What is a 9iAS (9.0.2) Cluster
Doc ID: Note:218039.1
Steps to Maintain Oracle Application Server 10g Release 2 (10.1.2)
Doc ID: Note:415222.1
Subject: Installing Oracle Application Server 10g with Oracle E-Business Suite Release 11i
Doc ID: Note:233436.1
Oracle Application Server 10g Release 2 (10.1.2) Support Status and Alerts
Doc ID: Note:329361.1
Oracle Application Server 10g Examples for Critical Patch Updates
Doc ID: Note:405972.1
Using Oracle Applications with a Split Configuration Database Tier on Oracle 10g Release 2
Doc ID: Note:369693.1
Using Oracle Applications with a Split Configuration Database Tier on Oracle 10g Release 1
Doc ID: Note:356839.1
How to Obtain Pre-Requisites for Oracle Application Server 10g Installation
Doc ID: Note:433077.1
Oracle Application Server with Oracle E-Business Suite Release 11i FAQ
Doc ID: Note:186981.1
How to Find Certification Details for Oracle Application Server 10g
Doc ID: Note:431578.1
Oracle Server - Export Data Pump and Import DataPump FAQ
Doc ID: Note:556636.1
Oracle E-Business Suite Release 11i Technology Stack Documentation Roadmap
Doc ID: Note:207159.1
Using Oracle Applications with a Split Configuration Database Tier on Oracle 10g Release 1
Doc ID: Note:356839.1
10g Release 2 Export/Import Process for Oracle Applications Release 11i
Doc ID: Note:362205.1
Oracle Application Server with Oracle E-Business Suite Release 12 FAQ
Doc ID: Note:415007.1
About Oracle E-Business Suite Applied Technology Family Pack ATG_PF.H
Doc ID: Note:284086.1
Installing Oracle Application Server 10g with Oracle E-Business Suite Release 11i
Doc ID: Note:233436.1
Oracle Applications Documentation Resources, Release 12
Doc ID: Note:394692.1
https://metalink.oracle.com/metalink/plsql/f?p=130:14:491566816839019350::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,461709.1,1,1,1,helvetica
Implement, Upgrade and Optimize � Upgrade Guide � Oracle E-Business Suite Upgrade Resource � Oracle E-Business Suite Upgrade Resource Plan
Globalization Guide for Oracle Applications Release 12
Doc ID: Note:393861.1
Oracle Applications Release 12 Technology Stack Documentation Resources
Doc ID: Note:396957.1
Oracle E-Business Suite Release 12 Technology Stack Documentation Roadmap
Doc ID: Note:380482.1
How to Migrate OAS 4.x Applications to 9iAS Release 1 (1.0.2)
Doc ID: Note:122826.1
Disaster Recovery Setup: Middle Tier and Collocated Infrastructure on the Same Server
Doc ID: Note:420824.1
Understanding OracleAS 10g High Availability - A Roadmap
Doc ID: Note:412159.1
What make and version of Cluster Managers are supported by Oracle in an OracleAS Cold Failover Cluster setup?
Doc ID: Note:303161.1
Examples of Building Highly Available, Highly Secure, Scalable OracleAS 10g Solutions
Doc ID: Note:435025.1
Storage Solutions for OracleAS 10g R2 and OracleAS 10g R3
Doc ID: Note:371251.1
9.0.2.0.1 documentation
http://download-uk.oracle.com/docs/cd/B10202_07/index.htm
Oracle9iAS Release 2 (9.0.3) Support Status and Alerts
Doc ID: Note:248328.1
Installation and Connection Issues with 9iAS 1.0.2.2 and 9i
Doc ID: Note:162843.1
9iAS Release 1 and Release 2 Install Options
Doc ID: Note:203509.1
Explanation of 9iAS Release 1 Installation Prompts
Doc ID: Note:158688.1
9iAS 1.0.2.2.2A Installation Hangs at 100% on Windows
Doc ID: Note:180418.1
Installing 9iAS Release 1 (1.0.2.2) and RDBMS 8.1.7 on the Same Windows Server
Doc ID: Note:170756.1
9iAS Release 1 (1.0.2.2) Installation Requirements Checklist for Linux
Doc ID: Note:158856.1
9iAS Release 1 (1.0.2.2) EE Installation Requirements Checklist (Microsoft Windows NT/2000)
Doc ID: Note:158863.1
ALERT: Windows NT/2000 - 9iAS v.1.0.2.2.1 Unsupported on Pentium 4
Doc ID: Note:136038.1
Checking 9iAS Release 1 Installation Requirements
Doc ID: Note:158634.1
Oracle9i Application Server (9iAS) 9.0.3.1 FAQ
Doc ID: Note:251781.1
--########## FORMS
The History and Methods of Running Oracle Forms Over The Web
Doc ID: Note:166640.1
Overview of Oracle Forms and Using the Oracle Forms Builder
Doc ID: Note:358712.1
Note 166640.1 - The History and Methods of Running Oracle Forms Over The Web
Note 2056834.6 - Does Oracle Support the Use of Emulators to Run Oracle Products?
Note 266541.1 - Patching Lifecycle / Strategy of Oracle Developer (Forms and Reports)
Note 299938.1 - Moving Forms Applications From One Platform To Another
Note 340215.1 - Required Support Files (RSF) in Oracle Forms and Reports
Note 68047.1 - Support of Terminal Emulators, Terminal Server ( e.g. Citrix) with Developer Tools
Note 73736.1 - Installing Developer on a LAN - Is This Supported?
Note 74145.1 - Developer Production and Patchset Version Numbers on MS Windows
How to Web Deploy Oracle Forms Using The Static HTML File Method?
Doc ID: Note:232371.1
Are Unix Clients Supported for Deploying Oracle Forms over the Web?
Doc ID: Note:266439.1
Changing the Oracle Password in Oracle Forms
Doc ID: Note:16365.1
Failed To Detect Change Window Password Of Oracle Forms 6
Doc ID: Note:563955.1
Changing the Oracle Password in Oracle Forms
Doc ID: Note:16365.1
--########## JINITIATOR VERSIONS
oracle 9iR1 - 1.1.8.7
oracle10gr2 AS - 1.3.1.22
--########## PORTAL
Overview of the Portal Export-Import Process
Doc ID: Note:306785.1
Note 456456.1 How to Find the Oracle Application Server 10g Upgrade and Compatibility Guide
Note 433077.1 How to Obtain Pre-Requisites for Oracle Application Server 10g Installation
Note 431028.1 Oracle Fusion Middleware Support of IPv6
Note 429995.1 Is it Supported to Run OracleAS Components on Different Operating Systems and Versions?
Note 420210.1 What User Can Be Used to Perform the IAS Patches/Upgrades?
Note 412439.1 Can A Manually Managed Cluster Be Installed Across Windows And Unix/Linux?
Note 394525.1 How to Know If a New Patch is Released ?
Note 400134.1 How to force Oracle Installer to use Virtual Hostname When Installing an OracleAS Instance?
Note 302535.1 Can Oracle AS 10g Release 2 (10.1.2) Be Installed to Upgrade Forms, Reports and Portal 10g (9.0.4)?
Note 317085.1 OracleAS 10g (10.1.2) Installation Requirements for Linux Red Hat 4.0 / Oracle Enterprise Linux
-- 9.0.3
Oracle9iAS Release 2 (9.0.3) Support Status and Alerts
Doc ID: Note:248328.1
Installation and Connection Issues with 9iAS 1.0.2.2 and 9i
Doc ID: Note:162843.1
9iAS Release 1 and Release 2 Install Options
Doc ID: Note:203509.1
Explanation of 9iAS Release 1 Installation Prompts
Doc ID: Note:158688.1
9iAS Release 1 and Release 2 Install Options
Doc ID: Note:203509.1
9iAS Release 1 (1.0.2.2) Installation Requirements Checklist for Linux
Doc ID: Note:158856.1
9iAS Release 1 (1.0.2.2) EE Installation Requirements Checklist (Microsoft Windows NT/2000)
Doc ID: Note:158863.1
ALERT: Windows NT/2000 - 9iAS v.1.0.2.2.1 Unsupported on Pentium 4
Doc ID: Note:136038.1
Checking 9iAS Release 1 Installation Requirements
Doc ID: Note:158634.1
Oracle9i Application Server (9iAS) 9.0.3.1 FAQ
Doc ID: Note:251781.1
Unable to Bind to Server Machine After Install of Discoverer 4.1.37
Doc ID: Note:149678.1
-- HTTP SERVER
HTTP Server Intermittently Restarted By OPMN
Doc ID: 469720.1
Linux OS Service 'httpd'
Doc ID: 550870.1
Is There a Way to Increase the Maximum Value of ThreadsperChild on Windows?
Doc ID: 460443.1
Unable to Increase Value of Maxclients Above 256 in httpd.conf File
Doc ID: 149874.1
How Apache Works
Doc ID: 334763.1
OC4J_SECURITY Is Falling To Start After Problems With Database
Doc ID: Note:550631.1
-- TUNING / TROUBLESHOOTING
Troubleshooting Web Deployed Oracle Forms Performance Issues
Doc ID: 363285.1
Configurable Connection Limits in Application Server Components
Doc ID: 289908.1
-- AIX
Does OracleAS 10g Support AIX VIO Logical Partitioning (LPAR)?
Doc ID: Note:470083.1
-- EBUSINESS SUITE
Oracle Application Server with Oracle E-Business Suite Release 11i FAQ
Doc ID: Note:186981.1
}}}
----------------------------------------------------
Archivelog Mode On RAC 10G, 11g
----------------------------------------------------
1) In Oracle 10.1, you cannot directly enable archive logging in a RAC database. Instead, you must temporarily convert your RAC database to a single-instance database to issue the command. First change the CLUSTER_DATABASE parameter in the SPFILE to FALSE
ALTER SYSTEM SET CLUSTER_DATABASE = FALSE SCOPE = SPFILE;
In Oracle 10.2 and 11g, you can run the ALTER DATABASE SQL statement to change the archiving mode in RAC as long as the database is mounted by the local instance but not open in any instances. You do not need to modify parameter settings to run this statement.
2) Set parameters
If you are using a filesystem do this:
alter system set log_archive_format='orcl_%t_%s_%r.arc' scope=spfile;
alter system set log_archive_dest_1 = 'LOCATION=/u03/flash_recovery_area/ORCL/archivelog' scope=both;
If you are using ASM do this:
alter system set log_archive_format='orcl_%t_%s_%r.arc' scope=spfile;
alter system set db_recovery_file_dest_size=800G scope=both;
alter system set db_recovery_file_dest='+RECOVERY_1' scope=both;
alter system set log_archive_dest_1='LOCATION=USE_DB_RECOVERY_FILE_DEST';
3) shutdown the database
srvctl stop database -d RAC
4) Start a single instance using the following:
srvctl start instance -d RAC - i RACl -o mount
5) Enable archiving as follows:
ALTER DATABASE ARCHIVELOG;
6) In Oracle 10.1, Change the CLUSTER_DATABASE parameter in the SPFILE back to TRUE:
ALTER SYSTEM SET CLUSTER_DATABASE = TRUE SCOPE = SPFILE;
7) The next time the database is stopped and started, it will be a RAC database. Use the following command to stop the instance:
srvctl stop instance -d RAC -i RACl
8) start the database
srvctl start database -d RAC
9) do other stuff:
-- Edit related parameters
alter system set control_file_record_keep_time=14;
alter database enable block change tracking using file '+RECOVERY_1/ORCL/orcl.bct';
-- Configure RMAN settings and related directories
on +RECOVERY_1... mkdir AUTOBACKUP BACKUPSET
CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 7 DAYS;
CONFIGURE BACKUP OPTIMIZATION OFF;
CONFIGURE DEFAULT DEVICE TYPE TO DISK;
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '+RECOVERY_1/ORCL/AUTOBACKUP/%d-%F';
CONFIGURE DEVICE TYPE DISK PARALLELISM 4 BACKUP TYPE TO COMPRESSED BACKUPSET;
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
CONFIGURE CHANNEL DEVICE TYPE DISK MAXPIECESIZE 2 G FORMAT '+RECOVERY_1/ORCL/BACKUPSET/%d-%T-%U';
CONFIGURE MAXSETSIZE TO UNLIMITED;
CONFIGURE ENCRYPTION FOR DATABASE OFF;
CONFIGURE ENCRYPTION ALGORITHM 'AES128';
CONFIGURE COMPRESSION ALGORITHM 'BZIP2'; # default
CONFIGURE ARCHIVELOG DELETION POLICY TO NONE;
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '+RECOVERY_1/ORCL/sncf_orcl.f';
List of directories on +RECOVERY_1:
Y ARCHIVELOG/
N AUTOBACKUP/
N BACKUPSET/
Y CHANGETRACKING/
Y CONTROLFILE/
----------------------------------------------------
Archivelog Mode On RAC 9i by ORACLE-BASE
----------------------------------------------------
This article highlights the differences between resetting the archive log mode on a single node instance and a Real Application Clusters (RAC).
On a single node instance the archive log mode is reset as follows:
ALTER SYSTEM SET log_archive_start=TRUE SCOPE=spfile;
ALTER SYSTEM SET log_archive_dest_1='location=/u01/oradata/MYSID/archive/' SCOPE=spfile;
ALTER SYSTEM SET log_archive_format='arch_%t_%s.arc' SCOPE=spfile;
SHUTDOWN IMMEDIATE;
STARTUP MOUNT;
ARCHIVE LOG START;
ALTER DATABASE ARCHIVELOG;
ALTER DATABASE OPEN;
The ALTER DATABASE ARCHIVELOG command can only be performed if the database in mounted in exclusive mode. This means the whole clustered database must be stopped before the operation can be performed. First we set the relevant archive parameters:
ALTER SYSTEM SET log_archive_start=TRUE SCOPE=spfile;
ALTER SYSTEM SET log_archive_dest_1='location=/u01/oradata/MYSID/archive/' SCOPE=spfile;
ALTER SYSTEM SET log_archive_format='arch_%t_%s.arc' SCOPE=spfile;
Since we need to mount the database in exclusive mode we must also alter the following parameter:
ALTER SYSTEM SET cluster_database=FALSE SCOPE=spfile;
From the command line we can stop the entire cluster using:
srvctl stop database -d MYSID
With the cluster down we can connect to a single node and issue the following commands:
STARTUP MOUNT;
ARCHIVE LOG START;
ALTER DATABASE ARCHIVELOG;
ALTER SYSTEM SET cluster_database=TRUE SCOPE=spfile;
SHUTDOWN IMMEDIATE;
Notice that the CLUSTER_DATABASE parameter has been reset to it's original value. Since the datafiles and spfile are shared between all instances this operation only has to be done from a single node.
From the command line we can now start the cluster again using:
srvctl start database -d MYSID
The current settings place all archive logs in the same directory. This is acceptible since the thread (%t) is part of the archive format preventing any name conflicts between instances. If node-specific locations are required the LOG_ARCHIVE_DEST_1 parameter can be repeated for each instance with the relevant SID prefix.
Archiver Best Practices
Doc ID: Note:45042.1
http://www.linuxjournal.com/content/arduino-open-hardware-and-ide-combo
Logical I/O(consistent get) and Arraysize relation with SQL*PLUS
http://tonguc.wordpress.com/2007/01/04/logical-ioconsistent-get-and-arraysize-relation-with-sqlplus/
{{{
Master Note for Automatic Storage Management (ASM) [ID 1187723.1]
-- HOMEs COMPATIBILITY MATRIX
Note 337737.1 Oracle Clusterware - ASM - Database Version Compatibility
Note 363254.1 Applying one-off Oracle Clusterware patches in a mixed version home environment
-- BEST PRACTICE
ASM Technical Best Practices (Doc ID 265633.1)
-- SETUP
How To Setup ASM on Linux Using ASMLIB Disks, Raw Devices or Block Devices? [ID 580153.1] <— mentions 10gR2 and 11gR2 configuration
Device Persistence and Oracle Linux ASMLib [ID 394959.1]
MOVING ORACLE_HOME
Doc ID: Note:28433.1
Recover database after disk loss
Doc ID: Note:230829.1
Doing Incomplete Recovery and Moving Redo Logs From Corrupted Disk
Doc ID: Note:77643.1
Cross-Platform Migration Using Rman Convert Database on Destination Host ( Windows 32-bit to Linux 32-bit )
Doc ID: Note:414878.1
How to recover and open the database if the archivelog required for recovery is either missing, lost or corrupted?
Doc ID: Note:465478.1
Recovering From A Lost Control File
Doc ID: Note:1014504.6
ORACLE V6 INSTALLATION PROCEDURES
Doc ID: Note:11196.1
-- TROUBLESHOOTING
How To Gather/Backup ASM Metadata In A Formatted Manner?
Doc ID: 470211.1
Troubleshooting a multi-node ASMLib installation (Doc ID 811457.1)
ASM is Unable to Detect ASMLIB Disks/Devices. (Doc ID 457369.1)
-- TRACE DEVICES
How to identify exactly which disks on a SAN have been allocated to an ASM Diskgroup (Doc ID 398435.1)
How to map device name to ASMLIB disk (Doc ID 1098682.1)
-- IMBALANCE
Script to Report the Percentage of Imbalance in all Mounted Diskgroups (Doc ID 367445.1)
--======================
-- ASM
--======================
Problems with ASM in 10gR2
Doc ID: Note:353065.1
Deployment of very large databases (10TB to PB range) with Automatic Storage Management (ASM)
Doc ID: Note:368055.1
ASMIOSTAT Script to collect iostats for ASM disks
Doc ID: Note:437996.1
How to copy a datafile from ASM to a file system not using RMAN
Doc ID: Note:428893.1
How to upgrade ASM instance from 10.1 to 10.2 (Single Instance)
Doc ID: Note:329987.1
Problems with ASM in 10gR2
Doc ID: Note:353065.1
Unable to startup ASM instance after OS kernel upgrade
Doc ID: Note:313833.1
How To Extract Datapump File From ASM Diskgroup To Local Filesystem?
Doc ID: Note:566941.1
How To Determinate If An EMCPOWER Partition Is Valid For ASMLIB?
Doc ID: Note:566676.1
HOW TO MAP ASM FILES WITH ONLINE DATABASE FILES
Doc ID: Note:552082.1
How To Add a New Disk(s) to An Existing Diskgroup on RAC (Best Practices).
Doc ID: Note:557348.1
Diagnosing Disk not getting discovered in ASM
Doc ID: Note:311926.1
How To Gather/Backup ASM Metadata In A Formatted Manner?
Doc ID: Note:470211.1
How To Move The Database To Different Diskgroup (Change Diskgroup Redundancy)
Doc ID: Note:438580.1
Tips On Installing and Using ASMLib on Linux
Doc ID: Note:394953.1
RHEL5 and ASMLib
Doc ID: Note:434775.1
Oracle Linux ASMLib README Documentation
Doc ID: Note:454035.1
ASM Using Files Instead of Real Devices on Linux
Doc ID: Note:266028.1
CHECKSUMS DIFFER FOR ASM DATAFILES WHEN COPIED USING XDB/FTP
Doc ID: Note:459819.1
How to rename/move a datafile in the same ASM diskgroup
Doc ID: Note:564993.1
How To Remove An Empty ASM System Directory
Doc ID: Note:444812.1
Database Instance Crashes In Case Of Path Offlined In Multipath Storage
Doc ID: Note:555371.1
How To Change ASM SYS PASSWORD ?
Doc ID: Note:452076.1
ASM Instances Are Not Mounted Consistently
Doc ID: Note:351114.1
How To Delete Archive Log Files Out Of +Asm?
Doc ID: Note:300472.1
ENABLE/DISABLE ARCHIVELOG MODE AND FLASH RECOVERY AREA IN A DATABASE USING ASM
Doc ID: Note:468984.1
Unable To Make Disks Available From Asmlib Using SAN
Doc ID: Note:302020.1
Oracle ASM and Multi-Pathing Technologies
Doc ID: Note:294869.1
How to rename ASM disks?
Doc ID: Note:418542.1
Does Asm Survive Change Of Disc Path?
Doc ID: Note:466231.1
Steps To Migrate/Move a Database From Non-ASM to ASM And Vice-Versa
Doc ID: Note:252219.1
Raw Devices and Cluster Filesystems With Real Application Clusters
Doc ID: Note:183408.1
How To Resize An ASM Disk On Release 10.2.0.X?
Doc ID: Note:470209.1
ASM Fast Mirror Resync - Example To Simulate Transient Disk Failure And Restore Disk
Doc ID: Note:443835.1
----------------------------------------------------------------------------------
Note:294869.1 Oracle ASM and Multi-Pathing Technologies
Note:461079.1 ASM does not discover disk(s) on AIX platform
Note:353761.1 Assigning a PVID To An Existing ASM Disk Corrupts the ASM Disk Header
Note:279353.1 Multiple 10g Oracle Home installation - ASM
Note:265633.1 ASM Technical Best Practices
Note:243245.1 10G New Storage Features and Enhancements
Note:282036.1 Minimum Software Versions and Patches Required to Support Oracle Products on IBM pSeries
Note:249992.1 New Feature on ASM (Automatic Storage Manager)
Note:252219.1 Steps To Migrate Database From Non-ASM to ASM And Vice-Versa
Note:303760.1 ASM & ASMlib Using Files Instead of Real Devices on Linux
Note:266028.1 ASM Using Files Instead of Real Devices on Linux
Note:471877.1 Raw Slice Not Showing Up When Trying To Add In Existing ASM Diskgroup
Note:551205.1 11g ASM New Features Technical White Paper
Note:402526.1 Asm Devices Are Still Held Open After Dismount or Drop
Note:452076.1 How To Change ASM SYS PASSWORD
Note:340277.1 How to connect to ASM instance from a remote client (SQL*NET)
Note:351866.1 How To Reclaim Asm Disk Space
Note:470573.1 How To Delete SPFILE in +ASM DISKGROUP And Recreate in $ORACLE_HOME Directory
Note:458419.1 How to Bind RAW devices to Physical Partitions on Linux to be used by ASM
Note:469082.1 How To Setup ASM (10.2) on Windows Platforms
Note:471055.1 OUI Complains That ASM Is Not Release 2 While Installing 10g Database
Note:390274.1 How to move a datafile from a file system to ASM
Note:460909.1 Asm Can'T See Disks After Upgrade to 10.2.0.3 on Itanium
Note:382669.1 Duplicate database from non ASM to ASM (vise versa) to a different host
Note:413389.1 Asynchonous I/O not reported in /proc/slabinfo KIOCB slabdata
Note:437555.1 Created ASM Stamped Disks But Unable To Create Diskgroup
Note:370355.1 How to upgrade an ASM Instance From 10.2.0 lower version To higher version
Note:452924.1 How to Prepare Storage for ASM
Note:313387.1 HOWTO Which Disks Are Handled by ASMLib Kernel Driver
Note:331661.1 How to Re-configure Asm Disk Group
Note:428893.1 How to copy a datafile from ASM to a file system not using RMAN
Note:416046.1 ASM - Internal Handling of Block Corruptions
Note:340848.1 Performing duplicate database with ASM-OMF-RMAN
Note:342234.1 How to relocate an spfile from one ASM diskgroup to another on a RAC environment
Note:330084.1 Install: How To Migrate Oracle10g R1 ASM Database To 10g R2
Note:209850.1 RAC Survival Kit ORA-29702
Note:467354.1 ASM Crashes When Rebooting a Server With ORA-29702 Error
Note:334726.1 Cannot configure ASM because CSS Does Not Start on AIX 5L
STARTUP
Note:404728.1 Automatic Database Startup Does not Work With ASM through DBSTART.
Note:264235.1 ORA-29701 On Reboot When Instance Uses Automatic Storage Management (ASM)
DBMS_FILE_TRANSFER
Note:330103.1 How to Move Asm Database Files From one Diskgroup To Another
Async IO
Note:432854.1 Asynchronous IO Support on OCFS-OCFS2 and Related Settings filesystemio_options, disk_asynch_io
Note 237299.1 HOW TO CHECK IF ASYNCHRONOUS IO IS WORKING ON LINUX
Windows
Note 331796.1 How to setup ASM on Windows
11g
Note:429098.1 11g ASM New Feature
Note:443835.1 ASM Fast Mirror Resync - Example To Simulate Transient Disk Failure And Restore Disk
Note:445037.1 ASM Fast Rebalance
Note 199457.1 Step-By-Step Installation of RAC on IBM AIX (RS/6000)
Note:240575.1 RAC on Linux Best Practices
Note:245356.1 Oracle9i - AIX5L Installation Tips
Note:29676.1 Making the decision to use raw devices
Note:38281.1 RAID and Oracle - 20 Common Questions and Answers
ASM & ASMlib Using Files Instead of Real Devices on Linux
Doc ID: Note:303760.1
Configuring Oracle ASMLib on Multipath Disks
Doc ID: Note:309815.1
Tips On Installing and Using ASMLib on Linux
Doc ID: Note:394953.1
Raw Devices on Linux
Doc ID: Note:224302.1
-- PERFORMANCE
File System's Buffer Cache versus Direct I/O
Doc ID: Note:462072.1
ASMIOSTAT Script to collect iostats for ASM disks
Doc ID: 437996.1
Note:341782.1 Linux Quick Reference
Note:264736.1 How to Create a Filesystem inside of a Linux File (loop device)
-- 11gR2 BUG DETECT ASM ON OCR
Device Checks for ASM Fails with PRVF-5150: Path ORCL: is not a valid path [ID 1210863.1]
FAQ ASMLIB CONFIGURE,VERIFY, TROUBLESHOOT [ID 359266.1]
http://oraclue.com/2010/11/09/grid-11-2-0-2-install-nightmare/
http://gjilevski.wordpress.com/2010/10/03/fresh-oracle-11-2-0-2-grid-infrastructure-installation-prvf-5150-prvf-5184/
PRVF-5449 : Check of Voting Disk location "ORCL:(ORCL:)" failed [ID 1267569.1]
-- DROP DISK ISSUE, BUG
ORA-15041 V$ASM_DISK Shows HUNG State for Dropped Disks
Doc ID: Note:419014.1
ORA-15041 IN A DISKGROUP ALTHOUGH FREE_MB REPORTS SUFFICIENT SPACE
Doc ID: Note:460155.1
-- DROP/CREATE
How To Add Back An ASM Disk or Failgroup (Normal or High Redundancy) After A Transient Failure Occurred (On Release 10.2. or 10.1)? (Doc ID 946213.1)
-- BUG FIXES ON AIX 64bit 10.2.0.2
Note 433399.1-Could not add datafile due to ORA-01119, ORA-17502 and ORA-15041
1. Apply fix for Patch 4691191.
OR
2. Apply 10.2.0.3.
-- AIX
Subject: ASM does not discover disk(s) on AIX platform
Doc ID: Note:461079.1 Type: PROBLEM
Last Revision Date: 24-JAN-2008 Status: PUBLISHED
-- UPGRADE ASM
How to upgrade ASM instance from 10.1 to 10.2 (Single Instance)
Doc ID: Note:329987.1
How To Upgrade ASM from 10.2 to 11.1 (single Instance configuration / Non-RAC)?
Doc ID: Note:736121.1
How To Upgrade ASM from 10.2 to 11.1 (RAC)?
Doc ID: Note:736127.1
How to upgrade an ASM Instance From 10.2.0 lower version To higher version? from 10.2.0.1 to patchset 10.2.0.2
Doc ID: Note:370355.1
Install: How To Migrate Oracle10g R1 ASM Database To 10g R2
Doc ID: Note:330084.1
Asm Can'T See Disks After Upgrade to 10.2.0.3 on Itanium
Doc ID: Note:460909.1
-- UNINSTALL
How to cleanup ASM installation (RAC and Non-RAC)
Doc ID: Note:311350.1
-- QUERY
ASM Extent Size
Doc ID: Note:465039.1
How To Identify If A Disk/Partition Is Still Used By ASM, Has Been Used by ASM Or Has Not Been Used by ASM (Unix/Linux)?
Doc ID: 603210.1
-- DEBUG
Information to gather when diagnosing ASM space issues
Doc ID: Note:351117.1
How To Gather/Backup ASM Metadata In A Formatted Manner?
Doc ID: Note:470211.1
-- COMPATIBLE.ASM
Bug 7173616 - CREATE DISKGROUP with compatible.asm=10.2 fails (OERI:kfdAllocateAu_00)
Doc ID: Note:7173616.8
-- 11g NEW FEATURE
11g ASM New Feature
Doc ID: Note:429098.1
-- RESIZE
How to resize a physical disk or LUN and an ASM DISKGROUP
Doc ID: 311619.1
-- RAC ASM
How to Convert a Single-Instance ASM to Cluster ASM
Doc ID: 452758.1
-- LABEL
Adding The Label To ASMLIB Disk Using 'oracleasm renamedisk' Command
Doc ID: 280650.1
-- REMOVE INSTANCE
How to remove an ASM instance and its corresponding database(s) on WINDOWS?
Doc ID: 342530.1
-- ADD DISK
How To Add a New Disk(s) to An Existing Diskgroup on RAC (Best Practices). (Doc ID 557348.1)
-- ADD DISK WINDOWS
RAC Assurance Support Team: RAC Starter Kit and Best Practices (Windows) [ID 811271.1]
How To Setup ASM (10.2) on Windows Platforms [ID 469082.1]
ORA-17502 and ORA-15081 when creating a datafile on a ASM diskgroup [ID 369898.1]
New Partitions in Windows 2003 RAC Environments Not Visible on Remote Nodes [ID 454607.1]
RAC: Frequently Asked Questions [ID 220970.1]
Oracle Tools Available for Working With RAW Partitions on Windows Platforms [ID 555645.1]
How to Extend A Raw Logical Volume in Windows [ID 555273.1]
OCR / Vote disk Maintenance Operations: (ADD/REMOVE/REPLACE/MOVE), including moving from RAW Devices to Block Devices. [ID 428681.1] <-- helpful
Asmtoolg Generates An Access Violation When Stamping Disks [ID 443635.1]
Disk Is not Discovered in ASM, Diskgroup Creation Fails with Ora-15018 Ora-15031 Ora-15014 [ID 431013.1]
-- REMOVE DISK
How to Dynamically Add and Remove SCSI Devices on Linux
Doc ID: 603868.1
-- RESYNC
ASM 11g New Features - How ASM Disk Resync Works. (Doc ID 466326.1)
-- RENAME DISK
How to rename ASM disks? (Doc ID 418542.1)
Adding The Label To ASMLIB Disk Using 'oracleasm renamedisk' Command (Doc ID 280650.1)
Oracleasm Createdisk Fails: Device '/dev/emcpoweraxx Is Not A Partition [Failed] (Doc ID 469163.1)
New ASMLib / oracleasm Disk Gets "header_status=Unknown" - Cannot be Added to Diskgroup (Doc ID 391136.1)
Oracleasm Createdisk Fails: Device '/dev/emcpoweraxx Is Not A Partition [Failed] (Doc ID 469163.1)
-- PASSWORD
How To Change ASM SYS PASSWORD ?
Doc ID: 452076.1
-- CSS MISCOUNT
How to Increase CSS Misscount in single instance ASM installations
Doc ID: Note:729878.1
10g RAC: Steps To Increase CSS Misscount, Reboottime and Disktimeout
Doc ID: Note:284752.1
-- CLEAN UP ASM INSTALL, UNINSTALL
How to cleanup ASM installation (RAC and Non-RAC)
Doc ID: 311350.1
-- RECREATE ASM DISKGROUPS
Steps to Re-Create ASM Diskgroups
Doc ID: Note:268481.1
-- DUPLICATE CONTROLFILE
Note 345180.1 - How to duplicate a controlfile when ASM is involved
-- MULTIPLE ASM HOME
Multiple 10g Oracle Home installation - ASM
Doc ID: 279353.1
-- 11g CP command
ASMCMD cp command fails with ORA-15046
Doc ID: 452158.1
ASMCMD - New commands in 11g
Doc ID: 451900.1
Copying File Using ASMCMD Copy Command Failed With ASMCMD-08010
Doc ID: 786364.1
Unable To Copy Directory Using ASMCMD Cp -r Command
Doc ID: 829040.1
Asmcmd CP Command Can Not Copy Files Larger Than 2 GB
Doc ID: 786258.1
-- EXPDP
Creating dumpsets in ASM
Doc ID: 559878.1
How To Extract Datapump File From ASM Diskgroup To Local Filesystem?
Doc ID: 566941.1
-- MIGRATION
How to Prepare Storage for ASM
Doc ID: 452924.1
Exact Steps To Migrate ASM Diskgroups To Another SAN Without Downtime.
Doc ID: 837308.1
Steps To Migrate/Move a Database From Non-ASM to ASM And Vice-Versa
Doc ID: 252219.1
How To Migrate From OCFS To ASM
Doc ID: 579468.1
Install: How To Migrate Oracle10g R1 ASM Database To 10g R2
Doc ID: 330084.1
Migrating Raw Devices to ASMLib on Linux
Doc ID: 394955.1
How To Migrate ASMLIB devices to Block Devices (non-ASMLIB)?
Doc ID: 567508.1
-- FAILOVER
Does Oracle Support Failover Of Asm Based Instance
Doc ID: 762674.1
-- MOVE FILES IN ASM
How to move a datafile from a file system to ASM [ID 390274.1]
How to Copy Archivelog Files From ASM to Filesystem and vice versa [ID 944831.1]
How to transfer backups from ASM to filesystem when restoring to a new host [ID 345134.1]
How To Move Controlfile To ASM [ID 468458.1]
Can RMAN duplex backups to Flash Recovery Area and a Disk location [ID 434222.1]
How to restore archive logs to an alternative location when they already reside on disk [ID 399894.1]
How To Backup Database When Files Are On Raw Devices/File System [ID 469716.1]
RMAN10g: backup copy of database [ID 266980.1]
How To Move The Database To Different Diskgroup (Change Diskgroup Redundancy) [ID 438580.1]
-- 11gR2, Grid Infra
ASM 11.2 Configuration KIT (ASM 11gR2 Installation & Configuration, Deinstallation, Upgrade, ASM Job Role Separation. [ID 1092213.1]
11gR2 Clusterware and Grid Home - What You Need to Know [ID 1053147.1]
Pre 11.2 Database Issues in 11gR2 Grid Infrastructure Environment [ID 948456.1]
Database Creation on 11.2 Grid Infracture with Role Separation ( ORA-15025, KFSG-00312, ORA-15081 ) [ID 1084186.1]
-- ACFS - backup and recovery, rman acfs
https://forums.oracle.com/forums/thread.jspa?threadID=2175933
http://download.oracle.com/docs/cd/E11882_01/server.112/e16102/asmfiles.htm#g1030822 <-- supported files on acfs
-- Backing Up an ASM Instance [ID 333257.1]
}}}
http://kerryosborne.oracle-guy.com/2009/07/how-to-attach-a-sql-profile-to-a-different-statement/
http://www.oraclemusings.com/?p=103
Related articles:
http://jamesmorle.wordpress.com/2010/06/02/log-file-sync-and-awr-not-good-bedfellows/
http://rnm1978.wordpress.com/2010/09/14/the-danger-of-averages-measuring-io-throughput/
Investigate on metric tables.. especially the fileio metric which has 10 minutes deltas..
-- note: average_read_time is in centiseconds.. *10 to make it ms..
alter session set nls_date_format='dd-mm-yyyy hh24:mi';
select begin_time, end_time, file_id,
physical_reads reads,
nvl(physical_reads,0)/603 rps,
average_read_time*10 atpr,
nvl(physical_block_reads,0) / decode(nvl(physical_reads,0),0,to_number(NULL),physical_reads) bpr,
physical_writes writes,
nvl(physical_writes,0)/603 wps,
average_write_time*10 atpwt,
nvl(physical_block_writes,0)/ decode(nvl(physical_writes,0),0,to_number(NULL),physical_writes) bpw,
physical_reads + physical_writes ios,
nvl((physical_reads + physical_writes),0) / 60000 iops
from v$filemetric_history order by 1 asc;
{{{
sys@IVRS> set lines 300
drop table ioms;
create table ioms as select
file#
, nvl(b.phyrds,0) phyrds
, nvl(b.readtim,0) readtim
, nvl(b.phywrts,0) phywrts
, nvl(b.phyblkrd,0) phyblkrd
from v$filestat b;
exec dbms_lock.sleep(seconds => 600);
select
e.file#
, nvl(e.phyrds,0) ephyrds
, nvl(e.readtim,0) ereadtim
, nvl(e.phywrts,0) ephywrts
, nvl(e.phyblkrd,0) ephyblkrd
, e.phyrds - i.phyrds reads
, (e.phyrds - nvl(i.phyrds,0))/ 603 rps
, decode ((e.phyrds - nvl(i.phyrds, 0)), 0, to_number(NULL), ((e.readtim - nvl(i.readtim,0)) / (e.phyrds - nvl(i.phyrds,0)))*10) atpr_ms
, decode ((e.phyrds - nvl(i.phyrds, 0)), 0, to_number(NULL), (e.phyblkrd - nvl(i.phyblkrd,0)) / (e.phyrds - nvl(i.phyrds,0)) ) bpr
, e.phywrts - nvl(i.phywrts,0) writes
, (e.phywrts - nvl(i.phywrts,0))/ 603 wps
, (e.phyrds - nvl(i.phyrds,0)) + (e.phywrts - nvl(i.phywrts,0)) ios,
((e.phyrds - nvl(i.phyrds,0)) + (e.phywrts - nvl(i.phywrts,0))) / 600 iops
from v$filestat e, ioms i
where e.file# = i.file#;sys@IVRS>
Table dropped.
sys@IVRS> 2 3 4 5 6 7
Table created.
sys@IVRS> sys@IVRS>
PL/SQL procedure successfully completed.
sys@IVRS> sys@IVRS> 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
FILE# EPHYRDS EREADTIM EPHYWRTS EPHYBLKRD READS RPS ATPR_MS BPR WRITES WPS IOS IOPS
---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ----------
1 7374 12818 446 10365 1 .001658375 0 1 26 .043117745 27 .045
2 62 144 472 62 0 0 26 .043117745 26 .043333333
3 2990 4699 907 9525 0 0 10 .016583748 10 .016666667
4 8803 4715 1104 37702 9 .014925373 6.66666667 1 78 .129353234 87 .145
5 66 115 9 93 0 0 0 0 0 0
6 5 6 1 5 0 0 0 0 0 0
7 5 1 1 5 0 0 0 0 0 0
8 5 2 1 5 0 0 0 0 0 0
9 5 2 1 5 0 0 0 0 0 0
10 5 2 1 5 0 0 0 0 0 0
11 5 2 1 5 0 0 0 0 0 0
12 5 15 1 5 0 0 0 0 0 0
13 2341 2333 1297 10584 16 .026533997 5.625 1 76 .126036484 92 .153333333
13 rows selected.
}}}
{{{
BEGIN_TIME END_TIME FILE_ID AVERAGE_READ_TIME*10 AVERAGE_WRITE_TIME*10 PHYSICAL_READS PHYSICAL_WRITES PHYSICAL_BLOCK_READS PHYSICAL_BLOCK_WRITES
---------------- ---------------- ---------- -------------------- --------------------- -------------- --------------- -------------------- ---------------------
17-06-2010 01:28 17-06-2010 01:38 12 0 0 0 0 0 0
17-06-2010 01:28 17-06-2010 01:38 11 0 0 0 0 0 0
17-06-2010 01:28 17-06-2010 01:38 10 0 0 0 0 0 0
17-06-2010 01:28 17-06-2010 01:38 9 0 0 0 0 0 0
17-06-2010 01:28 17-06-2010 01:38 8 0 0 0 0 0 0
17-06-2010 01:28 17-06-2010 01:38 7 0 0 0 0 0 0
17-06-2010 01:28 17-06-2010 01:38 13 5.625 0 16 76 16 179
17-06-2010 01:28 17-06-2010 01:38 2 0 0 0 26 0 83
17-06-2010 01:28 17-06-2010 01:38 3 0 0 0 10 0 10
17-06-2010 01:28 17-06-2010 01:38 4 6.66666667 0 9 78 9 93
17-06-2010 01:28 17-06-2010 01:38 5 0 0 0 0 0 0
17-06-2010 01:28 17-06-2010 01:38 6 0 0 0 0 0 0
17-06-2010 01:28 17-06-2010 01:38 1 0 0 1 28 1 30
}}}
Recovery Manager RMAN Documentation Index
Doc ID: Note:286589.1
-- RMAN COMPATIBILITY
RMAN Compatibility Oracle8i 8.1.7.4 - Oracle10g 10.1.0.4
Doc ID: Note:307022.1
RMAN Compatibility Matrix
Doc ID: Note:73431.1
RMAN Standard and Entrprise Edition Compatibility (Doc ID 730193.1)
Answers To FAQ For Restoring Or Duplicating Between Different Versions And Platforms (Doc ID 369644.1)
<<<
It is possible to use the 10.2 RMAN executable to restore a 9.2 database (same for 11.2 to 11.1 or 11.1 to 10.2, etc) even if the restored datafiles will be stored in ASM.
<<<
-- SCENARIOS
List of Database Outages
Doc ID: Note:76449.1
Backup and Recovery Scenarios
Doc ID: Note:94114.1
-- BEST PRACTICES
Top 10 Backup and Recovery best practices.
Doc ID: Note:388422.1
Oracle 9i Media Recovery Best Practices
Doc ID: Note:240875.1
Oracle Suggested Strategy & Backup Retention
Doc ID: Note:351455.1
-- SAMPLE SCRIPTS
RMAN Backup Shell Script Example
Doc ID: Note:137181.1
-- NOLOGGING
Note 290161.1 The Gains and Pains of Nologging Operations
-- 32bit to 64bit
RMAN Restoring A 32 bit Database to 64 bit - An Example
Doc ID: Note:467676.1
How I Solved a Problem During a Migration of 32 bit to 64 bit on 10.2.0.2
Doc ID: 452416.1
-- 9iR2 stuff
RMAN Restore/Recovery When the Recovery Catalog and Controlfile are Lost in 9i (Doc ID 174623.1)
How To Catalog Backups / Archivelogs / Datafile Copies / Controlfile Copies (Doc ID 470463.1)
Create Standby Database using RMAN changing backuppiece location (Doc ID 753902.1)
Rolling a Standby Forward using an RMAN Incremental Backup in 9i (Doc ID 290817.1)
RMAN : Block-Level Media Recovery - Concept & Example (Doc ID 144911.1)
Persistent Controlfile configurations for RMAN in 9i and 10g. (Doc ID 305565.1)
Using RMAN to Restore and Recover a Database When the Repository and Spfile/Init.ora Files Are Also Lost (Doc ID 372996.1)
How To Restore Controlfile From A Backupset Without A Catalog Or Autobackup (Doc ID 403883.1)
https://docs.google.com/viewer?url=http://www.nyoug.org/Presentations/2005/20050929rman.pdf
http://www.orafaq.com/wiki/Oracle_database_Backup_and_Recovery_FAQ#Can_one_restore_RMAN_backups_without_a_CONTROLFILE_and_RECOVERY_CATALOG.3F
-- RMAN PERFORMANCE
Advise On How To Improve Rman Performance
Doc ID: Note:579158.1
RMAN Backup Performance
Doc ID: Note:360443.1
Known RMAN Performance Problems
Doc ID: Note:247611.1
TROUBLESHOOTING GUIDE: Common Performance Tuning Issues
Doc ID: Note:106285.1
RMAN Myths Dispelled: Common RMAN Performance Misconceptions
Doc ID: Note:134214.1
-- FRA, Flash Recovery Area, Fast Recovery Area
Flash Recovery Area - FAQ [ID 833663.1]
-- SHARED DISK ERROR
RAC BACKUP FAILS WITH ORA-00245: CONTROL FILE BACKUP OPERATION FAILED [ID 1268725.1]
-- DUPLICATE CONTROLFILE
Note 345180.1 - How to duplicate a controlfile when ASM is involved
-- RECREATE CONTROLFILE
How to Recover Having Lost Controlfiles and Online Redo Logs
Doc ID: 103176.1
http://www.orafaq.com/wiki/Control_file_recovery
http://www.databasejournal.com/features/oracle/article.php/3738736/Recovering-from-Loss-of-All-Control-Files.htm
Recreating the Controlfile in RAC and OPS
Doc ID: 118931.1
How to Recreate a Controlfile for Locally Managed Tablespaces
Doc ID: 221656.1
How to Recreate a Controlfile
Doc ID: 735106.1
Step By Step Guide On How To Recreate Standby Control File When Datafiles Are On ASM And Using Oracle Managed Files
Doc ID: 734862.1
RECREATE CONTROLFILE, USERS ACCEPT SYS LOSE THEIR SYSDBA/SYSOPER PRIVS
Doc ID: 335971.1
Steps to recreate a Physical Standby Controlfile
Doc ID: 459411.1
http://www.freelists.org/post/oracle-l/Recreate-standby-controlfile-for-DB-that-uses-OMF-and-ASM
Steps to recreate a Physical Standby Controlfile (Doc ID 459411.1)
Steps to perform for Rolling forward a standby database using RMAN incremental backup when primary and standby are in ASM filesystem (Doc ID 836986.1)
-- DISK LOSS
Recover database after disk loss
Doc ID: Note:230829.1
Disk Lost in External Redundancy FLASH Diskgroup Having Controlfile and Redo Member
Doc ID: Note:387103.1
-- LOST DATAFILE
Note 1060605.6 Recover A Lost Datafile With No Backup
Note 1029252.6 How to resize a datafile
Note 30910.1 Recreating database objects
Note 1013221.6 Recovering from a lost datafile in a ROLLBACK tablespace
Note 198640.1 How to Recover from a Lost Datafile with Different Scenarios
How to 'DROP' a Datafile from a Tablespace
Doc ID: 111316.1
Common Causes and Solutions on ORA-1157 Error Found in Backup & Recovery
Doc ID: 184327.1
How to Recover from a Lost Datafile with Different Scenarios
Doc ID: 198640.1
-- REDO LOG
How To Recover Using The Online Redo Log (Doc ID 186137.1)
Loss Of Online Redo Log And ORA-312 And ORA-313 (Doc ID 117481.1)
-- RESETLOGS
Recovering READONLY tablespace backups made before a RESETLOGS Open
Doc ID: Note:266991.1
-- INCARNATION
RMAN RESTORE fails with RMAN-06023 or ORA-19505 or RMAN-06100 inspite of proper backups (Doc ID 457769.1)
RMAN RESTORE FAILS WITH RMAN-06023 BUT THERE ARE BACKUPS AVAILABLE [ID 965122.1]
RMAN-06023 when Duplicating a Database [ID 108883.1]
Rman Restore Fails With 'RMAN-06023: no backup ...of datafile .. to restore' Although Backup is Available [ID 793401.1]
RMAN-06023 DURING RMAN DUPLICATE [ID 414384.1]
ORA-19909 datafile 1 belongs to an orphan incarnation - http://www.the-playground.de/joomla//index.php?option=com_content&task=view&id=216&Itemid=29
Impact of Partial Recovery and subsequent resetlogs on daily Incrementally Updated Backups [ID 455543.1]
Recovery through resetlogs using User Managed Online Backups [ID 431816.1]
How to duplicate a databaset to a previous Incarnation [ID 293717.1]
RMAN restore of database fails with ORA-01180: Cannot create datafile 1 [ID 392237.1]
How to Recover Through a Resetlogs Command Using RMAN [ID 237232.1]
RMAN: Point-in-Time Recovery of a Backup From Before Last Resetlogs [ID 1070453.6]
How to recover an older incarnation without a controlfile from that time [ID 284510.1]
RMAN-6054 report during recover database [ID 880536.1]
RMAN-06054 While Recovering a Database in NOARCHIVELOG mode [ID 577939.1]
http://oraware.blogspot.com/2008/05/recovery-with-old-controlfilerecover.html
http://hemantoracledba.blogspot.com/2009/09/rman-can-identify-and-catalog-use.html
http://oracle.ittoolbox.com/groups/technical-functional/oracle-db-l/ora01190-controlfile-or-data-file-1-is-from-before-the-last-resetlogs-870241
-- READ ONLY
RMAN Backup With Skip Read Only Takes More Time
Doc ID: Note:561071.1
-- RESTORE
How To Restore From An Old Backupset Using RMAN?
Doc ID: 209214.1
RMAN : Consistent Backup, Restore and Recovery using RMAN
Doc ID: 162855.1
RMAN: Restoring an RMAN Backup to Another Node
Doc ID: Note:73974.1
-- RESTORE HIGHER PATCHSET
Restoring a database to a higher patchset
Doc ID: 558408.1
Oracle Database Upgrade Path Reference List
Doc ID: Note:730365.1
Database Server Upgrade/Downgrade Compatibility Matrix
Doc ID: Note:551141.1
-- CATALOG
RMAN: How to Query the RMAN Recovery Catalog
Doc ID: 98342.1
RMAN Troubleshooting Catalog Performance Issues
Doc ID: Note:748257.1
How To Catalog Multiple Archivelogs in Unix and Windows
Doc ID: Note:404515.1
-- FLASH RECOVERY AREA
Flash Recovery area - Space management Warning & Alerts
Doc ID: Note:305812.1
ENABLE/DISABLE ARCHIVELOG MODE AND FLASH RECOVERY AREA IN A DATABASE USING ASM
Doc ID: 468984.1
How To Delete Archive Log Files Out Of +Asm?
Doc ID: 300472.1
How do you prevent extra archivelog files from being created in the flash recovery area?
Doc ID: Note:353106.1
-- ORA-1157
Common Causes and Solutions on ORA-1157 Error Found in Backup & Recovery
Doc ID: Note:184327.1
-- Ora-19660
Restore Validate Database Always Fails Ora-19660
Doc ID: 353614.1
OERR: ORA 19660 some files in the backup set could not be verified
Doc ID: 49356.1
Corrupted Blocks Found During Restore of Backup with RMAN and TIVOLI ORA-19612
Doc ID: 181080.1
-- 8i RMAN
Note 50875.1 Getting Started with Server-Managed Recovery (SMR) and RMAN 8.0-8i
RMAN 8.0 to 8i - Getting Started
Doc ID: Note:120084.1
How To Show Rman Configuration Parameters on Oracle 8.1.7 ?
Doc ID: Note:725922.1
Maintaining V8.0 and V8.1 RMAN Repository
Doc ID: Note:125303.1
RMAN: How to Recover a Database from a Total Failure Using RMAN 8i
Doc ID: Note:121227.1
How To Use RMAN to Backup Archive Logs
Doc ID: Note:237407.1
-- INCREMENTAL, CUMMULATIVE
How To Determine If A RMAN Backup Is Differential Or Cumulative
Doc ID: Note:356349.1
Does RMAN Oracle10g Db support Incremental Level 2 backups?
Doc ID: Note:733535.1
Incrementally Updated Backup In 10G
Doc ID: Note:303861.1
RMAN versus EXPORT Incremental backups
Doc ID: Note:123146.1
Merged Incremental Strategy creates backups larger than expected
Doc ID: Note:413265.1
Merged Incremental Backup Strategies
Doc ID: 745798.1
-- RETENTION POLICY
Rman backup retention policy
Doc ID: Note:462978.1
How to ensure that backup metadata is retained in the controlfile when setting a retention policy and an RMAN catalog is NOTused.
Doc ID: Note:461125.1
RMAN Delete Obsolete Command Deletes Archivelog Backups Inside Retention Policy
Doc ID: Note:734323.1
-- OBSOLETE
Delete Obsolete Does Not Delete Obsolete Backups
Doc ID: Note:314217.1
-- BACKUP OPTIMIZATION
RMAN 9i: Backup Optimization
Doc ID: Note:142962.1
-- LIST, REPORT
LIST and REPORT Commands in RMAN
Doc ID: Note:114284.1
-- FORMAT
What are the various % format code used during RMAN backups
Doc ID: Note:553927.1
-- CONTROL_FILE_RECORD_KEEP_TIME
Setting CONTROL_FILE_RECORD_KEEP_TIME For Incrementally Updated Backups
Doc ID: Note:728471.1
-- TAPE, MEDIA LIBRARY, SBT_LIBRARY=oracle.disksbt
RMAN Tape Simulation - virtual tape
http://www.appsdba.com/blog/?p=205
http://groups.google.com/group/oracle_dba_experts/browse_thread/thread/6990d83752256e20?pli=1
RMAN and Specific Media Managers Environment Variables.
Doc ID: Note:312737.1
Does Unused Block Compression Works With Tape ?
Doc ID: 565237.1
RMAN 10gR2 Tape vs Disk Backup Performance When Database is 99% Empty
Doc ID: 428344.1
How to Configure RMAN to Work with Netbackup for Oracle
Doc ID: Note:162355.1
-- COMPRESSION
A Complete Understanding of RMAN Compression
Doc ID: 563427.1
-- BLOCK CORRUPTIONS
Handling Oracle Block Corruptions in Oracle7/8/8i/9i/10g
Doc ID: Note:28814.1
CAUSES OF BLOCK CORRUPTIONS
Doc ID: 77589.1
BLOCK CORRUPTIONS ON ORACLE AND UNIX
Doc ID: 77587.1
TECH: Database Block Checking Features
Doc ID: 32969.1
DBMS_REPAIR example
Doc ID: Note:68013.1
BLOCK CORRUPTIONS ON ORACLE AND UNIX
Doc ID: Note:77587.1
FAQ: Physical Corruption
Doc ID: Note:403747.1
V$Database_Block_Corruption Does not clear after Block Recover Command
Doc ID: Note:422889.1
How to Format Corrupted Block Not Part of Any Segment
Doc ID: Note:336133.1
V$DATABASE_BLOCK_CORRUPTION Shows a File Which Does not Exist
Doc ID: Note:298137.1
RMAN 9i: Block-Level Media Recovery - Concept & Example
Doc ID: 144911.1
Does Block Recovery use Incremental Backups?? -- BLOCKRECOVER command will ONLY use archivelog backups to complete it's recovery
Doc ID: 727706.1
HOW TO PERFORM BLOCK MEDIA RECOVERY (BMR) WHEN BACKUPS ARE NOT TAKEN BY RMAN.
Doc ID: 342972.1
How to Find All the Corrupted Objects in Your Database.
Doc ID: 472231.1
RMAN Does not Report a Corrupt Block if it is not Part of Any Segment
Doc ID: 463821.1
Note 336133.1 - How to Format Corrupted Block Not Part of Any Segment.
Note 269028.1 - DBV Reports Corruption Even After Drop/Recreate Object
Note 209691.1 - V$BACKUP_CORRUPTION Contains Information About Corrupt Blocks
How to Check Archivelogs for Corruption using RMAN
Doc ID: 377146.1
Warnings : Recovery is repairing media corrupt block
Doc ID: 213311.1
Is it possible to use RMAN Block Media Recovery to recover LOGICALLY corrupt blocks? <-- NO
Doc ID: 391120.1
TECH: Database Block Checking Features <-- with 11g
Doc ID: 32969.1
DBVerify Reports Blocks as 'influx - most likely media corrupt'
Doc ID: 468995.1
Meaning of the message "Block found already corrupt" when running dbverify
Doc ID: 139425.1
BLOCK CORRUPTIONS ON ORACLE AND UNIX
Doc ID: 77587.1
How To Check For Corrupt Or Invalid Archived Log Files
Doc ID: 177559.1
CORRUPT BLOCK INFO NOT REPORTED TO ALERT.LOG
Doc ID: 114357.1
Best Practices for Avoiding and Detecting Corruption
Doc ID: 428570.1
-----
Block Corruption FAQ
Doc ID: 47955.1
Physycal and Logical Block Corruptions. All you wanted to know about it.
Doc ID: 840978.1
ORA-1578 Main Reference Index for Solutions
Doc ID: 830997.1
How to identify the corrupt Object reported by ORA-1578 / RMAN / DBVERIFY
Doc ID: 819533.1
Frequently Encountered Corruption Errors, Diagnostics and Resolution - Reference
Doc ID: 463479.1
Data Recovery Advisor -Reference Guide.
Doc ID: 466682.1
Extracting Data from a Corrupt Table using ROWID Range Scans in Oracle8 and higher
Doc ID: 61685.1
Some Statements Referencing a Table with WHERE Clause Fails with ORA-01578
Doc ID: 146851.1
Extracting Data from a Corrupt Table using SKIP_CORRUPT_BLOCKS or Event 10231
Doc ID: 33405.1
How to identify all the Corrupted Objects in the Database reported by RMAN
Doc ID: 472231.1
ORA-1578 / ORA-26040 Corrupt blocks by NOLOGGING - Error explanation and solution
Doc ID: 794505.1
ORA-1578 ORA-26040 in a LOB segment - Script to solve the errors
Doc ID: 293515.1
OERR: ORA-1578 "ORACLE data block corrupted (file # %s, block # %s)"
Doc ID: 18976.1
Diagnosing and Resolving 1578 reported on a Local Index of a Partitioned table
Doc ID: 432923.1
HOW TO TROUBLESHOOT AND RESOLVE an ORA-1110
Doc ID: 434013.1
Cannot Reuse a Corrupt Block in Flashback Mode, ORA-1578
Doc ID: 729433.1
ORA-01578, ORA-0122, ORA-01204: On Startup
Doc ID: 1041424.6
ORA-01578 After Recovering Database Running In NOARCHIVELOG Mode
Doc ID: 122266.1
Identify the corruption extension using RMAN/DBV/ANALYZE etc
Doc ID: 836658.1
"hcheck.sql" script to check for known problems in Oracle8i, Oracle9i, Oracle10g and Oracle 11g
Doc ID: 136697.1
Introduction to the "H*" Helper Scripts
Doc ID: 101466.1
"hout.sql" script to install the "hOut" helper package
Doc ID: 101468.1
ASM - Internal Handling of Block Corruptions
Doc ID: 416046.1
BLOCK CORRUPTIONS ON ORACLE AND UNIX
Doc ID: 77587.1
Introduction to the Corruption Category
Doc ID: 68117.1
Note 33405.1 Extracting Data from a Corrupt Table using SKIP_CORRUPT_BLOCKS or Event 10231
Note 34371.1 Extracting Data from a Corrupt Table using ROWID or Index Scans in Oracle7
Note 61685.1 Extracting Data from a Corrupt Table using ROWID Range Scans in Oracle8/8i
Note 1029883.6 Extracting Data from a Corrupt Table using SALVAGE Scripts / Programs
Note 97357.1 SALVAGE.PC - Oracle8i Pro*C Code to Extract Data from a Corrupt Table
Note 2077307.6 SALVAGE.PC - Oracle7 Pro*C Code to Extract Data from a Corrupt Table
Note 2064553.4 SALVAGE.SQL - PL/SQL Code to Extract Data from a Corrupt Table
ORA-1578, ORA-1110, ORA-26040 on Standby Database Using Index Subpartitions
Doc ID: 431435.1
FAQ: Physical Corruption
Doc ID: 403747.1
Note 250968.1 Block Corruption Error Messages in Alert Log File
How we identified and fixed the workflow tables corruption errors after the database restore
Doc ID: 736033.1
ORA-01578 'ORACLE data block corrupted' When Attempting to Drop a Materialized View
Doc ID: 454955.1
Cloned Olap Database Gets ORA-01578 Nologging
Doc ID: 374036.1
ORA-01578: AGAINST A NEW DATAFILE
Doc ID: 1068001.6
Query of Table Using Index Fails With ORA-01578
Doc ID: 153888.1
Extracting Datafile Blocks From ASM
Doc ID: 294727.1
ORA-1578: Oracle Data Block Corrupted (File # 148, Block # 237913)
Doc ID: 103845.1
Data Corruption fixes in Red Hat AS 2.1 e.24 kernel
Doc ID: 241820.1
TECH: Database Block Checking Features
Doc ID: 32969.1
Analyze Table Validate Structure Cascade Online Is Slow
Doc ID: 434857.1
ANALYZE INDEX VALIDATE STRUCTURE ONLINE DOES NOT POPULATE INDEX_STATS
Doc ID: 283974.1
Meaning of the message "Block found already corrupt" when running dbverify
Doc ID: 139425.1
RMAN Does not Report a Corrupt Block if it is not Part of Any Segment
Doc ID: 463821.1
How to Format Corrupted Block Not Part of Any Segment
Doc ID: 336133.1
DBV Reports Corruption Even After Drop/Recreate Object
Doc ID: 269028.1
TFTS: Converting DBA's (Database Addresses) to File # and Block #
Doc ID: 113005.1
Bug 7329252 - ORA-8102/ORA-1499/OERI[kdsgrp1] Index corruption after rebuild index ONLINE
Doc ID: 7329252.8
ORA-600 [qertbfetchbyrowid]
Doc ID: 300637.1
ORA-600 [qertbfetchbyuserrowid]
Doc ID: 809259.1
ORA-600 [kdsgrp1]
Doc ID: 285586.1
ORA-1499. Table/Index row count mismatch
Doc ID: 563070.1
-- BLOCK CORRUPTION PREVENTION
How To Use RMAN To Check For Logical & Physical Database Corruption
Doc ID: 283053.1
How to check for physical and logical database corruption using "backup validate check logical database" command for database on a non-archivelog mode
Doc ID: 466875.1
How To Check (Validate) If RMAN Backup(s) Are Good
Doc ID: 338607.1
SCHEMA VALIDATION UTILITY
Doc ID: 286619.1
11g New Feature V$Database_block_corruption Enhancements and Rman Validate Command
Doc ID: 471716.1
How to Check/Validate That RMAN Backups Are Good
Doc ID: 466221.1
Which Blocks Will RMAN Check For Corruption Or Include In A Backupset?
Doc ID: 561010.1
Best Practices for Avoiding and Detecting Corruption
Doc ID: 428570.1
v$DATABASE_BLOCK_CORRUPTION Reports Corruption Even After Tablespace is Dropped
Doc ID: 454431.1
V$DATABASE_BLOCK_CORRUPTION Shows a File Which Does not Exist
Doc ID: 298137.1
Performing a Test Backup (VALIDATE BACKUP) Using RMAN
Doc ID: 121109.1
-- DBV
DBVERIFY - Database file Verification Utility (7.3.2 - 10.2)
Doc ID: Note:35512.1
DBVERIFY enhancement - How to scan an object/segment
Doc ID: Note:139962.1
Extract rows from a CORRUPT table creating ROWID from DBA_EXTENTS
Doc ID: Note:422547.1
ORA-8103 Diagnostics and Solution
Doc ID: Note:268302.1
Init.ora Parameter "DB_BLOCK_CHECKING" Reference Note
Doc ID: Note:68483.1
ORA-00600 [510] and ORA-1578 Reported with DB_BLOCK_CHECKING Set to True
Doc ID: Note:456439.1
New Parameter DB_ULTRA_SAFE introduce In 11g
Doc ID: Note:465130.1
ORA-600s and possible corruptions using the RAC TCPIP Interconnect.
Doc ID: Note:244940.1
TECH: Database Block Checking Features
Doc ID: Note:32969.1
[8.1.5] (14) Initialization Parameters
Doc ID: Note:68895.1
Export/Import DataPump Parameter ACCESS_METHOD - How to Enforce a Method of Loading and Unloading Data ?
Doc ID: Note:552424.1
-- RMAN ERRORS
RMAN-20020 Error after Registering Database Twice in a Session
Doc ID: Note:102776.1
Main Index of Common Causes for ORA-19511
Doc ID: 227517.1
-- STUCK RECOVERY
ORA-600 [3020] "Stuck Recovery"
Doc ID: Note:30866.1
Resolving ORA-600[3020] Raised During Recovery
Doc ID: Note:361172.1
Resolving ORA-00600 [3020] Against A Data Guard Database.
Doc ID: Note:470220.1
ORA-600 [3020] "Stuck Recovery"
Doc ID: Note:30866.1
Stuck recovery of database ORA-00600[3020]
Doc ID: Note:283269.1
Trial Recovery
Doc ID: Note:283262.1
Resolving ORA-00600 [3020] Against A Data Guard Database.
Doc ID: Note:470220.1
Bug 4594917 - Write IO error can cause incorrect file header checkpoint information
Doc ID: Note:4594917.8
ORA-00313 During RMAN Recovery
Doc ID: Note:437319.1
RMAN Tablespace Recovery Fails With ORA-00283 RMAN-11003 ORA-01579
Doc ID: Note:419692.1
RMAN Recovery Until Time Failed When Redo-Logs Missed - ORA-00313, ORA-00312 AND ORA-27037
Doc ID: Note:550077.1
RMAN-11003 and ORA-01153 When Doing Recovery through RMAN
Doc ID: Note:264113.1
ORA-600 [kccocx_01] Reported During Primary Database Shutdown
Doc ID: Note:466571.1
ORA-1122, ORA-1110, ORA-120X
Doc ID: Note:1011557.6
OERR: ORA 1205 not a datafile - type number in header is
Doc ID: Note:18777.1
Rman/Nsr Restore Fails. Attempt to Recover Results in ora-01205
Doc ID: Note:260150.1
-- CLONE / DUPLICATE
Database Cloning Process in case of Shutdown Abort
Doc ID: 428623.1
How to clone/duplicate a database with added datafile with no backup.
Doc ID: Note:292947.1
Answers To FAQ For Restoring Or Duplicating Between Different Versions And Platforms
Doc ID: Note:369644.1
RMAN Duplicate Database From RAC ASM To RAC ASM
Doc ID: Note:461479.1
Subject: RMAN-06023 DURING RMAN DUPLICATE
Doc ID: Note:414384.1
How To Make A Copy Of An Open Database For Duplication To A Different Machine
Doc ID: 224274.1
How to Make a Copy of a Database on the Same Unix Machine
Doc ID: 18070.1
Duplicate Database Without Connecting To Target And Without Using RMAN
Doc ID: 732625.1
Performing duplicate database with ASM/OMF/RMAN [ID 340848.1]
-- RMAN RAC backup
RMAN: RAC Backup and Recovery using RMAN
Doc ID: Note:243760.1
HowTo Restore RMAN Disk backups of RAC Database to Single Instance On Another Node
Doc ID: 415579.1
-- MISSING ARCHIVELOG
NT: Online Backups
Doc ID: 41946.1
Which System Privileges are required for a User to Perform Backup Operator Tasks
Doc ID: 180019.1
Scripts To Perform Dynamic Hot/Online Backups
Doc ID: 152111.1
EVENT: 10231 "skip corrupted blocks on _table_scans_"
Doc ID: 21205.1
RECOVER A DATAFILE WITH MISSING ARCHIVELOGS
Doc ID: 418476.1
How to recover and open the database if the archivelog required for recovery is either missing, lost or corrupted? <--- FUJI
Doc ID: 465478.1
Incomplete Recover Fails with ORA-01194, ORA-01110 and Warning "Recovering from Fuzzy File".
Doc ID: 165671.1
Fuzzy File Warning When Recovering From Cold Backup
Doc ID: 103100.1
How to recover and open the database if the archivelog required for recovery is either missing, lost or corrupted?
Doc ID: Note:465478.1
RECOVER A DATAFILE WITH MISSING ARCHIVELOGS
Doc ID: Note:418476.1
-- MISSING
RECREATE MISSING TABLESPACE AND DATAFILE
Doc ID: Note:2072805.6
DATAFILES ARE MISSING AFTER DATABASE IS OPEN IN RESETLOGS
Doc ID: Note:420730.1
-- CROSS PLATFORM
Migration of Oracle Instances Across OS Platforms
Doc ID: Note:733205.1
How To Use RMAN CONVERT DATABASE for Cross Platform Migration
Doc ID: Note:413586.1
Export/Import DataPump Parameter VERSION - Compatibility of Data Pump Between Different Oracle Versions
Doc ID: Note:553337.1
10g : Transportable Tablespaces Across Different Platforms
Doc ID: Note:243304.1
-- TAG
How to use RMAN TAG name with different attributes or variables.
Doc ID: 580283.1
How to use Substitution Variables in RMAN commands
Doc ID: 427229.1
-- DATA GUARD ROLL FORWARD
Rolling a Standby Forward using an RMAN Incremental Backup in 10g
Doc ID: 290814.1
-- BACKUP ON RAW DEVICE
How To Backup Database When Files Are On Raw Devices/File System
Doc ID: 469716.1
-- BACKUP COPY OF DATABASE
RMAN10g: backup copy of database
Doc ID: 266980.1
-- ORACLE SECURE BACKUP
OSB Cloud Module - FAQ (Doc ID 740226.1)
How To Determine The Free Space On A Tape? (Doc ID 415026.1)
In that case use RMAN to take the backup to filesystem, here is an example, note that RMAN will not copy redo log members, then in case of needed to restore, the database will need to be open using resetlogs:
rman nocatalog target /
shutdown immediate
startup mount
backup as copy database format '/oracle/bkp/Df_%U';
copy current controlfile to '/oracle/bkp/%d_controlfile.ctl';
backup spfile format '/oracle/bkp/%d_spfile.ora';
shutdown immediate;
mkdir /u04/oradata/RAC/backup/
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/u04/oradata/RAC/backup/%F';
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u04/oradata/RAC/backup/snapcf_RAC.f';
BACKUP FORMAT '/u04/oradata/RAC/backup/%d_D_%T_%u_s%s_p%p' DATABASE;
-- BACKUP CURRENT CONTROLFILE FOR STANDBY FORMAT '/u04/oradata/RAC/backup/%d_C_%U'; -- if creating standby database
BACKUP CURRENT CONTROLFILE FORMAT '/u04/oradata/RAC/backup/%d_C_%U';
SQL "ALTER SYSTEM ARCHIVE LOG CURRENT";
BACKUP FILESPERSET 10 ARCHIVELOG ALL FORMAT '/u04/oradata/RAC/backup/%d_A_%T_%u_s%s_p%p';
or we could copy the backupset using backup backupset...
http://www.freelists.org/post/oracle-l/Experiencesthoughts-about-hardware-recommendations <-- this is the BIG question
http://structureddata.org/2009/12/22/the-core-performance-fundamentals-of-oracle-data-warehousing-balanced-hardware-configuration/
http://dsstos.blogspot.com/2009/09/download-link-for-storage-design-for.html
{{{
The Core Performance Fundamentals Of Oracle Data Warehousing – Balanced Hardware Configuration
http://structureddata.org/?p=716
Balanced Hardware Configuration
http://download.oracle.com/docs/cd/E11882_01/server.112/e10578/tdpdw_system.htm#CFHFJEDD
General Performance and I/O Topics
http://kevinclosson.wordpress.com/kevin-closson-index/general-performance-and-io-topics/
Oracle Real Application Clusters: Sizing and Capacity Planning Then and Now
http://www.oracleracsig.org/pls/apex/Z?p_url=RAC_SIG.download_my_file?p_file=1001042&p_id=1001042&p_cat=documents&p_user=KARAO&p_company=994323795175833
RAC Performance Experts Reveal All http://www.scribd.com/doc/6850001/RAC-Performance-Experts-Reveal-All
“Storage Design for Datawarehousing”
http://dsstos.blogspot.com/2009/09/download-link-for-storage-design-for.html
Oracle Database Capacity Planning
http://dsstos.blogspot.com/2008/08/oracle-database-capacity-planning.html
Simple Userland tools on Unix to help analyze application impact as a non-root user – Storage Subsystem
http://dsstos.blogspot.com/2008/07/simple-userland-tools-on-unix-to-help.html
}}}
''Docs'' http://wiki.bash-hackers.org/doku.php , ''FAQ'' http://mywiki.wooledge.org/BashFAQ
Sorting data by dates, numbers and much much more
http://prefetch.net/blog/index.php/2010/06/24/sorting-data-by-dates-numbers-and-much-much-more/
{{{
This is crazy useful, and I didn’t realize sort could be used to sort by date. I put this to use today, when I had to sort a slew of data that looked similar to this:
Jun 10 05:17:47 some_data_string
May 20 05:17:48 some_data_string2
Jun 17 05:17:49 some_data_string0
I was able to first sort by the month, and then by the day of the month:
$ awk ‘{printf “%-3s %-2s %-8s %-50s\n”, $1, $2, $3, $4 }’ data | sort -k1M -k2n
May 17 05:17:49 some_data_string0
Jun 01 05:17:47 some_data_string
Jun 20 05:17:48 some_data_string2
}}}
http://www.linuxconfig.org/Bash_scripting_Tutorial
* jmeter http://jakarta.apache.org/jmeter/
* httperf http://httperf.comlore.com/
* misc stuff http://www.idsia.ch/~andrea/sim/simvis.html
* geekbench http://browse.geekbench.ca/
http://blogs.netapp.com/virtualization/
SPEC - Standard Performance Evaluation Corporation http://www.spec.org/
spec sfs http://queue.acm.org/blogposting.cfm?id=11445
SPEC FAQ http://www.spec.org/spec/faq/
Ideas International - Benchmark Gateway
http://www.ideasinternational.com/benchmark/ben010.aspx
comp.benchmarks FAQ
http://pages.cs.wisc.edu/~thomas/comp.benchmarks.FAQ.html
PDS: The Performance Database Server
http://performance.netlib.org/performance/html/PDStop.html
Iozone Filesystem Benchmark
http://www.iozone.org/
''What is big data?'' http://radar.oreilly.com/2012/01/what-is-big-data.html
http://www.slideshare.net/ksankar/the-art-of-big-data
''What is data science?'' http://radar.oreilly.com/2010/06/what-is-data-science.html
http://kerryosborne.oracle-guy.com/2009/03/bind-variable-peeking-drives-me-nuts/
http://www.pythian.com/news/867/stabilize-oracle-10gs-bind-peeking-behaviour-by-cutting-histograms/
http://psoug.org/reference/bindvars.html
http://surachartopun.com/2008/12/todateoctmon-ora-01843-not-valid-month.html
http://www-03.ibm.com/systems/bladecenter/resources/benchmarks/whitepapers/
http://husnusensoy.wordpress.com/2008/07/28/readonly-tablespace-vs-block-change-tracking-file/
Data Loss on BCT
http://sai-oracle.blogspot.com/2010/09/beware-of-data-loss-in-bct-based-rman.html
<<<
"Reliability of BCT:
On 11.2.0.1 standby, I've seen managed standby recovery failing to start until BCT is reset at least while running the above tests. It doesn't seem like matured enough to be used on the physical standby. I'm working with Oracle support to get all these issues fixed.
As of 11.2.0.1, I don't recommend using BCT on the standby for running RMAN backups. I think it is pretty safe to use it on the primary database."
<<<
http://dsstos.blogspot.com/2009/07/map-disk-block-devices-on-linux-host.html
http://www.brendangregg.com/dtrace.html
POWERLINK - buffer io error
http://knowledgebase.emc.com/emcice/documentDisplay.do;jsessionid=E5086F44F54525E1C3E2930AD5ABB7D9?docType=1006&clusterName=DefaultCluster&resultType=5002&groupId=1&page=&docProp=$solution_id&docPropValue=emc187631&passedTitle=null
http://knowledgebase.emc.com/emcice/documentDisplay.do?docType=1006&clusterName=DefaultCluster&resultType=5002&groupId=1&page=&docProp=$solution_id&docPropValue=emc199974&passedTitle=null
http://knowledgebase.emc.com/emcice/documentDisplay.do?docType=1006&clusterName=DefaultCluster&resultType=5002&groupId=1&page=&docProp=$solution_id&docPropValue=emc157139&passedTitle=null
http://knowledgebase.emc.com/emcice/documentDisplay.do?docType=1006&clusterName=DefaultCluster&resultType=5002&groupId=1&page=&docProp=$solution_id&docPropValue=emc203991&passedTitle=null
{{{
"Linux host devices log I/O errors during server reboot"
ID: emc157139
URL:
http://knowledgebase.emc.com/emcice/documentDisplay.do?docType=1006&clusterName=DefaultCluster&resultType=5002&groupId=1&page=&docProp=$solution_id&docPropValue=emc157139&passedTitle=null
Knowledgebase Solution
Environment: OS: Red Hat Linux
Environment: Product: CLARiiON CX-series
Environment: Product: CLARiiON CX3-series
Environment: EMC SW: PowerPath
Problem: Linux host devices log I/O errors during server reboot.
Problem: Dmesg log or messages log have:
Buffer I/O error on device sdm, logical block 2
Buffer I/O error on device sdm, logical block 3
Buffer I/O error on device sdm, logical block 4
Buffer I/O error on device sdm, logical block 5
Device sdm not ready.
end_request: I/O error, dev sdm, sector 16
Buffer I/O error on device sdm, logical block 2
Device sdm not ready.
end_request: I/O error, dev sdm, sector 128
Problem: Output of powermt display dev=all shows:
Pseudo name=emcpowera
CLARiiON ID=CK200063301081 [SG2]
Logical device ID=600601604EE419004A308F0C5AD0DB11 [LUN 61]
state=alive; policy=CLAROpt; priority=0; queued-IOs=0
Owner: default=SP A, current=SP A
==============================================================================
---------------- Host --------------- - Stor - -- I/O Path - -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
0 qla2xxx sdm SP B0 active alive 0 0
Change: Server rebooted for maintenance
Root Cause: The devices logging the I/O error are assigned to SP-B, but currently "owned" by SP-A. The CLARiiON array is an active-passive array so this is normal behavior when multiple paths are utilized.
Fix: These messages logged at boot up may be ignored.
}}}
-- HASH GROUP BY
_GBY_HASH_AGGREGATION_ENABLED=FALSE
_UNNEST_SUBQUERY = FALSE
in Metalink3 even in patch set 10.2.0.4, PeopleSoft have a workaround on the bug by using the hidden parameter
Wrong Results Possible on 10.2 When New "HASH GROUP BY" Feature is Used
Doc ID: Note:387958.1
Bug 4604970 - Wrong results with 'hash group by' aggregation enabled
Doc ID: Note:4604970.8
ORA-00600 [32695] [hash aggregation can't be done] During Insert.
Doc ID: Note:729447.1
Bug 6471770 - OERI [32695] [hash aggregation can't be done] from Hash GROUP BY
Doc ID: Note:6471770.8
10.2.0.3 Patch Set - List of Bug Fixes by Problem Type [ID 391116.1]
-- running out of OS kernelI/O resources
WARNING:1 Oracle process running out of OS kernelI/O resources
Doc ID: 748607.1
Bug 6687381 - "WARNING: Oracle process running out of OS kernel I/O resources" messages
Doc ID: 6687381.8
http://www.devx.com/dbzone/10MinuteSolution/22191/1954
http://www.dba-oracle.com/t_delete_performance_speed.htm
Lawrence To - COE List of database outages
https://docs.google.com/fileview?id=0B5H46jS7ZPdJNGUxNmNiYWQtZGYxZC00OWFhLWEzMmMtYThlYTlhNjQzNjU3&hl=en
Lawrence To - COE Outage Prevention, Detection, And Repair
https://docs.google.com/fileview?id=0B5H46jS7ZPdJNjIzMDNlZjQtYjgyZi00M2M4LWE4OTUtNDFkMDUwYzQ2MjA4&hl=en
{{{
top - 12:14:35 up 10 days, 10:42, 24 users, load average: 20.15, 19.97, 19.14
Tasks: 351 total, 1 running, 350 sleeping, 0 stopped, 0 zombie
Cpu(s): 2.3%us, 27.7%sy, 1.7%ni, 40.7%id, 27.1%wa, 0.2%hi, 0.2%si, 0.0%st
Mem: 16344352k total, 6098504k used, 10245848k free, 1912k buffers
Swap: 20021240k total, 988764k used, 19032476k free, 83860k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
12442 root 15 0 1135m 4704 3068 S 36.1 0.0 162:59.73 /usr/lib/virtualbox/VirtualBox --comment x_x3 --startvm 94756484-d2d5-4bdb
12413 root 15 0 1196m 5004 3196 S 30.3 0.0 67:55.23 /usr/lib/virtualbox/VirtualBox --comment x_x2 --startvm cc54fb4c-170b-430a
12384 root 15 0 1195m 7660 3248 S 26.1 0.0 162:04.52 /usr/lib/virtualbox/VirtualBox --comment x_x1 --startvm e266cad2-403f-4d98
3972 root 15 0 60376 4588 1524 S 7.7 0.0 583:04.20 /usr/bin/ssh -x -oForwardAgent no -oPermitLocalCommand no -oClearAllForwardings
1053 root 15 0 1526m 5496 3048 S 4.9 0.0 386:27.97 /usr/lib/virtualbox/VirtualBox --comment windows7 --startvm 3da776bd-1d5e-4eec-
3971 root 18 0 54300 1020 848 D 1.6 0.0 49:15.64 scp -rpv 20111015-backup 192.168.0.100 /DataVolume/shares/Public/Backup
12226 root 15 0 251m 9876 2268 S 0.6 0.1 686:00.02 /usr/lib/nspluginwrapper/npviewer.bin --plugin /usr/lib/mozilla/plugins/libflas
12786 root 15 0 1476m 4624 3072 S 0.6 0.0 6:38.29 /usr/lib/virtualbox/VirtualBox --comment x_db1 --startvm 1c3b929d-bdbd-40da-8
12947 root 15 0 1478m 4360 2904 S 0.5 0.0 7:36.47 /usr/lib/virtualbox/VirtualBox --comment x_db2 --startvm f3e1060d-28f5-4a72-8
4620 root 15 0 76600 5500 1252 S 0.2 0.0 78:13.20 Xvnc :1 -desktop desktopserver.localdomain:1 (root) -httpd /usr/share/vnc/class
4729 root 18 0 543m 13m 3668 D 0.2 0.1 9:41.13 nautilus --no-default-window --sm-client-id default3
5808 root 15 0 348m 2576 1324 S 0.2 0.0 39:54.52 /usr/lib/virtualbox/VBoxSVC --auto-shutdown
5754 oracle 16 0 260m 1220 988 S 0.1 0.0 0:25.12 gnome-terminal
5800 root 15 0 112m 856 756 S 0.1 0.0 18:51.71 /usr/lib/virtualbox/VBoxXPCOMIPCD
5899 root 15 0 303m 6264 1860 S 0.1 0.0 15:42.25 gnome-terminal
13941 root 15 0 12892 1216 768 R 0.1 0.0 0:05.06 top -c
29960 root 16 0 109m 6716 1176 S 0.1 0.0 82:39.70 /usr/bin/perl -w /usr/bin/collectl --all -o T -o D
30089 root 15 0 109m 4336 1072 S 0.1 0.0 33:21.60 /usr/bin/perl -w /usr/bin/collectl -sD --verbose -o T -o D
1 root 15 0 10368 88 60 S 0.0 0.0 0:04.05 init [5]
2 root RT -5 0 0 0 S 0.0 0.0 0:00.02 [migration/0]
3 root 34 19 0 0 0 S 0.0 0.0 11:11.08 [ksoftirqd/0]
4 root RT -5 0 0 0 S 0.0 0.0 0:00.00 [watchdog/0]
5 root RT -5 0 0 0 S 0.0 0.0 0:00.35 [migration/1]
6 root 34 19 0 0 0 S 0.0 0.0 0:00.62 [ksoftirqd/1]
7 root RT -5 0 0 0 S 0.0 0.0 0:00.00 [watchdog/1]
8 root RT -5 0 0 0 S 0.0 0.0 0:01.26 [migration/2]
9 root 34 19 0 0 0 S 0.0 0.0 0:00.72 [ksoftirqd/2]
10 root RT -5 0 0 0 S 0.0 0.0 0:00.00 [watchdog/2]
11 root RT -5 0 0 0 S 0.0 0.0 0:04.89 [migration/3]
12 root 34 19 0 0 0 S 0.0 0.0 0:00.63 [ksoftirqd/3]
13 root RT -5 0 0 0 S 0.0 0.0 0:00.00 [watchdog/3]
14 root RT -5 0 0 0 S 0.0 0.0 0:02.66 [migration/4]
15 root 34 19 0 0 0 S 0.0 0.0 0:41.68 [ksoftirqd/4]
16 root RT -5 0 0 0 S 0.0 0.0 0:00.00 [watchdog/4]
17 root RT -5 0 0 0 S 0.0 0.0 0:01.27 [migration/5]
18 root 34 19 0 0 0 S 0.0 0.0 0:12.36 [ksoftirqd/5]
19 root RT -5 0 0 0 S 0.0 0.0 0:00.00 [watchdog/5]
root@192.168.0.101's password:
Last login: Fri Oct 21 10:43:53 2011 from desktopserver.localdomain
[root@desktopserver ~]# vmstat 1 100000 | while read line; do echo "`date +%T`" "$line" ; done
12:13:36 procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu------
12:13:36 r b swpd free buff cache si so bi bo in cs us sy id wa st
12:13:36 4 3 988016 10329664 1916 70672 4 1 502 322 5 4 2 4 91 2 0
12:13:36 4 3 988016 10316972 1964 79892 4592 0 15488 4 4689 19386 4 28 47 22 0
12:13:37 5 3 987760 10309344 2000 82368 5500 0 16196 52 4555 16869 4 28 48 20 0
12:13:38 3 3 987636 10314420 1776 62736 3456 0 57144 8 2967 13880 3 28 51 17 0
12:13:44 3 5 987636 10424500 1416 18448 5032 0 35004 3060 5930 24333 4 32 42 22 0
12:13:47 2 27 987820 10446888 1508 17316 4632 14944 14096 16088 6657 13410 3 21 31 46 0
12:13:47 0 34 988132 10471332 1540 14196 3460 10840 13916 10892 4853 9797 2 15 47 37 0
12:13:47 2 31 988132 10458716 1616 21952 8076 1768 17948 1768 3684 9470 2 6 62 30 0
12:13:47 3 27 988372 10466144 1588 15752 6540 2916 10832 2968 2154 6603 1 21 57 21 0
12:13:47 1 27 988372 10466100 1588 16508 9128 16 18148 20 1970 6116 2 23 56 18 0
12:13:47 4 25 988368 10440804 1636 28680 13864 0 27728 32 3783 10942 2 24 53 21 0
12:13:47 3 19 988368 10410040 1784 44260 14644 0 33052 0 5570 18623 3 20 45 32 0
12:13:48 4 6 988328 10381236 1848 56596 16680 0 29676 0 4648 23356 4 23 39 34 0
12:13:49 3 6 988328 10356104 1872 67584 14004 0 27300 40 4966 23598 4 30 42 24 0
12:13:50 4 5 987876 10332532 1928 77784 13932 0 25780 0 4908 19443 4 28 47 21 0
12:13:51 5 6 987876 10336848 1760 68392 9140 0 82780 0 3112 13723 3 29 45 23 0
12:13:52 5 5 987876 10356808 1752 47148 5464 0 18388 1440 4893 17567 5 29 48 19 0
12:13:53 4 4 987820 10353080 1880 45368 6124 0 18932 0 4608 17808 4 30 48 18 0
12:13:54 6 2 987696 10344684 1900 56192 4452 0 15092 44 4694 22556 4 29 48 18 0
12:14:01 3 23 988248 10454908 1472 14144 5692 15532 26980 23396 10868 28611 4 22 33 41 0
12:14:02 2 36 989052 10478864 1552 11596 6976 14452 15120 14924 4457 9650 2 25 41 32 0
12:14:02 procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu------
12:14:02 r b swpd free buff cache si so bi bo in cs us sy id wa st
12:14:02 2 34 989076 10468140 1536 16912 16380 608 42292 696 7441 19332 3 19 48 30 0
12:14:02 3 33 989076 10449392 1620 23468 13628 0 21540 0 2065 5908 1 17 49 32 0
12:14:02 1 22 989072 10427880 1736 28984 16260 0 24148 40 2129 7560 1 11 44 45 0
12:14:02 4 19 989072 10409308 1764 34976 13268 0 20720 0 2642 11492 2 16 54 28 0
12:14:02 4 10 989072 10316360 1884 54384 13684 0 35704 0 4805 22982 4 27 43 26 0
12:14:03 3 5 989072 10362300 1776 57220 12468 0 84288 16 4556 16173 4 30 44 23 0
12:14:04 3 6 988756 10359512 1824 43856 17520 0 34060 340 5176 23298 4 26 46 24 0
12:14:05 4 7 988748 10345436 1832 55780 8660 0 21276 0 4631 19355 4 28 38 30 0
12:14:06 4 5 988700 10331388 1844 62976 12920 0 25012 0 5087 19602 4 29 49 18 0
12:14:07 5 3 988520 10325812 1900 69584 4964 0 16312 4 4738 17187 4 32 45 19 0
12:14:08 3 4 988520 10368964 1792 38452 5004 0 17408 2020 5246 18092 5 29 50 16 0
12:14:16 1 37 988864 10450680 1448 14028 3684 13940 18928 17804 8262 20373 3 24 29 44 0
12:14:16 0 37 989068 10476748 1500 10940 7156 14072 13328 14112 4870 6545 0 4 56 39 0
12:14:16 0 49 989080 10404760 1556 23028 17332 3652 41824 3652 4791 9224 1 2 64 33 0
12:14:16 1 37 989076 10409020 1680 24412 12204 0 32676 16 2168 5833 1 14 49 35 0
12:14:16 2 24 989076 10381452 1784 42528 14900 0 35860 0 2040 6524 1 18 43 38 0
12:14:16 2 20 989060 10370832 1788 76880 14364 0 59880 24 3810 13617 3 11 54 33 0
12:14:16 3 8 989060 10358380 1848 78412 14528 0 32416 0 4995 28265 3 21 41 34 0
12:14:17 5 5 989040 10358372 1916 72364 6144 0 18348 0 4715 16760 4 29 39 27 0
12:14:18 4 7 989004 10354776 1980 61908 13700 0 26612 204 4820 16973 4 29 43 24 0
12:14:19 3 4 988660 10345956 1992 60504 12496 0 27176 108 5166 21841 4 32 46 18 0
on /vbox... not blocked
------------------------------------------------------------------------------------------------------------------------------
[root@desktopserver ~]# vmstat 1 100000 | while read line; do echo "`date +%T`" "$line" ; done
12:28:04 procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu------
12:28:04 r b swpd free buff cache si so bi bo in cs us sy id wa st
12:28:04 5 5 967424 10157364 1728 125884 4 1 505 322 6 1 2 4 91 2 0
12:28:05 5 5 967424 10113688 1816 167580 36 0 39196 20 11806 58927 12 48 25 15 0
12:28:06 6 3 967424 10101692 1764 178888 104 0 33756 92 10547 55163 11 44 26 19 0
12:28:07 6 2 967424 9993612 1896 284384 12 0 120744 0 8168 36067 8 38 33 21 0
12:28:08 4 3 967424 9989976 1836 289252 36 0 28224 2084 9152 46527 9 41 29 20 0
12:28:09 4 3 967424 10186920 1592 94984 20 0 21336 96740 8117 44754 8 39 38 16 0
12:28:10 3 5 967424 10080256 1572 140400 236 0 48252 24100 11487 57187 12 43 28 17 0
12:28:11 6 3 967424 9993084 1772 285304 28 0 108504 68 7980 34287 8 37 40 15 0
12:28:12 6 2 967424 9986940 1776 290368 64 0 38116 0 11581 56771 11 44 31 13 0
12:28:13 5 3 967424 9895152 1828 342476 48 0 60348 0 10379 45136 10 42 30 19 0
12:28:15 5 4 967424 9838808 1952 436660 284 0 94468 0 8581 41748 9 37 38 16 0
12:28:15 6 5 967424 10095720 1840 181592 80 0 34988 124936 11126 53636 11 44 25 20 0
12:28:16 4 2 967424 10077976 1612 165864 48 0 60840 32 9095 46720 9 40 30 22 0
12:28:17 4 3 967424 10053744 1720 226140 84 0 69404 0 11419 54791 11 44 27 18 0
12:28:18 6 1 967424 10165980 1652 114008 0 0 72700 60800 12525 59365 12 46 29 13 0
12:28:19 6 5 967424 10079536 1552 201004 12 0 91700 0 8773 41036 9 37 36 18 0
12:28:20 5 5 967424 10010352 1640 267340 0 0 36484 0 11164 49569 11 41 35 13 0
12:28:21 5 2 967424 9946732 1720 278668 0 0 81480 40 10572 49893 10 43 34 13 0
12:28:22 6 3 967424 9941164 1812 336472 92 0 73448 820 8063 35725 8 34 38 20 0
12:28:23 7 2 967424 10185156 1708 95096 0 0 37880 116020 11820 56886 11 45 30 14 0
12:28:24 4 4 967424 10158376 1532 122232 16 0 29000 14540 9389 47092 9 41 33 17 0
12:28:25 procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu------
12:28:25 r b swpd free buff cache si so bi bo in cs us sy id wa st
12:28:25 9 3 967424 9995728 1720 282168 0 0 109168 0 5062 24050 5 32 50 14 0
12:28:26 6 3 967424 9975200 1764 302068 8 0 35616 0 10937 48511 11 43 32 15 0
12:28:27 6 3 967424 9898512 1844 376736 44 0 37016 40 11216 47423 11 42 33 14 0
12:28:28 5 2 967424 9777288 1944 464060 28 0 89372 32 7675 44210 9 38 39 14 0
12:28:29 7 4 967424 10187020 1508 93940 52 0 49944 188124 7343 41070 9 40 32 19 0
12:28:30 6 2 967424 10167236 1580 114732 36 0 40932 64 12227 56547 12 39 35 13 0
12:28:31 7 3 967424 10081364 1664 200636 56 0 91096 0 8624 34942 9 34 40 17 0
12:28:32 8 2 967424 10022828 1788 231756 20 0 40728 36 10431 51118 11 39 33 17 0
12:28:33 8 3 967424 10182900 1696 97704 0 0 58244 1756 10384 56330 10 45 31 14 0
12:28:34 2 4 967424 10162252 1548 117156 20 0 83572 83360 7049 33628 6 37 39 17 0
12:28:35 3 3 967424 10191104 1544 89604 100 0 2944 31372 2563 13785 3 28 48 21 0
12:28:36 11 4 967424 10173104 1600 108220 36 0 33268 0 10110 52401 10 41 34 14 0
12:28:37 4 3 967424 10116640 1648 134780 0 0 40816 40 11156 54719 11 44 32 13 0
12:28:38 5 4 967424 10185980 1640 95592 12 0 116940 24 8661 35493 8 36 38 18 0
12:28:39 6 2 967424 10133704 1520 145244 0 0 38928 232 11766 61009 12 45 27 16 0
12:28:40 8 3 967424 10188060 1544 92580 68 0 24604 76548 8546 41263 9 41 32 19 0
12:28:41 8 3 967424 10126928 1512 155672 12 0 119696 0 8124 36208 8 39 39 15 0
12:28:42 4 3 967424 10183592 1492 97764 0 0 43424 48 12891 52804 12 48 29 10 0
12:28:43 5 3 967424 10160868 1512 118668 20 0 34336 10932 10721 54931 10 46 31 13 0
12:28:44 8 2 967424 9993748 1708 283296 60 0 115504 0 6847 32959 6 36 39 19 0
12:28:45 7 3 967424 9973180 1752 304788 0 0 39256 12 11889 48368 12 43 32 12 0
12:28:46 procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu------
12:28:46 r b swpd free buff cache si so bi bo in cs us sy id wa st
12:28:46 8 2 967424 9871024 1792 342204 44 0 45900 36 12519 51742 12 43 32 13 0
12:28:47 8 0 967268 9869416 1900 407064 136 0 70860 0 4509 25553 8 34 41 16 0
top - 12:29:22 up 10 days, 10:57, 24 users, load average: 7.40, 10.08, 14.93
Tasks: 353 total, 2 running, 351 sleeping, 0 stopped, 0 zombie
Cpu(s): 8.4%us, 39.8%sy, 1.9%ni, 33.2%id, 15.1%wa, 0.6%hi, 0.9%si, 0.0%st
Mem: 16344352k total, 6264212k used, 10080140k free, 1468k buffers
Swap: 20021240k total, 967256k used, 19053984k free, 170788k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
12786 root 15 0 1495m 31m 3424 S 84.1 0.2 9:43.24 /usr/lib/virtualbox/VirtualBox --comment x_db1 --startvm 1c3b929d-bdbd-40da-8
12413 root 15 0 1196m 5904 3352 S 81.7 0.0 77:33.67 /usr/lib/virtualbox/VirtualBox --comment x_x2 --startvm cc54fb4c-170b-430a
12442 root 15 0 1136m 6028 3324 S 81.1 0.0 172:35.79 /usr/lib/virtualbox/VirtualBox --comment x_x3 --startvm 94756484-d2d5-4bdb
12384 root 15 0 1195m 8712 3360 S 68.9 0.1 172:34.70 /usr/lib/virtualbox/VirtualBox --comment x_x1 --startvm e266cad2-403f-4d98
14504 root 15 0 60440 7376 2540 S 43.8 0.0 0:33.65 /usr/bin/ssh -x -oForwardAgent no -oPermitLocalCommand no -oClearAllForwardings
3972 root 15 0 60376 4596 1524 R 15.8 0.0 584:54.46 /usr/bin/ssh -x -oForwardAgent no -oPermitLocalCommand no -oClearAllForwardings
1053 root 15 0 1527m 12m 3500 S 12.2 0.1 387:51.13 /usr/lib/virtualbox/VirtualBox --comment windows7 --startvm 3da776bd-1d5e-4eec-
14503 root 18 0 53884 1904 1452 D 9.2 0.0 0:06.67 scp 1122.tar.bz2 oracle@db1 ~oracle
3971 root 18 0 54300 1056 864 D 3.6 0.0 49:38.29 scp -rpv 20111015-backup 192.168.0.100 /DataVolume/shares/Public/Backup
12226 root 16 0 251m 75m 2408 S 3.6 0.5 686:16.31 /usr/lib/nspluginwrapper/npviewer.bin --plugin /usr/lib/mozilla/plugins/libflas
486 root 10 -5 0 0 0 D 1.3 0.0 25:52.02 [kswapd0]
12947 root 15 0 1478m 9692 3372 S 1.3 0.1 7:47.68 /usr/lib/virtualbox/VirtualBox --comment x_db2 --startvm f3e1060d-28f5-4a72-8
4620 root 15 0 73236 12m 2380 S 1.0 0.1 78:17.59 Xvnc :1 -desktop desktopserver.localdomain:1 (root) -httpd /usr/share/vnc/class
14428 root 18 0 109m 17m 1964 S 0.7 0.1 0:01.79 /usr/bin/perl -w /usr/bin/collectl --all -o T -o D
8 root RT -5 0 0 0 S 0.3 0.0 0:01.33 [migration/2]
20 root RT -5 0 0 0 S 0.3 0.0 0:01.00 [migration/6]
180 root 10 -5 0 0 0 S 0.3 0.0 0:05.36 [kblockd/0]
5014 root 15 0 348m 1216 956 S 0.3 0.0 2:08.20 /usr/libexec/mixer_applet2 --oaf-activate-iid=OAFIID:GNOME_MixerApplet_Factory
14559 root 15 0 12892 1320 824 R 0.3 0.0 0:00.03 top -c
1 root 15 0 10368 88 60 S 0.0 0.0 0:04.08 init [5]
2 root RT -5 0 0 0 S 0.0 0.0 0:00.02 [migration/0]
3 root 34 19 0 0 0 S 0.0 0.0 11:11.08 [ksoftirqd/0]
4 root RT -5 0 0 0 S 0.0 0.0 0:00.00 [watchdog/0]
5 root RT -5 0 0 0 S 0.0 0.0 0:00.44 [migration/1]
6 root 34 19 0 0 0 S 0.0 0.0 0:00.62 [ksoftirqd/1]
7 root RT -5 0 0 0 S 0.0 0.0 0:00.00 [watchdog/1]
[root@desktopserver stage]# scp 1122.tar.bz2 oracle@db1:~oracle
oracle@db1's password:
1122.tar.bz2 68% 2116MB 23.4MB/s 00:40 ETA
}}}
http://www.ludovicocaldara.net/dba/how-to-collect-oracle-application-server-performance-data-with-dms-and-rrdtool/
http://www.ludovicocaldara.net/dba/oracle-capacity-planning-with-rrdtool/
http://perfwork.wordpress.com/2010/03/20/cpu-utilization-on-ec2/
IO tuning
http://communities.vmware.com/thread/268869
http://vpivot.com/2010/05/04/storage-io-control/
http://communities.vmware.com/docs/DOC-5490
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1008205
http://book.soundonair.ru/hall2/ch06lev1sec1.html <-- COOL LVM Striping!!!
http://tldp.org/HOWTO/LVM-HOWTO/recipethreescsistripe.html
http://linux.derkeiler.com/Newsgroups/comp.os.linux.misc/2010-01/msg00325.html
http://www.goodwebpractices.com/other/wordpress-vs-joomla-vs-drupal.html
http://www.pcpro.co.uk/blogs/2011/02/02/joomla-1-6-vs-drupal-7-0/
http://www.pcpro.co.uk/reviews/software/364549/drupal-7
http://www.alledia.com/blog/general-cms-issues/joomla-and-drupal-which-one-is-right-for-you/ <-- nice comparison
Start/Stop CRS
http://www.dbaexpert.com/blog/2007/09/start-and-stop-crs/
http://www.crisp.demon.co.uk/blog/2011-06.html <-- his blog about his dtrace port
http://crtags.blogspot.com/ <-- the download page
Connect Time Failover & Transparent Application Failover for Data Guard
http://uhesse.wordpress.com/2009/08/19/connect-time-failover-transparent-application-failover-for-data-guard/
How do I know if the cardinality estimates in a plan are accurate?
http://blogs.oracle.com/optimizer/entry/how_do_i_know_if
http://blogs.oracle.com/optimizer/entry/cardinality_feedback
http://kerryosborne.oracle-guy.com/2011/07/cardinality-feedback/
http://kerryosborne.oracle-guy.com/2011/01/sql-profiles-disable-automatic-dynamic-sampling/
http://blogs.oracle.com/optimizer/entry/how_do_i_know_if
http://dbakevlar.blogspot.com/2010/08/simple-reporting-without-materialized.html
http://avdeo.com/2010/11/01/converting-migerating-database-character-set/
''Chargeback Administration'' http://download.oracle.com/docs/cd/E24628_01/doc.121/e25179/chargeback_cloud_admin.htm#sthref232
''demo'' http://www.youtube.com/user/OracleLearning#start=0:00;end=6:18;autoreplay=false;showoptions=false <-- resources are managed like VM resources, VMWare has a similar tool
Note 207303.1 Client Server Interoperability Support
Note 161818.1 RDBMS Releases Support Status Summary
On What Unix/Linux OS are Oracle ODBC Drivers Available ?
Doc ID: Note:396635.1
Subject: Oracle - Compatibility Matrices and Release Information
Doc ID: Note:139580.1
Subject: Statement of Direction - JDBC Driver Support within Oracle Application Server
Doc ID: Note:365120.1
Subject: Oracle Database Server and Networking Patches for Microsoft Platforms
Doc ID: Note:161549.1
Subject: Oracle Database Extensions for .Net support statement for 64-bit Windows
Doc ID: Note:414947.1
Subject: Oracle Database Server support Matrix for Windows XP / 2003 64-Bit (Itanium)
Doc ID: Note:236183.1
Subject: Oracle Database Server support Matrix for Windows XP / 2003 32-Bit
Doc ID: Note:161546.1
Oracle Database Server product support Matrix for Windows 2000
Doc ID: Note:77627.1
INTEL: Oracle Database Server Support Matrix for Windows NT
Doc ID: Note:45997.1
Oracle Database Server support Matrix for Windows XP / 2003 64-Bit (x64)
Doc ID: Note:343737.1
Are Unix Clients Supported for Deploying Oracle Forms over the Web?
Doc ID: Note:266439.1
Tru64 UNIX Statement of Direction for Oracle
Doc ID: Note:264137.1
Is Oracle10g Instant Client Certified With Oracle 9i or Oracle 8i Databases
Doc ID: Note:273972.1
ODBC and Oracle10g Supportability
Doc ID: Note:273215.1
Starting With Oracle JDBC Drivers
Doc ID: Note:401934.1
JDBC Features - classes12.jar , oracle.jdbc.driver, and OracleConnectionCacheImpl
Doc ID: Note:335754.1
ORA-12170 When Connecting Directly or Via Dblink From 10g To 8i
Doc ID: Note:363105.1
Which Oracle Client versions will connect to and work against which version of the Oracle Database?
Doc ID: Note:172179.1
How To Determine The C/C++ And COBOL Compiler Version / Release on LINUX/UNIX
Doc ID: Note:549826.1
Precompiler FAQ's About Migration / Upgrade
Doc ID: Note:377161.1
How To Upgrade The Oracle Database Client Software?
Doc ID: Note:428732.1
Certified Compilers
Doc ID: Note:43208.1
-- AIX
Note.273051.1 - How to configure Reports with IBM-DB2 Database using Pluggable Data Source
Note.239558.1 - How to Set Up Reports 9i Connecting to DB2 with JDBC using Merant Drivers
Note.246787.1 - How to Configure JDBC-ODBC Bridge for Reports 9i?
-- JDBC
Example: Identifying Connection String Problems in JDBC Driver
Doc ID: Note:94091.1
http://srackham.wordpress.com/cloning-and-copying-virtualbox-virtual-machines/
/***
|Name:|CloseOnCancelPlugin|
|Description:|Closes the tiddler if you click new tiddler then cancel. Default behaviour is to leave it open|
|Version:|3.0.1 ($Rev: 3861 $)|
|Date:|$Date: 2008-03-08 10:53:09 +1000 (Sat, 08 Mar 2008) $|
|Source:|http://mptw.tiddlyspot.com/#CloseOnCancelPlugin|
|Author:|Simon Baird <simon.baird@gmail.com>|
|License:|http://mptw.tiddlyspot.com/#TheBSDLicense|
***/
//{{{
merge(config.commands.cancelTiddler,{
handler_mptw_orig_closeUnsaved: config.commands.cancelTiddler.handler,
handler: function(event,src,title) {
this.handler_mptw_orig_closeUnsaved(event,src,title);
if (!store.tiddlerExists(title) && !store.isShadowTiddler(title))
story.closeTiddler(title,true);
return false;
}
});
//}}}
''Pre-req readables: Introducing Cluster Health Monitor (IPD/OS) (Doc ID 736752.1)''
! On the Database Server side
''Oracle recommends to not install the UI on the servers.''
''The OS Tool consists of three daemons: ologgerd, oproxyd and osysmond''
ologgerd - master daemon
osysmond - the collector on each node
oproxyd - public interface for external clients (like oclumon and crfgui)
__''Installation''__
1) Download CHM here
Oracle Cluster Health Monitor - http://goo.gl/UZqS5
2)
On all nodes ''(as root)''
{{{
useradd -d /opt/crfuser -s /bin/sh -g oinstall crfuser
echo "crfuser" | passwd --stdin crfuser
}}}
{{{
Create the following directories...
<directory>/oracrf <--- the install directory
<directory>/oracrf_installer <--- put the installer here
<directory>/oracrf_gui <--- the GUI client goes here
<directory>/oracrf_dump <--- this is where you will dump the diagnostic data
chown -R crfuser:root <directory>/oracrf*
}}}
as per the README, ideally it should be at /usr/lib/oracrf or C:\Program Files\oracrf
On all nodes ''(as crfuser)''
{{{
add the /usr/lib/oracrf/bin on the .bash_profile PATH
vi .bash_profile
-- then add it
source .bash_profile
}}}
3) Setup passwordless ssh for the user created
''On all the nodes in the cluster'' create the RSA and DSA key pairs
{{{
1) su - crfuser
2)
mkdir -p ~/.ssh
chmod 700 ~/.ssh
touch ~/.ssh/authorized_keys
chmod 600 ~/.ssh/authorized_keys
cd ~/.ssh
3)
$ /usr/bin/ssh-keygen -t rsa
<then just hit ENTER all the way>
4)
$ /usr/bin/ssh-keygen -t dsa
<then just hit ENTER all the way>
5)
Repeat the above steps for each Oracle RAC node in the cluster.
}}}
''On the first node of the cluster'' Create an authorized key file on one of the nodes.
An authorized key file is nothing more than a single file that contains a copy of everyone's (every node's)
RSA and DSA public key. Once the authorized key file contains all of the public keys,
it is then distributed to all other nodes in the RAC cluster.
{{{
1)
$ cd ~/.ssh
$ ls -l *.pub
2)
Use SSH to copy the content of the ~/.ssh/id_rsa.pub and ~/.ssh/id_dsa.pub public key from each
Oracle RAC node in the cluster to the authorized key file just created (~/.ssh/authorized_keys). This will be done from the first node
$ ssh vmlinux1 cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
$ ssh vmlinux1 cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys
$ ssh vmlinux2 cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
$ ssh vmlinux2 cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys
3)
Copy the ~/.ssh/authorized_keys on the other nodes
$ scp -p ~/.ssh/authorized_keys vmlinux2:.ssh/authorized_keys
4)
Enable <--------------------------------------------- this is not anymore needed
$ exec /usr/bin/ssh-agent $SHELL
$ /usr/bin/ssh-add
ssh vmlinux1 date; ssh vmlinux2 date
}}}
4) If you have a previous install of this tool, delete it from all nodes. ''(as root)''
{{{
a. Disable the tool
"/etc/init.d/init.crfd disable"
"stopcrf" from a command prompt on Windows.
b. Uninstall
"/usr/lib/oracrf/install/crfinst.pl -d" on Linux
"perl C:\programm files\oracrf\install\crfinst.pl -d" on Windows
c. Make sure all BDB databases are deleted from all nodes.
d. Manually delete the install home if it still exists.
}}}
5) On the master node, Login as ''crfuser'' on Linux. Login as admin user on Windows.
Unzip the crfpack.zip file.
{{{
mv crfpack.zip <directory>/oracrf_installer
cd <directory>/oracrf_installer
unzip crfpack.zip
}}}
For the directory
The location should
be a path on a volume with at least 5GB per node space available
and writable by privileged user only. It cannot be on root
filesystem in Linux. This location is required to be same on all
hosts. If that can not be done, please specify a different location
during finalize (-f) operation on each host, following the above
size requirements. The path MUST not be on shared disk. If a shared
BDB path is provided to multiple hosts, BDB corruption will happen.
6) as ''crfuser'', run crfinst.pl on the <directory>/oracrf_installer/install directory
this will copy the installer on other nodes
{{{
$ ./crfinst.pl -i node1,node2,node3 -b <directory>/oracrf -m node1
}}}
7) as ''root'', once the step 6 finishes, it will instruct you to run crfinst.pl script
with -f and -b <bdb location> on each node to finalize the install on that node.
{{{
/home/oracle/oracrf_installer/install/crfinst.pl -f -b <directory>/oracrf
}}}
Don't be confused when it says.. "Installation completed successfully at /usr/lib/oracrf..."
the /usr/lib/oracrf directory just contains some installation binaries that consumes around 120MB
and the BDB files will still be put in the <directory>/oracrf directory
8) Enable the tool on all nodes ''(as root)''
{{{
# /etc/init.d/init.crfd enable, on Linux
> runcrf, on Windows
}}}
__''Using the tool''__
1) Start the deamons on all nodes..''(as root)'' (The install does not enable/run the daemons by default)
# /etc/init.d/init.crfd enable
On windows, type 'runcrf' from windows command prompt.
2) Run the GUI
-g : Standalone UI installation on current node. Oracle recommends to
not install the UI on the servers. You can use this option to
install the UI-only client on a separate machine outside of
cluster.
where -d is used to specify hours (<hh>), minutes (<mm>) and seconds (<ss>) in
the past from the current time to start the GUI from e.g. crfgui -d "05:10:00"
starts the GUI and displays information from the database which is 5 hours and
10 minutes in the past from the current time.
{{{
$ crfgui <-- to invoke on local node
$ crfgui -m <nodename> <-- from a client
$ crfgui -r 5 -m <nodename> <-- to change the refresh rate to 5, default is 1
$ crfgui -d "<hh>:<mm>:<ss>" -m <nodename> <-- Invoking the GUI with '-d' option starts it in historical mode.
}}}
3) __''The oclumon''__ - A command line tool is included in the package
{{{
$ oclumon -h
$ oclumon dumpnodeview -v -allnodes -last "00:30:00" <-- which will dump all stats for all nodes for last 30 minutes from the current time (includes process & device)
$ oclumon dumpnodeview -allnodes -s "2008-11-12 12:30:00" -e "2008-11-12 13:30:00" <-- which will dump stats for all nodes from 12:30 to 13:30 on Nov 12th, 2008
$ oclumon dumpnodeview -allnodes <-- To find the timezone on the servers in the cluster
$ oclumon dumpnodeview -v -n mynode -last "00:10:00" <-- will dump all stats for 'mynode' for last 10 minutes
$ oclumon dumpnodeview -v -allnodes -alert -last "00:30:00" <-- To use oclumon to query for alerts only, use the '-alert' option which will dump all records for all
nodes for last 30 minutes, which contains at least one alert.
}}}
{{{
Some useful attributes that can be passed to oclumon are
1. Showobjects
/usr/lib/oracrf/bin/oclumon showobjects -n stadn59 -time "2008-06-03 16:10:00"
2. Dumpnodeview
/usr/lib/oracrf/bin/oclumon dumpnodeview -n halinux4
3. Showgaps - The output of that command can be used to see if OSwatcher was not scheduled. This generally means some
problem with CPU scheduling or very high load on the node. Generally Cluster Health Monitor should always
be scheduled since it is running as RT process.
/usr/lib/oracrf/bin/oclumon showgaps -n celx32oe40d \
-s "2009-07-09 02:40:00" -e "2009-07-09 03:59:00"
Number of gaps found = 0
4. Showtrail
$/usr/lib/oracrf/bin/oclumon showtrail -n celx32oe40d -diskid \
sde qlen totalwaittime -s "2009-07-09 03:40:00" \
-e "2009-07-09 03:50:00" -c "red" "yellow" "green"
Parameter=QUEUE LENGTH
2009-07-09 03:40:00 TO 2009-07-09 03:41:31 GREEN
2009-07-09 03:41:31 TO 2009-07-09 03:45:21 GREEN
2009-07-09 03:45:21 TO 2009-07-09 03:49:18 GREEN
2009-07-09 03:49:18 TO 2009-07-09 03:50:00 GREEN
Parameter=TOTAL WAIT TIME
$/usr/lib/oracrf/bin/oclumon showtrail -n celx32oe40d -sys cpuqlen \
-s "2009-07-09 03:40:00" -e "2009-07-09 03:50:00" \
-c "red" "yellow" "green"
Parameter=CPU QUEUELENGTH
2009-07-09 03:40:00 TO 2009-07-09 03:41:31 GREEN
2009-07-09 03:41:31 TO 2009-07-09 03:45:21 GREEN
2009-07-09 03:45:21 TO 2009-07-09 03:49:18 GREEN
2009-07-09 03:49:18 TO 2009-07-09 03:50:00 GREEN
-- times for which the nicid eth1 has problems
./oclumon showtrail -n halinux4 -nicid eth1 effectivebw errors -c "red" "yellow" "orange" "green"
The above command tells us is the times for which the nicid eth1 has problems. The output is also depicted in colors such that
green means good and yellow means it is not good but it not exactly bad and red means problems
Similarly we can use the showtrail option to show cpu load
./oclumon showtrail -n halinux4 -sys usagepc cpuqlen cpunumprocess, openfds, numrt, numofiosps, lowmem, memfree, -c "red" "yellow"
From the above screen shot we can see that lowmem is in red all the time, Now we can get details of that lowmem usage using
./oclumon dumpnodeview -n halinux4 -s "2008-11-24 20:26:55" -e "2008-11-24 20:30:21"
}}}
__''Other Utilities''__
ologdbg: This utility provides a debug mode loggerd daemon
__''The Metrics''__
1) CPU
if a process consumes all of
one CPU on a 4 CPU system , the value reported is 100% for this process, and
aggregated system wide.
2) Data Sample retention
How much history of OS metrics is kept in Berkely DB?
By default the database retains the node views from all the nodes for the last
24 hours in a circular manner. However this limit can be increased to 72 hours
by using oclumon command : 'oclumon manage -bdb resize 259200'.
3) Process priority
What does the PRIORITY of a process mean?
The linux priorities range from -20 to 19. There is static priority and there
is nice value. We report the dynamic nice value only. We report +ve priority
in the range 0-39 for non-RealTime processes. Processes in the RT class
are reported to have priorities from 41 to 139. This way a consistent "high
number means high priority" priority is reported across platforms. The math
used is (19 - nice_val) for non-RT and (40 + rtprio) for RT processes, where
nice_val and rtprio are corresponding fields in the /proc/<pid>/stat. This
is consistent with the Unix utility 'ps'. Also note that, Unix utility 'top'
reports priority and nice as two different values, and are different from
what IPD-OS reports.
4) Disk devices
Some disk devices are missing from the device view
This can happen for two reasons:
* We only collect and show top (decided by wait time on the disk) 127
devices in the output. OCR/VOTING/ASM/SWAP devices are pinned forever.
So, the missing device may have just fallen off of this list if you
have more than 127 devices (luns).
* The disks were added after the Cluster Health Monitor was started. In this
case, just restart the Cluster Health Monitor stack. Future versions of
Cluster Health Monitor will be able to handle this case without restart.
! Data Collection
For Oracle 11.2 RAC installations use the diagcollection nscript that comes with Cluster Health Monitor:
{{{
/usr/lib/oracrf/bin/diagcollection.pl --collect --ipd
}}}
For other versions run
{{{
/usr/lib/oracrf/bin/oclumon dumpnodeview -allnodes -v -last "23:59:59" > <your-directory>/<your-filename>
}}}
Make sure <your-directory> has more than 2Gb space to create file<your-filename>
Zip or compress <your-filename> before uploading to the Service Request.
Also update the SR with the information when (date and time) you have observed a specific issue.
! On the Client side
The tool can be used by Customers to monitor their nodes online or offline. Generally when working with Oracle support, the data is viewed offline.
Online mode can be used to detect problems live on customer environment. The data can be viewed using Cluster Health Monitor utility /usr/lib/oracrf/bin/crfgui. The GUI is not installed on the nodes of the server but can be installed on any other client using
{{{
-- Create the following directories...
<directory>/oracrf_gui <--- the install directory
<directory>/oracrf_installer <--- put the installer here
chown -R crfuser:root <directory>/oracrf*
-- GUI installation
crfinst.pl -g <Install_dir>
}}}
''1.'' For example, To look at the load on a node you can run the command .
{{{
/usr/lib/oracrf/bin/crfgui.sh -m <Nodename>
}}}
The default refresh rate for this GUI is 1 second. To change refresh rate to 5 seconds execute
{{{
/usr/lib/oracrf/bin/crfgui.sh -n <Node_to_be_monitored> -r 5
}}}
''2.'' Another attribute that can be passed to the tool is -d. This is used to view the data in the past from the current time. So if there was a node reboot 4 hours ago and you need to look at the data about 10 minutes before the reboot, you would pass -d "04:10:00"
{{{
/usr/lib/oracrf/bin/crfgui.sh -d "04:10:05"
}}}
All the above usage scenarios requires gui access to the nodes.
! Mining the dumps
[karao@karl Downloads]$ less dump_20110103.txt | grep topcpu | less
[karao@karl Downloads]$ less dump_20110103.txt | grep "#cpu" | less
[karao@karl Downloads]$ less dump_20110103.txt | grep "type:" | less
[karao@karl Downloads]$ less dump_20110103.txt | grep "spent too much time" | less
[karao@karl Downloads]$ less dump_20110103.txt | grep "eth" | less
[karao@karl Downloads]$ less dump_20110103.txt | grep "OCR" | less
! Installation troubleshooting
''Log file location ''
/usr/lib/oracrf/log/hostname/crfmond/crfmond.log
''Config file location''
/usr/lib/oracrf/admin/crfnhostname.ora
''You can do strace''
/etc/init.d/init.crfd stop
/etc/init.d/init.crfd disable
/etc/init.d/init.crfd enable
strace -fo /tmp/crf_start.out /etc/init.d/init.crfd start
upload generated crf_start.out file.
''The typical config file''
[root@racnode1 ~]# cat /usr/lib/oracrf/admin/crfracnode1.ora
HOSTS=racnode2,racnode1
CRFHOME=/usr/lib/oracrf
MYNAME=racnode1
BDBLOC=/u01/oracrf
USERNAME=crfuser
MASTERPUB=192.168.203.12
MASTER=racnode2
REPLICA=racnode1
DEAD=
ACTIVE=racnode2,racnode1
[root@racnode2 ~]# cat /usr/lib/oracrf/admin/crfracnode2.ora
HOSTS=racnode2,racnode1
CRFHOME=/usr/lib/oracrf
MYNAME=racnode2
BDBLOC=/u01/oracrf
USERNAME=crfuser
DEAD=
MASTERPUB=192.168.203.12
MASTER=racnode2
STATE=mutated
ACTIVE=racnode2,racnode1
REPLICA=racnode1
http://www.debian-administration.org/articles/551
http://www.rackspace.com/cloud/blog/2011/05/17/infographic-evolution-of-computer-languages/
Cold failover for a single instance RAC database https://blogs.oracle.com/XPSONHA/entry/cold_failover_for_a_single_ins
Name: MptwSmoke
Background: #fff
Foreground: #000
PrimaryPale: #F5F5F5
PrimaryLight: #228B22
PrimaryMid: #111
PrimaryDark: #000
SecondaryPale: #ffc
SecondaryLight: #fe8
SecondaryMid: #db4
SecondaryDark: #841
TertiaryPale: #eee
TertiaryLight: #ccc
TertiaryMid: #999
TertiaryDark: #666
Error: #f88
http://blogs.oracle.com/clive/entry/colour_dtrace
http://blogs.oracle.com/vlad/entry/coloring_dtrace_output
http://blogs.oracle.com/ahl/entry/open_sourcing_the_javaone_keynote
http://documentation.commvault.com/dell/release_7_0_0/books_online_1/english_us/features/third_party_command_line/third_party_command_line.htm
http://documentation.commvault.com/dell/release_7_0_0/books_online_1/english_us/features/cli/rman_scripts.htm
http://www.streamreader.org/serverfault/questions/140055/commvault-oracle-rman-restore-to-new-host <-- SAMPLE COMMAND
http://www.orafaq.com/wiki/Oracle_database_Backup_and_Recovery_FAQ
http://husnusensoy.wordpress.com/2008/02/01/using-oracle-table-compression/
Restrictions
http://oracle-randolf.blogspot.com/2010/07/compression-restrictions.html
{{{
=CONCATENATE(G4,"-",C4)
}}}
concatenate percent
http://answers.yahoo.com/question/index?qid=20080605090839AA6Dnxk
http://www.wikihow.com/Apply-Conditional-Formatting-in-Excel
http://www.podcast.tv/video-episodes/excel-2011-conditional-formatting-12937144.html
Using Consolidation Planner http://download.oracle.com/docs/cd/E24628_01/doc.121/e25179/consolid_plan.htm
''SPEC CPU2006'' http://www.spec.org/auto/cpu2006/Docs/result-fields.html
http://www.amd.com/us/products/server/benchmarks/Pages/specint-rate-base2006-four-socket.aspx
http://www.spec.org/cpu2006/results/res2010q1/cpu2006-20091218-09300.html
http://download.oracle.com/docs/cd/E24628_01/license.121/e24474/appendix_a.htm#BGBBAEDE <-- on the official doc
Where to find MAXxxxxxx control file parameters in Data Dictionary
Doc ID: Note:104933.1
http://www.scribd.com/doc/19212001/To-convert-a-rac-node-using-asm-to-single-instance-node
''How to Convert a Single-Instance ASM to Cluster ASM [ID 452758.1]'' http://space.itpub.net/11134237/viewspace-687810
http://oracleinstance.blogspot.com/2010/07/converting-single-instance-to-rac.html
Although this is very easy, handy notes will still be helpful
http://oracle.ittoolbox.com/documents/how-to-copy-an-oracle-database-to-another-machine-18603
http://www.pgts.com.au/pgtsj/pgtsj0211b.html
http://www.adp-gmbh.ch/ora/admin/creatingdbmanually.html
STACKX User Guide
Doc ID: Note:362791.1
HOW TO HANDLE CORE DUMPS ON UNIX
Doc ID: Note:1007808.6
Segmentation Fault and Core Dump During Execution
Doc ID: Note:1012079.6
SOLARIS: SGA size, sgabeg attach address and Sun architectures
Doc ID: Note:61896.1
How To Debug a Core File
Doc ID: Note:559167.1
CoreUtils for Windows
http://gnuwin32.sourceforge.net/packages/coreutils.htm
https://forums.oracle.com/forums/thread.jspa?messageID=9817219� <-- installation!
http://structureddata.org/2011/09/25/critical-skills-for-performance-work/
http://www.integrigy.com/oracle-security-blog/archive/2010/10/14/oracle-cpu-oct-2010-monster
HOWTO: Oracle Cross-Platform Migration with Minimal Downtime
http://www.pythian.com/news/3653/howto-oracle-cross-platform-migration-with-minimal-downtime/
Using Transportable Tablespace In Oracle Database 10g
http://avdeo.com/2009/12/22/using-transportable-tablespace-in-oracle-database-10g/
Migrating an Oracle database Solaris to Linux
http://blog.nominet.org.uk/tech/2006/01/18/migrating-an-oracle-database-solaris-to-linux/
''Documentation''
http://docs.embarcadero.com/products/db_optimizer/
''wiki''
http://docwiki.embarcadero.com/DBOptimizer/en/Main_Page
''DB Optimizer 3.0''
http://docs.embarcadero.com/products/db_optimizer/3.0/DBOptimizerQuickStartGuide.pdf
http://docs.embarcadero.com/products/db_optimizer/3.0/DBOptimizerUserGuide.pdf
http://docs.embarcadero.com/products/db_optimizer/3.0/ReadMe.htm
''Example usage - DB Optimizer example - 3mins to 10secs''
https://www.evernote.com/shard/s48/sh/070796b4-673e-418f-9ff9-d362ae9941dd/9636928fbcf370e0dcf9fb940cc5a9c8 <-- after reading this check out the [[SQLT-tc (test case builder)]] tiddler on how to generate VST with SQLTXPLAIN
''Pricing''
''$1500'' http://store.embarcadero.com/store/embt/en_US/DisplayCategoryProductListPage/categoryID.52346400
''the $99 good deal'' http://www.freelists.org/post/oracle-l/Special-Offer-for-readers-of-OracleL
http://www.evernote.com/shard/s48/sh/0545726e-b46b-4953-ad5e-f1d04fb38b1d/86dd3d261da9ab35c09d765157c1ac33
Thread: Answers to "Why are my jobs not running?"
http://forums.oracle.com/forums/thread.jspa?threadID=646581
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/sqldev/r30/DBMSScheduler/DBMSScheduler.htm
Init.ora Parameter "DB_WRITERS" [Port Specific] Reference Note
Doc ID: Note:35268.1
Top 8 init.ora Parameters Affecting Performance
Doc ID: Note:100709.1
DB_WRITER_PROCESSES or DBWR_IO_SLAVES?
Doc ID: Note:97291.1
Database Writer and Buffer Management
Doc ID: Note:91062.1
TROUBLESHOOTING GUIDE: Common Performance Tuning Issues
Doc ID: Note:106285.1
Systemwide Tuning using UTLESTAT Reports in Oracle7/8
Doc ID: Note:62161.1
DBWR in Oracle8i
Doc ID: Note:105518.1
DEC ALPHA: RAW DISK AND ASYNC_IO
Doc ID: Note:1029511.6
Understanding and Tuning Buffer Cache and DBWR
Doc ID: Note:62172.1
Asynchronous I/O and Multiple Database Writers
Doc ID: Note:69560.1
VIEW: "V$LOGFILE" Reference Note
Doc ID: Note:43746.1
Init.ora Parameter "DB_WRITERS" [Port Specific] Reference Note
Doc ID: Note:35268.1
CRITICAL BUGS LIST FOR V7.3.2.XX
Doc ID: Note:1023229.6
How to Resize a Datafile
Doc ID: Note:1029252.6
How to Resolve ORA-03297 When Resizing a Datafile by Finding the Table Highwatermark
Doc ID: Note:130866.1
Oracle8 and Oracle8i Database Limits
Doc ID: Note:114019.1
Oracle9i Database Limits
Doc ID: Note:217143.1
Database and File Size Limits in 10G release 2
Doc ID: Note:336186.1
Init.ora Parameter "DB_WRITERS" [Port Specific] Reference Note
Doc ID: Note:35268.1
ORA-00346: REDO LOG FILE HAS STATUS 'STALE'
Doc ID: Note:1014824.6
Archiver Best Practices
Doc ID: Note:45042.1
Shutdown Immediate Hangs
Doc ID: Note:179192.1
http://sarojkd.tripod.com/B001.html
http://www.riddle.ru/mirrors/oracledocs/server/sad73/ch505.html
!!!! THIS TIDDLER IS ON GOING...
I've done a couple tests lately on my Windows laptop (on Intel i5) and also on a "13 MacbookAir
To summarize the screenshots that you'll see below, it's divided into four test cases:
''1) The effect of DD to /dev/null''
* /dev/null is a special file that acts like a black hole, this test shows that you must use this facility with caution when doing your IO tests or else you may end up with super bloated numbers. One common error or misuse you may encounter is doing DD from /dev/zero straight to /dev/null.. see more from the screenshots below..
''2) DD Write, Read, and Read Write''
This shows how you can properly do Write, Read, and Read Write tests using DD
* Write - if=/dev/zero of=testfile.txt
* Read - if=testfile.txt of=/dev/null
* Read Write - if=testfile.txt of=testfile2.txt
time dd bs=16384 if=/Users/gaja/Data/Downloads/Software/"Rosetta Stone Version 3 Update.dmg" of=/dev/null
sync; time dd bs=1048576 count=4096 if=/dev/zero of=/tmp/testfile12.txt; sync;
''3) IOMeter tests''
I was never successful on doing a pure read operation using DD. To have a read only test I have to use IOMeter
''4) Actual MacBook Air test - part2''
Having my tests above in mind, I was able to get hold of a MacBook Air and did some tests on various block sizes.
So here it goes...
!
! The Effect of DD
!!!! So fast
<<<
[img[picturename| https://lh6.googleusercontent.com/_F2x5WXOJ6Q8/TZbUNMaLDNI/AAAAAAAABJ4/nlslGxySL34/s800/so%20fast.png]]
<<<
!!!! First Run
<<<
[img[picturename| https://lh4.googleusercontent.com/_F2x5WXOJ6Q8/TZY0yHjByUI/AAAAAAAABJQ/4mdJxRQ175c/s800/test10-the%20effect%20of%20dd.png]]
[img[picturename| https://lh4.googleusercontent.com/_F2x5WXOJ6Q8/TZY2iptzAPI/AAAAAAAABJY/JYoZJBuASuc/s800/test10-the%20effect%20of%20dd-after%20cancel.png]]
<<<
!!!! Another Run
<<<
[img[picturename| https://lh6.googleusercontent.com/_F2x5WXOJ6Q8/TZY1wan6kFI/AAAAAAAABJU/Omh7uM1RaXs/s800/test11-the%20effect%20of%20dd%2016k%20bs.png]]
asdadasd
[img[picturename| https://lh3.googleusercontent.com/_F2x5WXOJ6Q8/TZY4vB6IWOI/AAAAAAAABJc/etlhojzy-1U/s800/test11-the%20effect%20of%20dd%2016k%20bs-after%20cancel.png]]
<<<
!
! DD Write, Read, and Read Write
!!!! DD write
<<<
[img[picturename| https://lh3.googleusercontent.com/_F2x5WXOJ6Q8/TZY8lKpct2I/AAAAAAAABJg/NVy9RbQLDhM/s800/x2.png]]
<x2.png>
asd
[img[picturename| https://lh3.googleusercontent.com/_F2x5WXOJ6Q8/TZY8lGdoyBI/AAAAAAAABJk/Qz_gQ7huEyw/s800/x3.png]]
<x3.png>
<<<
!!!! DD read
<<<
[img[picturename| https://lh3.googleusercontent.com/_F2x5WXOJ6Q8/TZb_NiIu0eI/AAAAAAAABJ8/jh0RDLxjU8o/s800/ddread.png]]
<<<
!!!! DD read write
<<<
[img[picturename| https://lh4.googleusercontent.com/_F2x5WXOJ6Q8/TZY8lImV9CI/AAAAAAAABJo/oz8C7xwXgVE/s800/x5.png]]
<x5.png>
asdad
[img[picturename| https://lh5.googleusercontent.com/_F2x5WXOJ6Q8/TZY8nLguFzI/AAAAAAAABJs/FYIpx3O6aRg/s800/x6.png]]
<x6.png>
<<<
!
! IOMeter tests
!!!! Read
<<<
asdsa
[img[picturename| https://lh3.googleusercontent.com/_F2x5WXOJ6Q8/TZY9nijeNlI/AAAAAAAABJ0/2I8e8KR-JX0/s800/test19-dynamo1M%2050outstanding%20all%20read-sequential.png]]
<test19-dynamo1M 50outstanding all read-sequential.png>
<<<
!!!! Write
<<<
asdada
[img[picturename| https://lh3.googleusercontent.com/_F2x5WXOJ6Q8/TZY9nRUTX5I/AAAAAAAABJw/1NWZeou2f7c/s800/test18-dynamo1M%2050outstanding%20all%20write-sequential.png]]
<test18-dynamo1M 50outstanding all write-sequential.png>
<<<
!
! Actual Macbook Air test "13
1MB http://db.tt/uVWYLkt
736 IOPS peak
188.6 MB/s peak
512K http://db.tt/sHsg8RV
645 IOPS peak
182.9 MB/s peak
16K http://db.tt/Z8zf6SO
631 IOPS peak
167.5 MB/s peak
8K http://db.tt/8UCAOOV
147 IOPS peak
145 MB/s peak
!
! References
Apple's 2010 MacBook Air (11 & 13 inch) Thoroughly Reviewed
http://www.anandtech.com/Show/Index/3991?cPage=13&all=False&sort=0&page=4&slug=apples-2010-macbook-air-11-13inch-reviewed <— GOOD STUFF
Support and Q&A for Solid-State Drives
http://blogs.msdn.com/b/e7/archive/2009/05/05/support-and-q-a-for-solid-state-drives-and.aspx <— GOOD STUFF
http://www.anandtech.com/show/2738 <— GOOD STUFF REVIEW + TRIM + NICE EXPLANATIONS
http://www.usenix.org/event/usenix08/tech/full_papers/agrawal/agrawal_html/index.html <— GOOD STUFF PAPER
https://blogs.oracle.com/XPSONHA/entry/using_dnfs_for_test_purposes
http://oracleprof.blogspot.com/2011/11/dnfs-configuration-and-hybrid-column.html
Oracle DNS configuration for SCAN
http://www.oracle-base.com/articles/linux/DnsConfigurationForSCAN.php
Configuring a small DNS server for SCAN
http://blog.ronnyegner-consulting.de/2009/10/15/configuring-a-small-dns-server-for-scan/
LinuxHomeNetworking - DNS
http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch18_:_Configuring_DNS
-- GOOD INTRO ON DTRACE
http://groups.google.com/group/comp.unix.solaris/msg/73d6407711b38014%3Fdq%3D%26start%3D50%26hl%3Den%26lr%3D%26ie%3DUTF-8?pli=1
-- Kyle - Getting Started with DTrace
http://dboptimizer.com/2011/12/13/getting-started-with-dtrace/
-- SYSTEM PRIVS PREREQ
http://blogs.oracle.com/yunpu/entry/giving_a_user_privileges_to
-- DTRACE ON MAC
http://www.mactech.com/articles/mactech/Vol.23/23.11/ExploringLeopardwithDTrace/index.html
''top 10 commands on mac'' http://dtrace.org/blogs/brendan/2011/10/10/top-10-dtrace-scripts-for-mac-os-x/
-- LOCKSTAT
A Primer On Lockstat [ID 1005868.1]
-- MEMORY LEAK
http://blogs.oracle.com/openomics/entry/investigating_memory_leaks_with_dtrace
-- FAST DUMP
How to Use the Oracle Solaris Fast Crash Dump Feature [ID 1128738.1]
https://blogs.oracle.com/brendan/entry/dtrace_cheatsheet
https://blogs.oracle.com/brendan/resource/DTrace-cheatsheet.pdf
MDB cheatsheet https://blogs.oracle.com/jwadams/entry/an_mdb_1_cheat_sheet
-- DTrace TCP
http://blogs.oracle.com/amaguire/entry/dtracing_tcp_congestion_control
https://blogs.oracle.com/wim/entry/trying_out_dtrace
''Create the test case script'' - this script does a sustained md5sum load which is a CPU centric load
{{{
root@solaris:/home/oracle# dd if=/dev/urandom of=testfile count=20 bs=1024k
root@solaris:/home/oracle# cat md5.sh
#!/bin/sh
i=0
while [ 1 ]
do
md5sum testfile
i=`expr $i + 1`
echo "Iteration: $i"
done
}}}
''Execute the script''
{{{
root@solaris:/home/oracle# sh md5.sh
sample output:
...
root@solaris:/home/oracle# sh md5.sh
a5238634023667d128026bbc3d77c1cd testfile
Iteration: 1
a5238634023667d128026bbc3d77c1cd testfile
Iteration: 2
a5238634023667d128026bbc3d77c1cd testfile
Iteration: 3
a5238634023667d128026bbc3d77c1cd testfile
Iteration: 4
a5238634023667d128026bbc3d77c1cd testfile
Iteration: 5
a5238634023667d128026bbc3d77c1cd testfile
Iteration: 6
a5238634023667d128026bbc3d77c1cd testfile
Iteration: 7
a5238634023667d128026bbc3d77c1cd testfile
Iteration: 8
a5238634023667d128026bbc3d77c1cd testfile
Iteration: 9
a5238634023667d128026bbc3d77c1cd testfile
Iteration: 10
...
}}}
''Profile the session''
{{{
### TOP
root@solaris:/home/oracle# top -c
last pid: 20528; load avg: 0.84, 0.87, 0.78; up 0+00:35:49 14:13:39
102 processes: 100 sleeping, 1 running, 1 on cpu
CPU states: 0.0% idle, 74.0% user, 26.0% kernel, 0.0% iowait, 0.0% swap
Kernel: 526 ctxsw, 6184 trap, 315 intr, 5714 syscall, 25 fork, 5143 flt
Memory: 1024M phys mem, 53M free mem, 977M total swap, 976M free swap
PID USERNAME NLWP PRI NICE SIZE RES STATE TIME CPU COMMAND
742 oracle 3 59 0 61M 43M sleep 0:24 2.45% /usr/bin/Xorg :0 -nolisten tcp -br -auth /tmp/gdm-auth-cookies-rQaOBb/auth-f
1009 oracle 2 59 0 89M 19M sleep 0:19 2.36% gnome-terminal
19296 root 1 10 0 8948K 2312K sleep 0:01 2.20% sh md5.sh
954 oracle 20 59 0 71M 51M sleep 0:18 0.86% /usr/bin/java -client -jar /usr/share/vpanels/vpanels-client.jar sysmon
1992 root 1 59 0 7544K 1668K sleep 0:07 0.61% mpstat 1 100000
20372 root 1 59 0 3920K 2260K cpu 0:00 0.28% top -c
348 root 1 59 0 3668K 2180K sleep 0:00 0.02% /usr/lib/hal/hald-addon-acpi
### PRSTAT
PID USERNAME USR SYS TRP TFL DFL LCK SLP LAT VCX ICX SCL SIG PROCESS/LWPID
25076 root 63 10 0.3 0.0 0.0 0.0 0.0 26 0 394 13K 0 md5sum/1
19296 root 0.5 2.0 0.0 0.0 0.0 0.0 84 13 114 76 2K 72 bash/1
1009 oracle 0.4 0.6 0.0 0.0 0.0 0.0 95 3.6 264 2 1K 0 gnome-termin/1
5 root 0.0 0.6 0.0 0.0 0.0 0.0 99 0.2 112 104 0 0 zpool-rpool/13
954 oracle 0.1 0.3 0.0 0.0 0.0 97 0.0 2.7 202 1 303 0 java/20
24399 root 0.0 0.4 0.0 0.0 0.0 0.0 100 0.0 44 2 525 0 prstat/1
742 oracle 0.1 0.3 0.0 0.0 0.0 0.0 99 0.1 95 0 785 0 Xorg/1
978 oracle 0.1 0.2 0.0 0.0 0.0 0.0 99 0.6 120 0 510 0 xscreensaver/1
24899 root 0.0 0.2 0.0 0.0 0.0 0.0 100 0.0 1 1 364 0 top/1
954 oracle 0.1 0.1 0.0 0.0 0.0 100 0.0 0.1 101 0 202 0 java/19
954 oracle 0.0 0.1 0.0 0.0 0.0 0.0 98 2.4 82 0 82 0 java/9
23106 oracle 0.1 0.0 0.0 0.0 0.0 0.0 100 0.0 30 0 167 0 xscreensaver/1
555 root 0.0 0.0 0.0 0.0 0.0 0.0 100 0.0 43 0 258 0 nscd/17
5 root 0.0 0.0 0.0 0.0 0.0 0.0 100 0.2 22 3 0 0 zpool-rpool/25
5 root 0.0 0.0 0.0 0.0 0.0 0.0 100 0.2 21 1 0 0 zpool-rpool/22
11204 oracle 0.0 0.0 0.0 0.0 0.0 0.0 100 0.1 1 3 23 0 sshd/1
958 oracle 0.0 0.0 0.0 0.0 0.0 100 0.0 0.2 10 0 20 0 mixer_applet/3
954 oracle 0.0 0.0 0.0 0.0 0.0 0.0 100 0.2 9 0 27 0 java/12
5 root 0.0 0.0 0.0 0.0 0.0 0.0 100 0.2 22 1 0 0 zpool-rpool/26
5 root 0.0 0.0 0.0 0.0 0.0 0.0 100 0.2 22 1 0 0 zpool-rpool/20
5 root 0.0 0.0 0.0 0.0 0.0 0.0 100 0.2 21 0 0 0 zpool-rpool/24
423 root 0.0 0.0 0.0 0.0 0.0 0.0 99 1.4 5 0 25 5 ntpd/1
5 root 0.0 0.0 0.0 0.0 0.0 0.0 100 0.0 2 1 0 0 zpool-rpool/2
510 root 0.0 0.0 0.0 0.0 0.0 0.0 100 0.3 9 0 9 0 VBoxService/7
5 root 0.0 0.0 0.0 0.0 0.0 0.0 100 0.2 20 0 0 0 zpool-rpool/23
5 root 0.0 0.0 0.0 0.0 0.0 0.0 100 0.2 20 0 0 0 zpool-rpool/19
979 oracle 0.0 0.0 0.0 0.0 0.0 0.0 100 0.0 5 0 10 0 updatemanage/1
5 root 0.0 0.0 0.0 0.0 0.0 0.0 100 0.2 20 0 0 0 zpool-rpool/21
954 oracle 0.0 0.0 0.0 0.0 0.0 100 0.0 0.1 5 0 5 0 java/3
134 root 0.0 0.0 0.0 0.0 0.0 0.0 100 0.0 3 0 10 0 dhcpagent/1
97 root 0.0 0.0 0.0 0.0 0.0 100 0.0 0.0 2 0 2 0 nwamd/1
969 oracle 0.0 0.0 0.0 0.0 0.0 0.0 100 0.0 1 0 3 0 gnome-power-/1
855 root 0.0 0.0 0.0 0.0 0.0 0.0 100 0.4 1 0 10 0 sendmail/1
510 root 0.0 0.0 0.0 0.0 0.0 100 0.0 0.0 1 0 2 0 VBoxService/6
510 root 0.0 0.0 0.0 0.0 0.0 100 0.0 0.0 1 0 2 0 VBoxService/5
510 root 0.0 0.0 0.0 0.0 0.0 100 0.0 0.0 1 0 3 0 VBoxService/3
255 root 0.0 0.0 0.0 0.0 0.0 100 0.0 0.0 2 0 4 0 devfsadm/3
1002 oracle 0.0 0.0 0.0 0.0 0.0 100 0.0 0.0 1 0 1 0 rad/3
984 oracle 0.0 0.0 0.0 0.0 0.0 0.0 100 0.0 1 0 2 0 nwam-manager/1
954 oracle 0.0 0.0 0.0 0.0 0.0 0.0 100 0.0 1 0 1 0 java/10
655 root 0.0 0.0 0.0 0.0 0.0 0.0 100 0.0 1 0 1 0 fmd/2
918 oracle 0.0 0.0 0.0 0.0 0.0 0.0 100 0.0 1 0 4 0 ssh-agent/1
555 root 0.0 0.0 0.0 0.0 0.0 0.0 100 0.0 1 0 1 0 nscd/31
Total: 105 processes, 469 lwps, load averages: 1.33, 1.33, 1.20
### VMSTAT
root@solaris:/home/oracle# vmstat 1 1000
kthr memory page disk faults cpu
r b w swap free re mf pi po fr de sr cd s0 -- -- in sy cs us sy id
0 0 0 1037596 187496 221 2144 0 0 3 0 306 17 -0 0 0 307 3362 688 29 17 54
0 0 0 915384 54608 481 4851 0 0 0 0 0 24 0 0 0 520 5772 773 72 28 0
0 0 0 915568 54832 520 5252 0 0 0 0 0 0 0 0 0 280 6024 458 74 26 0
0 0 0 915304 54588 522 5252 0 0 0 0 0 0 0 0 0 283 6025 457 74 26 0
2 0 0 915304 54612 521 5253 0 0 0 0 0 0 0 0 0 279 6068 465 75 25 0
0 0 0 915264 54584 520 5258 0 0 0 0 0 0 0 0 0 292 6039 464 74 26 0
0 0 0 915260 54580 487 4866 0 0 0 0 0 29 0 0 0 555 5730 792 72 28 0
1 0 0 915228 54592 520 5253 0 0 0 0 0 0 0 0 0 276 6092 449 74 26 0
0 0 0 915228 54612 522 5252 0 0 0 0 0 0 0 0 0 281 6010 469 74 26 0
### MPSTAT
root@solaris:/home/oracle# mpstat 1 10000
CPU minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt idl
0 2175 0 0 307 108 687 65 0 7 0 3387 29 17 0 53
0 5304 0 0 286 84 480 113 0 0 0 6068 75 25 0 0
0 5226 0 0 289 91 474 120 0 0 0 5943 74 26 0 0
0 5346 0 0 294 92 480 113 0 0 0 6089 74 26 0 0
0 4829 0 0 550 351 832 189 0 76 0 5634 71 29 0 0
0 5279 0 0 285 85 480 116 0 0 0 6022 74 26 0 0
0 5278 0 0 286 86 478 130 0 0 0 5949 75 25 0 0
0 5278 0 0 280 84 463 110 0 0 0 6007 74 26 0 0
0 5331 0 0 283 86 464 112 0 0 0 6071 74 26 0 0
0 4893 0 0 454 253 689 158 0 43 0 5849 73 27 0 0
0 5257 0 0 276 83 463 120 0 0 0 6019 74 26 0 0
0 5278 0 0 279 83 461 107 0 0 0 6010 74 26 0 0
0 5227 0 0 279 85 454 110 0 0 0 5960 74 26 0 0
0 5292 0 0 282 87 468 110 0 1 0 6031 74 26 0 0
0 4926 0 0 425 226 616 137 0 28 0 5854 74 26 0 0
### IOSTAT
root@solaris:/home/oracle# iostat -xcd 1 100000
extended device statistics cpu
device r/s w/s kr/s kw/s wait actv svc_t %w %b us sy wt id
cmdk0 2.6 15.8 94.9 81.8 0.0 0.0 0.8 0 1 46 21 0 33
sd0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0
extended device statistics cpu
device r/s w/s kr/s kw/s wait actv svc_t %w %b us sy wt id
cmdk0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 74 26 0 0
sd0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0
extended device statistics cpu
device r/s w/s kr/s kw/s wait actv svc_t %w %b us sy wt id
cmdk0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 75 25 0 0
sd0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0
extended device statistics cpu
device r/s w/s kr/s kw/s wait actv svc_t %w %b us sy wt id
cmdk0 0.0 156.9 0.0 772.1 0.0 0.1 0.4 1 4 69 31 0 0
sd0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0
}}}
''DTrace!!!''
* we want to know what is causing those system calls, this measures system calls by process name.. here the top process is ''md5sum''
{{{
dtrace -n 'syscall:::entry { @[execname] = count(); }'
root@solaris:/home/oracle# dtrace -n 'syscall:::entry { @[execname] = count(); }'
dtrace: description 'syscall:::entry ' matched 233 probes
^C
fmd 1
in.routed 1
inetd 1
netcfgd 1
nwamd 1
svc.configd 1
iiimd 2
rad 2
utmpd 2
nwam-manager 4
ssh-agent 4
devfsadm 8
xscreensaver 10
gnome-power-mana 12
sshd 16
updatemanagernot 16
dhcpagent 18
hald 20
sendmail 22
VBoxService 23
hald-addon-acpi 26
mixer_applet2 30
ntpd 40
java 965
Xorg 1797
mpstat 2115
dtrace 2357
gnome-terminal 3225
expr 5820
bash 7683
md5sum 21214
}}}
* matching the syscall probe only when the execname matches our investigation target, ''md5sum'', and counting the syscall name
{{{
dtrace -n 'syscall:::entry /execname == "md5sum"/ { @[probefunc] = count(); }'
root@solaris:/home/oracle# dtrace -n 'syscall:::entry /execname == "md5sum"/ { @[probefunc] = count(); }'
dtrace: description 'syscall:::entry ' matched 233 probes
^C
llseek 111
rexit 111
write 111
getpid 112
getrlimit 112
ioctl 112
open64 112
sysi86 112
systeminfo 112
setcontext 224
sysconfig 224
mmapobj 336
fstat64 448
open 448
memcntl 560
resolvepath 560
stat64 560
close 669
brk 672
mmap 784
read 17961
}}}
* what is calling ''read'' by using the ustack() DTrace action
{{{
dtrace -n 'syscall::read:entry /execname == "md5sum"/ { @[ustack()] = count();}'
root@solaris:/home/oracle# dtrace -n 'syscall::read:entry /execname == "md5sum"/ { @[ustack()] = count();}'
dtrace: description 'syscall::read:entry ' matched 1 probe
^C
0xfeef25b5
0xfeebb91c
0xfeec00b0
0x80554f2
0x805304d
0x805382f
0x8052a7d
161
0xfeef25b5
0xfeebb91c
0xfeec00b0
0x80554f2
0x805304d
0x805382f
0x8052a7d
161
}}}
* show top process and syscall
{{{
dtrace -n 'syscall:::entry { @num[execname,probefunc] = count(); }'
root@solaris:/home/oracle# dtrace -n 'syscall:::entry { @num[execname,probefunc] = count(); }'
dtrace: description 'syscall:::entry ' matched 233 probes
^C
dtrace fstat 1
dtrace lwp_sigmask 1
dtrace mmap 1
dtrace schedctl 1
dtrace setcontext 1
dtrace sigpending 1
dtrace write 1
fmd pollsys 1
gnome-power-mana clock_gettime 1
gnome-power-mana write 1
inetd lwp_park 1
netcfgd lwp_park 1
ntpd getpid 1
ntpd pollsys 1
nwam-manager ioctl 1
nwam-manager pollsys 1
sendmail pollsys 1
ssh-agent getpid 1
ssh-agent pollsys 1
top pollsys 1
top sysconfig 1
top write 1
xscreensaver write 1
VBoxService ioctl 2
VBoxService lwp_park 2
devfsadm gtime 2
devfsadm lwp_park 2
dhcpagent pollsys 2
gnome-power-mana ioctl 2
gnome-power-mana read 2
gnome-terminal fcntl 2
rad lwp_park 2
sendmail lwp_sigmask 2
ssh-agent gtime 2
sshd read 2
sshd write 2
top close 2
top getdents 2
top getuid 2
top lseek 2
top uadmin 2
top zone 2
xscreensaver gtime 2
xscreensaver ioctl 2
xscreensaver read 2
Xorg writev 3
dtrace sysconfig 3
gnome-power-mana pollsys 3
sendmail pset 3
xscreensaver pollsys 3
dhcpagent lwp_sigmask 4
dtrace sigaction 4
sendmail gtime 4
sshd pollsys 4
top open 4
dtrace lwp_park 5
ntpd setcontext 5
ntpd sigsuspend 5
updatemanagernot ioctl 5
dtrace brk 6
top ioctl 6
updatemanagernot pollsys 6
sshd lwp_sigmask 8
VBoxService nanosleep 10
mixer_applet2 ioctl 10
mixer_applet2 lwp_park 10
Xorg pollsys 12
ntpd lwp_sigmask 15
java ioctl 18
top gtime 20
Xorg setitimer 24
Xorg read 25
Xorg clock_gettime 48
bash fcntl 66
bash pipe 66
bash write 66
expr getpid 66
expr getrlimit 66
expr ioctl 66
expr rexit 66
expr sysi86 66
expr systeminfo 66
expr write 66
md5sum getpid 66
md5sum getrlimit 66
md5sum ioctl 66
md5sum llseek 66
md5sum open64 66
md5sum rexit 66
md5sum sysi86 66
md5sum systeminfo 66
md5sum write 66
bash brk 67
java pollsys 92
top fstat 110
bash exece 132
bash forksys 132
bash lwp_self 132
bash schedctl 132
expr fstat64 132
expr setcontext 132
expr sysconfig 132
md5sum setcontext 132
md5sum sysconfig 132
bash setcontext 137
gnome-terminal clock_gettime 140
bash read 182
java lwp_cond_signal 198
md5sum mmapobj 198
bash waitsys 203
top pread 214
dtrace p_online 256
bash getpid 264
bash stat64 264
expr brk 264
expr mmapobj 264
md5sum fstat64 264
md5sum open 264
gnome-terminal write 274
java lwp_cond_wait 302
gnome-terminal ioctl 316
gnome-terminal pollsys 317
gnome-terminal read 322
expr open 330
md5sum memcntl 330
md5sum resolvepath 330
md5sum stat64 330
bash close 396
expr close 396
expr memcntl 396
md5sum brk 396
md5sum close 396
expr mmap 462
expr resolvepath 462
md5sum mmap 462
gnome-terminal lseek 497
expr stat64 528
dtrace ioctl 1299
bash sigaction 1452
bash lwp_sigmask 1523
md5sum read 10669
root@solaris:/home/oracle#
}}}
* Tanel has this script called ''dstackprof'' that you can use for a session, here you will notice on the samples that it's mostly doing a loop and read
{{{
root@solaris:/home/oracle# sh dstackprof.sh 19296
DStackProf v1.02 by Tanel Poder ( http://www.tanelpoder.com )
Sampling pid 19296 for 5 seconds with stack depth of 100 frames...
10 samples with stack below
__________________
libc.so.1`__close
bash`command_substitute
bash`0x80a08ba
bash`0x8097666
bash`expand_string_assignment
bash`0x8097378
bash`0x8096b7a
bash`do_word_assignment
bash`0x80a210d
bash`expand_words
bash`0x80813d5
bash`execute_command_internal
bash`0x807f031
bash`execute_command_internal
bash`execute_command
bash`0x807eff2
bash`execute_command_internal
bash`execute_command
bash`0x8080700
bash`0x8080634
bash`execute_command_internal
bash`execute_command
bash`reader_loop
bash`main
bash`_start
10 samples with stack below
__________________
libc.so.1`__sigaction
bash`set_signal_handler
bash`0x808f250
bash`wait_for
bash`command_substitute
bash`0x80a08ba
bash`0x8097666
bash`expand_string_assignment
bash`0x8097378
bash`0x8096b7a
bash`do_word_assignment
bash`0x80a210d
bash`expand_words
bash`0x80813d5
bash`execute_command_internal
bash`0x807f031
bash`execute_command_internal
bash`execute_command
bash`0x807eff2
bash`execute_command_internal
bash`execute_command
bash`0x8080700
bash`0x8080634
bash`execute_command_internal
bash`execute_command
bash`reader_loop
bash`main
bash`_start
10 samples with stack below
__________________
libc.so.1`__waitid
libc.so.1`waitpid
bash`0x80905f7
bash`0x8090554
libc.so.1`__sighndlr
libc.so.1`call_user_handler
libc.so.1`sigacthandler
libc.so.1`__read
bash`zread
bash`0x809a281
bash`command_substitute
bash`0x80a08ba
bash`0x8097666
bash`expand_string_assignment
bash`0x8097378
bash`0x8096b7a
bash`do_word_assignment
bash`0x80a210d
bash`expand_words
bash`0x80813d5
bash`execute_command_internal
bash`0x807f031
bash`execute_command_internal
bash`execute_command
bash`0x807eff2
bash`execute_command_internal
bash`execute_command
bash`0x8080700
bash`0x8080634
bash`execute_command_internal
bash`execute_command
bash`reader_loop
bash`main
bash`_start
10 samples with stack below
__________________
libc.so.1`__write
libc.so.1`_xflsbuf
libc.so.1`_flsbuf
libc.so.1`putc
libc.so.1`putchar
bash`echo_builtin
bash`0x8081dbf
bash`0x80827f0
bash`0x808192d
bash`execute_command_internal
bash`0x807f031
bash`execute_command_internal
bash`execute_command
bash`0x8080700
bash`0x8080634
bash`execute_command_internal
bash`execute_command
bash`reader_loop
bash`main
bash`_start
10 samples with stack below
__________________
libc.so.1`lmutex_lock
libc.so.1`continue_fork
libc.so.1`forkx
libc.so.1`fork
bash`make_child
bash`command_substitute
bash`0x80a08ba
bash`0x8097666
bash`expand_string_assignment
bash`0x8097378
bash`0x8096b7a
bash`do_word_assignment
bash`0x80a210d
bash`expand_words
bash`0x80813d5
bash`execute_command_internal
bash`0x807f031
bash`execute_command_internal
bash`execute_command
bash`0x807eff2
bash`execute_command_internal
bash`execute_command
bash`0x8080700
bash`0x8080634
bash`execute_command_internal
bash`execute_command
bash`reader_loop
bash`main
bash`_start
10 samples with stack below
__________________
libc.so.1`mutex_unlock
libc.so.1`stdio_unlocks
libc.so.1`libc_parent_atfork
libc.so.1`_postfork_parent_handler
libc.so.1`forkx
libc.so.1`fork
bash`make_child
bash`command_substitute
bash`0x80a08ba
bash`0x8097666
bash`expand_string_assignment
bash`0x8097378
bash`0x8096b7a
bash`do_word_assignment
bash`0x80a210d
bash`expand_words
bash`0x80813d5
bash`execute_command_internal
bash`0x807f031
bash`execute_command_internal
bash`execute_command
bash`0x807eff2
bash`execute_command_internal
bash`execute_command
bash`0x8080700
bash`0x8080634
bash`execute_command_internal
bash`execute_command
bash`reader_loop
bash`main
bash`_start
10 samples with stack below
__________________
libc.so.1`syscall
libc.so.1`thr_sigsetmask
libc.so.1`sigprocmask
bash`0x8092043
bash`reap_dead_jobs
bash`0x80806aa
bash`0x8080634
bash`execute_command_internal
bash`execute_command
bash`reader_loop
bash`main
bash`_start
10 samples with stack below
__________________
libc.so.1`syscall
libc.so.1`thr_sigsetmask
libc.so.1`sigprocmask
bash`stop_pipeline
bash`execute_command_internal
bash`execute_command
bash`0x807eff2
bash`execute_command_internal
bash`execute_command
bash`0x807eff2
bash`execute_command_internal
bash`execute_command
bash`0x8080700
bash`0x8080634
bash`execute_command_internal
bash`execute_command
bash`reader_loop
bash`main
bash`_start
10 samples with stack below
__________________
libc.so.1`syscall
libc.so.1`thr_sigsetmask
libc.so.1`sigprocmask
bash`wait_for
bash`execute_command_internal
bash`execute_command
bash`0x807eff2
bash`execute_command_internal
bash`execute_command
bash`0x807eff2
bash`execute_command_internal
bash`execute_command
bash`0x8080700
bash`0x8080634
bash`execute_command_internal
bash`execute_command
bash`reader_loop
bash`main
bash`_start
10 samples with stack below
__________________
unix`do_splx
genunix`disp_lock_exit
genunix`post_syscall
genunix`syscall_exit
unix`0xfffffffffb800ea9
10 samples with stack below
__________________
unix`splr
genunix`thread_lock
genunix`post_syscall
genunix`syscall_exit
unix`0xfffffffffb800ea9
10 samples with stack below
__________________
unix`splr
unix`lock_set_spl
genunix`disp_lock_enter
unix`disp
unix`swtch
unix`preempt
genunix`post_syscall
genunix`syscall_exit
unix`0xfffffffffb800ea9
10 samples with stack below
__________________
unix`tsc_read
genunix`gethrtime_unscaled
genunix`new_mstate
genunix`stop
genunix`pre_syscall
genunix`syscall_entry
unix`sys_syscall32
10 samples with stack below
__________________
unix`tsc_read
genunix`gethrtime_unscaled
unix`swtch
genunix`stop
genunix`pre_syscall
genunix`syscall_entry
unix`sys_syscall32
10 samples with stack below
__________________
unix`tsc_read
genunix`gethrtime
genunix`getproc
genunix`cfork
genunix`forksys
unix`sys_syscall32
11 samples with stack below
__________________
libc.so.1`lmutex_lock
libc.so.1`continue_fork
libc.so.1`forkx
libc.so.1`fork
bash`make_child
bash`0x8082a19
bash`0x8081a81
bash`execute_command_internal
bash`execute_command
bash`0x807eff2
bash`execute_command_internal
bash`execute_command
bash`0x807eff2
bash`execute_command_internal
bash`execute_command
bash`0x8080700
bash`0x8080634
bash`execute_command_internal
bash`execute_command
bash`reader_loop
bash`main
bash`_start
11 samples with stack below
__________________
unix`hat_kpm_page2va
unix`ppcopy
genunix`anon_private
genunix`segvn_faultpage
genunix`segvn_fault
genunix`as_fault
unix`pagefault
unix`trap
unix`0xfffffffffb8001d6
20 samples with stack below
__________________
unix`tsc_read
genunix`gethrtime_unscaled
unix`page_get_freelist
unix`page_create_va
genunix`swap_getapage
genunix`swap_getpage
genunix`fop_getpage
genunix`anon_private
genunix`segvn_faultpage
genunix`segvn_fault
genunix`as_fault
unix`pagefault
unix`trap
unix`0xfffffffffb8001d6
40 samples with stack below
__________________
unix`tsc_read
genunix`gethrtime_unscaled
genunix`syscall_mstate
unix`0xfffffffffb800eb8
50 samples with stack below
__________________
libc.so.1`__forkx
libc.so.1`fork
bash`make_child
bash`command_substitute
bash`0x80a08ba
bash`0x8097666
bash`expand_string_assignment
bash`0x8097378
bash`0x8096b7a
bash`do_word_assignment
bash`0x80a210d
bash`expand_words
bash`0x80813d5
bash`execute_command_internal
bash`0x807f031
bash`execute_command_internal
bash`execute_command
bash`0x807eff2
bash`execute_command_internal
bash`execute_command
bash`0x8080700
bash`0x8080634
bash`execute_command_internal
bash`execute_command
bash`reader_loop
bash`main
bash`_start
302 Total samples captured
}}}
* show the open file for the process 19296
{{{
root@solaris:/home/oracle# pfiles 19296
19296: sh md5.sh
Current rlimit: 256 file descriptors
0: S_IFCHR mode:0620 dev:551,0 ino:444541655 uid:54321 gid:7 rdev:243,1
O_RDWR
/dev/pts/1
offset:2823322
1: S_IFCHR mode:0620 dev:551,0 ino:444541655 uid:54321 gid:7 rdev:243,1
O_RDWR
/dev/pts/1
offset:2823322
2: S_IFCHR mode:0620 dev:551,0 ino:444541655 uid:54321 gid:7 rdev:243,1
O_RDWR
/dev/pts/1
offset:2823322
255: S_IFREG mode:0755 dev:174,65544 ino:204 uid:0 gid:0 size:100
O_RDONLY|O_LARGEFILE FD_CLOEXEC
/home/oracle/md5.sh
offset:100
}}}
http://www.solarisinternals.com/wiki/index.php/CPU/Processor
http://blog.tanelpoder.com/2008/09/02/oracle-hidden-costs-revealed-part2-using-dtrace-to-find-why-writes-in-system-tablespace-are-slower-than-in-others/
{{{
* Data Guard Protection Modes
short and sweet: http://jarneil.wordpress.com/2007/10/25/dataguard-protection-levels/
8i, 9i, 10g: http://www.oracle.com/technology/deploy/availability/htdocs/DataGuardRedoShipping.htm
* Data Guard Mind Map
http://jarneil.wordpress.com/2008/10/12/the-dataguard-mind-map/
11g
DEPRECATED:
- no more standby_archive_dest
----------------------------------------------------------------------------------------
10g
Log Transport Services
- the default is ARCn
- can only be ARCn SYNC (default)
- for Log Writer Process (LGWR) ... the defaul is LGWR SYNC, could also be LGWR ASYNC (see REAL-TIME APPLY)
- If using LGWR, In 10.1 the LGWR sends data to small buffer in the SGA and LNS transports it to the standby site
- If using LGWR, In 10.2 the LGWR LNS background process reads directly from the redo log and transports the redo to the standby site
- You can change between asynchronous and synchronous log transportation dynamically. However, any changes to the configuration parameters will not take effect until the next log switch operation on the primary database
- default for VALID_FOR (start 10.1) attribute format is VALID_FOR=(redo_log_type,database_role) for role transition... default is (ALL_LOGFILES,ALL_ROLES)
- default for LOG_ARCHIVE_CONFIG.. SEND RECEIVE
- REOPEN.. the default is 300
- LOG_ARCHIVE_DEST_n... the default is OPTIONAL
- AFFIRM (for SYNC only).. the default is NOAFFIRM
- REAL-TIME APPLY, In Oracle 10.1 and above, you can configure the standby database to be updated synchronously, as redo is written to the standby redo log
To activate (using LGWR ASYNC on Maximum Performance): alter database recover managed standby database using current logfile disconnect;
- STANDBY REDO LOGS, Doc ID 219344.1 Usage, Benefits and Limitations of Standby Redo Logs (SRL)
DIFFERENCE IN THE LOG APPLY SERVICES WHEN USING STANDBY REDO LOGS
In case you do not have Standby Redo Logs, an Archived Redo Log is created
by the RFS process and when it has completed, this Archived Redo Log is applied
to the Standby Database by the MRP (Managed Recovery Process) or the Logical
Apply in Oracle 10g when using Logical Standby. An open (not fully written)
ArchiveLog file cannot be applied on the Standby Database and will not be used
in a Failover situation. This causes a certain data loss.
If you have Standby Redo Logs, the RFS process will write into the Standby Redo
Log as mentioned above and when a log switch occurs, the Archiver Process of the
Standby Database will archive this Standby Redo Log to an Archived Redo Log,
while the MRP process applies the information to the Standby Database. In a
Failover situation, you will also have access to the information already
written in the Standby Redo Logs, so the information will not be lost.
Starting with Oracle 10g you have also the Option to use Real-Time Apply with
Physical and Logical Standby Apply. When using Real-Time Apply we directly apply
Redo Data from Standby RedoLogs. Real-Time Apply is also not able to apply Redo
from partial filled ArchiveLogs if there are no Standby RedoLogs. So Standby
RedoLogs are mandatory for Real-Time Apply.
- DB_UNIQUE_NAME, In 10.1
- LOG_ARCHIVE_CONFIG, In 10.1
DEPRECATED:
- no more LOG_ARCHIVE_START
- no more REMOTE_ARCHIVE_ENABLE, conflicts with LOG_ARCHIVE_CONFIG..
----------------------------------------------------------------------------------------
9i
- SWITCHOVER, In Oracle 9.0.1 and above, you can perform a switchover operation such that the primary database becomes a new standby database, and the old standby database becomes the new primary database. A successful switchover operation
should never result in any data loss, irrespective of the physical standby configuration.
- LGWR PROCESS, In 9.0.1 above, LGWR can also transport redo to standby database
- STANDBY REDO LOGS, In 9.0.1 above, standby redo logs can be created. Requires LGWR.
Doc ID 150584.1 Data Guard 9i Setup with Guaranteed Protection Mode
----------------------------------------------------------------------------------------
8i
- READ ONLY MODE, In Oracle 8.1.5 and above, you can cancel managed recovery on the standby database and open the database in read-only mode for reporting purposes
----------------------------------------------------------------------------------------
7.3
- FAILOVER, Since Oracle 7.3, performing a failover operation from the primary database to the standby database has been possible. A failover operation may result in data loss,
depending on the configuration of the log archive destinations on the primary database.
}}}
Presentation “Minimal Downtime Oracle 11g Upgrade” at DOAG Conference 2010
http://goo.gl/ZTQVD
''The netem Commands''
examples below demonstrates a 10Mbps network transferring a file to another server.. theoretically you have 1.25MB/s.. if you want to play around different WAN config here's the list http://en.wikipedia.org/wiki/List_of_device_bandwidths#Wide_area_networks, see the stats of my tests below:
tc qdisc show <-- to show
tc qdisc add dev eth0 root handle 1: tbf rate 10000kbit burst 10000kbit latency 10ms <-- to set bandwidth
tc qdisc add dev eth0 parent 1: handle 10: netem delay 10ms <-- to set delay
tc qdisc change dev eth0 parent 1: handle 10: netem delay 100ms <-- to change delay
tc qdisc del dev eth0 root <-- to remove
-- no tweaks
{{{
[oracle@dg10g2 flash_recovery_area]$ du -sm dg10g.tar
192 dg10g.tar
[oracle@dg10g2 flash_recovery_area]$
[oracle@dg10g2 flash_recovery_area]$
[oracle@dg10g2 flash_recovery_area]$ scp dg10g.tar oracle@192.168.203.41:/u02/flash_recovery_area/
The authenticity of host '192.168.203.41 (192.168.203.41)' can't be established.
RSA key fingerprint is f2:ed:e1:43:a6:62:ee:b1:d0:70:39:cc:28:fb:9d:e8.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.203.41' (RSA) to the list of known hosts.
oracle@192.168.203.41's password:
dg10g.tar 100% 192MB 27.4MB/s 00:07
[oracle@dg10g2 flash_recovery_area]$
[oracle@dg10g2 flash_recovery_area]$ ping 192.168.203.41
PING 192.168.203.41 (192.168.203.41) 56(84) bytes of data.
64 bytes from 192.168.203.41: icmp_seq=0 ttl=64 time=1.23 ms
64 bytes from 192.168.203.41: icmp_seq=1 ttl=64 time=0.198 ms
64 bytes from 192.168.203.41: icmp_seq=2 ttl=64 time=1.22 ms
64 bytes from 192.168.203.41: icmp_seq=3 ttl=64 time=0.311 ms
64 bytes from 192.168.203.41: icmp_seq=4 ttl=64 time=1.97 ms
--- 192.168.203.41 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4002ms
rtt min/avg/max/mdev = 0.198/0.989/1.977/0.660 ms, pipe 2
}}}
-- configured with 156.25 KB/s with 100ms latancy (too slow so I cancelled it)
tc qdisc add dev eth0 root handle 1: tbf rate 1250kbit burst 1250kbit latency 10ms
{{{
[oracle@dg10g1 flash_recovery_area]$ ls -ltr
drwxr-xr-x 5 oracle oinstall 4096 Oct 20 09:37 dg10g
-rw-r--r-- 1 oracle oinstall 207912960 Oct 21 11:45 flash_recovery_area.tar
[oracle@dg10g1 flash_recovery_area]$ date
Thu Oct 21 11:48:53 PHT 2010
[oracle@dg10g1 flash_recovery_area]$ scp flash_recovery_area.tar oracle@192.168.203.40:/u02/flash_recovery_area/
oracle@192.168.203.40's password:
flash_recovery_area.tar 65% 129MB 145.7KB/s 08:07 ETAKilled by signal 2.
[oracle@dg10g1 flash_recovery_area]$
[oracle@dg10g1 flash_recovery_area]$
[oracle@dg10g1 flash_recovery_area]$
[oracle@dg10g1 flash_recovery_area]$ ls
dg10g flash_recovery_area.tar
[oracle@dg10g1 flash_recovery_area]$ date
Thu Oct 21 12:04:23 PHT 2010
}}}
-- configured with 10MB/s with 100ms latancy
tc qdisc change dev eth0 root handle 1: tbf rate 10000kbit burst 10000kbit latency 10ms
[root@dg10g1 ~]# tc qdisc show
qdisc tbf 1: dev eth0 rate 10Mbit burst 1250Kb lat 9.8ms
qdisc netem 10: dev eth0 parent 1: limit 1000 delay 100.0ms
{{{
[oracle@dg10g1 flash_recovery_area]$ ping 192.168.203.40
PING 192.168.203.40 (192.168.203.40) 56(84) bytes of data.
64 bytes from 192.168.203.40: icmp_seq=0 ttl=64 time=201 ms
64 bytes from 192.168.203.40: icmp_seq=1 ttl=64 time=101 ms
64 bytes from 192.168.203.40: icmp_seq=2 ttl=64 time=100 ms
64 bytes from 192.168.203.40: icmp_seq=3 ttl=64 time=100 ms
64 bytes from 192.168.203.40: icmp_seq=4 ttl=64 time=100 ms
--- 192.168.203.40 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4003ms
rtt min/avg/max/mdev = 100.480/120.839/201.008/40.085 ms, pipe 2
[oracle@dg10g1 flash_recovery_area]$ date
Thu Oct 21 12:14:12 PHT 2010
[oracle@dg10g1 flash_recovery_area]$ scp flash_recovery_area.tar oracle@192.168.203.40:/u02/flash_recovery_area/
oracle@192.168.203.40's password:
flash_recovery_area.tar 100% 198MB 620.9KB/s 05:27
[oracle@dg10g1 flash_recovery_area]$ date
Thu Oct 21 12:20:58 PHT 2010
}}}
-- configured with 10MB/s with 10ms latency
tc qdisc change dev eth0 parent 1: handle 10: netem delay 10ms
[root@dg10g1 ~]# tc qdisc show
qdisc tbf 1: dev eth0 rate 10Mbit burst 1250Kb lat 9.8ms
qdisc netem 10: dev eth0 parent 1: limit 1000 delay 10.0ms
{{{
[oracle@dg10g1 flash_recovery_area]$ ping 192.168.203.40
PING 192.168.203.40 (192.168.203.40) 56(84) bytes of data.
64 bytes from 192.168.203.40: icmp_seq=0 ttl=64 time=20.4 ms
64 bytes from 192.168.203.40: icmp_seq=1 ttl=64 time=9.58 ms
64 bytes from 192.168.203.40: icmp_seq=2 ttl=64 time=10.1 ms
64 bytes from 192.168.203.40: icmp_seq=3 ttl=64 time=10.1 ms
64 bytes from 192.168.203.40: icmp_seq=4 ttl=64 time=10.1 ms
--- 192.168.203.40 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4004ms
rtt min/avg/max/mdev = 9.586/12.093/20.428/4.174 ms, pipe 2
[oracle@dg10g1 flash_recovery_area]$
[oracle@dg10g1 flash_recovery_area]$ date ; scp flash_recovery_area.tar oracle@192.168.203.40:/u02/flash_recovery_area/ ; date
Thu Oct 21 12:26:22 PHT 2010
oracle@192.168.203.40's password:
flash_recovery_area.tar 100% 198MB 1.2MB/s 02:53
Thu Oct 21 12:29:19 PHT 2010
}}}
-- configured with 10MB/s with 1ms latency
tc qdisc change dev eth0 parent 1: handle 10: netem delay 1ms
[root@dg10g1 ~]# tc qdisc show
qdisc tbf 1: dev eth0 rate 10Mbit burst 1250Kb lat 9.8ms
qdisc netem 10: dev eth0 parent 1: limit 1000 delay 999us
{{{
[root@dg10g1 ~]# ping 192.168.203.40
PING 192.168.203.40 (192.168.203.40) 56(84) bytes of data.
64 bytes from 192.168.203.40: icmp_seq=0 ttl=64 time=1.06 ms
64 bytes from 192.168.203.40: icmp_seq=1 ttl=64 time=1.20 ms
64 bytes from 192.168.203.40: icmp_seq=2 ttl=64 time=1.16 ms
64 bytes from 192.168.203.40: icmp_seq=3 ttl=64 time=1.71 ms
64 bytes from 192.168.203.40: icmp_seq=4 ttl=64 time=1.15 ms
64 bytes from 192.168.203.40: icmp_seq=5 ttl=64 time=1.55 ms
64 bytes from 192.168.203.40: icmp_seq=6 ttl=64 time=1.17 ms
64 bytes from 192.168.203.40: icmp_seq=7 ttl=64 time=1.37 ms
64 bytes from 192.168.203.40: icmp_seq=8 ttl=64 time=1.15 ms
[oracle@dg10g1 flash_recovery_area]$ date ; scp flash_recovery_area.tar oracle@192.168.203.40:/u02/flash_recovery_area/ ; date
Thu Oct 21 12:35:04 PHT 2010
oracle@192.168.203.40's password:
flash_recovery_area.tar 100% 198MB 1.2MB/s 02:53
Thu Oct 21 12:38:00 PHT 2010
}}}
-- configured with 10MB/s with 1ms latency (including main)
tc qdisc change dev eth0 root handle 1: tbf rate 10000kbit burst 10000kbit latency 1ms
[root@dg10g1 ~]# tc qdisc show
qdisc tbf 1: dev eth0 rate 10Mbit burst 1250Kb lat 978us
qdisc netem 10: dev eth0 parent 1: limit 1000 delay 999us
{{{
[root@dg10g1 ~]# ping 192.168.203.40
PING 192.168.203.40 (192.168.203.40) 56(84) bytes of data.
64 bytes from 192.168.203.40: icmp_seq=0 ttl=64 time=1.05 ms
64 bytes from 192.168.203.40: icmp_seq=1 ttl=64 time=2.22 ms
64 bytes from 192.168.203.40: icmp_seq=2 ttl=64 time=1.14 ms
64 bytes from 192.168.203.40: icmp_seq=3 ttl=64 time=1.23 ms
64 bytes from 192.168.203.40: icmp_seq=4 ttl=64 time=2.46 ms
64 bytes from 192.168.203.40: icmp_seq=5 ttl=64 time=1.76 ms
64 bytes from 192.168.203.40: icmp_seq=6 ttl=64 time=2.81 ms
64 bytes from 192.168.203.40: icmp_seq=7 ttl=64 time=2.98 ms
64 bytes from 192.168.203.40: icmp_seq=8 ttl=64 time=2.98 ms
[oracle@dg10g1 flash_recovery_area]$ date ; scp flash_recovery_area.tar oracle@192.168.203.40:/u02/flash_recovery_area/ ; date
Thu Oct 21 12:40:21 PHT 2010
oracle@192.168.203.40's password:
flash_recovery_area.tar 100% 198MB 1.2MB/s 02:53
Thu Oct 21 12:43:16 PHT 2010
}}}
References:
http://www.linuxfoundation.org/collaborate/workgroups/networking/netem
http://fedoraforum.org/forum/showthread.php?t=243272
http://henrydu.com/blog/how-to/simulate-a-slow-link-by-linux-bridge-123.html
http://mywiki.ncsa.uiuc.edu/wiki/Tips_and_Tricks#How_to_Simulate_a_Slow_Network
Peoplesoft MAA
https://docs.google.com/viewer?url=http://www.oracle.com/technetwork/database/features/availability/maa-peoplesoft-bestpractices-134154.pdf
Data Guard Implications of NOLOGGING operations from PeopleTools 8.48
http://blog.psftdba.com/2007/06/stuff-changes.html
PeopleSoft for the Oracle DBA
https://docs.google.com/viewer?url=http://www.atloaug.org/presentations/PeopleSoftDBARiley200504.ppt&pli=1
Reducing PeopleSoft Downtime Using a Local Standby Database
https://docs.google.com/viewer?url=http://www.oracle.com/technetwork/database/features/availability/maa-peoplesoft-local-standby-128609.pdf
Batch Processing in Disaster Recovery Configurations
https://docs.google.com/viewer?url=http://www.hitachi.co.jp/Prod/comp/soft1/oracle/pdf/OBtecinfo-08-008.pdf <-- uses netem's (iproute rpm) Token Bucket Filter (TBF) to limit output
A whitepaper on workload based performance management for PeopleSoft and DB2 on z/OS
https://docs.google.com/viewer?url=http://www.hewittandlarsen.com/_documents/WLM/WLM%2520for%2520PS.pdf
Securing Sensitive Data in PeopleSoft Applications
https://docs.google.com/viewer?url=http://www.ingrian.com/resources/sol_briefs/peoplesoft-sb.pdf
My PeopleSoft Disaster Recovery Adventure
http://www.erpassociates.com/peoplesoft-corner-weblog/peoplesoft/my-peoplesoft-disaster-recovery-adventure.html
Excessive redo
http://tech.groups.yahoo.com/group/psftdba/message/4030
http://tech.groups.yahoo.com/group/psftdba/message/4273
http://gasparotto.blogspot.com/2010/06/goldengate-database-for-peoplesoft.html
http://www.freelists.org/post/oracle-l/PeopleSoft-and-Logical-Standby
http://www.pythian.com/news/17127/redo-transport-compression/
http://el-caro.blogspot.com/2006/11/archivelog-compression.html
http://download.oracle.com/docs/cd/B14099_19/core.1012/b14003/sshpinfo.htm <--
http://www.oracle.com/technetwork/database/features/availability/dataguardnetwork-092224.html
http://jarneil.wordpress.com/2007/11/21/protecting-oracle-redo-transport/
Implementing SSH port forwarding with Data Guard Doc ID: Note:225633.1
http://sdt.sumida.com.cn:8080/cs/blogs/wicky/archive/2006/10/30/448.aspx
Redo compression
Redo Transport Compression in a Data Guard Environment [ID 729551.1]
Enabling Encryption for Data Guard Redo Transport [ID 749947.1]
MAA - Data Guard Redo Transport and Network Best Practices [ID 387174.1]
Oracle 10g R2 and 11g R1 Database Feature Support Summary [ID 778861.1]
Changing the network used by the Data Guard Broker for redo transport [ID 730361.1]
Oracle Data Guard and SSH [ID 751528.1] <-- the announcement
Troubleshooting 9i Data Guard Network Issues [ID 241925.1]
Manual Standby Database under Oracle Standard Edition
http://goo.gl/TvMO7
-- CERTIFICATION, PRE-REQ
Certification and Prerequisites for Oracle DataGuard
Doc ID: Note:234508.1
-- FAQ
Data Guard Knowledge Browser Product Page [ID 267955.1]
11gR1 Dataguard Content
Doc ID: 798974.1
10gR2 Dataguard Content
Doc ID: 739396.1
-- MIXED ENVIRONMENT
Data Guard Support for Heterogeneous Primary and Standby Systems in Same Data Guard Configuration
Doc ID: 413484.1
Role Transitions for Data Guard Configurations Using Mixed Oracle Binaries
Doc ID: 414043.1
http://www.freelists.org/post/oracle-l/Hetergenous-Dataguard
-- ARCHIVELOG MAINTENANCE
Maintenance Of Archivelogs On Standby Databases [ID 464668.1]
RMAN Best Practices - Log Maintenance, RMAN Configuration Best Practices Setup Backup Management Policies http://www.oracle.com/technetwork/database/features/availability/298772-132349.pdf
Configure RMAN to purge archivelogs after applied on standby [ID 728053.1]
http://martincarstenbach.wordpress.com/2009/10/08/archivelog-retention-policy-changes-in-rman-11g/
RMAN backups in Max Performance/Max Availability Data Guard Environment [ID 331924.1]
Configure RMAN to purge archivelogs after applied on standby [ID 728053.1]
-- MAINTENANCE
Using RMAN Effectively In A Dataguard Environment. [ID 848716.1]
-- RAC DATA GUARD
MAA - Creating a Single Instance Physical Standby for a RAC Primary [ID 387339.1]
MAA - Creating a RAC Physical Standby for a RAC Primary [ID 380449.1]
MAA - Creating a RAC Logical Standby for a RAC Primary 10gr2 [ID 387261.1]
Usage, Benefits and Limitations of Standby Redo Logs (SRL)
Doc ID: Note:219344.1
Setup and maintenance of Data Guard Broker using DGMGRL
Doc ID: Note:201669.1
9i Data Guard FAQ
Doc ID: Note:233509.1
Migrating to RAC using Data Guard
Doc ID: Note:273015.1
Data Guard 9i Creating a Logical Standby Database
Doc ID: Note:186150.1
Reinstating a Logical Standby Using Backups Instead of Flashback Database
Doc ID: Note:416314.1
WAITEVENT: "log file sync" Reference Note
Doc ID: Note:34592.1
Standby Redo Logs are not Created when Creating a 9i Data Guard DB with RMAN
Doc ID: Note:185076.1
Oracle10g: Data Guard Switchover and Failover Best Practices
Doc ID: Note:387266.1
Script to Collect Data Guard Physical Standby Diagnostic Information
Doc ID: Note:241438.1
Script to Collect Data Guard Primary Site Diagnostic Information
Doc ID: Note:241374.1
Creating a 9i Data Guard Database with RMAN (Recovery Manager)
Doc ID: Note:183570.1
Upgrading to 10g with a Physical Standby in Place
Doc ID: Note:278521.1
Script to Collect Data Guard Logical Standby Table Information
Doc ID: Note:269954.1
Comparitive Study between Oracle Streams and Oracle Data Guard
Doc ID: Note:300223.1
Creating a 10g Data Guard Physical Standby on Linux
Doc ID: Note:248382.1
9i Data Guard Primary Site and Network Configuration Best Practices
Doc ID: Note:240874.1
The Gains and Pains of Nologging Operations
Doc ID: Note:290161.1
How I make a standby database with Oracle Database Standard Edition
Doc ID: Note:432514.1
Data Guard Gap Detection and Resolution
Doc ID: Note:232649.1
Steps To Setup Replication Using Oracle Streams
Doc ID: Note:224255.1
How To Setup Schema Level Streams Replication
Doc ID: Note:301431.1
Installing and Using Standby Statspack in 11gR1
Doc ID: Note:454848.1
Recovering After Loss of Redo Logs
Doc ID: Note:392582.1
Hardware Assisted Resilient Data H.A.R.D
Doc ID: Note:227671.1
A Study of Non-Partitioned NOLOGGING DML/DDL on Primary/Standby Data Dictionary
Doc ID: Note:150694.1
Extracting Data from Redo Logs Is Not A Supported Interface
Doc ID: Note:97080.1
-- RMAN - create physical standby
Step By Step Guide To Create Physical Standby Database Using RMAN
Doc ID: Note:469493.1
Creating a Data Guard Database with RMAN (Recovery Manager) using Duplicate Command
Doc ID: Note:183570.1
Creating a Standby Database using RMAN (Recovery Manager)
Doc ID: Note:118409.1
Step By Step Guide To Create Physical Standby Database Using RMAN
Doc ID: Note:469493.1
Steps To Create Physical Standby Database
Doc ID: Note:736863.1
-- SWITCHOVER, FAILOVER
Oracle10g: Data Guard Switchover and Failover Best Practices
Doc ID: Note:387266.1
Are Virtual IPs required for Data Guard?
http://blog.trivadis.com/blogs/yannneuhaus/archive/2008/02/06/are-virtual-ips-required-for-data-guard.aspx
Steps to workaround issue described in Alert 308698.1
Doc ID: 368276.1
-- CASCADED STANDBY DATABASES
Cascaded Standby Databases
Doc ID: Note:409013.1
-- LOG APPLY
Applied Archived Logs Not Getting Updated on the Standby Database
Doc ID: Note:197032.1
-- RESIZE DATAFILE
Standby Database Behavior when a Datafile is Resized on the Primary Database
Doc ID: Note:123883.1
-- UPGRADE WITH DATA GUARD
Upgrading to 10g with a Physical Standby in Place
Doc ID: Note:278521.1
Upgrading to 10g with a Logical Standby in Place
Doc ID: Note:278108.1
Upgrading Oracle Applications 11i Database to 10g with Physical Standby in Place [ID 340859.1]
-- PATCH, PATCHSET
187242 "patch or patch set" to a dataguard systems
Applying Patchset with a 10g Physical Standby in Place (Doc ID 278641.1)
-- NETWORK PERFORMANCE
Network Bandwidth Implications of Oracle Data Guard
http://www.oracle.com/technology/deploy/availability/htdocs/dataguardnetwork.htm
High ARCH wait on SENDREQ wait events found in statspack report.
Doc ID: Note:418709.1
Refining Remote Archival Over a Slow Network with the ARCH Process
Doc ID: Note:260040.1
Troubleshooting 9i Data Guard Network Issues
Doc ID: Note:241925.1
-- REDO TRANSPORT
Redo Corruption Errors During Redo Transport
Doc ID: 386417.1
-- LOGICAL STANDBY
Creating a Logical Standby with Minimal Production Downtime
Doc ID: 278371.1
-- CLONE PHYSICAL STANDBY, RMAN PHYSICAL STANDBY
How I Created a Test Database with the RMAN Backup of the Physical Standby Database
Doc ID: 428014.1
How to create a non ASM physical standby from an ASM primary [ID 790327.1]
-- DUPLICATE
Creating a Data Guard Database with RMAN (Recovery Manager) using Duplicate Command [ID 183570.1]
-- MINIMAL DOWNTIME
How I Create a Physical Standby Database for a 24/7 Shop
Doc ID: 580004.1
-- STARTUP
Data Guard 9i Data Guard Remote Process Startup Failed
Doc ID: Note:204848.1
-- DATA GUARD 8i
Data Guard 8i Setting up SSH using SSH-AGENT
Doc ID: Note:136377.1
How to Create a Oracle 8i Standby Database
Doc ID: Note:70233.1
Data Guard 8i Setup and Implementation
Doc ID: Note:132991.1
-- CREATE DATA GUARD CONFIGURATION
Creating a configuration using Data Guard Manager
Doc ID: Note:214071.1
Creating a Data Guard Configuration
Doc ID: Note:180031.1
Creating a Standby Database on a new host [ID 374069.1]
-- ROLLING FORWARD
Rolling a Standby Forward using an RMAN Incremental Backup in 10g
Doc ID: 290814.1
How To Calculate The Required Network Bandwidth Transfer Of Archivelogs In Dataguard Environments
Required bandwidth = ((Redo rate bytes per sec. / 0.7) * 8) / 1,000,000 = bandwidth in Mbps
Note that if your primary database is a RAC database, you must run the Statspack snapshot on every RAC instance. Then, for each Statspack snapshot, sum the "Redo Size Per Second" value of each instance, to obtain the net peak redo generation rate for the primary database. Remember that for
a RAC primary database, each node generates its own redo and independently sends that redo to the standby database - hence the reason to sum up the redo rates for each RAC node, to obtain the net peak redo rate for the database.
Doc ID: 736755.1
Creating physical standby using RMAN duplicate without shutting down the primary
Doc ID: 789370.1
Effect of changing DBID using NID of Primary database when Physical standby in place - ORA-16012
Doc ID: 829095.1
Note 219344.1 - Usage, Benefits and Limitations of Standby Redo Logs (SRL)
TRANSPORT: Data Guard Protection Modes
Doc ID: 239100.1
Will a Standby Database in Read Only Mode Apply Archived Log Files?
Doc ID: 136830.1
Note 330103.1 Ext/Mod How to Move Asm Database Files From one Diskgroup To Another
Moving Files Between Asm Disk Groups For Rac Primary/Standby Configuration
Doc ID: 601643.1
How to Rename a Datafile in Primary Database When in Dataguard Configuration
Doc ID: 733796.1
Hybrid Configurations using Data Guard and Remote-Mirroring
Doc ID: 804623.1
http://www.oracle.com/technology/deploy/availability/htdocs/DataGuardRemoteMirroring.html
http://www.oracle.com/technology/deploy/availability/htdocs/dataguardprotection.html
What is the Database_role in Previous Version Equivalency for 9.2.X And 10g V$Database view
Doc ID: 313130.1
Is using Transportable Tablespaces method supported in DataGuard?
Doc ID: 471293.1
How to transport a Tablespace to Databases in a Physical Standby Configuration
Doc ID: 467752.1
Note 343424.1 - Creating a 10gr2 Data Guard Physical Standby database with Real-Time apply
Note 388431.1 - Creating a Duplicate Database on a New Host.
Monitoring Physical Standby Progress
Doc ID: 243709.1
Redo Corruption Errors During Redo Transport
Doc ID: 386417.1
Certification and Prerequisites for Oracle DataGuard
Doc ID: 234508.1
Special Considerations About Physical Standby Databases
Doc ID: 236659.1
V$ARCHIVED_LOG.APPLIED is Not Consistent With Standby Progress
Doc ID: 263994.1
How to Use Standby Database in Read-Only Mode and Managed Recovery Mode at the Same Time
Doc ID: 177859.1
Redo Transport Compression in a Data Guard Environment
Doc ID: 729551.1
Data Guard and Network Disconnects
Doc ID: 255959.1
Oracle Data Guard and SSH
Doc ID: 751528.1
Developer and DBA Tips to Optimize SQL Apply
Doc ID: 603361.1
Broker and SQL*Plus
Doc ID: 744396.1
Refining Remote Archival Over a Slow Network with the ARCH Process
Doc ID: 260040.1
How To Open Physical Standby For Read Write Testing and Flashback
Doc ID: 805438.1
Exporting Transportable Tablespace Fails from a Read-only Standby Database
Doc ID: 252866.1
What Does Database in Limbo Mean When Seen in the Alert File?
Doc ID: 165676.1
Standby Database Has Datafile In Recover Status
Doc ID: 270043.1
Oracle Label Security Packages affect Data Guard usage of Switchover and connections to Primary Database
Doc ID: 265192.1
Rman Backups On Standby Having Impact On Dataguard Max_availability Mode
Doc ID: 259946.1
Dataguard-Automate Removal Of Archives Once Applied Against Physical Standby
Doc ID: 260874.1
Alter Database Create Datafile
Doc ID: 2103994.6
Is my Standby Database Working ?
Doc ID: 136776.1
-- ORA-1031, HEARTBEAT FAILED TO CONNECT TO STANDBY
Transport : Remote Archival to Standby Site Fails with ORA-01031
Doc ID: 353976.1
ORA-1031 for Remote Archive Destination on Primary
Doc ID: 733793.1
-- ORA-16191 -PRIMARY LOG SHIPPING CLIENT NOT LOGGED ON STANDBY
Changing SYS password of PRIMARY database when STANDBY in place to avoid ORA-16191
Doc ID: 806703.1
DATA GUARD TRANSPORT: ORA-01017 AND ORA-16191 WHEN SEC_CASE_SENSITIVE_LOGON=FALSE
Doc ID: 815664.1
DATA GURAD LOG SHIPPING FAILS WITH ERROR ORA-16191 IN 11G
Doc ID: 462219.1
-- ORA-1017 & ORA-2063, DATABASE LINK
Database Link from 10g to 11g fails with ORA-1017 & ORA-2063
Doc ID: 473716.1
ORA-1017 : Invalid Username/Password; Logon Denied. When Attempting to Change An Expired Password.
Doc ID: 742961.1
-- EBUSINESS SUITE R12
Case Study : Configuring Standby Database(Dataguard) on R12 using RMAN Hot Backup
Doc ID: 753241.1
-- REDO LOG REPOSITORY / PSEUDO STANDBY
Data Guard Archived Redo Log Repository Example
Doc ID: 434164.1
-- RMAN ON STANDBY
Our Experience in Creating a clone database from RMAN backup of a physical standby database without using a recovery catalog
Doc ID: 467525.1
-- FLASHBACK
How To Flashback Primary Database In Standby Configuration [ID 728374.1]
''From "Oracle Data Guard 11g Handbook"''
<<<
If, however, you have chosen Maximum Availability or Maximum Protection mode, then that
latency is going to have a big effect on your production throughput. Several calculations can be
used to determine latency, most of which try to include the latency introduced by the various
hardware devices at each end. But since the devices used in the industry all differ, it is difficult to
determine how long the network has to be to maintain a 1 millisecond (ms) RTT. A good rule of
thumb (in a perfect world) is that a 1 ms RTT is about 33 miles (or 53 km). This means that if you
want to keep your production impact down to the 4 percent range, you will need to keep the
latency down to 10ms, or 300 miles (in a perfect world, of course). You will have to examine, test,
and evaluate your network to see if it actually matches up to these numbers. Remember that
latency depends on the size of the packet, so don’t just ping with 56 bytes, because the redo you
are generating is a lot bigger than that..
<<<
''Rule Of Thumb... taken from "Oracle Data Guard 11g Handbook"''
<<<
1mile = 1.604km
normal "ping" command = 56bytes
In a perfect world ===> ''1ms (ping RTT) = 33miles = 53km (52.932km)''
If you want to keep the production impact to ''4%''...then keep the latency down to ''10ms or 300miles''
<<<
''Tests taken from "Oracle Data Guard 11g Handbook"'':""
<<<
Output from a ping going from Texas to New Hampshire (''about 1990 miles'') at night, when nothing else is going on using ''56 bytes'' and ''64,000 bytes''
''==> @56bytes ping''
ping -c 10 <hostname>
ping average = 49.122
= 1990/49.122
= ''1ms = 40miles''
''==> @64000bytes ping''
ping -c 10 -s 64000 <hostname>
ping average = 66.82
= 1990/66.82
= ''1ms = 29.7miles'' but in the book it is 27miles
The small packet is getting about 40 miles to the millisecond,
but the larger packet is getting around only 27 miles per millisecond. Still not bad and right around
our guess of about 33 miles to the millisecond. So given this network, you could potentially go
270 miles and keep it within the 4 percent range, depending on the redo generation rate and the
bandwidth, which are not shown here. Of course, you would want to use a more reliable and
detailed tool to determine your network latency—something like traceroute.
These examples are just that, examples. A lot of things affect your ability to ship redo across the
network. As we have shown, these include the overhead caused by network acknowledgments,
network latency, and other factors. All of these will be unique to your workload and need to
be tested.
<<<
For Batch jobs
“Batch Processing in Disaster Recovery Configurations - Best Practices for Oracle Data Guard” (http://goo.gl/hHhK)
State of the Art in Database Replication
https://docs.google.com/viewer?url=http://gorda.di.uminho.pt/library/wp1/GORDA-D1.1-V1.2-p.pdf
Improving Performance in Replicated Databases through Relaxed Coherency’
https://docs.google.com/viewer?url=http://reference.kfupm.edu.sa/content/i/m/improving_performance_in_replicated_data_60451.pdf
Re-engineering Your Database Using Oracle SQL Developer Data Modeler 3.0
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/sqldevdm/r30/updatedb/updatedb.htm
http://www.idevelopment.info/data/Oracle/DBA_tips/LOBs/
DDL commands for LOBs: http://www.idevelopment.info/data/Oracle/DBA_tips/LOBs/LOBS_2.shtml
-- LONG
How to overcome a few restrictions of LONG data type [ID 205288.1]
How to Copy Data from a Table with a LONG Column into an Existing Table [ID 119489.1]
http://www.orafaq.com/wiki/SQL*Plus_FAQ
http://wwww.orafaq.net/wiki/LONG_RAW
http://wwww.orafaq.net/wiki/LONG
http://arjudba.blogspot.com/2008/07/char-varchar2-long-etc-datatype-limits.html
http://arjudba.blogspot.com/2008/06/how-to-convert-long-data-type-to-lob.html
http://www.orafaq.com/forum/t/119648/0/
http://articles.techrepublic.com.com/5100-10878_11-6177742.html# <----- nice explanation
-- BLOB
Summary Note Index for BasicFiles(LOB's/BLOB's/CLOB's/NCLOB's,BFILES) and SecureFiles [ID 198160.1]
Export and Import of Table with LOB Columns (like CLOB and BLOB) has Slow Performance [ID 281461.1]
Troubleshooting Guide (TSG) - Large Objects (LOBs) [ID 846562.1]
LOBS - Storage, Redo and Performance Issues [ID 66431.1]
ORA-01555 And Other Errors while Exporting Table With LOBs, How To Detect Lob Corruption. [ID 452341.1]
LOBs and ORA-01555 troubleshooting [ID 846079.1]
How to determine the actual size of the LOB segments and how to free the deleted/unused space above/below the HWM [ID 386341.1]
How to move LOB Data to Another Tablespace [ID 130814.1]
Data Warehouse page
http://www.oracle.com/us/solutions/datawarehousing/index.html
Database focus areas
http://www.oracle.com/technetwork/database/focus-areas/index.html
Parallelism and Scalability for Data Warehousing
http://www.oracle.com/technetwork/database/focus-areas/bi-datawarehousing/dbbi-tech-info-sca-090608.html
DW and BI page - Oracle Database for Business Intelligence and Data Warehousing
http://www.oracle.com/technetwork/database/focus-areas/bi-datawarehousing/index.html
Data Warehousing - Best Practices page
http://www.oracle.com/technetwork/database/focus-areas/bi-datawarehousing/dbbi-tech-info-best-prac-092320.html
''Data Warehouse Best Practices''
<<<
http://blogs.oracle.com/datawarehousing/2010/05/data_warehouse_best_practices.html
http://structureddata.org/2011/06/15/real-world-performance-videos-on-youtube-oltp/ <-- VIDEO
http://structureddata.org/2011/06/15/real-world-performance-videos-on-youtube-data-warehousing/ <-- VIDEO
http://www.oracle.com/technology/products/bi/db/11g/dbbi_tech_info_best_prac.html
<<<
''Parallelism and Scalability for Data Warehousing''
<<<
http://www.oracle.com/technology/products/bi/db/11g/dbbi_tech_info_sca.html
<<<
''Whitepapers''
{{{
http://www.oracle.com/technology/products/bi/db/11g/pdf/twp_dw_best_practies_11g11_2008_09.pdf
http://www.oracle.com/technology/products/bi/db/11g/pdf/twp_bidw_parallel_execution_11gr1.pdf
}}}
Dion Cho
{{{
http://dioncho.wordpress.com/2009/01/23/misunderstanding-on-top-sqls-of-awr-repository/
http://dioncho.wordpress.com/2009/02/20/how-was-my-parallel-query-executed-last-night-awr/
http://dioncho.wordpress.com/2009/02/16/the-most-poweful-way-to-monitor-parallel-execution-vpq_tqstat/
http://dioncho.wordpress.com/2009/03/12/automating-tkprof-on-parallel-slaves/
Following is a small test case to demonstrate how Oracle captures the top SQLs.
-- create objects
create table parallel_t1(c1 int, c2 char(100));
insert into parallel_t1
select level, 'x'
from dual
connect by level <= 1000000
;
commit;
-- generate one parallel query
select /*+ parallel(parallel_t1 4) */ count(*) from parallel_t1;
or
-- generate many many TOP sqls. here we generate 100 top sqls which do full scan on table t1
set heading off
set timing off
set feedback off
spool select2.sql
select 'select /*+ top_sql_' || mod(level,100) || ' */ count(*) from parallel_t1;'
from dual
connect by level <= 10000;
spool off
ed select2
-- check the select2.sql
-- Now we capture the SQLs
exec dbms_workload_repository.create_snapshot;
@select2
exec dbms_workload_repository.create_snapshot;
-- AWR Report would show that more than 30 top sqls are captured
@?/rdbms/admin/awrrpt
}}}
Jonathan Lewis
{{{
http://jonathanlewis.wordpress.com/2010/01/03/pseudo-parallel/
http://jonathanlewis.wordpress.com/2008/11/05/px-buffer/
http://jonathanlewis.wordpress.com/2007/06/25/qb_name/
http://jonathanlewis.wordpress.com/2007/05/29/autoallocate-and-px/
http://jonathanlewis.wordpress.com/2007/03/14/how-parallel/
http://jonathanlewis.wordpress.com/2007/02/19/parallelism-and-cbo/
http://jonathanlewis.wordpress.com/2007/01/11/rescresp/
http://jonathanlewis.wordpress.com/2006/12/28/parallel-execution/
}}}
Doug
{{{
http://oracledoug.com/serendipity/index.php?/archives/774-Direct-Path-Reads.html
}}}
Greg Rahn
{{{
http://structureddata.org/category/oracle/parallel-execution/
}}}
Riyaj Shamsudeen
{{{
RAC, parallel query and udpsnoop
http://orainternals.wordpress.com/2009/06/20/rac-parallel-query-and-udpsnoop/
}}}
Sheeri Cabral
{{{
Data Warehousing Best Practices: Comparing Oracle to MySQL
http://www.pythian.com/news/15157/data-warehousing-best-practices-comparing-oracle-to-mysql-part-1-introduction-and-power/
http://www.pythian.com/news/15167/data-warehousing-best-practices-comparing-oracle-to-mysql-part-2-partitioning/
}}}
-- Oracle Optimized Warehouse
Oracle Exadata Best Practices (Doc ID 757552.1)
Oracle Optimized Warehouse for HP (Doc ID 779222.1)
HP Oracle Exadata Performance Best Practices (Doc ID 759429.1)
Oracle Sun Database Machine Setup/Configuration Best Practices (Doc ID 1067527.1)
Oracle Sun Database Machine Performance Best Practices (Doc ID 1067520.1)
Oracle Sun Database Machine Application Best Practices for Data Warehousing (Doc ID 1094934.1)
HP Exadata Setup/Configuration Best Practices (Doc ID 757553.1)
-- PARALLELISM
Tips to Reduce Waits for "PX DEQ CREDIT SEND BLKD" at Database Level (Doc ID 738464.1)
Parallel Direct Load Insert DML (Doc ID 146631.1)
Using Parallel Execution (Doc ID 203238.1)
Parallel Capabilities of Oracle Data Pump (Doc ID 365459.1)
How to Refresh a Materialized View in Parallel (Doc ID 577870.1)
FAQ's about Parallel/Noparallel Hints. (Doc ID 263153.1)
SQL statements that run in parallel with NO_PARALLEL hints (Doc ID 267330.1)
-- PX SETUP
Where to find Information about Parallel Execution in the Oracle Documentation (Doc ID 184417.1)
Fundamentals of the Large Pool (Doc ID 62140.1)
Health Check Alert: parallel_execution_message_size is not set greater than or equal to the recommended value (Doc ID 957436.1)
Disable Parallel Execution on Session/System Level (Doc ID 235400.1)
-- PARALLELISM ISSUES
Why didn't my parallel query use the expected number of slaves? (Doc ID 199272.1)
Note:196938.1 "Why did my query go parallel?"
-- PARALLELISM SCRIPT
Report for the Degree of Parallelism on Tables and Indexes (Doc ID 270837.1)
Old and new Syntax for setting Degree of Parallelism (Doc ID 260845.1)
Script to map Senderid in PX Wait Event to an Oracle Process (Doc ID 304317.1)
Procedure PqStat to monitor Current PX Queries (Doc ID 240762.1)
Script to map Parallel Execution Server to User Session (Doc ID 344196.1)
Script to map parallel query coordinators to slaves (Doc ID 202219.1)
Script to monitor PX limits from Resource Manager for active sessions (Doc ID 240877.1)
Script to monitor parallel queries (Doc ID 457857.1) <-------------- GOOD STUFF
-- PARALLELISM AND MEMORY
PX Slaves take sometimes a lot of memory (Doc ID 240883.1)
Parallel Execution the Large/Shared Pool and ORA-4031 (Doc ID 238680.1)
-- PX & TRIGGER
Can a PX Be Triggered by an User or an Event Can Trigger the PX (Doc ID 960694.1)
-- PARALLELISM WAIT EVENTS
Parallel Query Wait Events (Doc ID 191103.1)
Statspack Report has PX (Parallel Query) Idle Events shown in Top Waits (Doc ID 353603.1)
271767.1 “WAITEVENT: “PX Deq Credit: send blkd”
WAITEVENT: "PX Deq: Execute Reply" (Doc ID 270916.1)
WAITEVENT: "PX Deq: Execution Msg" Reference Note (Doc ID 69067.1)
WAITEVENT: "PX Deq: Table Q Normal" (Doc ID 270921.1)
WAITEVENT: "PX Deq Credit: need buffer" (Doc ID 253912.1)
Wait Event 'PX qref latch' (Doc ID 240145.1)
WAITEVENT: "PX Deq: Join ACK" (Doc ID 250960.1)
WAITEVENT: "PX Deq: Signal ACK" (Doc ID 257594.1)
WAITEVENT: "PX Deq: Parse Reply" (Doc ID 257596.1)
WAITEVENT: "PX Deq: reap credit" (Doc ID 250947.1)
WAITEVENT: "PX Deq: Msg Fragment" (Doc ID 254760.1)
WAITEVENT: "PX Idle Wait" (Doc ID 257595.1)
WAITEVENT: "PX server shutdown" (Doc ID 250357.1)
WAITEVENT: "PX create server" (Doc ID 69106.1)
-- 10046 TRACE ON PX
Tracing PX session with a 10046 event or sql_trace (Doc ID 242374.1)
Tracing Parallel Execution with _px_trace. Part I (Doc ID 444164.1)
-- PX ERRORS
OERR: ORA-12853 insufficient memory for PX buffers: current %sK, max needed %s (Doc ID 287751.1)
Bug 6981690 - Cursor not shared when running PX query on mounted RAC system (Doc ID 6981690.8)
Bug 4336528 - PQ may be slower than expected (timeouts on "PX Deq: Signal ACK") (Doc ID 4336528.8)
Bug 5023410 - QC can wait on "PX Deq: Join ACK" when slave is available (Doc ID 5023410.8)
Bug 5030215 - Excessive waits on PX Deq Signal ACK when RAC enabled (Doc ID 5030215.8)
Error With Create Session When Invoking PX (Doc ID 782073.1)
Creating Session Failed Within PX (Doc ID 781437.1)
5 minute Delay Observed In Message Processing after RAC reconfiguration (Doc ID 458898.1)
-- KILL PX
The simplest Solution to kill a PX Session at OS Level (Doc ID 738618.1)
{{{
parallel_automatic_tuning=false <--- currently set to TRUE which is a deprecated parameter in 10g
parallel_max_servers=64 <--- the current value is just too high, caused by parallel_automatic_tuning
parallel_adaptive_multi_user=false <--- best practice recommends to set this to false to have predictable performance
db_file_multiblock_read_count=64 <--- 1024/16......16 is your blocksize
parallel_execution_message_size=16384 <--- best practice recommends to set this to this value
and do this on all of the tables activated with parallel option... well this have to be monitored:
alter table <table_name> parallel 4; <--- on all tables that were activated with parallel option
alter index <index_name> parallel 4; <--- on all index that were activated with parallel option
}}}
http://www.freelists.org/post/oracle-l/PX-Deq-Credit-send-blkd
{{{
Christo Kutrovsky
http://www.freelists.org/post/oracle-l/PX-Deq-Credit-send-blkd,13
Note that only if you have parallel_automatic_tuning=true then the
buffers are allocated from LARGE_POOL, otherwise (the default) they
come from the shared pool, which may be an issue when you try to
allocate 64kb chunks.
}}}
{{{
Craig Shallahamer
http://shallahamer-orapub.blogspot.com/2010/04/finding-parallelization-sweet-spot-part.html
http://shallahamer-orapub.blogspot.com/2010/04/parallelization-vs-duration-part-2.html
http://shallahamer-orapub.blogspot.com/2010/04/parallelism-introduces-limits-part-3.html
}}}
{{{
Christian Antognini
http://www.freelists.org/post/oracle-l/PX-Deq-Credit-send-blkd,22
> alter session force parallel ddl parallel 32;
This should not be necessary. The parallel DDL are enabled by default...
You can check that with the following query:
select pddl_status
from v$session
where sid = sys_context('userenv','sid')
}}}
{{{
PX Deq Credit: send blkd - wait for what?
http://www.asktherealtom.ch/?p=8
PX Deq Credit: send blkd caused by IDE (SQL Developer, Toad, PL/SQL Developer)
http://iamsys.wordpress.com/2010/03/24/px-deq-credit-send-blkd-caused-by-ide-sql-developer-toad-plsql-developer/
http://www.freelists.org/post/oracle-l/PX-Deq-Credit-send-blkd
How can I associate the parallel query slaves with the session that's running the query?
http://www.jlcomp.demon.co.uk/faq/pq_proc.html
}}}
{{{
What event are the consumer slaves waiting on?
set linesize 150
col "Wait Event" format a30
select s.sql_id,
px.INST_ID "Inst",
px.SERVER_GROUP "Group",
px.SERVER_SET "Set",
px.DEGREE "Degree",
px.REQ_DEGREE "Req Degree",
w.event "Wait Event"
from GV$SESSION s, GV$PX_SESSION px, GV$PROCESS p, GV$SESSION_WAIT w
where s.sid (+) = px.sid and
s.inst_id (+) = px.inst_id and
s.sid = w.sid (+) and
s.inst_id = w.inst_id (+) and
s.paddr = p.addr (+) and
s.inst_id = p.inst_id (+)
ORDER BY decode(px.QCINST_ID, NULL, px.INST_ID, px.QCINST_ID),
px.QCSID,
decode(px.SERVER_GROUP, NULL, 0, px.SERVER_GROUP),
px.SERVER_SET,
px.INST_ID;
}}}
[img[picturename| https://lh6.googleusercontent.com/-5ZeHtRGSEKI/TeVlmgna5XI/AAAAAAAABSo/N4hMYIhLLkc/s800/IMG_4070.JPG]]
Series: Project Lockdown - A phased approach to securing your database infrastructure
http://www.oracle.com/technetwork/articles/index-087388.html
http://blog.red-database-security.com/2010/09/10/update-of-project-lockdown-released/
http://www.cyberciti.biz/tips/tips-to-protect-linux-servers-physical-console-access.html
{{{
Pre-req reading materials
Read on the Chapter 14, 15, and 10 of this book (in particular order!!!) Beginning_11g_Admin_From_Novice_to_Professional.pdf
to know why we need to do database health checks and to have an idea about our value to our clients
Alignment to the IT Service Management
There are 10 components of ITSM and these are as follows:
Service Level Management
Financial Management
Service Continuity Management
Capacity Management
Availability Management
Incident Management
Problem Management
Change Management
Configuration Management
Release Management
For simplicity and aligning it to the health check tasks the 10 components are categorized as follows:
Performance and Availability
Service Level Management
Capacity Management
Availability Management
Backup and Recovery
Service Continuity Management
Incident/Problem Management
Incident Management
Problem Management
Configuration Management
Financial Management
Change Management
Configuration Management
Release Management
The Health Check Checklist
Gather information on the environment
Database Maintenance
Backups
Check the backup log
Log file maintenance (see TrimLogs)
Trim the alert log
Trim the backup log
Trim/delete files at the user dump directories
Trim listener log file
Trim sqlnet log file
Configuration Management
Check installed Oracle software
Gather RDA
Check the DBA_FEATURE_USAGE_STATISTICS
Statistics
Archive & Purge
Rebuilding
Auditing
User Management
Capacity Management
Patching
Database Monitoring
Database Availability
Check the alert log (see GetAlertLog)
Check the backup log
Check the archive mode
Check nologging tables
Check the control files
Check Redo log files and sizes
Check database parameters
SGA size
Undo management
Memory management
Database Changes
Check changes on the database parameters
Check on recent DDLs (if possible)
Security
Check the audit logs
Space and Growth
Check local and dictionary managed tablespace
Check tablespace usage
Check tablespace quotas
Check temporary tablespace
Check tablespace fragmentation
Check datafiles with autoextend
Check segment growth or top segments
Workload and Capacity
Check the AAS
Check the CPU, IO, memory, network workload
Check the top timed events
Performance
Check the top SQLs
Check unstable SQLs
Database Objects
Check objects unable to extend
Check objects reaching max extents
Check sequences reaching max value
Check row migration and chaining
Check invalid objects
Check table statistics
Check index statistics
Check rollback segments (for 8i below)
Check resource contention (locks, enqueue)
Analysis
Documentation and recommendation of action plans
Validation of action plans
Execution of action plans
}}}
Top DBA Shell Scripts for Monitoring the Database
http://communities.bmc.com/communities/docs/DOC-9942#tablespace
Bug No. 1828368
SYS.LINK$ CONTAINS UNENCRYPTED PASSWORDS OF REMOTE LOGIN
Duplicate table over db link
http://laurentschneider.com/wordpress/2011/09/duplicate-table-over-database-link.html
Summary Of Bugs Which Could Cause Deadlock [ID 554616.1]
http://hemantoracledba.blogspot.com/2010/09/deadlocks.html
http://hoopercharles.wordpress.com/2010/01/07/deadlock-on-oracle-11g-but-not-on-10g/#comment-1793
http://markjbobak.wordpress.com/2008/06/09/11g-is-more-deadlock-sensitive-than-10g/
[[TagCloud]] [[Oracle]] [[Linux]] [[etc..]] [[RSS]]
1) Mount the WD 3TB on linux server with virtual box installed
2) Install extension pack
http://www.oracle.com/technetwork/server-storage/virtualbox/downloads/index.html#extpack
-rwxr-xr-x 1 root root 9566803 Oct 17 11:43 Oracle_VM_VirtualBox_Extension_Pack-4.1.4-74291.vbox-extpack
[root@desktopserver installers]# VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-4.1.4-74291.vbox-extpack
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Successfully installed "Oracle VM VirtualBox Extension Pack".
3) then mount on windows 7
http://blogs.oracle.com/wim/entry/oracle_vm_virtualbox_40_extens
http://www.cyberciti.biz/tips/fdisk-unable-to-create-partition-greater-2tb.html
http://plone.lucidsolutions.co.nz/linux/io/adding-a-xfs-filesystem-to-centos-5
http://blog.cloutier-vilhuber.net/?p=246
http://blogs.oracle.com/wim/entry/playing_with_btrfs
-- MICROSOFT
ODP.NET example code using password management with C#
Doc ID: Note:226759.1
http://www.dialogs.com/en/GetDialogs.html
http://www.dialogs.com/en/Downloads.html
http://www.dialogs.com/en/Manual.html
https://www.dialogs.com/en/cuf_req_thankyou.html
http://kdiff3.sourceforge.net/ <-- just like on linux
http://stackoverflow.com/questions/12625/best-diff-tool
http://intermediatesql.com/oracle/what-is-the-difference-between-sql-profile-and-spm-baseline/
http://yong321.freeshell.org/oranotes/DirectIO.txt <-- ''good stuff'' - linux, solaris, tru64
{{{
$ uname -a
SunOS countfleet 5.6 Generic_105181-31 sun4u sparc SUNW,Ultra-2
$ mount | grep ^/f[12] #/f2 has DIO turned on
/f1 on /dev/dsk/c0t1d0s0 setuid/read/write/largefiles on Wed Jan 15 16:17:29 2003
/f2 on /dev/dsk/c0t1d0s1 forcedirectio/setuid/read/write/largefiles on Wed Jan 15 16:17:29 2003
$ grep maxphys /etc/system
set maxphys = 1048576
Database 9.0.1.3
create tablespace test datafile '/f1/oradata/tiny/test.dbf' size 400m extent management local
uniform size 32k;
Three times it took 35,36,36 seconds, respectively. The same command except for f1 changed to f2
took 25,27,26 seconds, respectively, about 9 seconds faster. /f1 is regular UFS and /f2 is DIO UFS.
When the tablespace is being created on /f1, truss is run against the shadow process and the second
run shows:
$ truss -c -p 9704
^Csyscall seconds calls errors
read .00 1
write .00 3
open .00 2
close .00 10
time .00 2
lseek .00 2
times .03 282
semsys .00 31
ioctl .00 3 3
fdsync .00 1
fcntl .01 14
poll .01 146
sigprocmask .00 56
context .00 14
fstatvfs .00 3
writev .00 2
getrlimit .00 3
setitimer .00 28
lwp_create .00 2
lwp_self .00 1
lwp_cond_wai .03 427
lwp_cond_sig .15 427
kaio 5.49 469 430 <-- More kernelized IO time
stat64 .00 3 1
fstat64 .00 3
pread64 .00 32
pwrite64 .35 432 <-- Each pwrite() call takes 350/432 = 0.8 ms
open64 .00 6
---- --- ---
sys totals: 6.07 2405 434
usr time: 1.71
elapsed: 36.74
When the tablespace is created on /f2,
$ truss -c -p 9704
^Csyscall seconds calls errors
read .00 1
write .00 3
open .00 2
close .00 10
time .00 2
lseek .00 2
times .02 282
semsys .00 31
ioctl .00 3 3
fdsync .00 1
fcntl .00 14
poll .01 146
sigprocmask .00 56
context .00 14
fstatvfs .00 3
writev .00 2
getrlimit .00 3
setitimer .00 28
lwp_cond_wai .00 430
lwp_cond_sig .03 430
kaio .50 462 430 <-- Much less kernelized IO time
stat64 .00 3 1
fstat64 .00 3
pread64 .01 32
pwrite64 .00 432 <-- pwrite calls take practically no time.
open64 .00 6
---- --- ---
sys totals: .57 2401 434
usr time: 1.94
elapsed: 27.72
During the first run, the result on /f1 is even worse. But for good benchmark, I usually ignore the
first run.
}}}
http://www.pythian.com/news/22727/how-to-confirm-direct-io-is-getting-used-on-solaris/
''on Linux''
{{{
Now in Linux it becomes very easy.you just need to read /proc/slabinfo :
cat /proc/slabinfo | grep kio
In the SLAB allocator there are three different caches involved. The kioctx and kiocb are Async I/O data structures that are defined in aio.h header file. If it shows a non zero value that means async io is enabled.
}}}
''on Solaris''
{{{
truss -f -t open,ioctl -u ':directio' sqlplus "/ as sysdba"
27819/1: open(“/ora02/oradata/MYDB/undotbs101.dbf”, O_RDWR|O_DSYNC) = 13
27819/1@1: -> libc:directio(0×100, 0×1, 0×0, 0×0, 0xfefefefeffffffff, 0xfefefefeff726574)
27819/1: ioctl(256, _ION(‘f’, 76, 0), 0×00000001) = 0
27819/1@1: <- libc:directio() = 0
27819/1: open(“/ora02/oradata/MYDB/system01.dbf”, O_RDWR|O_DSYNC) = 13
27819/1@1: -> libc:directio(0×101, 0×1, 0×0, 0×0, 0xfefefefeffffffff, 0xfefefefeff726574)
27819/1: ioctl(257, _ION(‘f’, 76, 0), 0×00000001) = 0
27819/1@1: <- libc:directio() = 0
Table created.
SQL> drop table test;
Table dropped.
See the line “ioctl(256, _ION(‘f’, 76, 0), 0×00000001)” above.
The 3rd parameter as shown in the above output/line to the ioctl() call decides the use of direct IO.
It is 0 for directio off, and 1 for directio on and its ON in case of this database.i.e undo and system datafiles are opened with directio.
}}}
http://blogs.oracle.com/apatoki/entry/ensuring_that_directio_is_active
http://www.solarisinternals.com/si/tools/directiostat/index.php <-- ''directiostat tool''
VxFS DirectIO
http://mailman.eng.auburn.edu/pipermail/veritas-vx/2006-February/025477.html
When direct I/O attacks! - A sample of VxFS mount options
{{{
$ mount | grep u02
/u02 on /dev/vx/dsk/oradg/oradgvol01 read/write/setuid/mincache=direct/convosync=direct/delaylog/largefiles/ioerror=mwdisable/dev=3bd4ff0 on Mon Dec 5 22:21:31 2005
}}}
http://blogs.sybase.com/dwein/?p=326
http://www.freelists.org/post/oracle-l/direct-reads-and-writes-on-Solaris,4
http://orafaq.com/node/27
Setting mincache=direct and convosync=direct for VxFS on Solaris 10 - http://www.symantec.com/connect/forums/setting-mincachedirect-and-convosyncdirect-vxfs-solaris-10
What are the differences between the direct, dsync, and unbuffered settings for the Veritas File System mount options mincache and convosync, and how do those options affect I/O? - http://www.symantec.com/business/support/index?page=content&id=TECH49211
Pros and Cons of Using Direct I/O for Databases [ID 1005087.1]
Oracle Import Takes Longer When Using Buffered VxFS Then Using Unbuffered VxFS [ID 1018755.1]
Performance impact of file system when mounted as Buffered and Unbuffered option [ID 151719.1]
http://antognini.ch/2010/09/parallel-full-table-scans-do-not-always-perform-direct-reads/
http://oracle-randolf.blogspot.com/2011/10/auto-dop-and-direct-path-inserts.html
How to Disable Automatic Statistics Collection in 11g [ID 1056968.1]
http://www.oracle-base.com/articles/11g/AutomatedDatabaseMaintenanceTaskManagement_11gR1.php
http://docs.oracle.com/cd/B19306_01/appdev.102/b14258/d_job.htm#i1000521
{{{
EXEC DBMS_AUTO_TASK_ADMIN.DISABLE('auto optimizer stats collection', NULL, NULL);
exec dbms_scheduler.disable('gather_stats_job');
exec dbms_scheduler.disable( 'SYS.BSLN_MAINTAIN_STATS_JOB' );
EXEC DBMS_JOB.BROKEN(62,TRUE);
}}}
{{{
There’s a parameter in 11.2 which you can force the px executions to be local on a node..
PARALLEL_FORCE_LOCAL:
If you are on 10gR2… you can set a hint..
Select /*+PARALLEL(TAB, DEGREE, INSTANCES) */
Or set it on the table level
ALTER TABLE NODETEST1 PARALLEL(DEGREE 4 INSTANCES 2)
}}}
http://www.itpub.net/viewthread.php?tid=1287818
http://www.itpub.net/viewthread.php?tid=1287572
http://www.itpub.net/viewthread.php?tid=1287288
http://www.itpub.net/viewthread.php?tid=1288907
http://www.itpub.net/viewthread.php?tid=1288713
http://www.itpub.net/viewthread.php?tid=1288708
http://www.itpub.net/viewthread.php?tid=1288682
http://www.itpub.net/viewthread.php?tid=1287991
http://www.itpub.net/viewthread.php?tid=1287938
http://www.itpub.net/viewthread.php?tid=1287940
http://www.itpub.net/viewthread.php?tid=1287869
Coherence 3.5
http://www.itpub.net/viewthread.php?tid=1295795
http://www.itpub.net/viewthread.php?tid=1308306
http://www.itpub.net/viewthread.php?tid=1306491
http://www.itpub.net/viewthread.php?tid=1306477 <-G
VMWare
http://www.itpub.net/viewthread.php?tid=1306463
http://www.itpub.net/viewthread.php?tid=1306458
http://www.itpub.net/viewthread.php?tid=1306455
http://www.itpub.net/viewthread.php?tid=1302314
Security
http://www.itpub.net/viewthread.php?tid=1306214
English
http://www.itpub.net/viewthread.php?tid=1305958
Statistics
http://www.itpub.net/viewthread.php?tid=1304511
Wordpress
http://www.itpub.net/viewthread.php%3Ftid%3D1303943
Network Performance Toolkit: Using Open Source Testing Tools
http://www.ebookee.net/Network-Performance-Toolkit-Using-Open-Source-Testing-Tools_4664.html
The Art of Scalability: Scalable Web Architecture, Processes, and Organizations for the Modern Enterprise
http://astore.amazon.com/possiboutpos-20/detail/0137030428
Storage Virtualization: Technologies for Simplifying Data Storage and Management
http://astore.amazon.com/possiboutpos-20/detail/0321262514
Building Clustered Linux Systems
http://astore.amazon.com/possiboutpos-20/detail/0131448536
-- ASM
http://www.oracle.com/technology/tech/linux/asmlib/index.html
http://www.oracle.com/technology/tech/linux/asmlib/persistence.html
http://www.oracle.com/technology/tech/linux/asmlib/multipath.html
http://www.oracle.com/technology/tech/linux/asmlib/raw_migration.html
http://sve.to/2010/10/11/cannot-drop-the-first-disk-group-in-asm-11-2/
11gR2 (11.2.0.1) ORA-15027: active use of diskgroup precludes its dismount (With no database clients connected) [ID 1082876.1]
{{{
Dismounting DiskGroup DATA failed with the following message:
ORA-15032: not all alterations performed
ORA-15027: active use of diskgroup "DATA" precludes its dismount
}}}
http://drupal.org/download
http://drupal.org/project/themes?solrsort=sis_project_release_usage%20desc
http://drupal.org/start
http://drupal.org/search/apachesolr_multisitesearch/blog%20aggregator <-- AGGREGATOR
http://groups.drupal.org/node/21325 <-- VIEWS
http://www.jlcomp.demon.co.uk/faq/duplicates.html
http://oracletoday.blogspot.com/2005/08/magic-exceptions-into.html
http://www.java2s.com/Code/Oracle/PL-SQL/handleexceptionofduplicatevalueonindex.htm
http://forums.untangle.com/openvpn/14806-dyndns-openvpn.html
http://dyn.com/dns/dyndns-free/
-- DynamicSampling
http://blogs.oracle.com/optimizer/2010/08/dynamic_sampling_and_its_impact_on_the_optimizer.html
-- CursorSharing
http://db-optimizer.blogspot.com/2010/06/cursorsharing-picture-is-worth-1000.html
http://blogs.oracle.com/mt/mt-search.cgi?blog_id=3361&tag=cursor%20sharing&limit=20
http://blogs.oracle.com/optimizer/2009/05/whydo_i_have_hundreds_of_child_cursors_when_cursor_sharing_is_set_to_similar_in_10g.html
Formated V$SQL_SHARED_CURSOR Report by SQLID or Hash Value (Doc ID 438755.1)
Unsafe Literals or Peeked Bind Variables (Doc ID 377847.1)
Adaptive Cursor Sharing in 11G (Doc ID 836256.1)
-- HighVersionCount
High SQL version count and low executions from ADDM Report!!
http://forums.oracle.com/forums/thread.jspa?threadID=548770
Library Cache : Causes of Multiple Version Count for an SQL http://viveklsharma.wordpress.com/2009/09/12/ql/
http://viveklsharma.wordpress.com/2009/09/24/library-cache-latch-contention-due-to-multiple-version-count-day-2-of-aioug/
High Version Count with CURSOR_SHARING = SIMILAR or FORCE (Doc ID 261020.1)
-- PLAN_HASH_VALUE
http://oracle-randolf.blogspot.com/2009/07/planhashvalue-how-equal-and-stable-are.html
Thread: SQL with multiple plan hash value http://forums.oracle.com/forums/thread.jspa?threadID=897302
SQL PLAN_HASH_VALUE Changes for the Same SQL Statement http://hoopercharles.wordpress.com/2009/12/01/sql-plan_hash_value-changes-for-the-same-sql-statement/
-- LibraryCacheLatch
Higher Library Cache Latch contention in 10g than 9i (Doc ID 463860.1)
Understanding and Tuning the Shared Pool and Tuning Library Cache Latch Contention (Doc ID 62143.1)
Solutions for possible AWR Library Cache Latch Contention Issues in Oracle 10g (Doc ID 296765.1)
-- COE
TESTING SQL PERFORMANCE IMPACT OF AN ORACLE 9i TO ORACLE DATABASE 10g RELEASE 2 UPGRADE WITH SQL PERFORMANCE ANALYZER (Doc ID 562899.1)
Case Study: The Mysterious Performance Drop (Doc ID 369427.1)
http://office.microsoft.com/en-us/excel-help/using-named-ranges-to-create-dynamic-charts-in-excel-HA001109801.aspx
http://www.exceluser.com/explore/dynname1.htm
http://dmoffat.wordpress.com/2011/05/19/dynamic-range-names-and-charts-in-excel-2010/
http://www.eggheadcafe.com/software/aspnet/30309917/newbie-needs-translation-of-andy-popes-code.aspx
http://www.ozgrid.com/forum/showthread.php?t=56215&page=1
http://peltiertech.com/Excel/Charts/Dynamics.html
http://peltiertech.com/Excel/Charts/DynamicChartLinks.html
http://www.tushar-mehta.com/excel/newsgroups/dynamic_charts/index.html#BasicRange
http://www.tushar-mehta.com/excel/newsgroups/dynamic_charts/images/snapshot014.jpg
http://www.mrexcel.com/forum/showthread.php?p=1299121
http://www.eggheadcafe.com/software/aspnet/35201025/help-to-pick-constant-color-to-a-value-in-a-pie-chart.aspx
http://peltiertech.com/WordPress/vba-conditional-formatting-of-charts-by-category-label/
http://peltiertech.com/WordPress/using-colors-in-excel-charts/
http://peltiertech.com/WordPress/vba-conditional-formatting-of-charts-by-value/
http://peltiertech.com/WordPress/vba-conditional-formatting-of-charts-by-series-name/
http://peltiertech.com/WordPress/vba-conditional-formatting-of-charts-by-category-label/
Installing Oracle Apps 11i
http://avdeo.com/2010/11/01/installing-oracle-apps-11i/?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed:+advait+(IN+ORACLE+MILIEU+...)
Oracle E-Business Suite Release 11i with 9i RAC: Installation and Configuration using AutoConfig
Doc ID: Note:279956.1
ALERT: Oracle 10g Release 2 (10.2) Support Status and Alerts
Doc ID: Note:316900.1
Oracle Applications Release 11i with Oracle 10g Release 2 (10.2.0)
Doc ID: Note:362203.1
Configuring Oracle Applications Release 11i with Oracle10g Release 2 Real Application Clusters and Automatic Storage Management
Doc ID: Note:362135.1
Oracle E-Business Suite Release 11i Technology Stack Documentation Roadmap
Doc ID: Note:207159.1
Patching Best Practices and Reducing Downtime
Doc ID: Note:225165.1
MAA Roadmap for the E-Business Suite
Doc ID: Note:403347.1
Oracle E-Business Suite Recommended Performance Patches
Doc ID: Note:244040.1
http://onlineappsdba.com
Upgrading Oracle Application 11i to E-Business Suite R12
http://advait.wordpress.com/2008/03/04/upgrading-oracle-application-11i-to-e-business-suite-r12/
Chapter 5. Patching - Part 1 by Elke Phelps and Paul Jackson
From Oracle Applications DBA Field Guide, Berkeley, Apress, March 2006.
http://www.dbazine.com/oracle/or-articles/phelps1
Oracle E-Business Suite Patching - Best Practices
http://www.appshosting.com/pub_doc/patching.html
Types Of application Patch
http://oracleebusinesssuite.wordpress.com/2007/05/28/types-of-application-patch/
http://patchsets12.blogspot.com/
E-Business Suite Applications 11i on RAC/ASM
http://www.ardentperf.com/2007/04/18/e-business-suite-applications-11i-on-racasm/
RAC Listener Best Practices
http://www.ardentperf.com/2007/02/28/rac-listener-best-practices/#comment-1412
http://www.integrigy.com/security-resources/whitepapers/Integrigy_Oracle_Listener_TNS_Security.pdf
--------------------------------
Upgrade Oracle Database to 10.2.0.2 : SOA Suite Install Part II
http://onlineappsdba.com/index.php/2007/06/16/upgrade-oracle-database-to-10202-soa-suite-install-part-ii/
Good Metalink Notes or Documentation on Apps 11i/R12/12i Patching
http://onlineappsdba.com/index.php/2008/05/28/good-metalink-notes-or-documentation-on-apps-11ir1212i-patching/
http://teachmeoracle.com/healthcheck02.html
Practical Interview Question for Oracle Apps 11i DBA
http://onlineappsdba.com/index.php/2007/12/08/practical-interview-question-for-oracle-apps-11i-dba/
Oracle Apps 11i with Database 10g R2 10.2.0.2
http://onlineappsdba.com/index.php/2006/08/28/oracle-apps-11i-with-database-10g-r2-10202/
-- INSTALL
Oracle E-Business Suite 11i and Database FAQ
Doc ID: 285267.1
Unbreakable Linux Enviroment check before R12 install
Doc ID: 421409.1
RCONFIG : Frequently Asked Questions
Doc ID: 387046.1
Using Oracle E-Business Suite Release 12 with a Database Tier Only Platform on Oracle 10g Release 2
Doc ID: 456197.1 Type: WHITE PAPER
-- ORACLE VM / VIRTUALIZATION
Using Oracle VM with Oracle E-Business Suite Release 11i or Release 12
(Doc ID 465915.1)
Certified Software on Oracle VM (Doc ID 464754.1)
Hardware Vendor Virtualization Technologies on non x86/x86-64 Architectures and Oracle E-Business Suite (Doc ID 794016.1)
-- CONCURRENT MANAGER
A Script We Use to Monitor Concurrent Jobs and Sessions that Hang (Doc ID 444611.1)
-- TUNING
http://blogs.oracle.com/stevenChan/2007/05/performance_tuning_the_apps_da.html
Troubleshooting Oracle Applications Performance Issues
Doc ID: Note:169935.1
coe_stats.sql - Automates CBO Stats Gathering using FND_STATS and Table sizes
Doc ID: Note:156968.1
bde_last_analyzed.sql - Verifies CBO Statistics
Doc ID: Note:163208.1
Trace Analyzer TRCANLZR - Interpreting Raw SQL Traces with Binds and/or Waits generated by EVENT 10046
Doc ID: Note:224270.1
Diagnostic Scripts: Data Collection Performance Management
Doc ID: Note:183401.1
Tuning performance on eBusiness suite
Doc ID: Note:744143.1
Does Gather Schema Statistics collect statistics for indexes?
Doc ID: Note:170647.1
Which Method To Gather Statistics When On DB 10g
Doc ID: Note:427878.1
Script to Automate Gathering Stats on Applications 11.5 Using FND_STATS
Doc ID: Note:190177.1
Gather Schema Statistics program hangs or fails with ORA-54 errors
Doc ID: Note:331017.1
Purging Strategy for eBusiness Suite 11i
Doc ID: Note:732713.1
Gather Schema Statistics with LASTRUN Option does not Clean FND_STATS_HIST Table
Doc ID: Note:745442.1
How to get a Trace for And Begin to Analyze a Performance Issue
Doc ID: Note:117129.1
How to Troubleshoot Performance Issues
Doc ID: Note:232419.1
How Often Should Gather Schema Statistics Program be Run?
Doc ID: Note:168136.1
Using the FND_STATS Package for Gathering Statistics and 100% of Sample Data is Returned
Doc ID: Note:197386.1
A Holistic Approach to Performance Tuning Oracle Applications Systems
Doc ID: Note:69565.1
APS Performance TIPS
Doc ID: Note:209996.1
GATHERING STATS FOR APPS 11i IN PARARELL TAKES A LONG TIME
Doc ID: Note:603144.1
ways to calculate
419728.1
histogram
429002.1
How To Gather Statistics On Oracle Applications 11.5.10(and above) - Concurrent Process,Temp Tables, Manually
Doc ID: 419728.1
How To Gather Statistics For Oracle Applications Prior to 11.5.10
Doc ID: 122371.1
How to collect histograms in Apps Ebusiness Suite using FND_STATS
Doc ID: 429002.1
11i: Setup of the Oracle 8i Cost-Based Optimizer (CBO)
Doc ID: 101379.1
Gathering Statistics for the Cost Based Optimizer (Pre 10g)
Doc ID: 114671.1
-- PLAN STABILITY
Best Practices for automatic statistics collection on Oracle 10g
Doc ID: 377152.1
Restoring table statistics in 10G onwards
Doc ID: 452011.1
Oracle Database Stats History Using dbms_stats.restore_table_stats
Doc ID: 281793.1
Statistics Best Practices: How to Backup and Restore Statistics
Doc ID: 464939.1
Tips for avoiding upgrade related query problems
Doc ID: 167086.1
Recording Explain Plans before an upgrade to 10g or 11g
Doc ID: 466350.1
-- DBMS_STATS
SIZE Clause in METHOD_OPT Parameter of DBMS_STATS Package
Doc ID: 338926.1
Recommendations for Gathering Optimizer Statistics on 10g
Doc ID: 605439.1
Recommendations for Gathering Optimizer Statistics on 11g
Doc ID: 749227.1
-- UPGRADE - MIGRATE
Consolidated Reference List For Migration / Upgrade Service Requests
Doc ID: 762540.1
-- PERFORMANCE SCENARIO
A Holistic Approach to Performance Tuning Oracle Applications Systems
Doc ID: 69565.1
When Conventional Thinking Fails: A Performance Case Study in Order Management Workflow customization
Doc ID: 431619.1
Create Service Request Performance Issue
Doc ID: 303150.1
EBPERF FAQ - Collecting Statistics with Oracle Apps 11i
Doc ID: 368252.1
-- CBO
Managing CBO Stats during an upgrade to 10g or 11g
Doc ID: 465787.1
-- APPLICATION SERVER
Oracle Application Server with Oracle E-Business Suite Release 11i FAQ
Doc ID: Note:186981.1
-- DEBUG
FAQ - How to Use Debug Tools and Scripts for the APS Suite
Doc ID: 245974.1
Debugging Platform Migration Issues in Oracle Applications 11i
Doc ID: 567703.1
-- CLONE
FAQ: Cloning Oracle Applications Release 11i
Doc ID: 216664.1
http://onlineappsdba.com/index.php/2008/02/07/cloning-in-oracle-apps-11i/
-- PLATFORM MIGRATION
Platform Migration with Oracle Applications Release 12
Doc ID: 438086.1
Migrating to Linux with Oracle Applications Release 11i
Doc ID: 238276.1
Oracle Applications R12 Migration from Solaris to Linux Platform
http://smartoracle.blogspot.com/2008/12/oracle-applications-r12-migration-from.html
http://forums.oracle.com/forums/thread.jspa?threadID=481742&start=0&tstart=0
Thread: 11i migration from solaris to linux
http://www.dbspecialists.com/files/presentations/cloning.html
-- INTEROPERABILITY
Interoperability Notes Oracle Applications Release 10.7 with Release 8.1.7
Doc ID: 148901.1
Interoperability Notes Oracle Applications Release 11.0 with Release 8.1.7
Doc ID: 148902.1
-- X86-64 SUPPORT
Frequently Asked Questions: Oracle E-Business Suite Support on x86-64
Doc ID: 343917.1
-- ITANIUM SUPPORT
Frequently Asked Questions: Oracle E-Business Suite Support on Itanium
Doc ID: 311717.1
-- DATABASE VAULT
Integrating Oracle E-Business Suite Release 11i with Oracle Database Vault 10.2.0.4
Doc ID: 428503.1 Type: WHITE PAPER
-- EXPORT IMPORT
Export/Import Process for Oracle E-Business Suite Release 12 using 10gR2
Doc ID: 454616.1
9i Export/Import Process for Oracle Applications Release 11i
Doc ID: 230627.1
-- RAC
Oracle E-Business Suite Release 11i with 9i RAC: Installation and Configuration using AutoConfig
Doc ID: 279956.1 Type: WHITE PAPER
-- DATA GUARD
Case Study : Configuring Standby Database(Dataguard) on R12 using RMAN Hot Backup
Doc ID: 753241.1
-- NETWORK
Oracle E-Business Suite Network Utilities: Best Practices
Doc ID: Note:556738.1
Installation
Note: 452120.1 - How to locate the log files and troubleshoot RapidWiz for R12
Note: 329985.1 - How to locate the Rapid Wizard Installation log files for Oracle Applications 11.5.8 and higher
Note: 362135.1 - Configuring Oracle Applications Release 11i with Oracle10g Release 2 Real Application Clusters and Automatic Storage Management
Note: 312731.1 - Configuring Oracle Applications Release 11i with 10g RAC and 10g ASM
Note: 216550.1 - Oracle Applications Release 11i with Oracle9i Release 2 (9.2.0)
Note: 279956.1 - Oracle E-Business Suite Release 11i with 9i RAC: Installation and Configuration using AutoConfig
Note: 294932.1 - Recommendations to Install Oracle Applications 11i
Note: 403339.1 - Oracle 10gR2 Database Preparation Guidelines for an E-Business Suite Release 12.0.4 Upgrade
Note: 455398.1 - Using Oracle 11g Release 1 Real Application Clusters and Automatic Storage Management with Oracle E-Business Suite Release 11i
Note: 402311.1 - Oracle Applications Installation and Upgrade Notes Release 12 (12.0.4) for Microsoft Windows
Note: 405565.1 - Oracle Applications Release 12 Installation Guidelines
AD Utilities
Note: 178722.1 - How to Generate a Specific Form Through AD utility ADADMIN
Note: 109667.1 - What is AD Administration on APPS 11.0.x ?
Note: 112327.1 - How Does ADADMIN Know Which Forms Files To Regenerate?
Note: 136342.1 - How To Apply a Patch in a Multi-Server Environment
Note: 109666.1 - Release 10.7 to 11.0.3 : What is adpatch ?
Note: 152306.1 - How to Restart Failed AutoInstall Job
Note: 356878.1 - How to relink an Applications Installation of Release 11i and Release 12
Note: 218089.1 - Autoconfig FAQ
Note: 125922.1 - How To Find Oracle Application File Versions
Cloning
Note: 419475.1 - Removing Credentials from a Cloned EBS Production Database
Note: 398619.1 - Clone Oracle Applications 11i using Oracle Application Manager (OAM Clone)
Note: 230672.1 - Cloning Oracle Applications Release 11i with Rapid Clone
Note: 406982.1 - Cloning Oracle Applications Release 12 with Rapid Clone
Note: 364565.1 - Troubleshooting RapidClone issues with Oracle Applications 11i
Note: 603104.1 - Troubleshooting RapidClone issues with Oracle Applications R12
Note: 435550.1 - R12 Login issue on target after cloning
Note: 559518.1 - Cloning Oracle E-Business Suite Release 12 RAC-Enabled Systems with Rapid Clone
Note: 216664.1 - FAQ: Cloning Oracle Applications Release 11i
Patching
Note: 225165.1 - Patching Best Practices and Reducing Downtime
Note: 62418.1 - PATCHING/PATCHSET FREQUENTLY ASKED QUESTIONS
Note: 181665.1 - Release 11i Adpatch Basics
Note: 443761.1 - How to check if a certain Patch was applied to Oracle Applications instance?
Note: 231701.1 - How to Find Patching History (10.7, 11.0, 11i)
Note: 60766.1 - 11.0.x : Patch Installation Frequently Asked Questions
Note: 459156.1 - Oracle Applications Patching FAQ for Release 12
Note: 130608.1 - AdPatch Basics
Note::60766.1 - Patch Installation FAQ (Part 1)
Upgrade
Note: 461709.1 - Oracle E-Business Suite Upgrade Guide - Plan
Note: 293166.1 - Previous Versions of e-Business 11i Upgrade Assistant FAQ
Note: 224875.1 - Installation, Patching & Upgrade Frequently Asked Questions (FAQ’s)
Note: 224814.1 - Installation, Patching & Upgrade Current Issues
Note: 225088.1 - Installation, Patching & Upgrade Patches Guide
Note: 225813.1 - Installation, Patching & Upgrade Setup and Usage Guide
Note: 224816.1 - Installation, Patching & Upgrade Troubleshooting Guide
Note: 216550.1 - Oracle Applications Release 11i with Oracle9i Release 2 (9.2.0)
Note: 362203.1 - Oracle Applications Release 11i with Oracle 10g Release 2 (10.2.0)
Note: 423056.1 - Oracle Applications Release 11i with Oracle 10g Release 2 (10.2.0.2)
Note: 726982.1 - Oracle Applications Release 11i with Oracle 10g Release 2 (10.2.0.3)
Note: 452783.1 - Oracle Applications Release 11i with Oracle 11g Release 1 (11.1.0)
Note: 406652.1 - Upgrading Oracle Applications 11i DB to DB 10gR2 with Physical Standby in Place
Note: 316365.1 - Oracle Applications Release 11.5.10.2 Maintenance Pack Installation Instructions
Note: 418161.1 - Best Practices for Upgrading Oracle E-Business Suite
Printer
Note: 297522.1 - How to investigate printing issues and work towards its resolution ?
Note: 110406.1 - Check Printing Frequently Asked Questions
Note: 264118.1 - Pasta Pasta Printing Setup Test
Note: 200359.1 - Oracle Application Object Library Printer Setup Test
Note: 234606.1 - Oracle Application Object Library Printer Initialization String Setup Test
Note: 1014599.102 - Subject: How to Test Printer Initialization Strings in Unix
Performance
Note: 390137.1 - FAQ for Collections Performance
Note: 216205.1 - Database Initialization Parameters for Oracle Applications Release 11i
Note: 169935.1 - Troubleshooting Oracle Applications Performance Issues
Note: 171647.1 - Tracing Oracle Applications using Event 10046
Note: 153507.1 - Oracle Applications and StatsPack
Note: 356501.1 - How to Setup Pasta Quickly and Effectively
Note: 333504.1 - How To Print Concurrent Requests in PDF Format
Note: 356972.1 - 11i How to troubleshoot issues with printers
Others
Note: 189367.1 - Best Practices for Securing the E-Business Suite
Note: 403537.1 - Best Practices For Securing Oracle E-Business Suite Release 12
Note: 454616.1 - Export/Import Process for Oracle E-Business Suite Release 12 using 10gR2
Note: 394692.1 - Oracle Applications Documentation Resources, Release 12
Note: 370274.1 - New Features in Oracle Application 11i
Note: 130183.1 - How to Get Log Files from Various Programs for Oracle Applications
Note: 285267.1 - Oracle E-Business Suite 11i and Database FAQ
Note: 453137.1 - Oracle Workflow Best Practices Release 12 and Release 11i
Note: 398942.1 - FNDCPASS Utility New Feature ALLORACLE
Note: 187735.1 - Workflow FAQ - All Versions
http://guyharrison.squarespace.com/blog/2011/6/8/a-first-look-at-oracle-on-amazon-rds.html
http://www.tomshardware.com/forum/221285-30-memory
http://newappsdba.blogspot.com/2009/11/setting-em-blackouts-from-gui-and.html
http://dbakevlar.com/2012/01/getting-the-most-out-of-enterprise-manager-and-notifications/
How to Troubleshoot Process Control (start, stop, check status) the 10g Oracle Management Service(OMS) Component in 10g Enterprise Manager Grid Control [ID 730308.1]
Grid Control Performance: How to Troubleshoot OMS Crash / Restart Issues? [ID 964469.1]
11.1.0.1 emctl start oms gives the error message Unexpected error occurred. Check error and log files [ID 1331527.1]
http://oraclepoint.com/oralife/2011/10/11/difference-between-oracle-enterprise-manager-10g-and-11g/
Applying bundle patches on Exadata using Enterprise Manager Grid Control https://blogs.oracle.com/XPSONHA/entry/applying_bundle_patches_on_exadata
http://download.oracle.com/docs/cd/E24628_01/em.121/e25160/oracle_exadata.htm#BABFDHBG
http://blogs.oracle.com/XPSONHA/entry/racle_enterprise_manager_cloud_control
Failover capability for plugins Exadata & EMGC Rapid deployment https://blogs.oracle.com/XPSONHA/entry/failover_capability_for_plugins_exadata
Set OEM 12c Self Update to Offline mode
https://blogs.oracle.com/VDIpier/entry/set_oem_12c_self_update
http://www.oracle.com/technetwork/oem/em12c-screenwatches-512013.html
http://blogs.oracle.com/VDIpier/entry/installing_oem_12c
-- display all devices
powermt display dev=all
--VNX
http://rogerluethy.wordpress.com/2011/01/18/emc-vnx-whats-in-the-box/
http://archives.devshed.com/forums/linux-97/using-lvm-with-san-1988109.html
http://archives.devshed.com/forums/linux-97/using-lvm-with-emc-powerpath-1845854.html
http://lists.us.dell.com/pipermail/linux-poweredge/2006-October/028086.html
http://archives.free.net.ph/message/20060609.164110.a24b2220.en.html
http://www.mail-archive.com/centos@centos.org/msg19136.html
http://www.redhat.com/docs/manuals/enterprise/RHEL-5-manual/en-US/RHEL510/DM_Multipath/multipath_logical_volumes.html
http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html/Cluster_Logical_Volume_Manager/lvm_filters.html <-- You can control which devices LVM scans by setting up filters in the lvm.conf configuration file
http://www.redhat.com/docs/manuals/enterprise/RHEL-5-manual/en-US/RHEL510/Cluster_Logical_Volume_Manager/lvmconf_file.html
http://kbase.redhat.com/faq/docs/DOC-1573
Support Info
http://www.emc.com/support-training/support/maintenance-tech-support/options/index.htm
Powelink:
emc193050 "vgcreate against emcpower device fails on Linux server."
emc193050 "vgcreate against emcpower device fails on Linux server."
emc46848 "Duplicate PVIDS on multiple disks"
emc118890 "How to create a Linux Sistina LVM2 logical volume"
emc118561 "Sistina LVM2 is reporting duplicate PV on RHEL"
emc120281 "How to set up a Linux host to use emcpower devices in LVM"
emc93760 "Where can I find Linux Solutions?"
http://www.pythian.com/news/14721/environment-variables-in-grid-control-user-defined-metrics/
http://www.evernote.com/shard/s48/sh/0c1c4419-cc71-43d1-b833-3158554a16dd/4202762f0bd31d3becafa02b760ae6fa
Creating a view only user in Enterprise Manager grid control http://dbastreet.com/blog/?p=395
Right After Install, the Grid Control Agent Generates ERROR-Agent is blocked. Blocked reason is: Agent is out-of-sync with repository [ID 1307816.1] <-- this fixed it
Communication: Agent to OMS Communication Fails if the Agent is 'Blocked' in the 10.2.0.5 Grid Console [ID 799618.1]
11.1 Agent Upload is Failing With "ERROR-Agent is blocked. Blocked reason is: Agent is out-of-sync with repository" [ID 1362430.1]
* ESCOM error while pressing enter, enter the following as root to change the behavior
xmodmap -e 'keycode 104 = Return'
Oracle Identity Management Certification
http://www.oracle.com/technology/software/products/ias/files/idm_certification_101401.html#BABFFCJA
eSSO: Overview And Troubleshooting Of OIM Integration With Provisioning Gateway
Doc ID: Note:550639.1
ESSO - debugging terminal emulator templates
Doc ID: Note:445012.1
How to Upgrade eSSO
Doc ID: Note:471825.1
eSSO: Credentials Might Get Corrupted
Doc ID: Note:563523.1
Installation and Configuration of the ESSO-LM with Oracle Database
Doc ID: Note:456062.1
ESSO - Putty autologin to Unix server
Doc ID: Note:412967.1
eSSO: Overview And Troubleshooting Provisioning Gateway
Doc ID: Note:549189.1
eSSO: How To Integrate an Application Having Windows Based Login and Web Based Password Change
Doc ID: Note:470492.1
Does Oracle Single Sing-On have any Means to Provide Two Factor Authentication?
Doc ID: Note:559094.1
Installing eSSO Login Manager On Windows Vista Fails If User Is Not Administrator
Doc ID: Note:469501.1
Failed To Detect Change Window Password Of Oracle Forms 6
Doc ID: Note:563955.1
ESSO - Logon Manager Agent - enabling traces for intercepted windows
Doc ID: Note:412995.1
-- MATRIX
Export/Import DataPump: The Minimum Requirements to Use Export DataPump and Import DataPump (System Privileges)
Doc ID: Note:351598.1
Export/Import DataPump Parameter VERSION - Compatibility of Data Pump Between Different Oracle Versions
Doc ID: Note:553337.1
Oracle Server - Export and Import FAQ
Doc ID: 175624.1
Oracle Server - Export Data Pump and Import DataPump FAQ (Doc ID 556636.1)
Compatibility Matrix for Export And Import Between Different Oracle Versions
Doc ID: 132904.1
Compatibility and New Features when Transporting Tablespaces with Export and Import
Doc ID: 291024.1
How to Gather the Header Information and the Content of an Export Dumpfile ?
Doc ID: 462488.1
Exporting to Tape on Unix System
Doc ID: Note:30428.1
How to Estimate Export File Size Without Creating Dump File
Doc ID: Note:106465.1
Exporting on Unix Systems
Doc ID: Note:1018477.6
Exporting/Importing From Multiple Tapes
Doc ID: Note:2035.1
Exporting to Tape Fails with Errors EXP-00002 and EXP-00000
Doc ID: Note:160764.1
Large File Issues (2Gb+) when Using Export (EXP-2 EXP-15), Import (IMP-2 IMP-21), or SQL*Loader
Doc ID: Note:30528.1
Export Using the Parameter VOLSIZE
Doc ID: Note:90620.1
Parameter FILESIZE - Make Export Write to Multiple Export Files
Doc ID: Note:290810.1
Compatibility Matrix for Export And Import Between Different Oracle Versions
Doc ID: Note:132904.1
How To Copy Database Schemas To A New Database With Same Login Password ?
Doc ID: Note:336012.1
How to Capture Table Constraints onto a SQL Script
Doc ID: Note:1016836.6
Using DBMS_METADATA To Get The DDL For Objects
Doc ID: Note:188838.1
-- DATA PUMP
Oracle DataPump Quick Start
Doc ID: Note:413965.1
DataPump Export/Import Generate Messages "The Value (30) Of Maxtrans Parameter Ignored" in Alert Log
Doc ID: Note:455021.1
How To Cleanup Orphaned DataPump Jobs In DBA_DATAPUMP_JOBS ?
Doc ID: Note:336014.1
-- CANCEL, STOP, RESTART
How To Cleanup Orphaned DataPump Jobs In DBA_DATAPUMP_JOBS ?
Doc ID: Note:336014.1
HOW TO CLEANUP ROWS IN DBA_DATAPUMP_JOBS FOR STOPPED EXP/IMP JOBS WHEN DUMPFILE IS NOT THERE OR CORRUPTED
Doc ID: Note:294618.1
-- 32bit 64bit
Note: 277650.1 - How to Use Export and Import when Transferring Data Across Platforms or Across 32-bit and 64-bit Servers
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=277650.1
Note: 553337.1 - Export/Import DataPump Parameter VERSION - Compatibility of Data Pump Between Different Oracle Versions
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=553337.1
Note: 132904.1 - Compatibility Matrix for Export And Import Between Different Oracle Versions
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=132904.1
-- EXP IMP PERFORMANCE
http://www.oracle.com/technology/products/database/utilities/htdocs/datapump_faq.html
http://www.freelists.org/post/oracle-l/import-tuning
http://www.dba-oracle.com/oracle_tips_load_speed.htm
IMPORT / EXPORT UTILITY RUNNING EXTREMELY SLOW
Doc ID: 1012699.102
Tuning Considerations When Import Is Slow
Doc ID: 93763.1
Parallel Capabilities of Oracle Data Pump
Doc ID: 365459.1
Export/Import DataPump Parameter ACCESS_METHOD - How to Enforce a Method of Loading and Unloading Data ?
Doc ID: 552424.1
-- DDL
Unix Script: IMPSHOW2SQL - Extracting SQL from an EXPORT file
Doc ID: 29765.1
How to Gather the Header Information and the Content of an Export Dumpfile ?
Doc ID: 462488.1
-- MIGRATION
How to Perform a Full Database Export Import during Upgrade, Migrate, Copy, or Move of a Database
Doc ID: 286775.1
-- EXPDP ON ASM
Creating dumpsets in ASM
Doc ID: 559878.1
How To Extract Datapump File From ASM Diskgroup To Local Filesystem?
Doc ID: 566941.1
http://dboptimizer.com/2011/05/04/sql-execution-times-from-ash/
http://dboptimizer.com/2011/05/06/sql-timings-for-ash-ii/
http://dboptimizer.com/2011/05/06/sql-ash-timings-iii/
<<<
* this is pretty awesome way of characterizing the response times of SQLs.. another way of doing this is through 10046 trace and using the Mr. Tools, and there are so many things you can do with both of the tools, another thing I'm interested in (although not related to this tiddler) is getting the IO size distribution from the 10046 along side it is the data coming from ASH which is basically pulling the data from the p1,p2,p3 values of the IO events..
<<<
{{{
[oracle@oel5-11g bin]$ cat ash_test.sh
export DATE=$(date +%Y%m%d%H%M%S%N)
sqlplus "/ as sysdba" <<EOF
set timing on
set echo on
spool all_nodes_full_table_scan_$DATE.log
select /* ash_elapsed */ * from
(select owner, object_name from karltest
where owner = 'SYSTEM'
and object_type = 'TABLE'
union
select owner, object_name from karltest
where owner = 'SYSTEM'
and object_type = 'INDEX')
order by object_name
/
spool off
exit
EOF
[oracle@oel5-11g bin]$
[oracle@oel5-11g bin]$ cat loadtest.sh
(( n=0 ))
while (( n<$1 ));do
(( n=n+1 ))
sh ash_test.sh &
done
}}}
{{{
[oracle@oel5-11g bin]$ ls -ltr
total 1468
-rwxr-xr-x 1 oracle oinstall 107 Apr 23 08:21 startdb.sh
-rwxr-xr-x 1 oracle oinstall 118 Apr 23 08:21 stopdb.sh
-rw-r--r-- 1 oracle oinstall 127675 May 5 18:12 all_nodes_full_table_scan_20110505181225583938000.log
-rw-r--r-- 1 oracle oinstall 127675 May 5 18:17 all_nodes_full_table_scan_20110505181508275739000.log
-rw-r--r-- 1 oracle oinstall 127675 May 5 18:17 all_nodes_full_table_scan_20110505181508273773000.log
-rw-r--r-- 1 oracle oinstall 127675 May 5 18:17 all_nodes_full_table_scan_20110505181508273060000.log
-rw-r--r-- 1 oracle oinstall 127675 May 5 18:17 all_nodes_full_table_scan_20110505181508269189000.log
-rw-r--r-- 1 oracle oinstall 127675 May 5 18:17 all_nodes_full_table_scan_20110505181508265790000.log
-rw-r--r-- 1 oracle oinstall 127675 May 5 18:17 all_nodes_full_table_scan_20110505181508262532000.log
-rw-r--r-- 1 oracle oinstall 127675 May 5 18:17 all_nodes_full_table_scan_20110505181508259253000.log
-rw-r--r-- 1 oracle oinstall 127675 May 5 18:17 all_nodes_full_table_scan_20110505181508256596000.log
-rw-r--r-- 1 oracle oinstall 127675 May 5 18:17 all_nodes_full_table_scan_20110505181508251337000.log
-rw-r--r-- 1 oracle oinstall 127675 May 5 18:17 all_nodes_full_table_scan_20110505181508245849000.log
-rw-r--r-- 1 oracle oinstall 64 May 5 19:23 loadtest.sh
-rw-r--r-- 1 oracle oinstall 397 May 5 19:23 ash_test.sh
}}}
{{{
[oracle@oel5-11g bin]$ cat *log | grep Elapsed
Elapsed: 00:00:15.00
Elapsed: 00:02:00.41
Elapsed: 00:02:00.10
Elapsed: 00:02:00.03
Elapsed: 00:02:00.15
Elapsed: 00:02:00.32
Elapsed: 00:02:00.08
Elapsed: 00:02:00.20
Elapsed: 00:01:59.99
Elapsed: 00:02:00.31
Elapsed: 00:02:00.11
}}}
{{{
SELECT /* example */ substr(sql_text, 1, 80) sql_text,
sql_id,
hash_value, address, child_number, plan_hash_value, FIRST_LOAD_TIME
FROM v$sql
WHERE
--sql_id = '6wps6tju5b8tq'
-- hash_value = 1481129178
sql_text LIKE '%ash_elapsed%'
AND sql_text NOT LIKE '%example%'
order by first_load_time;
SQL_TEXT SQL_ID HASH_VALUE ADDRESS CHILD_NUMBER PLAN_HASH_VALUE FIRST_LOAD_TIME
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ------------- ---------- ---------------- ------------ --------------- ----------------------------------------------------------------------------
select /* ash_elapsed */ * from (select owner, object_name from karltest where o gy6j5kg641saa 3426804042 000000006C523480 0 1959977140 2011-05-05/18:12:25
}}}
{{{
select sql_id,
run_time run_time_timestamp,
(EXTRACT(HOUR FROM run_time) * 3600
+ EXTRACT(MINUTE FROM run_time) * 60
+ EXTRACT(SECOND FROM run_time)) run_time_sec
from (
select
sql_id,
max(sample_time - sql_exec_start) run_time
from
dba_hist_active_sess_history
where
sql_exec_start is not null
group by sql_id,SQL_EXEC_ID
order by sql_id
)
-- where rownum < 100
where sql_id = 'gy6j5kg641saa'
order by sql_id, run_time desc
/
SQL_ID RUN_TIME_TIMESTAMP RUN_TIME_SEC
------------- --------------------------------------------------------------------------- ------------
gy6j5kg641saa +000000000 00:01:54.575 114.575
gy6j5kg641saa +000000000 00:01:54.575 114.575
gy6j5kg641saa +000000000 00:01:54.575 114.575
gy6j5kg641saa +000000000 00:01:54.575 114.575
gy6j5kg641saa +000000000 00:01:54.575 114.575
gy6j5kg641saa +000000000 00:01:54.575 114.575
gy6j5kg641saa +000000000 00:01:54.575 114.575
gy6j5kg641saa +000000000 00:01:54.575 114.575
gy6j5kg641saa +000000000 00:01:53.575 113.575
gy6j5kg641saa +000000000 00:01:53.575 113.575
gy6j5kg641saa +000000000 00:00:11.052 11.052
11 rows selected.
}}}
{{{
select sql_id,
count(*),
round(avg(EXTRACT(HOUR FROM run_time) * 3600
+ EXTRACT(MINUTE FROM run_time) * 60
+ EXTRACT(SECOND FROM run_time)),2) avg ,
round(min(EXTRACT(HOUR FROM run_time) * 3600
+ EXTRACT(MINUTE FROM run_time) * 60
+ EXTRACT(SECOND FROM run_time)),2) min ,
round(max(EXTRACT(HOUR FROM run_time) * 3600
+ EXTRACT(MINUTE FROM run_time) * 60
+ EXTRACT(SECOND FROM run_time)),2) max
from (
select
sql_id,
max(sample_time - sql_exec_start) run_time
from
dba_hist_active_sess_history
where
sql_exec_start is not null
and sql_id = 'gy6j5kg641saa'
group by sql_id,SQL_EXEC_ID
order by sql_id
)
-- where rownum < 100
group by sql_id
order by avg desc
/
SQL_ID COUNT(*) AVG MIN MAX
------------- ---------- -------- ---------- ----------
gy6j5kg641saa 11 104.980 11.05 114.58
}}}
-- Also verify the data points and avg min max in Excel
[img[picturename| https://lh6.googleusercontent.com/_F2x5WXOJ6Q8/TcKKM6OwQNI/AAAAAAAABQQ/6AunDw4VDvI/avgminmax.png]]
SQL> select count(*) from karltest;
COUNT(*)
----------
2215968
SQL> insert into karltest select * from dba_objects;
69249 rows created.
Elapsed: 00:00:00.86
SQL> commit;
Commit complete.
SQL> select count(*) from karltest;
COUNT(*)
----------
69249
[oracle@oel5-11g bin]$ cat *log | grep Elapsed
Elapsed: 00:00:00.67
Elapsed: 00:00:00.35
Elapsed: 00:00:01.16
Elapsed: 00:00:00.33
Elapsed: 00:00:00.35
Elapsed: 00:00:00.31
Elapsed: 00:00:00.31
Elapsed: 00:00:01.32
Elapsed: 00:00:00.34
Elapsed: 00:00:00.31
SELECT /* example */ substr(sql_text, 1, 80) sql_text,
sql_id,
hash_value, address, child_number, plan_hash_value, FIRST_LOAD_TIME
FROM v$sql
WHERE
--sql_id = '6wps6tju5b8tq'
-- hash_value = 1481129178
sql_text LIKE '%ash_elapsed2%'
AND sql_text NOT LIKE '%example%'
order by first_load_time;
SQL> SELECT /* example */ substr(sql_text, 1, 80) sql_text,
2 sql_id,
3 hash_value, address, child_number, plan_hash_value, FIRST_LOAD_TIME
4 FROM v$sql
5 WHERE
6 --sql_id = '6wps6tju5b8tq'
7 -- hash_value = 1481129178
8 sql_text LIKE '%ash_elapsed2%'
9 AND sql_text NOT LIKE '%example%'
order by first_load_time; 10
SQL_TEXT SQL_ID HASH_VALUE ADDRESS CHILD_NUMBER PLAN_HASH_VALUE FIRST_LOAD_TIME
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ------------- ---------- ---------------- ------------ --------------- ----------------------------------------------------------------------------
select /* ash_elapsed2 */ * from (select owner, object_name from karltest where 4bkcftyvj2j6p 3071362261 000000006C776858 0 1959977140 2011-05-05/19:59:58
SQL> BEGIN
DBMS_WORKLOAD_REPOSITORY.CREATE_SNAPSHOT ();
END;
/ 2 3 4
PL/SQL procedure successfully completed.
SQL> select sql_id,
2 run_time run_time_timestamp,
3 (EXTRACT(HOUR FROM run_time) * 3600
+ EXTRACT(MINUTE FROM run_time) * 60
4 5 + EXTRACT(SECOND FROM run_time)) run_time_sec
6 from (
7 select
8 sql_id,
9 max(sample_time - sql_exec_start) run_time
10 from
11 dba_hist_active_sess_history
12 where
13 sql_exec_start is not null
14 group by sql_id,SQL_EXEC_ID
order by sql_id
15 16 )
-- where rownum < 100
17 18 where sql_id = '4bkcftyvj2j6p'
19 order by sql_id, run_time desc
/ 20
no rows selected
first I've setup my own mail server (where my DNS,NTP,Samba are also hosted in one VM)... [[R&D Mail Server]] http://www.evernote.com/shard/s48/sh/799368fe-07f0-4ebf-8a92-8b295e9bcf0d/61f0bb8e887507684925fad01d3f9245
Setup Email Notification
http://www.evernote.com/shard/s48/sh/a0869438-b44d-4b39-a280-c138dc21ac84/48be976fcc4fc894e8713d261cfc644a
tablespacealerts and repvfy install
http://www.evernote.com/shard/s48/sh/9568bb0c-c65b-482f-903b-b4b792e5f927/4745645ebf375d8abc950ca3f059dc3a
tablespacealerts-fixdbtimezone (I don't think you have to deal with this)
http://www.evernote.com/shard/s48/sh/9520da28-d89d-4b63-adbd-04b0cb4d819e/cfaa06dbdf41046a0597694180d66c43
''related notes''
RAC Metrics: Unable to get E-mail Notification for some metrics against Cluster Databases (Doc ID 403886.1)
1) Setup Yum and install the following rpms
yum install curl compat-libstdc++-33 glibc nspluginwrapper
2) Download the flash player RPM
http://get.adobe.com/flashplayer/
rpm -ivh flash-plugin.rpm
3) Close the Firefox and restart it
http://www.flashconf.com/how-to/how-to-install-flash-player-on-centosredhat-linux/
-- FAQ
Enterprise Manager Database Console FAQ (Doc ID 863631.1)
Master Note for Grid Control 11.1.0.1.0 Installation and Upgrade [ID 1067438.1] <-- MASTER NOTE
Oracle Support Master Note for 10g Grid Control OMS Performance Issues (Doc ID 1161003.1)
http://blogs.oracle.com/db/2010/09/oracle_support_master_note_for_10g_grid_control_oms_performance_issues_doc_id_11610031_1.html
-- INSTALLATION 10gR2
Doc ID: 763351.1 Documentation Reference for Grid Control 10.2.0.5.0 Installation and Upgrade
Note 412431.1 - Oracle Enterprise Manager 10g Grid Control Certification Checker
Note 464674.1 - Checklist for EM 10g Grid Control 10.2.x to 10.2.0.4/10.2.0.5 OMS and Repository Upgrades
Note 784963.1 - How to Install Grid Control 10.2.0.5.0 on Enterprise Linux 5 Using the Existing Database (11g) Option
Note 793870.1 - How to Install Grid Control 10.2.0.5.0 on Enterprise Linux 4 Using the Existing Database (11g) Option
Note 604520.1 - How to Install Grid Control 10.2.0.4.0 with an Existing (10.2.X.X/11.1.0.6) Database using the Software-only Option
Doc ID: 467677.1 How to Install Grid Control 10.2.0.4.0 to use an 11g Database for the Repository
Doc ID: 780836.1 How to Install Grid Control 10.2.0.5.0 on Enterprise Linux 5 Using the New Database Option <-- got from Jeff Hunter
-- INSTALLATION 11g
Enterprise Manager Grid Control and Database Control Certification with 11g R2 Database [ID 1266977.1]
11g Grid Control: 11.2.0.1 Database Containing Grid Control Repository Generates Core Dump with ORA-07445 Error [ID 1305569.1]
Checklist for EM 10g Grid Control 10.2.0.4/10.2.0.5 to 11.1.0.1.0 OMS and Repository Upgrades [ID 1073166.1]
Grid Control 11g: How to Install 11.1.0.1.0 on OEL5.3 x86_64 with a 11.1.0.7.0 Repository Database [ID 1064495.1]
Grid Control 11g install fails at OMS configuration stage - Wrong Weblogic Server version used. [ID 1135493.1]
http://kkempf.wordpress.com/2010/05/08/em-11g-grid-control-install/
http://www.ora-solutions.net/papers/HowTo_Installation_GridControl_11g_RHEL5.pdf
http://gavinsoorma.com/2010/10/11g-grid-control-installation-tips-and-solutions/
http://www.emarcel.com/myblog/44-oraclearticles/136-installingoem11gr1
http://www.oracle-wiki.net/startdocsgridcontrollinuxagentinstall11gmanual
http://www.oracle-wiki.net/startdocsgridcontrollinuxagentinstall11g
http://www.oracle-wiki.net/startdocsgridcontrolpostimplementation11g#toc9
http://www.oracle-wiki.net/startdocshowtobuildgridcontrol11101
http://download.oracle.com/docs/cd/E11857_01/install.111/e16847/install_agent_on_clstr.htm#CHDHEBFE <-- official doc
https://forums.oracle.com/forums/thread.jspa?threadID=2244102
http://www.gokhanatil.com/2011/08/how-to-deploy-em-grid-control-11g-agent.html <-- on windows
Installing Enterprise Manager Grid Control Fails with Error 'OUI-10133 Invalid staging area' [ID 443513.1] <-- staging
11g Grid Control: Details of the Directory Structure and Commonly Used Locations in a 11g OMS Installation [ID 1276554.1] <-- the detailed directory structure
-- OEM MAA
MAA home page http://www.oracle.com/technetwork/database/features/availability/em-maa-155389.html
http://docs.oracle.com/cd/E11857_01/em.111/e16790/part3.htm#sthref1164 <-- four levels of HA
http://docs.oracle.com/cd/E11857_01/em.111/e16790/ha_single_resource.htm#CHDEHBEG <-- single resource config
http://docs.oracle.com/cd/E11857_01/em.111/e16790/ha_multi_resource.htm#BABDAJEE <-- multiple resource config
http://blogs.oracle.com/db/entry/oracle_support_master_note_for_configuring_10g_grid_control_components_for_high_availability <-- collection of MOS notes for OEM HA
Enterprise Manager Community: Four Stages to MAA in Grid Control [ID 985082.1]
How To Configure Enterprise Manager for High Availability [ID 330072.1]
-- TROUBLESHOOTING
Files Needed for Troubleshooting an EM 10G Service Request if an RDA is not Available [ID 405755.1]
How to Run the RDA against a Grid Control Installation [ID 1057051.1]
Files to Upload for an Enterprise Manager Grid Control 10g Service Request [ID 377124.1]
-- CONSOLE, WEBSITE
Differences Between Oracle Enterprise Manager Console and Oracle Enterprise Manager Web Site
Doc ID: Note:222667.1
-- DATABASE CONTROL
278100.1 drop recreate dbconsole
Master Note for Enterprise Manager Configuration Assistant (EMCA) in Single Instance Database Environment [ID 1099271.1]
-- GRID CONTROL
Comparison Between the Database Healthcheck and Database Response Metrics
Doc ID: Note:469227.1
Overview Comparison of EM 9i to EM10g Features
Doc ID: Note:277066.1
EM 10gR2 GRID Control Release Notes (10.2.0.1.0)
Doc ID: Note:356236.1
OCM: Software Configuration Manager (SCM formerly known as MCP): FAQ and Troubleshooting for Oracle Configuration Manager (OCM)
Doc ID: Note:369619.1
Enterprise Manager Grid Control 10g (10.1.0) Frequently Asked Questions
Doc ID: Note:273579.1
Differences Between Oracle Enterprise Manager Console and Oracle Enterprise Manager Web Site
Doc ID: Note:222667.1
Where Are The Tuning Pack Advisors For A 9i DB Within 10g Gc Control?
Doc ID: Note:299729.1
Grid Control Reports FAQ
Doc ID: Note:460894.1
How do you display performance data for a period greater than 31 days in Enterprise Manager
Doc ID: Note:363880.1
Enterprise Manager DST Quick Fix Guide
Doc ID: Note:418792.1
What can you patch using Grid Control?
Doc ID: Note:457979.1
How To Discover RAC Listeners Started On VIPs In Grid Control
Doc ID: Note:461420.1
EM2GO (Enterprise Manager Grid Control 10G) Frequently Asked Questions
Doc ID: Note:400193.1
How To Access Advisor Central for 9i Target Databases in Grid Control
Doc ID: Note:332971.1
Frequently Asked Questions (FAQ) for EM Tuning Pack 9i
Doc ID: Note:169548.1
Where Are The Tuning Pack Advisors For A 9i DB Within 10g Gc Control?
Doc ID: Note:299729.1
Frequently Asked Questions (FAQ) for the EM Diagnostics Pack 9i
Doc ID: Note:169551.1
-- ISSUES/BUGS
Note 387212.1 - How to Locate the Installation Logs for Grid Control 10.2.0.x
10.2 Grid Agent Can Break RAID Mirroring and Cause Hard Disk To Go Offline
Doc ID: 454647.1
Known Issues: When Installing Grid Control Using Existing Database Which Is Configured With ASM
Doc ID: 738445.1
Doc ID: 787872.1 Grid Control 10.2.0.5.0 Known Issues
Files to Upload for an Enterprise Manager Grid Control 10g Service Request
Doc ID: 377124.1
Database Control Status Of Db Instance Is Unmounted (Doc ID 550712.1)
Problem: Database Status Unavailable in Grid Control with Metric Collection Error (Doc ID 340158.1)
Database Control Showing Database Status as Currently Unavailable. Connect via sqlplus is successfull. (Doc ID 315299.1)
Grid Control shows Database Status as Unmounted on the db Homepage, but the Database is actually Open (Doc ID 1094524.1)
PROBLEM: Top Activity Page Fails With Error "Java.Sql.Sqlexception: Unknown Host Specified" In Grid Control 11.1 [ID 1183783.1] <-- issue we had on exadata
-- METRICS
How to - Disable the Host Storage Metric on Multiple Hosts using an Enterprise Manager Job
Doc ID: 560905.1
Troubleshooting guide to remove old warning and critical alerts from grid console
Doc ID: 806052.1
Note 748630.1 - How to clear an Alert in Enterprise Manager Grid Control
Warning Alerts Still Reported for Metrics That Have Been Disabled
Doc ID: 744115.1
Understanding Oracle 10G - Server Generated Alerts
Doc ID: 266970.1
-- ''EMAIL NOTIFICATIONS''
Problem - RDBMS metrics, e.g.Tablespace Full(%), not clearing in Grid Control even though they are no longer present in dba_outstanding_alerts [ID 455222.1]
Understanding Oracle 10G - Server Generated Alerts [ID 266970.1]
How to set up dbconsole to send email notifications for a metric alert (eg. tablespace full) [ID 1266924.1]
Configuring Email Notification Method in EM - Steps and Troubleshooting [ID 429426.1]
New Features for Notifications in 10.2.0.5 Enterprise Manager Grid Control [ID 813399.1]
How to Add/Update Email Addresses and Configure a Notification Schedule in Grid Control ? [ID 438150.1]
How to Test an SMTP Mail Gateway From a Command Line Interface [ID 74269.1]
Grid Control and SMTP Authentication [ID 429836.1]
What are Short and Long Email Formats in Enterprise Manager Notifications? [ID 429292.1]
How To Configure Notification Rules in Enterprise Manager Grid Control? [ID 429422.1]
Configuring SNMP Trap Notification Method in EM - Steps and Troubleshooting [ID 434886.1]
Configuring Notifications for Job Executions in Enterprise Manager [ID 414409.1]
What are the Packs required for using the Notifications feature from Grid Control? [ID 552788.1]
How to Enable 'Repeat Notifications' from Enterprise Manager Grid Control? [ID 464847.1]
How to Troubleshoot Notifications That Are Hung / Stuck and Not Being Sent from EM 10g [ID 285093.1]
http://download.oracle.com/docs/cd/B16240_01/doc/em.102/b25986/oracle_database.htm#sthref1176
EMDIAG REPVFY Kit - Download, Install/De-Install and Upgrade [ID 421499.1]
All Email Notifications Arrive With 1 Hour Delay In Grid control [ID 413718.1]
EMDIAG Master Index [ID 421053.1]
EMDIAG REPVFY Kit - How to Use the Repository Diagnostics [ID 421563.1]
EMDIAG REPVFY Kit - Download, Install/De-Install and Upgrade [ID 421499.1]
EMDIAG REPVFY Kit - Environment Variables [ID 421586.1]
EMDIAG REPVFY Kit - How to Configure the 'repvfy.cfg' File [ID 421600.1]
change dbtimzone https://forums.oracle.com/forums/thread.jspa?threadID=572038
Timestamps & time zones - Frequently Asked Questions [ID 340512.1]
http://practicaloracle.blogspot.com/2007/10/oracle-enterprise-manager-10g.html
Note: 271367.1 - Oracle Alert Alert Check Setup Test
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=271367.1
Note: 577392.1 - How To Check Oracle Alert Setup?
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=577392.1
Note: 75030.1 - Troubleshooting Oracle Alert on NT
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=75030.1
Note: 152687.1 - How to Troubleshoot E-mail and Alerts
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=152687.1
-- ENTERPRISE MANAGER
How to: Grant Access to non-DBA users to the Database Performance Tab
Doc ID: 455191.1
-- DISCOVERY
How to Troubleshoot EM Discovery Problems Caused by the Intelligent Agent Setup
Doc ID: Note:166935.1
-- TUTORIAL
Centrally Managing Your Enterprise Environment With EM 10g Grid Control - Oracle by Example Lesson
Doc ID: 277090.1
-- LINUX PACK
Un-Install / Rollback of RPM's on Linux OS from Enterprise Manager
Doc ID: 436535.1
Patching Linux Hosts through Deployment Procedure from Enterprise Manager
Doc ID: 436485.1
-- MIGRATION, DB2GC (starting 10.2.0.3)
Migrate targets from DB Control to Grid Control - db2gc
Doc ID: 605578.1
How To Move the Grid Control Repository Using an Inconsistent (Hot) Database Backup
Doc ID: 602955.1
-----------------------------------------------------------------------------------------------------------------------------------------------
Oracle Created Database Users: Password, Usage and Files References
Doc ID: Note:160861.1
How to change the password of the 10g database user sysman
Doc ID: Note:259379.1
How to change the password of the 10g database user dbsnmp
Doc ID: Note:259387.1
How to Start the Central Management Agent on an AS Instance Host
Doc ID: Note:297727.1
Understanding Network Address Translation in EM 10g Grid Control
Doc ID: Note:299595.1
How To Find Agents with time-skew problems
Doc ID: Note:359524.1
10gR2 - Where is the Management Services & Repository Monitoring Page in Grid Control
Doc ID: Note:356795.1
Problem: Performance: Agent High CPU Consumption
Doc ID: Note:361612.1
How To Perform Periodic Maintenance and Improve Performance of Grid Control Repository
Doc ID: Note:387957.1
How to Start and Stop Enterprise Manager Components
Doc ID: Note:298991.1
How to Start and Stop Enterprise Manager Components
Doc ID: Note:298991.1
How to: Add The Domain Name Of The Host To Name Of The Agent
Doc ID: Note:295949.1
Understanding the Enterprise Manager Management Agent 10g 'emd.properties' File
Doc ID: Note:235290.1
Understanding Oracle Enterprise Manager 10g Agent Resource Consumption
Doc ID: Note:375509.1
Understanding the Enterprise Manager 10g Grid Control Management Agent
Doc ID: Note:234872.1
How To Install A Grid Management Agent On 10g Rac Cluster And On Single Node
Doc ID: Note:309635.1
How do you display performance data for a period greater than 31 days in Enterprise Manager
Doc ID: Note:363880.1
How to Restrict access for EM Database Control only from Specific Hosts / IPs
Doc ID: Note:438493.1
How Do You Configure An Agent After Hostname Change?
Doc ID: Note:423565.1
Problem: Config: Why Does The Em-Application.Log Grow So Large?
Doc ID: Note:403525.1
Files Needed for Troubleshooting an EM 10G Service Request if an RDA is not Available
Doc ID: Note:405755.1
Files to Upload for an Enterprise Manager Grid Control 10g Service Request
Doc ID: Note:377124.1
HOW TO: give a user only read only access of Enterprise Manager Database Control
Doc ID: Note:465520.1
The dbconsole fails to start after a change in the hostname.
Doc ID: Note:467598.1
How to: Configure the DB Console to Use Dedicated Server Processes
Doc ID: Note:432972.1
Basic Troubleshooting Guide For Grid Control Oracle Mangement Server (OMS) Midtier
Doc ID: Note:550395.1
How to Point an Agent to a different Grid Control OMS and Repository?
Doc ID: Note:413228.1
How to Log and Trace the EM 10g Management Agents
Doc ID: Note:229624.1
How to Install The Downloadable Central Management Agent in EM 10g Grid Control
Doc ID: Note:235287.1
How To Discover An AS Instance In EM 10g Grid Control
Doc ID: Note:297721.1
How To Rename A Database Target in Grid Control
Doc ID: Note:295014.1
EM 10g Target Discovery White Paper
Doc ID: Note:239224.1
How to Cleanly De-Install the EM 10g Agent on Windows and Unix
Doc ID: Note:438158.1
How To Discover a Standalone Webcache Installation In EM 10g Grid Control
Doc ID: Note:297734.1
Problem: Database Upgraded, Now Database Home Page In Grid Control Still Shows Old Oracle Home
Doc ID: Note:290731.1
Is it Possible to Manage a Standalone OC4J Target using Grid Control?
Doc ID: Note:414635.1
How To Add a New OC4J Target To The Grid Control
Doc ID: Note:290261.1
How To Find the Target_name Of a 10G Database Or Other Grid Target
Doc ID: Note:371643.1
How to Remove a Target From The EM 10g Grid Control Console
Doc ID: Note:271691.1
Problem: App Server Not Being Discovered By Grid Agent
Doc ID: Note:454600.1
Problem: Not All Duplicate Database Target Names Can Be Discovered In Grid Control
Doc ID: Note:443520.1
How To Manually Add A Target (Host) To Grid Control 10g
Doc ID: Note:279975.1
Howto: How to remove a deleted agent from the GRID Control repository database?
Doc ID: Note:454081.1
How to Troubleshoot Grid Control Provisioning and Deployment Setup Issues.
Doc ID: Note:466798.1
----- GRID CONTROL UPGRADE -------------------------------
Problem: Listener Referring Old Oracle Home After Upgrading From 10.1.0.4 to 10.2.0.1
Doc ID: Note:423439.1
Problem: 10.1.0.4.0 Upgrade: Additonal Management Service Patching Needs First Oms To Be Stopped
Doc ID: Note:377303.1
How to Obtain Patch 4329444 for Upgrading Grid Control Repository to 10.2.0.3.0 / 10.2.0.4 on Windows
Doc ID: Note:456928.1
How To Find RDBMS patchsets on Metalink
Doc ID: Note:438049.1
How To Find and Download The Latest Patchset and Associated Patch Number For Oracle Database Release
Doc ID: Note:330374.1
How to be notified for all ORA- Errors recorded in the alert.log file
Doc ID: Note:405396.1
Different Upgrade Methods For Upgrading Your Database
Doc ID: Note:419550.1
Procedure To Upgrade The Database From 8.1.7.4.0 In AIX 4.3.3 64-bit To 10.2.0.X.0 On AIX 5L 64-bit
Doc ID: Note:413968.1
How to upgrade database control from 10gR1 to 10gR2 using emca upgrade
Doc ID: Note:465518.1
Does The RMAN Catalog Need To Be Downgraded When The Database Is Downgraded?
Doc ID: Note:558364.1
Complete checklist for manual upgrades of Oracle databases from anyversion to any version on any platform (documents only from 7.3.x>>8.0.x>>8.1.x>>9.0.x>>9.2.x>>10.1.x>>10.2.x>>11.1.x)
Doc ID: Note:421191.1
Key RDBMS Install Differences in 11gR1
Doc ID: Note:431768.1
Complete Checklist for Manual Upgrades to 10gR2
Doc ID: Note:316889.1
COMPATIBLE Initialization Parameter While Upgrading To 10gR2
Doc ID: Note:413186.1
RMAN Compatibility Matrix
Doc ID: Note:73431.1
How to upgrade a 10.1.0.5.0 Repository Database for Grid Control to a 10.2.0.2.0 Repository Database
Doc ID: Note:399520.1
Steps to upgrade 10.2.0.2.0 (or) higher Repository Database for EM Grid Control to 11.1.0.6.0
Doc ID: Note:467586.1
EM2GO (Enterprise Manager Grid Control 10G) Frequently Asked Questions
Doc ID: Note:400193.1
Quick Link to EM 10g Grid Control Installation Documentation
Doc ID: Note:414700.1
Installation Checklist for EM 10g Grid Control 10.1.x.x to 10.2.0.1 OMS and Repository Upgrades
Doc ID: Note:401592.1
-- RHEL 4.2
Prerequisites and Install Information for EM 10g Grid Control Components on Red Hat EL 4.0 Update 2 Platforms
Doc ID: Note:343364.1
{{{
--V2
> cat /etc/fstab
/dev/md5 / ext3 defaults,usrquota,grpquota 1 1
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
/dev/md2 swap swap defaults 0 0
/dev/md7 /opt/oracle ext3 defaults,nodev 1 1
/dev/md4 /boot ext3 defaults,nodev 1 1
/dev/md11 /var/log/oracle ext3 defaults,nodev 1 1
[enkcel01:root] /root
>
[enkcel01:root] /root
> df -Th
Filesystem Type Size Used Avail Use% Mounted on
/dev/md5 ext3 9.9G 5.8G 3.6G 62% /
tmpfs tmpfs 12G 0 12G 0% /dev/shm
/dev/md7 ext3 2.0G 684M 1.3G 36% /opt/oracle
/dev/md4 ext3 116M 42M 69M 38% /boot
/dev/md11 ext3 2.3G 149M 2.1G 7% /var/log/oracle
[enkcel01:root] /root
>
[enkcel01:root] /root
> mount
/dev/md5 on / type ext3 (rw,usrquota,grpquota)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
/dev/md7 on /opt/oracle type ext3 (rw,nodev)
/dev/md4 on /boot type ext3 (rw,nodev)
/dev/md11 on /var/log/oracle type ext3 (rw,nodev)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
> cat /proc/mdstat
Personalities : [raid1]
md4 : active raid1 sdb1[1] sda1[0]
120384 blocks [2/2] [UU]
md5 : active raid1 sdb5[1] sda5[0]
10482304 blocks [2/2] [UU]
md6 : active raid1 sdb6[1] sda6[0]
10482304 blocks [2/2] [UU]
md7 : active raid1 sdb7[1] sda7[0]
2096384 blocks [2/2] [UU]
md8 : active raid1 sdb8[1] sda8[0]
2096384 blocks [2/2] [UU]
md2 : active raid1 sdb9[1] sda9[0]
2096384 blocks [2/2] [UU]
md11 : active raid1 sdb11[1] sda11[0]
2433728 blocks [2/2] [UU]
md1 : active raid1 sdb10[1] sda10[0]
714752 blocks [2/2] [UU]
unused devices: <none>
[enkcel01:root] /root
>
[enkcel01:root] /root
> mdadm --misc --detail /dev/md4
/dev/md4:
Version : 0.90
Creation Time : Sat May 15 13:47:10 2010
Raid Level : raid1
Array Size : 120384 (117.58 MiB 123.27 MB)
Used Dev Size : 120384 (117.58 MiB 123.27 MB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 4
Persistence : Superblock is persistent
Update Time : Sun Oct 16 04:22:03 2011
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
UUID : d529a7ad:ed5936bb:b0502716:e8114570
Events : 0.88
Number Major Minor RaidDevice State
0 8 1 0 active sync /dev/sda1
1 8 17 1 active sync /dev/sdb1
[enkcel01:root] /root
> mdadm --misc --detail /dev/md5
/dev/md5:
Version : 0.90
Creation Time : Sat May 15 13:47:19 2010
Raid Level : raid1
Array Size : 10482304 (10.00 GiB 10.73 GB)
Used Dev Size : 10482304 (10.00 GiB 10.73 GB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 5
Persistence : Superblock is persistent
Update Time : Sun Oct 23 03:47:34 2011
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
UUID : 11ba27c1:6d6fa21d:8fa278dc:2cb77a67
Events : 0.70
Number Major Minor RaidDevice State
0 8 5 0 active sync /dev/sda5
1 8 21 1 active sync /dev/sdb5
[enkcel01:root] /root
> mdadm --misc --detail /dev/md6
/dev/md6:
Version : 0.90
Creation Time : Sat May 15 13:47:34 2010
Raid Level : raid1
Array Size : 10482304 (10.00 GiB 10.73 GB)
Used Dev Size : 10482304 (10.00 GiB 10.73 GB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 6
Persistence : Superblock is persistent
Update Time : Sun Oct 16 04:28:03 2011
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
UUID : b9e70f92:9f86d4fd:e0cf405d:df6b60ef
Events : 0.26
Number Major Minor RaidDevice State
0 8 6 0 active sync /dev/sda6
1 8 22 1 active sync /dev/sdb6
[enkcel01:root] /root
> mdadm --misc --detail /dev/md7
/dev/md7:
Version : 0.90
Creation Time : Sat May 15 13:48:06 2010
Raid Level : raid1
Array Size : 2096384 (2047.59 MiB 2146.70 MB)
Used Dev Size : 2096384 (2047.59 MiB 2146.70 MB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 7
Persistence : Superblock is persistent
Update Time : Sun Oct 23 03:47:28 2011
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
UUID : 056ad8df:b649ca96:cc7d1691:c2e85879
Events : 0.90
Number Major Minor RaidDevice State
0 8 7 0 active sync /dev/sda7
1 8 23 1 active sync /dev/sdb7
[enkcel01:root] /root
> mdadm --misc --detail /dev/md8
/dev/md8:
Version : 0.90
Creation Time : Sat May 15 13:48:55 2010
Raid Level : raid1
Array Size : 2096384 (2047.59 MiB 2146.70 MB)
Used Dev Size : 2096384 (2047.59 MiB 2146.70 MB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 8
Persistence : Superblock is persistent
Update Time : Sun Oct 16 04:23:44 2011
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
UUID : 9650421a:fd228e8e:e2e291ce:f8970923
Events : 0.84
Number Major Minor RaidDevice State
0 8 8 0 active sync /dev/sda8
1 8 24 1 active sync /dev/sdb8
[enkcel01:root] /root
> mdadm --misc --detail /dev/md2
/dev/md2:
Version : 0.90
Creation Time : Sat May 15 13:46:43 2010
Raid Level : raid1
Array Size : 2096384 (2047.59 MiB 2146.70 MB)
Used Dev Size : 2096384 (2047.59 MiB 2146.70 MB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 2
Persistence : Superblock is persistent
Update Time : Sun Oct 16 04:23:00 2011
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
UUID : 14811b0c:f3cf3622:03f81e8a:89b2d031
Events : 0.78
Number Major Minor RaidDevice State
0 8 9 0 active sync /dev/sda9
1 8 25 1 active sync /dev/sdb9
[enkcel01:root] /root
> mdadm --misc --detail /dev/md11
/dev/md11:
Version : 0.90
Creation Time : Wed Sep 8 13:18:37 2010
Raid Level : raid1
Array Size : 2433728 (2.32 GiB 2.49 GB)
Used Dev Size : 2433728 (2.32 GiB 2.49 GB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 11
Persistence : Superblock is persistent
Update Time : Sun Oct 23 03:47:52 2011
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
UUID : 55c92014:d351004a:539a77be:6c759d6e
Events : 0.94
Number Major Minor RaidDevice State
0 8 11 0 active sync /dev/sda11
1 8 27 1 active sync /dev/sdb11
[enkcel01:root] /root
> mdadm --misc --detail /dev/md1
/dev/md1:
Version : 0.90
Creation Time : Sat May 15 13:46:44 2010
Raid Level : raid1
Array Size : 714752 (698.12 MiB 731.91 MB)
Used Dev Size : 714752 (698.12 MiB 731.91 MB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 1
Persistence : Superblock is persistent
Update Time : Sun Oct 16 04:22:18 2011
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
UUID : bdfabe50:2c42a387:120614c4:2f682052
Events : 0.78
Number Major Minor RaidDevice State
0 8 10 0 active sync /dev/sda10
1 8 26 1 active sync /dev/sdb10
> parted /dev/sda print
Model: LSI MR9261-8i (scsi)
Disk /dev/sda: 1999GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 32.3kB 123MB 123MB primary ext3 boot, raid
2 123MB 132MB 8225kB primary ext2
3 132MB 1968GB 1968GB primary
4 1968GB 1999GB 31.1GB extended lba
5 1968GB 1979GB 10.7GB logical ext3 raid
6 1979GB 1989GB 10.7GB logical ext3 raid
7 1989GB 1991GB 2147MB logical ext3 raid
8 1991GB 1994GB 2147MB logical ext3 raid
9 1994GB 1996GB 2147MB logical linux-swap raid
10 1996GB 1997GB 732MB logical raid
11 1997GB 1999GB 2492MB logical ext3 raid
Information: Don't forget to update /etc/fstab, if necessary.
[enkcel01:root] /root
> parted /dev/sdb print
Model: LSI MR9261-8i (scsi)
Disk /dev/sdb: 1999GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 32.3kB 123MB 123MB primary ext3 boot, raid
2 123MB 132MB 8225kB primary ext2
3 132MB 1968GB 1968GB primary
4 1968GB 1999GB 31.1GB extended lba
5 1968GB 1979GB 10.7GB logical ext3 raid
6 1979GB 1989GB 10.7GB logical ext3 raid
7 1989GB 1991GB 2147MB logical ext3 raid
8 1991GB 1994GB 2147MB logical ext3 raid
9 1994GB 1996GB 2147MB logical linux-swap raid
10 1996GB 1997GB 732MB logical raid
11 1997GB 1999GB 2492MB logical ext3 raid
Information: Don't forget to update /etc/fstab, if necessary.
> fdisk -l
Disk /dev/sda: 1998.9 GB, 1998998994944 bytes
255 heads, 63 sectors/track, 243031 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 15 120456 fd Linux raid autodetect
/dev/sda2 16 16 8032+ 83 Linux
/dev/sda3 17 239246 1921614975 83 Linux
/dev/sda4 239247 243031 30403012+ f W95 Ext'd (LBA)
/dev/sda5 239247 240551 10482381 fd Linux raid autodetect
/dev/sda6 240552 241856 10482381 fd Linux raid autodetect
/dev/sda7 241857 242117 2096451 fd Linux raid autodetect
/dev/sda8 242118 242378 2096451 fd Linux raid autodetect
/dev/sda9 242379 242639 2096451 fd Linux raid autodetect
/dev/sda10 242640 242728 714861 fd Linux raid autodetect
/dev/sda11 242729 243031 2433816 fd Linux raid autodetect
Disk /dev/sdb: 1998.9 GB, 1998998994944 bytes
255 heads, 63 sectors/track, 243031 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 15 120456 fd Linux raid autodetect
/dev/sdb2 16 16 8032+ 83 Linux
/dev/sdb3 17 239246 1921614975 83 Linux
/dev/sdb4 239247 243031 30403012+ f W95 Ext'd (LBA)
/dev/sdb5 239247 240551 10482381 fd Linux raid autodetect
/dev/sdb6 240552 241856 10482381 fd Linux raid autodetect
/dev/sdb7 241857 242117 2096451 fd Linux raid autodetect
/dev/sdb8 242118 242378 2096451 fd Linux raid autodetect
/dev/sdb9 242379 242639 2096451 fd Linux raid autodetect
/dev/sdb10 242640 242728 714861 fd Linux raid autodetect
/dev/sdb11 242729 243031 2433816 fd Linux raid autodetect
Disk /dev/sdc: 1998.9 GB, 1998998994944 bytes
255 heads, 63 sectors/track, 243031 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdc doesn't contain a valid partition table
Disk /dev/sdd: 1998.9 GB, 1998998994944 bytes
255 heads, 63 sectors/track, 243031 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdd doesn't contain a valid partition table
Disk /dev/sde: 1998.9 GB, 1998998994944 bytes
255 heads, 63 sectors/track, 243031 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sde doesn't contain a valid partition table
Disk /dev/sdf: 1998.9 GB, 1998998994944 bytes
255 heads, 63 sectors/track, 243031 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdf doesn't contain a valid partition table
Disk /dev/sdg: 1998.9 GB, 1998998994944 bytes
255 heads, 63 sectors/track, 243031 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdg doesn't contain a valid partition table
Disk /dev/sdh: 1998.9 GB, 1998998994944 bytes
255 heads, 63 sectors/track, 243031 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdh doesn't contain a valid partition table
Disk /dev/sdi: 1998.9 GB, 1998998994944 bytes
255 heads, 63 sectors/track, 243031 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdi doesn't contain a valid partition table
Disk /dev/sdj: 1998.9 GB, 1998998994944 bytes
255 heads, 63 sectors/track, 243031 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdj doesn't contain a valid partition table
Disk /dev/sdk: 1998.9 GB, 1998998994944 bytes
255 heads, 63 sectors/track, 243031 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdk doesn't contain a valid partition table
Disk /dev/sdl: 1998.9 GB, 1998998994944 bytes
255 heads, 63 sectors/track, 243031 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdl doesn't contain a valid partition table
Disk /dev/sdm: 4009 MB, 4009754624 bytes
124 heads, 62 sectors/track, 1018 cylinders
Units = cylinders of 7688 * 512 = 3936256 bytes
Device Boot Start End Blocks Id System
/dev/sdm1 1 1017 3909317 83 Linux
Disk /dev/md1: 731 MB, 731906048 bytes
2 heads, 4 sectors/track, 178688 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk /dev/md1 doesn't contain a valid partition table
Disk /dev/md11: 2492 MB, 2492137472 bytes
2 heads, 4 sectors/track, 608432 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk /dev/md11 doesn't contain a valid partition table
Disk /dev/md2: 2146 MB, 2146697216 bytes
2 heads, 4 sectors/track, 524096 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk /dev/md2 doesn't contain a valid partition table
Disk /dev/md8: 2146 MB, 2146697216 bytes
2 heads, 4 sectors/track, 524096 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk /dev/md8 doesn't contain a valid partition table
Disk /dev/md7: 2146 MB, 2146697216 bytes
2 heads, 4 sectors/track, 524096 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk /dev/md7 doesn't contain a valid partition table
Disk /dev/md6: 10.7 GB, 10733879296 bytes
2 heads, 4 sectors/track, 2620576 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk /dev/md6 doesn't contain a valid partition table
Disk /dev/md5: 10.7 GB, 10733879296 bytes
2 heads, 4 sectors/track, 2620576 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk /dev/md5 doesn't contain a valid partition table
Disk /dev/md4: 123 MB, 123273216 bytes
2 heads, 4 sectors/track, 30096 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk /dev/md4 doesn't contain a valid partition table
Disk /dev/sdn: 24.5 GB, 24575868928 bytes
255 heads, 63 sectors/track, 2987 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdn doesn't contain a valid partition table
Disk /dev/sdo: 24.5 GB, 24575868928 bytes
255 heads, 63 sectors/track, 2987 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdo doesn't contain a valid partition table
Disk /dev/sdp: 24.5 GB, 24575868928 bytes
255 heads, 63 sectors/track, 2987 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdp doesn't contain a valid partition table
Disk /dev/sdq: 24.5 GB, 24575868928 bytes
255 heads, 63 sectors/track, 2987 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdq doesn't contain a valid partition table
Disk /dev/sdr: 24.5 GB, 24575868928 bytes
255 heads, 63 sectors/track, 2987 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdr doesn't contain a valid partition table
Disk /dev/sds: 24.5 GB, 24575868928 bytes
255 heads, 63 sectors/track, 2987 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sds doesn't contain a valid partition table
Disk /dev/sdt: 24.5 GB, 24575868928 bytes
255 heads, 63 sectors/track, 2987 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdt doesn't contain a valid partition table
Disk /dev/sdu: 24.5 GB, 24575868928 bytes
255 heads, 63 sectors/track, 2987 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdu doesn't contain a valid partition table
Disk /dev/sdv: 24.5 GB, 24575868928 bytes
255 heads, 63 sectors/track, 2987 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdv doesn't contain a valid partition table
Disk /dev/sdw: 24.5 GB, 24575868928 bytes
255 heads, 63 sectors/track, 2987 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdw doesn't contain a valid partition table
Disk /dev/sdx: 24.5 GB, 24575868928 bytes
255 heads, 63 sectors/track, 2987 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdx doesn't contain a valid partition table
Disk /dev/sdy: 24.5 GB, 24575868928 bytes
255 heads, 63 sectors/track, 2987 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdy doesn't contain a valid partition table
Disk /dev/sdz: 24.5 GB, 24575868928 bytes
255 heads, 63 sectors/track, 2987 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdz doesn't contain a valid partition table
Disk /dev/sdaa: 24.5 GB, 24575868928 bytes
255 heads, 63 sectors/track, 2987 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdaa doesn't contain a valid partition table
Disk /dev/sdab: 24.5 GB, 24575868928 bytes
255 heads, 63 sectors/track, 2987 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdab doesn't contain a valid partition table
Disk /dev/sdac: 24.5 GB, 24575868928 bytes
255 heads, 63 sectors/track, 2987 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdac doesn't contain a valid partition table
V2--CellCLI> list physicaldisk attributes all
35:0 23 HardDisk 35 0 0 false 0_0 "HITACHI H7220AA30SUN2.0T" JKAOA28A 2010-05-15T21:10:45-05:00 sata JK11D1YAJB8GGZ 1862.6559999994934G 0 normal
35:1 24 HardDisk 35 0 0 false 0_1 "HITACHI H7220AA30SUN2.0T" JKAOA28A 2010-05-15T21:10:46-05:00 sata JK11D1YAJB4V0Z 1862.6559999994934G 1 normal
35:2 25 HardDisk 35 0 0 false 0_2 "HITACHI H7220AA30SUN2.0T" JKAOA28A 2010-05-15T21:10:47-05:00 sata JK11D1YAJAZMMZ 1862.6559999994934G 2 normal
35:3 26 HardDisk 35 0 0 false 0_3 "HITACHI H7220AA30SUN2.0T" JKAOA28A 2010-05-15T21:10:49-05:00 sata JK11D1YAJ7JX2Z 1862.6559999994934G 3 normal
35:4 27 HardDisk 35 0 0 false 0_4 "HITACHI H7220AA30SUN2.0T" JKAOA28A 2010-05-15T21:10:50-05:00 sata JK11D1YAJ60R8Z 1862.6559999994934G 4 normal
35:5 28 HardDisk 35 0 0 false 0_5 "HITACHI H7220AA30SUN2.0T" JKAOA28A 2010-05-15T21:10:51-05:00 sata JK11D1YAJB4J8Z 1862.6559999994934G 5 normal
35:6 29 HardDisk 35 0 0 false 0_6 "HITACHI H7220AA30SUN2.0T" JKAOA28A 2010-05-15T21:10:52-05:00 sata JK11D1YAJ7JXGZ 1862.6559999994934G 6 normal
35:7 30 HardDisk 35 0 0 false 0_7 "HITACHI H7220AA30SUN2.0T" JKAOA28A 2010-05-15T21:10:54-05:00 sata JK11D1YAJB4E5Z 1862.6559999994934G 7 normal
35:8 31 HardDisk 35 4 0 false 0_8 "HITACHI H7220AA30SUN2.0T" JKAOA28A 2010-05-15T21:10:55-05:00 sata JK11D1YAJ8TY3Z 1862.6559999994934G 8 normal
35:9 32 HardDisk 35 0 0 false 0_9 "HITACHI H7220AA30SUN2.0T" JKAOA28A 2010-05-15T21:10:56-05:00 sata JK11D1YAJ8TXKZ 1862.6559999994934G 9 normal
35:10 33 HardDisk 35 0 0 false 0_10 "HITACHI H7220AA30SUN2.0T" JKAOA28A 2010-05-15T21:10:58-05:00 sata JK11D1YAJ8TYLZ 1862.6559999994934G 10 normal
35:11 34 HardDisk 35 0 0 false 0_11 "HITACHI H7220AA30SUN2.0T" JKAOA28A 2010-05-15T21:10:59-05:00 sata JK11D1YAJAZNKZ 1862.6559999994934G 11 normal
FLASH_1_0 FlashDisk 0 0 0 0 0 0 1_0 "MARVELL SD88SA02" D20Y 2011-05-06T12:00:49-05:00 sas 1014M02JC3 22.8880615234375G 0 "PCI Slot: 1; FDOM: 0" normal
FLASH_1_1 FlashDisk 0 0 0 0 0 0 1_1 "MARVELL SD88SA02" D20Y 2011-05-06T12:00:49-05:00 sas 1014M02JYG 22.8880615234375G 0 "PCI Slot: 1; FDOM: 1" normal
FLASH_1_2 FlashDisk 0 0 0 0 0 0 1_2 "MARVELL SD88SA02" D20Y 2011-05-06T12:00:49-05:00 sas 1014M02JV9 22.8880615234375G 0 "PCI Slot: 1; FDOM: 2" normal
FLASH_1_3 FlashDisk 0 0 0 0 0 0 1_3 "MARVELL SD88SA02" D20Y 2011-05-06T12:00:49-05:00 sas 1014M02J93 22.8880615234375G 0 "PCI Slot: 1; FDOM: 3" normal
FLASH_2_0 FlashDisk 0 0 0 0 0 0 2_0 "MARVELL SD88SA02" D20Y 2011-05-06T12:00:49-05:00 sas 1014M02JFK 22.8880615234375G 0 "PCI Slot: 2; FDOM: 0" normal
FLASH_2_1 FlashDisk 0 0 0 0 0 0 2_1 "MARVELL SD88SA02" D20Y 2011-05-06T12:00:49-05:00 sas 1014M02JFL 22.8880615234375G 0 "PCI Slot: 2; FDOM: 1" normal
FLASH_2_2 FlashDisk 0 0 0 0 0 0 2_2 "MARVELL SD88SA02" D20Y 2011-05-06T12:00:49-05:00 sas 1014M02JF7 22.8880615234375G 0 "PCI Slot: 2; FDOM: 2" normal
FLASH_2_3 FlashDisk 0 0 0 0 0 0 2_3 "MARVELL SD88SA02" D20Y 2011-05-06T12:00:49-05:00 sas 1014M02JF8 22.8880615234375G 0 "PCI Slot: 2; FDOM: 3" normal
FLASH_4_0 FlashDisk 0 0 0 0 0 0 4_0 "MARVELL SD88SA02" D20Y 2011-05-06T12:00:49-05:00 sas 1014M02HP5 22.8880615234375G 0 "PCI Slot: 4; FDOM: 0" normal
FLASH_4_1 FlashDisk 0 0 0 0 0 0 4_1 "MARVELL SD88SA02" D20Y 2011-05-06T12:00:49-05:00 sas 1014M02HNN 22.8880615234375G 0 "PCI Slot: 4; FDOM: 1" normal
FLASH_4_2 FlashDisk 0 0 0 0 0 0 4_2 "MARVELL SD88SA02" D20Y 2011-05-06T12:00:49-05:00 sas 1014M02HP2 22.8880615234375G 0 "PCI Slot: 4; FDOM: 2" normal
FLASH_4_3 FlashDisk 0 0 0 0 0 0 4_3 "MARVELL SD88SA02" D20Y 2011-05-06T12:00:49-05:00 sas 1014M02HP4 22.8880615234375G 0 "PCI Slot: 4; FDOM: 3" normal
FLASH_5_0 FlashDisk 0 0 0 0 0 0 5_0 "MARVELL SD88SA02" D20Y 2011-05-06T12:00:49-05:00 sas 1014M02JUD 22.8880615234375G 0 "PCI Slot: 5; FDOM: 0" normal
FLASH_5_1 FlashDisk 0 0 0 0 0 0 5_1 "MARVELL SD88SA02" D20Y 2011-05-06T12:00:49-05:00 sas 1014M02JVF 22.8880615234375G 0 "PCI Slot: 5; FDOM: 1" normal
FLASH_5_2 FlashDisk 0 0 0 0 0 0 5_2 "MARVELL SD88SA02" D20Y 2011-05-06T12:00:49-05:00 sas 1014M02JAP 22.8880615234375G 0 "PCI Slot: 5; FDOM: 2" normal
FLASH_5_3 FlashDisk 0 0 0 0 0 0 5_3 "MARVELL SD88SA02" D20Y 2011-05-06T12:00:49-05:00 sas 1014M02JVH 22.8880615234375G 0 "PCI Slot: 5; FDOM: 3" normal
CellCLI>
CellCLI> list lun attributes all
0_0 CD_00_cell01 /dev/sda HardDisk 0_0 TRUE FALSE 1861.712890625G 0_0 35:0 0 "WriteBack, ReadAheadNone, Direct, No Write Cache if Bad BBU" normal
0_1 CD_01_cell01 /dev/sdb HardDisk 0_1 TRUE FALSE 1861.712890625G 0_1 35:1 0 "WriteBack, ReadAheadNone, Direct, No Write Cache if Bad BBU" normal
0_2 CD_02_cell01 /dev/sdc HardDisk 0_2 FALSE FALSE 1861.712890625G 0_2 35:2 0 "WriteBack, ReadAheadNone, Direct, No Write Cache if Bad BBU" normal
0_3 CD_03_cell01 /dev/sdd HardDisk 0_3 FALSE FALSE 1861.712890625G 0_3 35:3 0 "WriteBack, ReadAheadNone, Direct, No Write Cache if Bad BBU" normal
0_4 CD_04_cell01 /dev/sde HardDisk 0_4 FALSE FALSE 1861.712890625G 0_4 35:4 0 "WriteBack, ReadAheadNone, Direct, No Write Cache if Bad BBU" normal
0_5 CD_05_cell01 /dev/sdf HardDisk 0_5 FALSE FALSE 1861.712890625G 0_5 35:5 0 "WriteBack, ReadAheadNone, Direct, No Write Cache if Bad BBU" normal
0_6 CD_06_cell01 /dev/sdg HardDisk 0_6 FALSE FALSE 1861.712890625G 0_6 35:6 0 "WriteBack, ReadAheadNone, Direct, No Write Cache if Bad BBU" normal
0_7 CD_07_cell01 /dev/sdh HardDisk 0_7 FALSE FALSE 1861.712890625G 0_7 35:7 0 "WriteBack, ReadAheadNone, Direct, No Write Cache if Bad BBU" normal
0_8 CD_08_cell01 /dev/sdi HardDisk 0_8 FALSE FALSE 1861.712890625G 0_8 35:8 0 "WriteBack, ReadAheadNone, Direct, No Write Cache if Bad BBU" normal
0_9 CD_09_cell01 /dev/sdj HardDisk 0_9 FALSE FALSE 1861.712890625G 0_9 35:9 0 "WriteBack, ReadAheadNone, Direct, No Write Cache if Bad BBU" normal
0_10 CD_10_cell01 /dev/sdk HardDisk 0_10 FALSE FALSE 1861.712890625G 0_10 35:10 0 "WriteBack, ReadAheadNone, Direct, No Write Cache if Bad BBU" normal
0_11 CD_11_cell01 /dev/sdl HardDisk 0_11 FALSE FALSE 1861.712890625G 0_11 35:11 0 "WriteBack, ReadAheadNone, Direct, No Write Cache if Bad BBU" normal
1_0 FD_00_enkcel01 /dev/sds FlashDisk 1_0 FALSE FALSE 22.8880615234375G 100.0 FLASH_1_0 normal
1_1 FD_01_enkcel01 /dev/sdr FlashDisk 1_1 FALSE FALSE 22.8880615234375G 100.0 FLASH_1_1 normal
1_2 FD_02_enkcel01 /dev/sdt FlashDisk 1_2 FALSE FALSE 22.8880615234375G 100.0 FLASH_1_2 normal
1_3 FD_03_enkcel01 /dev/sdu FlashDisk 1_3 FALSE FALSE 22.8880615234375G 100.0 FLASH_1_3 normal
2_0 FD_04_enkcel01 /dev/sdz FlashDisk 2_0 FALSE FALSE 22.8880615234375G 99.9 FLASH_2_0 normal
2_1 FD_05_enkcel01 /dev/sdaa FlashDisk 2_1 FALSE FALSE 22.8880615234375G 100.0 FLASH_2_1 normal
2_2 FD_06_enkcel01 /dev/sdab FlashDisk 2_2 FALSE FALSE 22.8880615234375G 100.0 FLASH_2_2 normal
2_3 FD_07_enkcel01 /dev/sdac FlashDisk 2_3 FALSE FALSE 22.8880615234375G 100.0 FLASH_2_3 normal
4_0 FD_08_enkcel01 /dev/sdn FlashDisk 4_0 FALSE FALSE 22.8880615234375G 100.0 FLASH_4_0 normal
4_1 FD_09_enkcel01 /dev/sdo FlashDisk 4_1 FALSE FALSE 22.8880615234375G 100.0 FLASH_4_1 normal
4_2 FD_10_enkcel01 /dev/sdp FlashDisk 4_2 FALSE FALSE 22.8880615234375G 100.0 FLASH_4_2 normal
4_3 FD_11_enkcel01 /dev/sdq FlashDisk 4_3 FALSE FALSE 22.8880615234375G 100.0 FLASH_4_3 normal
5_0 FD_12_enkcel01 /dev/sdv FlashDisk 5_0 FALSE FALSE 22.8880615234375G 100.0 FLASH_5_0 normal
5_1 FD_13_enkcel01 /dev/sdw FlashDisk 5_1 FALSE FALSE 22.8880615234375G 100.0 FLASH_5_1 normal
5_2 FD_14_enkcel01 /dev/sdx FlashDisk 5_2 FALSE FALSE 22.8880615234375G 100.0 FLASH_5_2 normal
5_3 FD_15_enkcel01 /dev/sdy FlashDisk 5_3 FALSE FALSE 22.8880615234375G 100.0 FLASH_5_3 normal
CellCLI>
CellCLI> list celldisk attributes all
CD_00_cell01 2010-05-28T13:09:11-05:00 /dev/sda /dev/sda3 HardDisk 0 0 00000128-e01a-793d-0000-000000000000 none 0_0 0 1832.59375G normal
CD_01_cell01 2010-05-28T13:09:15-05:00 /dev/sdb /dev/sdb3 HardDisk 0 0 00000128-e01a-8c16-0000-000000000000 none 0_1 0 1832.59375G normal
CD_02_cell01 2010-05-28T13:09:16-05:00 /dev/sdc /dev/sdc HardDisk 0 0 00000128-e01a-8e29-0000-000000000000 none 0_2 0 1861.703125G normal
CD_03_cell01 2010-05-28T13:09:16-05:00 /dev/sdd /dev/sdd HardDisk 0 0 00000128-e01a-904a-0000-000000000000 none 0_3 0 1861.703125G normal
CD_04_cell01 2010-05-28T13:09:17-05:00 /dev/sde /dev/sde HardDisk 0 0 00000128-e01a-9274-0000-000000000000 none 0_4 0 1861.703125G normal
CD_05_cell01 2010-05-28T13:09:18-05:00 /dev/sdf /dev/sdf HardDisk 0 1122.8125G ((offset=738.890625G,size=1122.8125G)) 00000128-e01a-948e-0000-000000000000 none 0_5 0 1861.703125G normal
CD_06_cell01 2010-05-28T13:09:18-05:00 /dev/sdg /dev/sdg HardDisk 0 0 00000128-e01a-96a9-0000-000000000000 none 0_6 0 1861.703125G normal
CD_07_cell01 2010-05-28T13:09:19-05:00 /dev/sdh /dev/sdh HardDisk 0 0 00000128-e01a-98ce-0000-000000000000 none 0_7 0 1861.703125G normal
CD_08_cell01 2010-05-28T13:09:19-05:00 /dev/sdi /dev/sdi HardDisk 0 0 00000128-e01a-9aec-0000-000000000000 none 0_8 0 1861.703125G normal
CD_09_cell01 2010-05-28T13:09:20-05:00 /dev/sdj /dev/sdj HardDisk 0 0 00000128-e01a-9cfe-0000-000000000000 none 0_9 0 1861.703125G normal
CD_10_cell01 2010-05-28T13:09:20-05:00 /dev/sdk /dev/sdk HardDisk 0 0 00000128-e01a-9f1b-0000-000000000000 none 0_10 0 1861.703125G normal
CD_11_cell01 2010-05-28T13:09:21-05:00 /dev/sdl /dev/sdl HardDisk 0 0 00000128-e01a-a13e-0000-000000000000 none 0_11 0 1861.703125G normal
FD_00_enkcel01 2011-09-22T20:51:10-05:00 /dev/sds /dev/sds FlashDisk 0 0 b8638e68-b436-48ab-9790-a53b6f188b53 none 1_0 22.875G normal
FD_01_enkcel01 2011-09-22T20:51:11-05:00 /dev/sdr /dev/sdr FlashDisk 0 0 7485b0c0-b6ef-4e8f-b4cb-ded2734dc424 none 1_1 22.875G normal
FD_02_enkcel01 2011-09-22T20:51:12-05:00 /dev/sdt /dev/sdt FlashDisk 0 0 2f0dee7e-3f0d-49af-9f10-865952a6362d none 1_2 22.875G normal
FD_03_enkcel01 2011-09-22T20:51:13-05:00 /dev/sdu /dev/sdu FlashDisk 0 0 9a7586dd-4fad-431b-8459-4c8a3504ce51 none 1_3 22.875G normal
FD_04_enkcel01 2011-09-22T20:51:14-05:00 /dev/sdz /dev/sdz FlashDisk 0 0 65acb88c-b5b4-4768-a029-04de9238442f none 2_0 22.875G normal
FD_05_enkcel01 2011-09-22T20:51:15-05:00 /dev/sdaa /dev/sdaa FlashDisk 0 0 f99d5e54-063f-423a-ad21-bb97fded6534 none 2_1 22.875G normal
FD_06_enkcel01 2011-09-22T20:51:15-05:00 /dev/sdab /dev/sdab FlashDisk 0 0 6d1af809-5f61-47cb-bdb5-3eceeb4804b4 none 2_2 22.875G normal
FD_07_enkcel01 2011-09-22T20:51:16-05:00 /dev/sdac /dev/sdac FlashDisk 0 0 d2c7735a-f646-4632-a063-bf9ce4093e10 none 2_3 22.875G normal
FD_08_enkcel01 2011-09-22T20:51:17-05:00 /dev/sdn /dev/sdn FlashDisk 0 0 ab088c83-e6bf-47e2-98e4-a45d67873a5b none 4_0 22.875G normal
FD_09_enkcel01 2011-09-22T20:51:18-05:00 /dev/sdo /dev/sdo FlashDisk 0 0 7ba2b17a-bcb2-4084-ba88-c5d7415b18fb none 4_1 22.875G normal
FD_10_enkcel01 2011-09-22T20:51:19-05:00 /dev/sdp /dev/sdp FlashDisk 0 0 b429e31e-cf38-412f-9c82-44a2d9ae346e none 4_2 22.875G normal
FD_11_enkcel01 2011-09-22T20:51:20-05:00 /dev/sdq /dev/sdq FlashDisk 0 0 fd8af61f-1a16-4a97-b82c-d81f2031cf9a none 4_3 22.875G normal
FD_12_enkcel01 2011-09-22T20:51:21-05:00 /dev/sdv /dev/sdv FlashDisk 0 0 8a6fa836-61b8-4718-b93f-bc22a5566182 none 5_0 22.875G normal
FD_13_enkcel01 2011-09-22T20:51:22-05:00 /dev/sdw /dev/sdw FlashDisk 0 0 1748c6a9-c24d-4324-bd85-5d5e9cbadcaf none 5_1 22.875G normal
FD_14_enkcel01 2011-09-22T20:51:22-05:00 /dev/sdx /dev/sdx FlashDisk 0 0 98200a21-a687-4afb-9cd0-6911be8c5be5 none 5_2 22.875G normal
FD_15_enkcel01 2011-09-22T20:51:23-05:00 /dev/sdy /dev/sdy FlashDisk 0 0 793fba33-3d8f-425d-b261-42fbfa71bfcb none 5_3 22.875G normal
CellCLI> list griddisk attributes all
AC10G_CD_05_cell01 AC10G AC10G_CD_05_CELL01 CD_05_cell01 2011-10-11T14:34:52-05:00 HardDisk 0 ac5e9ec2-0269-45e0-b7fe-ea8c0974c6b1 708.890625G 30G active
DATA_CD_00_cell01 DATA DATA_CD_00_CELL01 CD_00_cell01 2010-06-14T17:41:12-05:00 HardDisk 0 00000129-389f-a070-0000-000000000000 32M 1282.8125G active
DATA_CD_01_cell01 DATA DATA_CD_01_CELL01 CD_01_cell01 2010-06-14T17:41:12-05:00 HardDisk 0 00000129-389f-a09e-0000-000000000000 32M 1282.8125G active
DATA_CD_02_cell01 DATA DATA_CD_02_CELL01 CD_02_cell01 2010-06-14T17:41:12-05:00 HardDisk 0 00000129-389f-a0d2-0000-000000000000 32M 1282.8125G active
DATA_CD_03_cell01 DATA DATA_CD_03_CELL01 CD_03_cell01 2010-06-14T17:41:12-05:00 HardDisk 0 00000129-389f-a0f0-0000-000000000000 32M 1282.8125G active
DATA_CD_04_cell01 DATA DATA_CD_04_CELL01 CD_04_cell01 2010-06-14T17:41:12-05:00 HardDisk 0 00000129-389f-a10e-0000-000000000000 32M 1282.8125G active
DATA_CD_06_cell01 DATA DATA_CD_06_CELL01 CD_06_cell01 2010-06-14T17:41:12-05:00 HardDisk 0 00000129-389f-a159-0000-000000000000 32M 1282.8125G active
DATA_CD_07_cell01 DATA DATA_CD_07_CELL01 CD_07_cell01 2010-06-14T17:41:12-05:00 HardDisk 0 00000129-389f-a176-0000-000000000000 32M 1282.8125G active
DATA_CD_08_cell01 DATA DATA_CD_08_CELL01 CD_08_cell01 2010-06-14T17:41:12-05:00 HardDisk 0 00000129-389f-a193-0000-000000000000 32M 1282.8125G active
DATA_CD_09_cell01 DATA DATA_CD_09_CELL01 CD_09_cell01 2010-06-14T17:41:12-05:00 HardDisk 0 00000129-389f-a1a9-0000-000000000000 32M 1282.8125G active
DATA_CD_10_cell01 DATA DATA_CD_10_CELL01 CD_10_cell01 2010-06-14T17:41:12-05:00 HardDisk 0 00000129-389f-a1c2-0000-000000000000 32M 1282.8125G active
DATA_CD_11_cell01 DATA DATA_CD_11_CELL01 CD_11_cell01 2010-06-14T17:41:12-05:00 HardDisk 0 00000129-389f-a1e0-0000-000000000000 32M 1282.8125G active
RECO_CD_00_cell01 RECO RECO_CD_00_CELL01 CD_00_cell01 2010-06-14T17:41:13-05:00 HardDisk 0 00000129-389f-a656-0000-000000000000 1741.328125G 91.265625G active
RECO_CD_01_cell01 RECO RECO_CD_01_CELL01 CD_01_cell01 2010-06-14T17:41:13-05:00 HardDisk 0 00000129-389f-a65b-0000-000000000000 1741.328125G 91.265625G active
RECO_CD_02_cell01 RECO RECO_CD_02_CELL01 CD_02_cell01 2010-06-14T17:41:13-05:00 HardDisk 0 00000129-389f-a65f-0000-000000000000 1741.328125G 120.375G active
RECO_CD_03_cell01 RECO RECO_CD_03_CELL01 CD_03_cell01 2010-06-14T17:41:13-05:00 HardDisk 0 00000129-389f-a664-0000-000000000000 1741.328125G 120.375G active
RECO_CD_04_cell01 RECO RECO_CD_04_CELL01 CD_04_cell01 2010-06-14T17:41:13-05:00 HardDisk 0 00000129-389f-a668-0000-000000000000 1741.328125G 120.375G active
RECO_CD_06_cell01 RECO RECO_CD_06_CELL01 CD_06_cell01 2010-06-14T17:41:13-05:00 HardDisk 0 00000129-389f-a672-0000-000000000000 1741.328125G 120.375G active
RECO_CD_07_cell01 RECO RECO_CD_07_CELL01 CD_07_cell01 2010-06-14T17:41:13-05:00 HardDisk 0 00000129-389f-a676-0000-000000000000 1741.328125G 120.375G active
RECO_CD_08_cell01 RECO RECO_CD_08_CELL01 CD_08_cell01 2010-06-14T17:41:13-05:00 HardDisk 0 00000129-389f-a67b-0000-000000000000 1741.328125G 120.375G active
RECO_CD_09_cell01 RECO RECO_CD_09_CELL01 CD_09_cell01 2010-06-14T17:41:13-05:00 HardDisk 0 00000129-389f-a680-0000-000000000000 1741.328125G 120.375G active
RECO_CD_10_cell01 RECO RECO_CD_10_CELL01 CD_10_cell01 2010-06-14T17:41:13-05:00 HardDisk 0 00000129-389f-a685-0000-000000000000 1741.328125G 120.375G active
RECO_CD_11_cell01 RECO RECO_CD_11_CELL01 CD_11_cell01 2010-06-14T17:41:13-05:00 HardDisk 0 00000129-389f-a689-0000-000000000000 1741.328125G 120.375G active
SCRATCH_CD_05_cell01 SCRATCH SCRATCH_CD_05_CELL01 CD_05_cell01 2010-12-24T11:11:03-06:00 HardDisk 0 9fd44ab2-a674-40ba-aa4f-fb32d380c573 32M 578.84375G active
SMITHERS_CD_05_cell01 SMITHERS SMITHERS_CD_05_CELL01 CD_05_cell01 2011-02-16T13:38:19-06:00 HardDisk 0 ee413b30-fe57-47a3-b1ad-815fa25b471c 578.890625G 100G active
STAGE_CD_00_cell01 STAGE STAGE_CD_00_CELL01 CD_00_cell01 2010-06-14T17:41:12-05:00 HardDisk 0 00000129-389f-a267-0000-000000000000 1282.859375G 458.140625G active
STAGE_CD_01_cell01 STAGE STAGE_CD_01_CELL01 CD_01_cell01 2010-06-14T17:41:12-05:00 HardDisk 0 00000129-389f-a26c-0000-000000000000 1282.859375G 458.140625G active
STAGE_CD_02_cell01 STAGE STAGE_CD_02_CELL01 CD_02_cell01 2010-06-14T17:41:12-05:00 HardDisk 0 00000129-389f-a271-0000-000000000000 1282.859375G 458.140625G active
STAGE_CD_03_cell01 STAGE STAGE_CD_03_CELL01 CD_03_cell01 2010-06-14T17:41:12-05:00 HardDisk 0 00000129-389f-a277-0000-000000000000 1282.859375G 458.140625G active
STAGE_CD_04_cell01 STAGE STAGE_CD_04_CELL01 CD_04_cell01 2010-06-14T17:41:12-05:00 HardDisk 0 00000129-389f-a27d-0000-000000000000 1282.859375G 458.140625G active
STAGE_CD_06_cell01 STAGE STAGE_CD_06_CELL01 CD_06_cell01 2010-06-14T17:41:12-05:00 HardDisk 0 00000129-389f-a288-0000-000000000000 1282.859375G 458.140625G active
STAGE_CD_07_cell01 STAGE STAGE_CD_07_CELL01 CD_07_cell01 2010-06-14T17:41:12-05:00 HardDisk 0 00000129-389f-a28d-0000-000000000000 1282.859375G 458.140625G active
STAGE_CD_08_cell01 STAGE STAGE_CD_08_CELL01 CD_08_cell01 2010-06-14T17:41:12-05:00 HardDisk 0 00000129-389f-a293-0000-000000000000 1282.859375G 458.140625G active
STAGE_CD_09_cell01 STAGE STAGE_CD_09_CELL01 CD_09_cell01 2010-06-14T17:41:12-05:00 HardDisk 0 00000129-389f-a299-0000-000000000000 1282.859375G 458.140625G active
STAGE_CD_10_cell01 STAGE STAGE_CD_10_CELL01 CD_10_cell01 2010-06-14T17:41:12-05:00 HardDisk 0 00000129-389f-a29e-0000-000000000000 1282.859375G 458.140625G active
STAGE_CD_11_cell01 STAGE STAGE_CD_11_CELL01 CD_11_cell01 2010-06-14T17:41:12-05:00 HardDisk 0 00000129-389f-a2a4-0000-000000000000 1282.859375G 458.140625G active
SWING_CD_05_cell01 TENJEE SWING_CD_05_CELL01 CD_05_cell01 2011-02-21T14:36:03-06:00 HardDisk 0 aaf8a3bc-7f81-45f2-b091-5bf73c93d972 678.890625G 30G active
SYSTEM_CD_00_cell01 SYSTEM SYSTEM_CD_00_CELL01 CD_00_cell01 2010-06-14T17:41:13-05:00 HardDisk 0 00000129-389f-a45f-0000-000000000000 1741G 336M active
SYSTEM_CD_01_cell01 SYSTEM SYSTEM_CD_01_CELL01 CD_01_cell01 2010-06-14T17:41:13-05:00 HardDisk 0 00000129-389f-a464-0000-000000000000 1741G 336M active
SYSTEM_CD_02_cell01 SYSTEM SYSTEM_CD_02_CELL01 CD_02_cell01 2010-06-14T17:41:13-05:00 HardDisk 0 00000129-389f-a468-0000-000000000000 1741G 336M active
SYSTEM_CD_03_cell01 SYSTEM SYSTEM_CD_03_CELL01 CD_03_cell01 2010-06-14T17:41:13-05:00 HardDisk 0 00000129-389f-a46c-0000-000000000000 1741G 336M active
SYSTEM_CD_04_cell01 SYSTEM SYSTEM_CD_04_CELL01 CD_04_cell01 2010-06-14T17:41:13-05:00 HardDisk 0 00000129-389f-a470-0000-000000000000 1741G 336M active
SYSTEM_CD_06_cell01 SYSTEM SYSTEM_CD_06_CELL01 CD_06_cell01 2010-06-14T17:41:13-05:00 HardDisk 0 00000129-389f-a479-0000-000000000000 1741G 336M active
SYSTEM_CD_07_cell01 SYSTEM SYSTEM_CD_07_CELL01 CD_07_cell01 2010-06-14T17:41:13-05:00 HardDisk 0 00000129-389f-a47e-0000-000000000000 1741G 336M active
SYSTEM_CD_08_cell01 SYSTEM SYSTEM_CD_08_CELL01 CD_08_cell01 2010-06-14T17:41:13-05:00 HardDisk 0 00000129-389f-a482-0000-000000000000 1741G 336M active
SYSTEM_CD_09_cell01 SYSTEM SYSTEM_CD_09_CELL01 CD_09_cell01 2010-06-14T17:41:13-05:00 HardDisk 0 00000129-389f-a486-0000-000000000000 1741G 336M active
SYSTEM_CD_10_cell01 SYSTEM SYSTEM_CD_10_CELL01 CD_10_cell01 2010-06-14T17:41:13-05:00 HardDisk 0 00000129-389f-a48b-0000-000000000000 1741G 336M active
SYSTEM_CD_11_cell01 SYSTEM SYSTEM_CD_11_CELL01 CD_11_cell01 2010-06-14T17:41:13-05:00 HardDisk 0 00000129-389f-a48f-0000-000000000000 1741G 336M active
}}}
{{{
--X2
[root@enkcel04 ~]# cat /etc/fstab
/dev/md5 / ext3 defaults,usrquota,grpquota 1 1
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
/dev/md2 swap swap defaults 0 0
/dev/md7 /opt/oracle ext3 defaults,nodev 1 1
/dev/md4 /boot ext3 defaults,nodev 1 1
/dev/md11 /var/log/oracle ext3 defaults,nodev 1 1
[root@enkcel04 ~]#
[root@enkcel04 ~]# df -Th
Filesystem Type Size Used Avail Use% Mounted on
/dev/md5 ext3 9.9G 3.4G 6.1G 36% /
tmpfs tmpfs 12G 0 12G 0% /dev/shm
/dev/md7 ext3 2.0G 626M 1.3G 33% /opt/oracle
/dev/md4 ext3 116M 37M 74M 34% /boot
/dev/md11 ext3 2.3G 181M 2.0G 9% /var/log/oracle
[root@enkcel04 ~]#
[root@enkcel04 ~]# mount
/dev/md5 on / type ext3 (rw,usrquota,grpquota)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
/dev/md7 on /opt/oracle type ext3 (rw,nodev)
/dev/md4 on /boot type ext3 (rw,nodev)
/dev/md11 on /var/log/oracle type ext3 (rw,nodev)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
[root@enkcel04 ~]# cat /proc/mdstat
Personalities : [raid1]
md4 : active raid1 sdb1[1] sda1[0]
120384 blocks [2/2] [UU]
md5 : active raid1 sdb5[1] sda5[0]
10482304 blocks [2/2] [UU]
md6 : active raid1 sdb6[1] sda6[0]
10482304 blocks [2/2] [UU]
md7 : active raid1 sdb7[1] sda7[0]
2096384 blocks [2/2] [UU]
md8 : active raid1 sdb8[1] sda8[0]
2096384 blocks [2/2] [UU]
md1 : active raid1 sdb10[1] sda10[0]
714752 blocks [2/2] [UU]
md11 : active raid1 sdb11[1] sda11[0]
2433728 blocks [2/2] [UU]
md2 : active raid1 sdb9[1] sda9[0]
2096384 blocks [2/2] [UU]
unused devices: <none>
[root@enkcel04 ~]#
[root@enkcel04 ~]# mdadm --misc --detail /dev/md4
/dev/md4:
Version : 0.90
Creation Time : Sat Mar 12 13:39:08 2011
Raid Level : raid1
Array Size : 120384 (117.58 MiB 123.27 MB)
Used Dev Size : 120384 (117.58 MiB 123.27 MB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 4
Persistence : Superblock is persistent
Update Time : Tue Aug 2 10:22:53 2011
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
UUID : 04a2efb0:05de7468:211366dd:d50b2c00
Events : 0.4
Number Major Minor RaidDevice State
0 8 1 0 active sync /dev/sda1
1 8 17 1 active sync /dev/sdb1
[root@enkcel04 ~]#
[root@enkcel04 ~]# mdadm --misc --detail /dev/md5
/dev/md5:
Version : 0.90
Creation Time : Sat Mar 12 13:39:15 2011
Raid Level : raid1
Array Size : 10482304 (10.00 GiB 10.73 GB)
Used Dev Size : 10482304 (10.00 GiB 10.73 GB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 5
Persistence : Superblock is persistent
Update Time : Sun Oct 23 03:49:07 2011
State : active
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
UUID : a9bee465:3ab8337f:8f1ef237:01bcbae0
Events : 0.5
Number Major Minor RaidDevice State
0 8 5 0 active sync /dev/sda5
1 8 21 1 active sync /dev/sdb5
[root@enkcel04 ~]#
[root@enkcel04 ~]# mdadm --misc --detail /dev/md6
/dev/md6:
Version : 0.90
Creation Time : Sat Mar 12 13:39:17 2011
Raid Level : raid1
Array Size : 10482304 (10.00 GiB 10.73 GB)
Used Dev Size : 10482304 (10.00 GiB 10.73 GB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 6
Persistence : Superblock is persistent
Update Time : Thu Oct 13 10:31:39 2011
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
UUID : 94214ee2:ddb3cdb2:e6b53739:6b6e01df
Events : 0.4
Number Major Minor RaidDevice State
0 8 6 0 active sync /dev/sda6
1 8 22 1 active sync /dev/sdb6
[root@enkcel04 ~]#
[root@enkcel04 ~]# mdadm --misc --detail /dev/md7
/dev/md7:
Version : 0.90
Creation Time : Sat Mar 12 13:39:18 2011
Raid Level : raid1
Array Size : 2096384 (2047.59 MiB 2146.70 MB)
Used Dev Size : 2096384 (2047.59 MiB 2146.70 MB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 7
Persistence : Superblock is persistent
Update Time : Sun Oct 23 03:49:15 2011
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
UUID : b95729e3:38d23a1f:22ee3182:4f2abebd
Events : 0.6
Number Major Minor RaidDevice State
0 8 7 0 active sync /dev/sda7
1 8 23 1 active sync /dev/sdb7
[root@enkcel04 ~]#
[root@enkcel04 ~]# mdadm --misc --detail /dev/md8
/dev/md8:
Version : 0.90
Creation Time : Sat Mar 12 13:39:20 2011
Raid Level : raid1
Array Size : 2096384 (2047.59 MiB 2146.70 MB)
Used Dev Size : 2096384 (2047.59 MiB 2146.70 MB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 8
Persistence : Superblock is persistent
Update Time : Thu May 5 17:32:35 2011
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
UUID : d0d2b027:1731b4d8:8bd77b3a:4588996c
Events : 0.6
Number Major Minor RaidDevice State
0 8 8 0 active sync /dev/sda8
1 8 24 1 active sync /dev/sdb8
[root@enkcel04 ~]#
[root@enkcel04 ~]# mdadm --misc --detail /dev/md1
/dev/md1:
Version : 0.90
Creation Time : Sat Mar 12 13:39:00 2011
Raid Level : raid1
Array Size : 714752 (698.12 MiB 731.91 MB)
Used Dev Size : 714752 (698.12 MiB 731.91 MB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 1
Persistence : Superblock is persistent
Update Time : Sat Mar 12 13:45:50 2011
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
UUID : 7929eb8f:e993f335:b6b1f5d6:0e21a218
Events : 0.2
Number Major Minor RaidDevice State
0 8 10 0 active sync /dev/sda10
1 8 26 1 active sync /dev/sdb10
[root@enkcel04 ~]#
[root@enkcel04 ~]# mdadm --misc --detail /dev/md11
/dev/md11:
Version : 0.90
Creation Time : Sat Mar 12 13:39:21 2011
Raid Level : raid1
Array Size : 2433728 (2.32 GiB 2.49 GB)
Used Dev Size : 2433728 (2.32 GiB 2.49 GB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 11
Persistence : Superblock is persistent
Update Time : Sun Oct 23 03:49:44 2011
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
UUID : f6ce4c8e:98ed1e26:47116a89:70babf94
Events : 0.6
Number Major Minor RaidDevice State
0 8 11 0 active sync /dev/sda11
1 8 27 1 active sync /dev/sdb11
[root@enkcel04 ~]#
[root@enkcel04 ~]# mdadm --misc --detail /dev/md2
/dev/md2:
Version : 0.90
Creation Time : Sat Mar 12 13:39:00 2011
Raid Level : raid1
Array Size : 2096384 (2047.59 MiB 2146.70 MB)
Used Dev Size : 2096384 (2047.59 MiB 2146.70 MB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 2
Persistence : Superblock is persistent
Update Time : Sat Mar 12 13:56:24 2011
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
UUID : 1582ff78:e1a1a2ae:ef5f5c1f:60d86130
Events : 0.6
Number Major Minor RaidDevice State
0 8 9 0 active sync /dev/sda9
1 8 25 1 active sync /dev/sdb9
[root@enkcel04 ~]# parted /dev/sda print
Model: LSI MR9261-8i (scsi)
Disk /dev/sda: 1999GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 32.3kB 123MB 123MB primary ext3 boot, raid
2 123MB 132MB 8225kB primary ext2
3 132MB 1968GB 1968GB primary
4 1968GB 1999GB 31.1GB extended lba
5 1968GB 1979GB 10.7GB logical ext3 raid
6 1979GB 1989GB 10.7GB logical ext3 raid
7 1989GB 1991GB 2147MB logical ext3 raid
8 1991GB 1994GB 2147MB logical ext3 raid
9 1994GB 1996GB 2147MB logical linux-swap raid
10 1996GB 1997GB 732MB logical raid
11 1997GB 1999GB 2492MB logical ext3 raid
Information: Don't forget to update /etc/fstab, if necessary.
[root@enkcel04 ~]#
[root@enkcel04 ~]# parted /dev/sdb print
Model: LSI MR9261-8i (scsi)
Disk /dev/sdb: 1999GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 32.3kB 123MB 123MB primary ext3 boot, raid
2 123MB 132MB 8225kB primary ext2
3 132MB 1968GB 1968GB primary
4 1968GB 1999GB 31.1GB extended lba
5 1968GB 1979GB 10.7GB logical ext3 raid
6 1979GB 1989GB 10.7GB logical ext3 raid
7 1989GB 1991GB 2147MB logical ext3 raid
8 1991GB 1994GB 2147MB logical ext3 raid
9 1994GB 1996GB 2147MB logical linux-swap raid
10 1996GB 1997GB 732MB logical raid
11 1997GB 1999GB 2492MB logical ext3 raid
Information: Don't forget to update /etc/fstab, if necessary.
[root@enkcel04 ~]# fdisk -l
Disk /dev/sda: 1998.9 GB, 1998998994944 bytes
255 heads, 63 sectors/track, 243031 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 15 120456 fd Linux raid autodetect
/dev/sda2 16 16 8032+ 83 Linux
/dev/sda3 17 239246 1921614975 83 Linux
/dev/sda4 239247 243031 30403012+ f W95 Ext'd (LBA)
/dev/sda5 239247 240551 10482381 fd Linux raid autodetect
/dev/sda6 240552 241856 10482381 fd Linux raid autodetect
/dev/sda7 241857 242117 2096451 fd Linux raid autodetect
/dev/sda8 242118 242378 2096451 fd Linux raid autodetect
/dev/sda9 242379 242639 2096451 fd Linux raid autodetect
/dev/sda10 242640 242728 714861 fd Linux raid autodetect
/dev/sda11 242729 243031 2433816 fd Linux raid autodetect
Disk /dev/sdb: 1998.9 GB, 1998998994944 bytes
255 heads, 63 sectors/track, 243031 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 15 120456 fd Linux raid autodetect
/dev/sdb2 16 16 8032+ 83 Linux
/dev/sdb3 17 239246 1921614975 83 Linux
/dev/sdb4 239247 243031 30403012+ f W95 Ext'd (LBA)
/dev/sdb5 239247 240551 10482381 fd Linux raid autodetect
/dev/sdb6 240552 241856 10482381 fd Linux raid autodetect
/dev/sdb7 241857 242117 2096451 fd Linux raid autodetect
/dev/sdb8 242118 242378 2096451 fd Linux raid autodetect
/dev/sdb9 242379 242639 2096451 fd Linux raid autodetect
/dev/sdb10 242640 242728 714861 fd Linux raid autodetect
/dev/sdb11 242729 243031 2433816 fd Linux raid autodetect
Disk /dev/sdc: 1998.9 GB, 1998998994944 bytes
255 heads, 63 sectors/track, 243031 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdc doesn't contain a valid partition table
Disk /dev/sdd: 1998.9 GB, 1998998994944 bytes
255 heads, 63 sectors/track, 243031 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdd doesn't contain a valid partition table
Disk /dev/sde: 1998.9 GB, 1998998994944 bytes
255 heads, 63 sectors/track, 243031 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sde doesn't contain a valid partition table
Disk /dev/sdf: 1998.9 GB, 1998998994944 bytes
255 heads, 63 sectors/track, 243031 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdf doesn't contain a valid partition table
Disk /dev/sdg: 1998.9 GB, 1998998994944 bytes
255 heads, 63 sectors/track, 243031 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdg doesn't contain a valid partition table
Disk /dev/sdh: 1998.9 GB, 1998998994944 bytes
255 heads, 63 sectors/track, 243031 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdh doesn't contain a valid partition table
Disk /dev/sdi: 1998.9 GB, 1998998994944 bytes
255 heads, 63 sectors/track, 243031 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdi doesn't contain a valid partition table
Disk /dev/sdj: 1998.9 GB, 1998998994944 bytes
255 heads, 63 sectors/track, 243031 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdj doesn't contain a valid partition table
Disk /dev/sdk: 1998.9 GB, 1998998994944 bytes
255 heads, 63 sectors/track, 243031 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdk doesn't contain a valid partition table
Disk /dev/sdl: 1998.9 GB, 1998998994944 bytes
255 heads, 63 sectors/track, 243031 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdl doesn't contain a valid partition table
Disk /dev/sdm: 24.5 GB, 24575868928 bytes
255 heads, 63 sectors/track, 2987 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdm doesn't contain a valid partition table
Disk /dev/sdn: 24.5 GB, 24575868928 bytes
255 heads, 63 sectors/track, 2987 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdn doesn't contain a valid partition table
Disk /dev/sdo: 24.5 GB, 24575868928 bytes
255 heads, 63 sectors/track, 2987 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdo doesn't contain a valid partition table
Disk /dev/sdp: 24.5 GB, 24575868928 bytes
255 heads, 63 sectors/track, 2987 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdp doesn't contain a valid partition table
Disk /dev/sdq: 24.5 GB, 24575868928 bytes
255 heads, 63 sectors/track, 2987 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdq doesn't contain a valid partition table
Disk /dev/sdr: 24.5 GB, 24575868928 bytes
255 heads, 63 sectors/track, 2987 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdr doesn't contain a valid partition table
Disk /dev/sds: 24.5 GB, 24575868928 bytes
255 heads, 63 sectors/track, 2987 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sds doesn't contain a valid partition table
Disk /dev/sdt: 24.5 GB, 24575868928 bytes
255 heads, 63 sectors/track, 2987 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdt doesn't contain a valid partition table
Disk /dev/sdu: 24.5 GB, 24575868928 bytes
255 heads, 63 sectors/track, 2987 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdu doesn't contain a valid partition table
Disk /dev/sdv: 24.5 GB, 24575868928 bytes
255 heads, 63 sectors/track, 2987 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdv doesn't contain a valid partition table
Disk /dev/sdw: 24.5 GB, 24575868928 bytes
255 heads, 63 sectors/track, 2987 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdw doesn't contain a valid partition table
Disk /dev/sdx: 24.5 GB, 24575868928 bytes
255 heads, 63 sectors/track, 2987 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdx doesn't contain a valid partition table
Disk /dev/sdy: 24.5 GB, 24575868928 bytes
255 heads, 63 sectors/track, 2987 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdy doesn't contain a valid partition table
Disk /dev/sdz: 24.5 GB, 24575868928 bytes
255 heads, 63 sectors/track, 2987 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdz doesn't contain a valid partition table
Disk /dev/sdaa: 24.5 GB, 24575868928 bytes
255 heads, 63 sectors/track, 2987 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdaa doesn't contain a valid partition table
Disk /dev/sdab: 24.5 GB, 24575868928 bytes
255 heads, 63 sectors/track, 2987 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdab doesn't contain a valid partition table
Disk /dev/sdac: 4009 MB, 4009754624 bytes
126 heads, 22 sectors/track, 2825 cylinders
Units = cylinders of 2772 * 512 = 1419264 bytes
Device Boot Start End Blocks Id System
/dev/sdac1 1 2824 3914053 83 Linux
Disk /dev/md2: 2146 MB, 2146697216 bytes
2 heads, 4 sectors/track, 524096 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk /dev/md2 doesn't contain a valid partition table
Disk /dev/md11: 2492 MB, 2492137472 bytes
2 heads, 4 sectors/track, 608432 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk /dev/md11 doesn't contain a valid partition table
Disk /dev/md1: 731 MB, 731906048 bytes
2 heads, 4 sectors/track, 178688 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk /dev/md1 doesn't contain a valid partition table
Disk /dev/md8: 2146 MB, 2146697216 bytes
2 heads, 4 sectors/track, 524096 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk /dev/md8 doesn't contain a valid partition table
Disk /dev/md7: 2146 MB, 2146697216 bytes
2 heads, 4 sectors/track, 524096 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk /dev/md7 doesn't contain a valid partition table
Disk /dev/md6: 10.7 GB, 10733879296 bytes
2 heads, 4 sectors/track, 2620576 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk /dev/md6 doesn't contain a valid partition table
Disk /dev/md5: 10.7 GB, 10733879296 bytes
2 heads, 4 sectors/track, 2620576 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk /dev/md5 doesn't contain a valid partition table
Disk /dev/md4: 123 MB, 123273216 bytes
2 heads, 4 sectors/track, 30096 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk /dev/md4 doesn't contain a valid partition table
X2--CellCLI> list physicaldisk attributes all
20:0 19 HardDisk 20 0 0 false 0_0 "SEAGATE ST32000SSSUN2.0T" 0514 2011-03-12T14:02:16-06:00 sata L3E5ZF 1862.6559999994934G 0 normal
20:1 18 HardDisk 20 0 0 false 0_1 "SEAGATE ST32000SSSUN2.0T" 0514 2011-03-12T14:02:21-06:00 sata L3E2MM 1862.6559999994934G 1 normal
20:2 17 HardDisk 20 0 0 false 0_2 "SEAGATE ST32000SSSUN2.0T" 0514 2011-03-12T14:02:26-06:00 sata L3GX6J 1862.6559999994934G 2 normal
20:3 16 HardDisk 20 0 0 false 0_3 "SEAGATE ST32000SSSUN2.0T" 0514 2011-03-12T14:02:31-06:00 sata L3G8QX 1862.6559999994934G 3 normal
20:4 15 HardDisk 20 0 0 false 0_4 "SEAGATE ST32000SSSUN2.0T" 0514 2011-03-12T14:02:37-06:00 sata L2CG8S 1862.6559999994934G 4 normal
20:5 14 HardDisk 20 0 0 false 0_5 "SEAGATE ST32000SSSUN2.0T" 0514 2011-03-12T14:02:42-06:00 sata L3H3TS 1862.6559999994934G 5 normal
20:6 13 HardDisk 20 0 0 false 0_6 "SEAGATE ST32000SSSUN2.0T" 0514 2011-03-12T14:02:47-06:00 sata L3GYH3 1862.6559999994934G 6 normal
20:7 12 HardDisk 20 0 0 false 0_7 "SEAGATE ST32000SSSUN2.0T" 0514 2011-03-12T14:02:52-06:00 sata L3G73C 1862.6559999994934G 7 normal
20:8 11 HardDisk 20 0 0 false 0_8 "SEAGATE ST32000SSSUN2.0T" 0514 2011-03-12T14:02:57-06:00 sata L3H3TJ 1862.6559999994934G 8 normal
20:9 10 HardDisk 20 0 0 false 0_9 "SEAGATE ST32000SSSUN2.0T" 0514 2011-03-12T14:03:02-06:00 sata L3GXVK 1862.6559999994934G 9 normal
20:10 9 HardDisk 20 0 0 false 0_10 "SEAGATE ST32000SSSUN2.0T" 0514 2011-03-12T14:03:08-06:00 sata L3G8N6 1862.6559999994934G 10 normal
20:11 8 HardDisk 20 0 0 false 0_11 "SEAGATE ST32000SSSUN2.0T" 0514 2011-03-12T14:03:13-06:00 sata L3HLN6 1862.6559999994934G 11 normal
[1:0:0:0] FlashDisk 4_0 "MARVELL SD88SA02" D20Y 2011-03-12T14:03:13-06:00 sas 5080020000f2e2aFMOD0 22.8880615234375G "PCI Slot: 4; FDOM: 0" normal
[1:0:1:0] FlashDisk 4_1 "MARVELL SD88SA02" D20Y 2011-03-12T14:03:13-06:00 sas 5080020000f2e2aFMOD1 22.8880615234375G "PCI Slot: 4; FDOM: 1" normal
[1:0:2:0] FlashDisk 4_2 "MARVELL SD88SA02" D20Y 2011-03-12T14:03:13-06:00 sas 5080020000f2e2aFMOD2 22.8880615234375G "PCI Slot: 4; FDOM: 2" normal
[1:0:3:0] FlashDisk 4_3 "MARVELL SD88SA02" D20Y 2011-03-12T14:03:13-06:00 sas 5080020000f2e2aFMOD3 22.8880615234375G "PCI Slot: 4; FDOM: 3" normal
[2:0:0:0] FlashDisk 1_0 "MARVELL SD88SA02" D20Y 2011-03-12T14:03:13-06:00 sas 5080020000f27f0FMOD0 22.8880615234375G "PCI Slot: 1; FDOM: 0" normal
[2:0:1:0] FlashDisk 1_1 "MARVELL SD88SA02" D20Y 2011-03-12T14:03:13-06:00 sas 5080020000f27f0FMOD1 22.8880615234375G "PCI Slot: 1; FDOM: 1" normal
[2:0:2:0] FlashDisk 1_2 "MARVELL SD88SA02" D20Y 2011-03-12T14:03:13-06:00 sas 5080020000f27f0FMOD2 22.8880615234375G "PCI Slot: 1; FDOM: 2" normal
[2:0:3:0] FlashDisk 1_3 "MARVELL SD88SA02" D20Y 2011-03-12T14:03:13-06:00 sas 5080020000f27f0FMOD3 22.8880615234375G "PCI Slot: 1; FDOM: 3" normal
[3:0:0:0] FlashDisk 5_0 "MARVELL SD88SA02" D20Y 2011-03-12T14:03:13-06:00 sas 5080020000f2eb4FMOD0 22.8880615234375G "PCI Slot: 5; FDOM: 0" normal
[3:0:1:0] FlashDisk 5_1 "MARVELL SD88SA02" D20Y 2011-03-12T14:03:13-06:00 sas 5080020000f2eb4FMOD1 22.8880615234375G "PCI Slot: 5; FDOM: 1" normal
[3:0:2:0] FlashDisk 5_2 "MARVELL SD88SA02" D20Y 2011-03-12T14:03:13-06:00 sas 5080020000f2eb4FMOD2 22.8880615234375G "PCI Slot: 5; FDOM: 2" normal
[3:0:3:0] FlashDisk 5_3 "MARVELL SD88SA02" D20Y 2011-03-12T14:03:13-06:00 sas 5080020000f2eb4FMOD3 22.8880615234375G "PCI Slot: 5; FDOM: 3" normal
[4:0:0:0] FlashDisk 2_0 "MARVELL SD88SA02" D20Y 2011-03-12T14:03:13-06:00 sas 5080020000f2de6FMOD0 22.8880615234375G "PCI Slot: 2; FDOM: 0" normal
[4:0:1:0] FlashDisk 2_1 "MARVELL SD88SA02" D20Y 2011-03-12T14:03:13-06:00 sas 5080020000f2de6FMOD1 22.8880615234375G "PCI Slot: 2; FDOM: 1" normal
[4:0:2:0] FlashDisk 2_2 "MARVELL SD88SA02" D20Y 2011-03-12T14:03:13-06:00 sas 5080020000f2de6FMOD2 22.8880615234375G "PCI Slot: 2; FDOM: 2" normal
[4:0:3:0] FlashDisk 2_3 "MARVELL SD88SA02" D20Y 2011-03-12T14:03:13-06:00 sas 5080020000f2de6FMOD3 22.8880615234375G "PCI Slot: 2; FDOM: 3" normal
CellCLI> list lun attributes all
0_0 CD_00_enkcel04 /dev/sda HardDisk 0_0 TRUE FALSE 1861.712890625G 0_0 20:0 0 "WriteBack, ReadAheadNone, Direct, No Write Cache if Bad BBU" normal
0_1 CD_01_enkcel04 /dev/sdb HardDisk 0_1 TRUE FALSE 1861.712890625G 0_1 20:1 0 "WriteBack, ReadAheadNone, Direct, No Write Cache if Bad BBU" normal
0_2 CD_02_enkcel04 /dev/sdc HardDisk 0_2 FALSE FALSE 1861.712890625G 0_2 20:2 0 "WriteBack, ReadAheadNone, Direct, No Write Cache if Bad BBU" normal
0_3 CD_03_enkcel04 /dev/sdd HardDisk 0_3 FALSE FALSE 1861.712890625G 0_3 20:3 0 "WriteBack, ReadAheadNone, Direct, No Write Cache if Bad BBU" normal
0_4 CD_04_enkcel04 /dev/sde HardDisk 0_4 FALSE FALSE 1861.712890625G 0_4 20:4 0 "WriteBack, ReadAheadNone, Direct, No Write Cache if Bad BBU" normal
0_5 CD_05_enkcel04 /dev/sdf HardDisk 0_5 FALSE FALSE 1861.712890625G 0_5 20:5 0 "WriteBack, ReadAheadNone, Direct, No Write Cache if Bad BBU" normal
0_6 CD_06_enkcel04 /dev/sdg HardDisk 0_6 FALSE FALSE 1861.712890625G 0_6 20:6 0 "WriteBack, ReadAheadNone, Direct, No Write Cache if Bad BBU" normal
0_7 CD_07_enkcel04 /dev/sdh HardDisk 0_7 FALSE FALSE 1861.712890625G 0_7 20:7 0 "WriteBack, ReadAheadNone, Direct, No Write Cache if Bad BBU" normal
0_8 CD_08_enkcel04 /dev/sdi HardDisk 0_8 FALSE FALSE 1861.712890625G 0_8 20:8 0 "WriteBack, ReadAheadNone, Direct, No Write Cache if Bad BBU" normal
0_9 CD_09_enkcel04 /dev/sdj HardDisk 0_9 FALSE FALSE 1861.712890625G 0_9 20:9 0 "WriteBack, ReadAheadNone, Direct, No Write Cache if Bad BBU" normal
0_10 CD_10_enkcel04 /dev/sdk HardDisk 0_10 FALSE FALSE 1861.712890625G 0_10 20:10 0 "WriteBack, ReadAheadNone, Direct, No Write Cache if Bad BBU" normal
0_11 CD_11_enkcel04 /dev/sdl HardDisk 0_11 FALSE FALSE 1861.712890625G 0_11 20:11 0 "WriteBack, ReadAheadNone, Direct, No Write Cache if Bad BBU" normal
1_0 FD_00_enkcel04 /dev/sdq FlashDisk 1_0 FALSE FALSE 22.8880615234375G 100.0 [2:0:0:0] normal
1_1 FD_01_enkcel04 /dev/sdr FlashDisk 1_1 FALSE FALSE 22.8880615234375G 100.0 [2:0:1:0] normal
1_2 FD_02_enkcel04 /dev/sds FlashDisk 1_2 FALSE FALSE 22.8880615234375G 100.0 [2:0:2:0] normal
1_3 FD_03_enkcel04 /dev/sdt FlashDisk 1_3 FALSE FALSE 22.8880615234375G 100.0 [2:0:3:0] normal
2_0 FD_04_enkcel04 /dev/sdy FlashDisk 2_0 FALSE FALSE 22.8880615234375G 100.0 [4:0:0:0] normal
2_1 FD_05_enkcel04 /dev/sdz FlashDisk 2_1 FALSE FALSE 22.8880615234375G 100.0 [4:0:1:0] normal
2_2 FD_06_enkcel04 /dev/sdaa FlashDisk 2_2 FALSE FALSE 22.8880615234375G 100.0 [4:0:2:0] normal
2_3 FD_07_enkcel04 /dev/sdab FlashDisk 2_3 FALSE FALSE 22.8880615234375G 100.0 [4:0:3:0] normal
4_0 FD_08_enkcel04 /dev/sdm FlashDisk 4_0 FALSE FALSE 22.8880615234375G 100.0 [1:0:0:0] normal
4_1 FD_09_enkcel04 /dev/sdn FlashDisk 4_1 FALSE FALSE 22.8880615234375G 100.0 [1:0:1:0] normal
4_2 FD_10_enkcel04 /dev/sdo FlashDisk 4_2 FALSE FALSE 22.8880615234375G 100.0 [1:0:2:0] normal
4_3 FD_11_enkcel04 /dev/sdp FlashDisk 4_3 FALSE FALSE 22.8880615234375G 100.0 [1:0:3:0] normal
5_0 FD_12_enkcel04 /dev/sdu FlashDisk 5_0 FALSE FALSE 22.8880615234375G 100.0 [3:0:0:0] normal
5_1 FD_13_enkcel04 /dev/sdv FlashDisk 5_1 FALSE FALSE 22.8880615234375G 100.0 [3:0:1:0] normal
5_2 FD_14_enkcel04 /dev/sdw FlashDisk 5_2 FALSE FALSE 22.8880615234375G 100.0 [3:0:2:0] normal
5_3 FD_15_enkcel04 /dev/sdx FlashDisk 5_3 FALSE FALSE 22.8880615234375G 100.0 [3:0:3:0] normal
CellCLI> list celldisk attributes all
CD_00_enkcel04 2011-03-29T14:05:51-05:00 /dev/sda /dev/sda3 HardDisk 0 0 7ebe749b-5f94-427c-a636-d793f691f795 none 0_0 0 1832.59375G normal
CD_01_enkcel04 2011-03-29T14:05:55-05:00 /dev/sdb /dev/sdb3 HardDisk 0 0 ec5ca5d0-25a2-4f16-b8da-7ca87106f09b none 0_1 0 1832.59375G normal
CD_02_enkcel04 2011-03-29T14:05:56-05:00 /dev/sdc /dev/sdc HardDisk 0 0 81d59e7b-795c-4c68-8151-3d1a1574cbd2 none 0_2 0 1861.703125G normal
CD_03_enkcel04 2011-03-29T14:05:56-05:00 /dev/sdd /dev/sdd HardDisk 0 0 27f3a507-cb13-43b3-ad87-a54d57984013 none 0_3 0 1861.703125G normal
CD_04_enkcel04 2011-03-29T14:05:57-05:00 /dev/sde /dev/sde HardDisk 0 0 3732d8ee-1cc4-4acd-a39d-4467668a2211 none 0_4 0 1861.703125G normal
CD_05_enkcel04 2011-03-29T14:05:58-05:00 /dev/sdf /dev/sdf HardDisk 0 0 601e610b-ec1a-4b8a-8ef9-0faa6d9c754a none 0_5 0 1861.703125G normal
CD_06_enkcel04 2011-03-29T14:05:58-05:00 /dev/sdg /dev/sdg HardDisk 0 0 bf306119-c111-4538-b10e-d8279db6835a none 0_6 0 1861.703125G normal
CD_07_enkcel04 2011-03-29T14:05:59-05:00 /dev/sdh /dev/sdh HardDisk 0 0 67d280a4-dce7-4139-9a19-2ff7b2d5aa45 none 0_7 0 1861.703125G normal
CD_08_enkcel04 2011-03-29T14:06:00-05:00 /dev/sdi /dev/sdi HardDisk 0 0 e348a4a5-cc49-448d-9b82-4dac64dddf8a none 0_8 0 1861.703125G normal
CD_09_enkcel04 2011-03-29T14:06:01-05:00 /dev/sdj /dev/sdj HardDisk 0 0 ce155b98-d8c8-454d-8273-a8feb66546d9 none 0_9 0 1861.703125G normal
CD_10_enkcel04 2011-03-29T14:06:01-05:00 /dev/sdk /dev/sdk HardDisk 0 0 e4c88e9d-5d9d-4825-889e-0bce857bd85c none 0_10 0 1861.703125G normal
CD_11_enkcel04 2011-03-29T14:06:02-05:00 /dev/sdl /dev/sdl HardDisk 0 0 3c5a73a8-7a04-4213-a7c8-8b2d0f63de7f none 0_11 0 1861.703125G normal
FD_00_enkcel04 2011-03-25T14:05:33-05:00 /dev/sdq /dev/sdq FlashDisk 0 0 b3cf6d51-17ee-4269-a597-4af2d1e1f1ad none 1_0 22.875G normal
FD_01_enkcel04 2011-03-25T14:05:34-05:00 /dev/sdr /dev/sdr FlashDisk 0 0 3ca528d8-de3b-4fa8-919a-7ef45f131a51 none 1_1 22.875G normal
FD_02_enkcel04 2011-03-25T14:05:35-05:00 /dev/sds /dev/sds FlashDisk 0 0 fb19081d-685e-4b48-867a-5b09529fd786 none 1_2 22.875G normal
FD_03_enkcel04 2011-03-25T14:05:35-05:00 /dev/sdt /dev/sdt FlashDisk 0 0 33c049fe-0f90-4b25-afa7-e41c5db4bb8d none 1_3 22.875G normal
FD_04_enkcel04 2011-03-25T14:05:36-05:00 /dev/sdy /dev/sdy FlashDisk 0 0 0153e6d7-5116-4740-8b02-7b74d4b38aec none 2_0 22.875G normal
FD_05_enkcel04 2011-03-25T14:05:37-05:00 /dev/sdz /dev/sdz FlashDisk 0 0 8b5452b1-5fb0-48e0-8887-416760f08301 none 2_1 22.875G normal
FD_06_enkcel04 2011-03-25T14:05:38-05:00 /dev/sdaa /dev/sdaa FlashDisk 0 0 2771ec81-04f3-4935-a5ac-d06f46c0fbe0 none 2_2 22.875G normal
FD_07_enkcel04 2011-03-25T14:05:38-05:00 /dev/sdab /dev/sdab FlashDisk 0 0 8aaaf99f-736a-4e01-80eb-88efebd4dcb3 none 2_3 22.875G normal
FD_08_enkcel04 2011-03-25T14:05:39-05:00 /dev/sdm /dev/sdm FlashDisk 0 0 25f72e72-a962-4b9a-92c5-b8666e83a118 none 4_0 22.875G normal
FD_09_enkcel04 2011-03-25T14:05:40-05:00 /dev/sdn /dev/sdn FlashDisk 0 0 c023fe18-e077-498f-99fa-1dd61cd83cb1 none 4_1 22.875G normal
FD_10_enkcel04 2011-03-25T14:05:40-05:00 /dev/sdo /dev/sdo FlashDisk 0 0 388d006b-4c26-427a-9bd2-6b2ada755f3d none 4_2 22.875G normal
FD_11_enkcel04 2011-03-25T14:05:41-05:00 /dev/sdp /dev/sdp FlashDisk 0 0 c1a2f418-85d5-4fe2-bc67-9225e48c5184 none 4_3 22.875G normal
FD_12_enkcel04 2011-03-25T14:05:42-05:00 /dev/sdu /dev/sdu FlashDisk 0 0 039b1477-16ee-4d1e-aac9-b8e6ceefd6de none 5_0 22.875G normal
FD_13_enkcel04 2011-03-25T14:05:43-05:00 /dev/sdv /dev/sdv FlashDisk 0 0 0bd3d890-36cc-4e66-b404-c16af237d6b5 none 5_1 22.875G normal
FD_14_enkcel04 2011-03-25T14:05:43-05:00 /dev/sdw /dev/sdw FlashDisk 0 0 ee31e0ca-1ff9-4ea8-9a61-d1fe9cf66a85 none 5_2 22.875G normal
FD_15_enkcel04 2011-03-25T14:05:44-05:00 /dev/sdx /dev/sdx FlashDisk 0 0 0a808b2f-ea08-48f0-abfc-8d08cffa7d72 none 5_3 22.875G normal
CellCLI> list griddisk attributes all
DATA_CD_00_enkcel04 CD_00_enkcel04 2011-03-29T14:07:35-05:00 HardDisk 0 cb535b02-e9bf-41d7-8e22-93009fff14fd 32M 1356G active
DATA_CD_01_enkcel04 CD_01_enkcel04 2011-03-29T14:07:35-05:00 HardDisk 0 c691998e-f6c3-4337-b35a-9f94076c996c 32M 1356G active
DATA_CD_02_enkcel04 CD_02_enkcel04 2011-03-29T14:07:35-05:00 HardDisk 0 57d84ced-040b-4446-96e7-b72d72c05534 32M 1356G active
DATA_CD_03_enkcel04 CD_03_enkcel04 2011-03-29T14:07:35-05:00 HardDisk 0 9420aaaf-71e5-4d82-94ff-fc4c0a73537a 32M 1356G active
DATA_CD_04_enkcel04 CD_04_enkcel04 2011-03-29T14:07:35-05:00 HardDisk 0 dbf36cae-e9e6-4cea-9cc8-3d04b97d91c7 32M 1356G active
DATA_CD_05_enkcel04 CD_05_enkcel04 2011-03-29T14:07:35-05:00 HardDisk 0 e94f2844-3055-4c12-af18-890e173b134d 32M 1356G active
DATA_CD_06_enkcel04 CD_06_enkcel04 2011-03-29T14:07:35-05:00 HardDisk 0 fe5db412-b695-493b-b3a2-6121cf5957ae 32M 1356G active
DATA_CD_07_enkcel04 CD_07_enkcel04 2011-03-29T14:07:35-05:00 HardDisk 0 9452bb5e-c11f-4fa6-9323-9afad0d1f164 32M 1356G active
DATA_CD_08_enkcel04 CD_08_enkcel04 2011-03-29T14:07:35-05:00 HardDisk 0 90655419-101c-4429-ac46-63eb4438692c 32M 1356G active
DATA_CD_09_enkcel04 CD_09_enkcel04 2011-03-29T14:07:35-05:00 HardDisk 0 4d642e65-5b3b-4f7b-818d-2503e4bf3982 32M 1356G active
DATA_CD_10_enkcel04 CD_10_enkcel04 2011-03-29T14:07:35-05:00 HardDisk 0 54768dd2-c63f-4d84-bfad-bd7d1e964ee6 32M 1356G active
DATA_CD_11_enkcel04 CD_11_enkcel04 2011-03-29T14:07:35-05:00 HardDisk 0 97aa7662-a126-44d6-b472-37c8d1ec7292 32M 1356G active
DBFS_DG_CD_02_enkcel04 CD_02_enkcel04 2011-03-29T14:06:46-05:00 HardDisk 0 de151b87-1eb2-48ae-976a-5e746d5a8580 1832.59375G 29.109375G active
DBFS_DG_CD_03_enkcel04 CD_03_enkcel04 2011-03-29T14:06:47-05:00 HardDisk 0 130e30fd-fba3-4edf-9870-c6b0a7241044 1832.59375G 29.109375G active
DBFS_DG_CD_04_enkcel04 CD_04_enkcel04 2011-03-29T14:06:48-05:00 HardDisk 0 935a39ea-9e4d-4979-83ff-b6fed9ecce48 1832.59375G 29.109375G active
DBFS_DG_CD_05_enkcel04 CD_05_enkcel04 2011-03-29T14:06:49-05:00 HardDisk 0 7da87467-7329-4f32-8667-73c22b8f2e05 1832.59375G 29.109375G active
DBFS_DG_CD_06_enkcel04 CD_06_enkcel04 2011-03-29T14:06:50-05:00 HardDisk 0 edc12d6b-66c2-4648-8605-162337e3c2cc 1832.59375G 29.109375G active
DBFS_DG_CD_07_enkcel04 CD_07_enkcel04 2011-03-29T14:06:50-05:00 HardDisk 0 b60a2162-ed3c-47df-9fd0-68868dc1df86 1832.59375G 29.109375G active
DBFS_DG_CD_08_enkcel04 CD_08_enkcel04 2011-03-29T14:06:51-05:00 HardDisk 0 035a0024-663b-4ac5-be35-5027c790c241 1832.59375G 29.109375G active
DBFS_DG_CD_09_enkcel04 CD_09_enkcel04 2011-03-29T14:06:52-05:00 HardDisk 0 c64080a5-22c8-46fa-81df-6175ce2a1066 1832.59375G 29.109375G active
DBFS_DG_CD_10_enkcel04 CD_10_enkcel04 2011-03-29T14:06:53-05:00 HardDisk 0 f0f34182-4751-4011-8496-d25a74192b09 1832.59375G 29.109375G active
DBFS_DG_CD_11_enkcel04 CD_11_enkcel04 2011-03-29T14:06:54-05:00 HardDisk 0 4e6c5015-d93b-4dab-a6d1-c09c850e542d 1832.59375G 29.109375G active
RECO_CD_00_enkcel04 CD_00_enkcel04 2011-03-29T14:07:40-05:00 HardDisk 0 0da3ed9b-35e1-40e1-801c-08a9d7a614bd 1356.046875G 476.546875G active
RECO_CD_01_enkcel04 CD_01_enkcel04 2011-03-29T14:07:40-05:00 HardDisk 0 229eac42-ee11-4752-96d0-1953f412e383 1356.046875G 476.546875G active
RECO_CD_02_enkcel04 CD_02_enkcel04 2011-03-29T14:07:40-05:00 HardDisk 0 3094f748-517c-4950-bf09-b7aeece47790 1356.046875G 476.546875G active
RECO_CD_03_enkcel04 CD_03_enkcel04 2011-03-29T14:07:40-05:00 HardDisk 0 d8340700-fe52-4afa-b837-17419bc4bfbf 1356.046875G 476.546875G active
RECO_CD_04_enkcel04 CD_04_enkcel04 2011-03-29T14:07:40-05:00 HardDisk 0 418020ea-e3df-418a-ad70-90bd09c1ec1b 1356.046875G 476.546875G active
RECO_CD_05_enkcel04 CD_05_enkcel04 2011-03-29T14:07:40-05:00 HardDisk 0 5ad78a48-ff99-4268-ae7e-fa50f909e9b2 1356.046875G 476.546875G active
RECO_CD_06_enkcel04 CD_06_enkcel04 2011-03-29T14:07:40-05:00 HardDisk 0 fa03466f-329d-4c31-9a61-ba2ceb6e67c1 1356.046875G 476.546875G active
RECO_CD_07_enkcel04 CD_07_enkcel04 2011-03-29T14:07:40-05:00 HardDisk 0 d6f247ed-6c97-4216-8c21-2f4fd92d58af 1356.046875G 476.546875G active
RECO_CD_08_enkcel04 CD_08_enkcel04 2011-03-29T14:07:40-05:00 HardDisk 0 42494e34-2e5a-4b17-a7bf-bcf23c5b18a1 1356.046875G 476.546875G active
RECO_CD_09_enkcel04 CD_09_enkcel04 2011-03-29T14:07:40-05:00 HardDisk 0 ca8fb645-f3c2-4dca-9224-d9181d23bb0f 1356.046875G 476.546875G active
RECO_CD_10_enkcel04 CD_10_enkcel04 2011-03-29T14:07:40-05:00 HardDisk 0 e13d011a-6fed-477f-a3c3-3792beee3184 1356.046875G 476.546875G active
RECO_CD_11_enkcel04 CD_11_enkcel04 2011-03-29T14:07:40-05:00 HardDisk 0 3cde9c29-3119-44e9-a9d9-bd3f03ca2829 1356.046875G 476.546875G active
}}}
''-- "Oracle Exadata Database Machine Best Practices Series"''
Oracle E-Business Suite on Exadata http://goo.gl/2Yc4d 1133355.1 1110648.1 741818.1 557738.1 1055938.1
Oracle Siebel on Exadata http://goo.gl/3R6Iy 1187674.1 744769.1
Oracle Peoplesoft on Exadata http://goo.gl/Sg1yX 744769.1
Oracle Exadata and OLTP Applications http://goo.gl/sDCKF
* 757552.1 Exadata Best Practices
* 1269706.1 OLTP Best Practices
* 888828.1
Using Resource Manager on Exadata http://goo.gl/db5cx
* 1207483.1 CPU Resource Manager - Example: How to control CPU Resources using the Resource Manager [ID 471265.1]
* 1208064.1 Instance Caging
* 1208104.1 max_utilization_limit
* 1208133.1 Managing Runaway Queries
Migrating to Oracle Exadata http://goo.gl/DCxpg
* 785351.1 - Upgrade Companion
* 1055938.1 - Database Machine using Data Guard
* 413484.1 - Data Guard Heterogeneous Support
* 737460.1 - Changing Storage Characteristics on Logical Standby
* 1054431.1 - DBFS
* 888828.1 - Latest Exadata Software
Using DBFS on Exadata http://goo.gl/oOFs1
* 1191144.1 - Configuring a database for DBFS on Exadata
* 1054431.1 - Configuring DBFS on Exadata
Monitoring Oracle Exadata http://goo.gl/vYzpD
* 1110675.1 - Manageability Best Practices
* ASR installation guide at OTN
Oracle Exadata Backup and Recovery http://goo.gl/FBrIa
Oracle MAA and Oracle Exadata http://goo.gl/Q1a8d
* 888828.1 - Exadata recommended software
* 1262380.1 - Exadata testing and patching practices
* 757552.1 - Hub of MAA and Exadata best practices
* 1070954.1 - Exadata MAA HealthCheck (every 3months)
* 1110675.1 - Exadata Monitoring
* ASR (OTN)
* 565535.1 - Flashback MOS
* Data Guard
* 1206603.1
* 960510.1
* 951152.1
* 1265700.1 - Data Guard Standby-First Patch Apply
* Patching
* 1262380.1
* 757552.1 - Hub of MAA and Exadata Best Practices
* Storage Grid High Redundancy and file placement (OTN)
Troubleshooting Oracle Exadata http://goo.gl/USRIX
* 1274324.1 - Exadata X2-2 Diagnosability & Troubleshooting Best Practices
* 1283341.1 - Exadata Hardware Alert: All logical drives are in writethrough caching mode
Patching and Upgrading Oracle Exadata http://goo.gl/B2ztC
* metalink notes 888828.1 (11.2) 835032.1 (11.1) 1262380.1 1265998.1 1265700.1
Oracle Exadata Health Check http://goo.gl/Pyw4k
* metalink notes 1070954.1 757552.1 888828.1 835032.1
''Scripts''
http://www.expertoracleexadata.com/scripts/
''Errata''
http://www.expertoracleexadata.com/errata/
http://www.apress.com/9781430233923
! What is Exadata?
SAGE - Storage Appliance for Grid Environments
2 ways to minimize the bottleneck
- make the pipe bigger
- reduce the amount of data that needs to be transferred
The four fundamentals
- Cell Offload Processing
Work performed by the Storage Servers
- Smart Scan
Smart Scan is the agent for offloading filtration, projection, Storage Index exploitation and HCC decompression
- Full Scan or Index Fast Full Scan
The required access method
- Direct Path Reads
Required buffering model for a Smart Scan
*RDS could be implemented over Ethernet, but iDB is specifically not Ethernet. It is IB
http://www.oracle.com/technetwork/articles/oem/exadata-commands-intro-402431.html
DR for Exalogic and Exadata + Oracle GoldenGate on Exadata https://blogs.oracle.com/XPSONHA/entry/dr_for_exalogic_and_exadata
http://www.evernote.com/shard/s48/sh/320a6b86-5203-499b-823c-577e9b641188/ec46229148b6b09478dbce95c27bc00b
sort this http://dbastreet.com/blog/?page_id=603
* the EM plugins for the ''db nodes'' is just like monitoring a database server..
* for the cells, you have to have the OMS server to have that can passwordlessly login to the ''cellmonitor'' account on the cell servers and that's it. the OMS just executes SSH commands and does cellcli command on the cells to have data points that will be stored on the OMS server for graphing
* it actually executes a command similar to this ''ssh -l cellmonitor cell1 cellcli -e 'list cell detail' ''
* and cellmonitor just have access to cellcli
{{{
[celladmin@cell1 ~]$ ssh -l root cell1 ls -ltra ~cellmonitor/
root@cell1's password:
total 48
-rw-r--r-- 1 cellmonitor cellmonitor 658 Jul 20 14:14 .zshrc
-r--r--r-- 1 root root 49 Jul 20 14:14 .profile
drwxr-xr-x 4 cellmonitor cellmonitor 4096 Jul 20 14:14 .mozilla
drwxr-xr-x 3 cellmonitor cellmonitor 4096 Jul 20 14:14 .kde
-rw-r--r-- 1 cellmonitor cellmonitor 515 Jul 20 14:14 .emacs
-r-xr-xr-x 1 root root 1760 Jul 20 14:14 cellcli
-r--r--r-- 1 root cellmonitor 162 Jul 20 14:14 .bashrc
-r--r--r-- 1 root cellmonitor 214 Jul 20 14:14 .bash_profile
drwxr-xr-x 4 root root 4096 Jul 20 14:14 ..
drwx------ 4 cellmonitor cellmonitor 4096 Aug 18 12:45 .
-rw------- 1 cellmonitor cellmonitor 263 Aug 18 12:55 .bash_history
}}}
* see why
{{{
[cellmonitor@cell1 ~]$ ls -ltr
-rbash: ls: command not found
[cellmonitor@cell1 ~]$
[cellmonitor@cell1 ~]$ which
-rbash: /usr/bin/which: restricted: cannot specify `/' in command names
[cellmonitor@cell1 ~]$
[cellmonitor@cell1 ~]$ cellcli
CellCLI: Release 11.2.2.2.0 - Production on Thu Aug 18 13:47:58 CDT 2011
Copyright (c) 2007, 2009, Oracle. All rights reserved.
Cell Efficiency Ratio: 22M
CellCLI>
}}}
* follow the steps below to setup passwordless SSH
{{{
## PASSWORDLESS SSH ORACLE TO CELLADMIN
mkdir -p ~/.ssh
chmod 700 ~/.ssh
touch ~/.ssh/authorized_keys
chmod 600 ~/.ssh/authorized_keys
cd ~/.ssh
/usr/bin/ssh-keygen -t dsa
<then just hit ENTER all the way>
Repeat the above steps for each node in the cluster
cd ~/.ssh
ls -l *.pub
ssh db1 cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys
ssh celladmin@cell1 cat ~celladmin/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys
ssh celladmin@cell2 cat ~celladmin/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys
ssh celladmin@cell3 cat ~celladmin/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys
scp -p ~/.ssh/authorized_keys celladmin@cell1:.ssh/authorized_keys
scp -p ~/.ssh/authorized_keys celladmin@cell2:.ssh/authorized_keys
scp -p ~/.ssh/authorized_keys celladmin@cell3:.ssh/authorized_keys
exec /usr/bin/ssh-agent $SHELL
/usr/bin/ssh-add
ssh -l oracle db1 date;ssh -l celladmin cell1 date;ssh -l celladmin cell2 date;ssh -l celladmin cell3 date
Thu Aug 18 13:32:14 CDT 2011
Thu Aug 18 13:32:07 CDT 2011
Thu Aug 18 13:32:07 CDT 2011
Thu Aug 18 13:32:04 CDT 2011
## PASSWORDLESS SSH ORACLE TO CELLMONITOR
mkdir -p ~/.ssh
chmod 700 ~/.ssh
touch ~/.ssh/authorized_keys
chmod 600 ~/.ssh/authorized_keys
cd ~/.ssh
/usr/bin/ssh-keygen -t dsa
<then just hit ENTER all the way>
Repeat the above steps for each node in the cluster
cd ~/.ssh
ls -l *.pub
scp id_dsa.pub celladmin@cell1:~
ssh -l root cell1 mkdir -p ~cellmonitor/.ssh
ssh -l root cell1 chmod 700 ~cellmonitor/.ssh
ssh -l root cell1 touch ~cellmonitor/.ssh/authorized_keys
ssh -l root cell1 chown -R cellmonitor:cellmonitor ~cellmonitor/.ssh
ssh -l root cell1 ls -ltra ~cellmonitor
ssh -l root cell1 "cat ~celladmin/id_dsa.pub >> ~cellmonitor/.ssh/authorized_keys"
ssh -l root cell1 rm ~celladmin/id_dsa.pub
Repeat the above steps for each node in the cluster
cd ~/.ssh
ls -l *.pub
scp id_dsa.pub celladmin@cell2:~
ssh -l root cell2 mkdir -p ~cellmonitor/.ssh
ssh -l root cell2 chmod 700 ~cellmonitor/.ssh
ssh -l root cell2 touch ~cellmonitor/.ssh/authorized_keys
ssh -l root cell2 chown -R cellmonitor:cellmonitor ~cellmonitor/.ssh
ssh -l root cell2 ls -ltra ~cellmonitor
ssh -l root cell2 "cat ~celladmin/id_dsa.pub >> ~cellmonitor/.ssh/authorized_keys"
ssh -l root cell2 rm ~celladmin/id_dsa.pub
cd ~/.ssh
ls -l *.pub
scp id_dsa.pub celladmin@cell3:~
ssh -l root cell3 mkdir -p ~cellmonitor/.ssh
ssh -l root cell3 chmod 700 ~cellmonitor/.ssh
ssh -l root cell3 touch ~cellmonitor/.ssh/authorized_keys
ssh -l root cell3 chown -R cellmonitor:cellmonitor ~cellmonitor/.ssh
ssh -l root cell3 ls -ltra ~cellmonitor
ssh -l root cell3 "cat ~celladmin/id_dsa.pub >> ~cellmonitor/.ssh/authorized_keys"
ssh -l root cell3 rm ~celladmin/id_dsa.pub
login on db1.. and execute the following command
ssh -l cellmonitor cell1 cellcli -e 'list cell detail'
ssh -l cellmonitor cell2 cellcli -e 'list cell detail'
ssh -l cellmonitor cell3 cellcli -e 'list cell detail'
}}}
* TO ADD ROOT DB1 ON PASSWORDLESS SSH
{{{
mkdir -p ~/.ssh
chmod 700 ~/.ssh
touch ~/.ssh/authorized_keys
chmod 600 ~/.ssh/authorized_keys
cd ~/.ssh
/usr/bin/ssh-keygen -t dsa
ssh db1 cat ~root/.ssh/id_dsa.pub >> ~root/.ssh/authorized_keys
ssh -l root cell1 cat ~root/.ssh/authorized_keys >> ~root/.ssh/authorized_keys
scp -p authorized_keys cell1:~root/.ssh/authorized_keys
scp -p authorized_keys cell2:~root/.ssh/authorized_keys
scp -p authorized_keys cell3:~root/.ssh/authorized_keys
ssh db1 date;ssh cell1 date;ssh cell2 date;ssh cell3 date
}}}
* TO ADD ROOT DB1 and DB2 ON PASSWORDLESS SSH
{{{
mkdir -p ~/.ssh
chmod 700 ~/.ssh
touch ~/.ssh/authorized_keys
chmod 600 ~/.ssh/authorized_keys
cd ~/.ssh
/usr/bin/ssh-keygen -t dsa
ssh -l root db1 cat ~root/.ssh/id_dsa.pub >> ~root/.ssh/authorized_keys
ssh -l root db2 cat ~root/.ssh/id_dsa.pub >> ~root/.ssh/authorized_keys
ssh -l root cell1 cat ~root/.ssh/authorized_keys >> ~root/.ssh/authorized_keys
scp -p authorized_keys db2:~root/.ssh/authorized_keys
scp -p authorized_keys cell1:~root/.ssh/authorized_keys
scp -p authorized_keys cell2:~root/.ssh/authorized_keys
scp -p authorized_keys cell3:~root/.ssh/authorized_keys
ssh db1 date; ssh db2 date;ssh cell1 date;ssh cell2 date;ssh cell3 date
}}}
-- Passwordless SSH
{{{
To do this, first create an SSH keypair on the Grid Control server (one time only):
ssh-keygen -t dsa -f id_dsa
mv id_dsa.pub id_dsa ~oracle/.ssh/
cd ~oracle/.ssh/
Next, perform each of these steps for every storage cell:
-- Passwordless SSH to cellmonitor
scp id_dsa.pub celladmin@cell1:~
ssh -l root cell1 "mkdir ~cellmonitor/.ssh; chmod 700 ~cellmonitor/.ssh; cp ~celladmin/id_dsa.pub ~cellmonitor/.ssh/authorized_keys; chown -Rf cellmonitor:cellmonitor ~cellmonitor/.ssh"
ssh -l cellmonitor cell1 cellcli -e 'list cell detail'
-- Passwordless SSH to celladmin
scp id_dsa.pub celladmin@cell1:~
ssh -l root cell1 "mkdir ~celladmin/.ssh; chmod 700 ~celladmin/.ssh; mv ~celladmin/id_dsa.pub ~celladmin/.ssh/authorized_keys; chown -Rf celladmin:celladmin ~celladmin/.ssh"
ssh -l celladmin cell1 cellcli -e 'list cell detail'
After all of these steps have been completed, the Exadata Storage Management Plug-In can be installed and deployed.
}}}
''Agent Failover''
http://blogs.oracle.com/XPSONHA/entry/failover_capability_for_plugins_exadata
http://www.oracle.com/webfolder/technetwork/tutorials/demos/db/exadata/exadatav2/38_DBM_EM_Plugin_HA/38_dbm_em_plugin_ha_viewlet_swf.html
''Monitoring Exadata database machine with Oracle Enterprise Manager 11g'' http://dbastreet.com/blog/?p=674
''“Plugging” in the Database Machine'' http://dbatrain.wordpress.com/2011/06/
''Oracle Enterprise Manager Grid Control Exadata Monitoring plug-in bundle'' http://www.oracle.com/technetwork/oem/grid-control/downloads/devlic-188770.html <-- download link
PDU Threshold Settings for Oracle Exadata Database Machine using Enterprise Manager [ID 1299851.1]
* Install and Configure the Agent and the Plugins
Follow MOS Note 1110675.1 to install the agents and configure the exadata cell plugin
Oracle Exadata Avocent MergePoint Unity Switch http://download.oracle.com/docs/cd/E11857_01/install.111/e20086/toc.htm
Oracle Exadata Cisco Switch http://download.oracle.com/docs/cd/E11857_01/install.111/e20084/toc.htm
Oracle Exadata ILOM http://download.oracle.com/docs/cd/E11857_01/install.111/e20083/toc.htm
Oracle Exadata Infiniband Switch http://download.oracle.com/docs/cd/E11857_01/install.111/e20085/toc.htm
Oracle Exadata Power Distribution Unit http://download.oracle.com/docs/cd/E11857_01/install.111/e20087/toc.htm
Oracle Exadata Storage Server http://download.oracle.com/docs/cd/E11857_01/install.111/e14591/toc.htm
* Additional tutorials with screenshots on configuring the plugins can be found below
Monitor Exadata Database Machine: Agent Installation and Configuration http://apex.oracle.com/pls/apex/f?p=44785:24:346990567800120::NO:24:P24_CONTENT_ID,P24_PREV_PAGE:5504,2
Monitor Exadata Database Machine: Configuring ASM and Database Targets http://apex.oracle.com/pls/apex/f?p=44785:24:346990567800120::NO:24:P24_CONTENT_ID,P24_PREV_PAGE:5505,2
Monitor Exadata Database Machine: Configuring the Exadata Storage Server Plug-in http://apex.oracle.com/pls/apex/f?p=44785:24:346990567800120::NO:24:P24_CONTENT_ID,P24_PREV_PAGE:5506,2
Monitor Exadata Database Machine: Configuring the ILOM Plug-in http://apex.oracle.com/pls/apex/f?p=44785:24:346990567800120::NO:24:P24_CONTENT_ID,P24_PREV_PAGE:5507,2
Monitor Exadata Database Machine: Configuring the InfiniBand Switch Plug-in http://apex.oracle.com/pls/apex/f?p=44785:24:346990567800120::NO:24:P24_CONTENT_ID,P24_PREV_PAGE:5508,2
Monitor Exadata Database Machine: Configuring the Cisco Ethernet Switch Plug-in http://apex.oracle.com/pls/apex/f?p=44785:24:346990567800120::NO:24:P24_CONTENT_ID,P24_PREV_PAGE:5509,2
Monitor Exadata Database Machine: Configuring the Avocent KVM Switch Plug-in http://apex.oracle.com/pls/apex/f?p=44785:24:346990567800120::NO:24:P24_CONTENT_ID,P24_PREV_PAGE:5510,2
Monitor Exadata Database Machine: Configuring User Defined Metrics for Additional Network Monitoring http://apex.oracle.com/pls/apex/f?p=44785:24:346990567800120::NO:24:P24_CONTENT_ID,P24_PREV_PAGE:5511,2
Monitor Exadata Database Machine: Configuring Plug-ins for High Availability http://apex.oracle.com/pls/apex/f?p=44785:24:346990567800120::NO:24:P24_CONTENT_ID,P24_PREV_PAGE:5512,2
Monitor Exadata Database Machine: Creating a Dashboard for Database Machine http://apex.oracle.com/pls/apex/f?p=44785:24:346990567800120::NO:24:P24_CONTENT_ID,P24_PREV_PAGE:5513,2
''Exadata Plugin names''
oracle_cell oracle_cell_11.2.2.3.jar
cisco_switch cisco_switch.jar
kvm kvm.jar
oracle_x2ib oracle_x2_ib.jar
oracle_x2cn.jar
oracle_exadata_hc.jar
pdu.jar
http://www.evernote.com/shard/s48/sh/1eb5b0c7-11c9-439c-a24f-4b8f8f6f3fae/f8eee4a52c650d87ec993039237237bb
http://www.evernote.com/shard/s48/sh/bdaba4a6-f2f3-4a0f-bff0-d7daacc9252b/f29b87c951fbf58f175ffaf87a3a899e
[img[picturename| https://lh4.googleusercontent.com/-r0rWQPyALcM/Tdsg7C9s_OI/AAAAAAAABRw/PdBeB9HPkxQ/throughput.png]]
[img[picturename| https://lh3.googleusercontent.com/-XlSllE-5cXY/Tdsg61gILdI/AAAAAAAABRo/y03hHMUpP8Y/throughput2.png]]
[img[picturename| https://lh5.googleusercontent.com/-gyDVbldZCFE/Tdsg7PdN3MI/AAAAAAAABRs/ZibKFYUiK7I/throughput3.png]]
[img[picturename| https://lh5.googleusercontent.com/-UNqgMcCmEtM/Tdsg7U04VGI/AAAAAAAABR4/gBTshCeU4x0/throughput4.png]]
[img[picturename| https://lh4.googleusercontent.com/-HpaTu09g_cA/Tdsg7aaL20I/AAAAAAAABR0/POykxlhuLUs/throughput5.png]]
[img[picturename| https://lh4.googleusercontent.com/-UC5gv5s3Icg/Tdsg7b8jQUI/AAAAAAAABR8/cd3OScz11Nw/throughput6.png]]
[img[picturename| https://lh3.googleusercontent.com/-RHkHb0v2Hwg/Tdsg7tt1LMI/AAAAAAAABSA/4mEraclNL8w/throughput7.png]]
[img[picturename| https://lh6.googleusercontent.com/-TX-cRRXCIZQ/Tdsg7saUh7I/AAAAAAAABSI/7Q0jptO8wIo/throughput8.png]]
[img[picturename| https://lh4.googleusercontent.com/-sDLBaNYUbng/Tdsg77vdqeI/AAAAAAAABSE/pQrSAsIeocY/throughput9.png]]
[img[picturename| https://lh5.googleusercontent.com/-SXinl7d3gA8/Tdsg75hmG7I/AAAAAAAABSM/w1_Je-hvv5Y/throughput10.png]]
[img[picturename| https://lh6.googleusercontent.com/-F81qnfIBUw0/Tdsg8BbGvuI/AAAAAAAABSQ/YcxLcF6rswA/throughput11.png]]
surprising to know that the infiniband are running on centos, the whole update process is just a rpm update
http://www.evernote.com/shard/s48/sh/fed1e421-7b10-4d19-92d0-c2538a3f3c7c/0862beef70fc133490e8ae4ffeac8a42
http://www.evernote.com/shard/s48/sh/0987f447-b24a-4a40-9f0a-2f7e19ad6bf0/f8bd7d1a1f948d9c162cd6ee88d8c8f4
http://www.evernote.com/shard/s48/sh/0ce1cfde-99b9-4e82-8e92-7be7dc5e60f9/02ae66088cc1509e580cab382d25a0f8
''Exadata FAQ''
http://www.oracle.com/technology/products/bi/db/exadata/exadata-faq.html
''My Experiences''
http://karlarao.wordpress.com/2010/05/30/seeing-exadata-in-action/
''Exadata Links''
http://tech.e2sn.com/oracle/exadata/links
http://tech.e2sn.com/oracle/exadata/articles
A grand tour of Oracle Exadata
http://www.pythian.com/expertise/oracle/exadata
http://www.pythian.com/news/13569/exadata-part-1/
http://www.pythian.com/news/13967/exadata-part2/
http://www.pythian.com/news/15673/exadata-part3/
http://www.pythian.com/news/15425/making-the-most-of-exadata/
http://www.pythian.com/news/15531/designing-for-exadata-maximizing-storage-indexes-use/
http://dbastreet.com/blog/?page_id=603 <-- good collection of links
''Exadata Comparisons''
Comparing Exadata and Netezza TwinFin
http://www.business-intelligence-quotient.com/?p=1030
''Exadata adhoc reviews''
''* A nice comment by Tanel Poder'' http://www.linkedin.com/groupItem?view=&srchtype=discussedNews&gid=3156190&item=32433184&type=member&trk=EML_anet_qa_ttle-dnhOon0JumNFomgJt7dBpSBA
<<<
-- Question by Ron Batra
I was wondering if people had any experiences to share regarding RAC on ExaData..?
-- Reply by Tanel Poder (http://tech.e2sn.com/team/tanel-poder)
Do you want good ones or bad ones? ;-)
As it's a general question, the answer will be quite general, too:
The "bad" thing is that RAC is still RAC on Exadata too. So, especially if you plan to use it for OLTP environments, there are things to consider.
Even the low-latency infiniband interconnect doesn't eliminate interconnect (and scheduling) latency and global cache wait events when you run write-write OLTP workload on the same dataset in multiple different instances. You should make sure (using services) that any serious write-write activity happens within the same physical server. But oh wait, Exadata v1 and v2 both consist of small 8-core DB nodes, so with serious OLTP workload it may not be possible to fit all the write-write activity into one 8-core node at all. So, got to be careful when planning heavy OLTP into Exadata. It's doable but needs more planning & testing if your workload is going to be significant. The new Exadata x2-8 would be better for heavy OLTP workloads as a single rack has only 2 physical DB layer servers (each with 64 cores) in it, so it'd be much easier to direct all write-write workload into one physical server.
For (a properly designed) DW workload with mostly no concurrent write-write activity on the same dataset, you shouldn't have GC bottleneck problem. However the DW should ideally be designed for (parallel) direct path full table scans (with proper partitioning design for partition pruning).
So, when you migrate your old reporting application to exadata (and it doesn't use good partitioning, indexes used everywhere and no parallel execution is used) then you might not end up getting much out of the smart scans. Or when the ETL job is a tight (PL/SQL) loop, performing single row fetches and inserts, then you won't get anywhere near the "promised" Exadata data load speeds etc.
What else... If anyone (even from Oracle) says, you don't need any indexes in Exadata, don't believe them. I have a client who didn't use any indexes even before they moved to Exadata (their schema was explicitly designed for partition pruning, full partition scans and "brute-force" hash joins). They were very happy when they moved to Exadata, because this is the kind of workload which allows smart scans to kick in.
Another client's applications relied on indexes in their old environments. They followed someone's (apparently from Oracle) recommendation to drop all indexes (to save storage space) and the performnace on exadata sucked. This is because their schema & application was not optimized for such brute force processing. They started adding indexes back to get the performance back to acceptable levels.
Another surprise from the default Exadata configuration was related to the automatic parallel execution configuration. Some queries ended up allocating 512 slaves across the whole Exadata rack. The only way to limit this was to use resource manager (and this is what I always use). All the other magic automatic features failed in some circumstances (I'll blog about it some day).
Btw, don't hope to ever these promised 5TB/hour load times in real life. In real life you probably want to use compression to save space in the limited Exadata storage and compression is done in the database nodes only (while the cells may be completely idle), so your real life load rate with compression is going to be much lower, depending on the compression options you use (well that's the same for all other vendors too, but marketing usually doesn't tell you that).
Phew, this wasn't just specific to RAC on Exadata, but just some experiences I've had to deal with. Exadata doesn't make everything always faster - out of the box. But if your application/schema design is right, then it will rock!
<<<
''* Kevin Closson interview'' http://www.pythian.com/news/1267/interview-kevin-closson-on-the-oracle-exadata-storage-server/
''Exadata Patches''
http://www.pythian.com/news/15477/exadata-bp5-patching-issues/
Potential data loss issue on Exadata http://goo.gl/8c1t3
''Exadata Presentations''
http://husnusensoy.wordpress.com/2010/10/16/exadata-v2-fast-track-session-slides-in-rac-sig-turkey/
Cool product on predictive performance management - BEZVision for Databases http://goo.gl/aQRvK + ExadataV2 presentation http://goo.gl/Zf6Pw
Tanel Poder - Performance stories from Exadata Migrations http://goo.gl/hQPdq
''Exadata Features''
* Hybrid Columnar Compression
http://blogs.oracle.com/databaseinsider/2010/11/exadata_hybrid_columnar_compre.html
http://oracle-randolf.blogspot.com/2010/10/112-new-features-subtle-restrictions.html
* Cell offload
http://dbatrain.wordpress.com/2009/06/23/measuring-exadata-offloads-efficiency/
http://dbatrain.wordpress.com/2010/11/05/dbms-for-dbas-offloads-are-for-you-too/
* Smart Scan
http://www.pythian.com/news/18077/exadata-smart-scans-and-the-flash-cache/?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed:+PythianGroupBlog+(Pythian+Group+Blog)
''Exadata v2 InfiniBand Network 880 Gb/sec aggregate throughput''
{{{
Each machine has 40Gb/sec Infiniband network card (two HCA ports bonded together, but it's only 40 Gb/sec per machine).
Exadata v2 have 8 DB Machine and 14 Storage servers and total is 22 servers.
So 22 X 40 Gb/sec is 880 Gb/sec.
}}}
— Enables storage predicates to be showed in the SQL execution plans of your session even if you do not have Exadata
alter session set CELL_OFFLOAD_PLAN_DISPLAY = ALWAYS;
You can use the above V$ views and corresponding statistics to monitor Exadata cells’ activity from a database instance:
* V$CELL view provides identifying information extracted from the cellip.ora file.
* V$BACKUP_DATAFILE view contains various columns relevant to Exadata Cell during RMAN incremental backups. The BLOCKS_SKIPPED_IN_CELL column is a count of the number of blocks that were read and filtered at the Exadata Cell to optimize the RMAN incremental backup.
* You can query the V$SYSSTAT view for key statistics that can be used to compute Exadata Cell effectiveness:
<<<
physical IO disk bytes - Total amount of I/O bytes processed with physical disks (includes when processing was offloaded to the cell and when processing was not offloaded)
cell physical IO interconnect bytes - Number of I/O bytes exchanged over the interconnection (between the database host and cells)
cell physical IO bytes eligible for predicate offload - Total number of I/O bytes processed with physical disks when processing was offloaded to the cell
''The following statistics show the Exadata Cell benefit due to optimized file creation and optimized RMAN file restore operations:''
cell physical IO bytes saved during optimized file creation - Number of bytes of I/O saved by the database host by offloading the file creation operation to cells
cell physical IO bytes saved during optimized rman file restore - Number of bytes of I/O saved by the database host by offloading the RMAN file restore operation to cells
<<<
* Wait Events
<<<
cell single block physical read - Same as db file sequential read for a cell
cell multiblock physical read - Same as db file scattered read for a cell
cell smart table scan - DB waiting for table scans to complete
cell smart index scan - DB waiting for index or IOT fast full scans
cell smart file creation - waiting for file creation completion
cell smart incremental backup - waiting for incremental backup completion
cell smart restore from backup - waiting for file initialization completion for restore
cell statistics gather
<<<
The query displays the cell path and disk name corresponding to cell wait events.. also possible for drill down on ASH
{{{
SELECT w.event, c.cell_path, d.name, w.p3
FROM V$SESSION_WAIT w, V$EVENT_NAME e, V$ASM_DISK d, V$CELL c
WHERE e.name LIKE 'cell%'
AND e.wait_class_id = w.wait_class_id
AND w.p1 = c.cell_hashval
AND w.p2 = d.hash_value;
}}}
* Assess offload processing efficiency, this query calculates the percentage of I/Os that were filtered by offloading to Exadata.
{{{
SQL> select 100 - 100*s1.value/s2.value io_filtering_percentage 2 from v$mystat s1
3 , v$mystat s2
4 , v$statname n1
5 , v$statname n2
6 where s1.statistic# = n1.statistic#
7 and s2.statistic# = n2.statistic#
8 and n1.name = 'cell physical IO interconnect bytes'
9 and n2.name = 'cell physical IO bytes eligible for predicate offload' ;
IO_FILTERING_PERCENTAGE
-----------------------
99.9872062
}}}
* It is also possible to use SQL Performance Analyzer to access offload processing. You can use the tcellsim.sql script located in $ORACLE_HOME/rdbms/admin for that purpose. The comparison uses the IO_INTERCONNECT_BYTES statistics.
http://www.evernote.com/shard/s48/sh/b9a4437d-9444-4748-b4c4-6d0a84113fc2/ab3682c18ba5e3fe08478378ea3b5804
''Advisor Webcast Archived Recordings [ID 740964.1]''
Database https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=740964.1#data
OEM https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=740964.1#em
Exadata https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=740964.1#exadata
http://apex.oracle.com/pls/apex/f?p=44785:2:3562636332635165:FORCE_QUERY::2,CIR,RIR:P2_TAGS:Exadata
{{{
Exadata Smart Flash Log Self-Study Module Tutorial 24-Nov-11 26 mins
Exadata Smart Flash Log Demonstration Video 21-Nov-11 9 mins
Using Exadata Smart Scan Self-Study Module Tutorial 09-Nov-11 45 mins
Using Exadata Smart Scan Demonstration Demo 08-Nov-11 11 mins
Oracle Enterprise Manager 12c: Manage Oracle Exadata with Oracle Enterprise Manager Video 02-Nov-11 4 mins
Oracle Enterprise Manager 12c: Monitor an Exadata Environment Video 02-Oct-11 9 mins
Part 1 - Load the Data Video 01-Jun-11 14 mins
Part 2 - Gather Optimizer Statistics on the Data Video 01-Jun-11 8 mins
Part 3 - Validate and Transform the Data Video 01-Jun-11 10 mins
Part 4 - Query the Data Video 01-Jun-11 11 mins
Oracle Real World Performance Video Series - Migrate a 1TB Datawarehouse in 20 Minutes Video 01-Jun-11 40 mins
Administer Exadata Database Machine: Exadata Storage Server Patch Rollback Demo 23-May-11
Administer Exadata Database Machine: Exadata Storage Server Rolling Patch Application Demo 23-May-11
Exadata Database Machine: Using Quality of Service Management Demo 23-May-11
Exadata Database Machine: Configuring Quality of Service Management Demo 23-May-11
Monitor Exadata Database Machine: Agent Installation and Configuration Demo 23-May-11
Monitor Exadata Database Machine: Configuring ASM and Database Targets Demo 23-May-11
Monitor Exadata Database Machine: Configuring the Exadata Storage Server Plug-in Demo 23-May-11
Monitor Exadata Database Machine: Configuring the ILOM Plug-in Demo 23-May-11
Monitor Exadata Database Machine: Configuring the InfiniBand Switch Plug-in Demo 23-May-11
Monitor Exadata Database Machine: Configuring the Cisco Ethernet Switch Plug-in Demo 23-May-11
Monitor Exadata Database Machine: Configuring the Avocent KVM Switch Plug-in Demo 23-May-11
Monitor Exadata Database Machine: Configuring User Defined Metrics for Additional Network Monitoring Demo 23-May-11
Monitor Exadata Database Machine: Configuring Plug-ins for High Availability Demo 23-May-11
Monitor Exadata Database Machine: Creating a Dashboard for Database Machine Demo 23-May-11
Monitor Exadata Database Machine: Monitoring Exadata Storage Servers using Enterprise Manager Grid Control and the System Monitoring Plug-in for Exadata Storage Server Demo 23-May-11
Monitor Exadata Database Machine: Managing Exadata Storage Server Alerts and Checking for Undelivered Alerts Demo 23-May-11
Monitor Exadata Database Machine: Exadata Storage Server Monitoring and Management using Integrated Lights Out Manager (ILOM) Demo 23-May-11
Monitor Exadata Database Machine: Monitoring the Database Machine InfiniBand network Demo 23-May-11
Monitor Exadata Database Machine: Monitoring the Cisco Catalyst Ethernet switch and the Avocent MergePoint Unity KVM using Grid Control Demo 23-May-11
Monitor Exadata Database Machine: Using HealthCheck Demo 23-May-11
Monitor Exadata Database Machine: Using DiagTools Demo 23-May-11
Monitor Exadata Database Machine: Using ADRCI on an Exadata Storage Cell Demo 23-May-11
Monitor Exadata Database Machine Demo 23-May-11
Oracle Exadata Database Machine Best Practices Series Tutorial 29-Mar-11
Managing Parallel Processing with the Database Resource Manager Demo 19-Nov-10 60 mins
Exadata and Database Machine Version 2 Series - 1 of 25: Introduction to Smart Scan Demo 19-Sep-10 10 mins
Exadata and Database Machine Version 2 Series - 2 of 25: Introduction to Exadata Hybrid Columnar Compression Demo 19-Sep-10 10 mins
Exadata and Database Machine Version 2 Series - 3 of 25: Introduction to Exadata Smart Flash Cache Demo 19-Sep-10 12 mins
Exadata and Database Machine Version 2 Series - 4 of 25: Exadata Process Introduction Demo 19-Sep-10 6 mins
Exadata and Database Machine Version 2 Series - 5 of 25: Hierarchy of Exadata Storage Objects Demo 19-Sep-10 8 mins
Exadata and Database Machine Version 2 Series - 6 of 25: Creating Interleaved Grid Disks Demo 19-Sep-10 8 mins
Exadata and Database Machine Version 2 Series - 7 of 25: Examining Exadata Smart Flash Cache Demo 19-Sep-10 8 mins
Exadata and Database Machine Version 2 Series - 8 of 25: Exadata Cell Configuration Demo 19-Sep-10 6 mins
Exadata and Database Machine Version 2 Series - 9 of 25: Exadata Storage Provisioning Demo 19-Sep-10 7 mins
Exadata and Database Machine Version 2 Series - 10 of 25: Consuming Exadata Grid Disks Using ASM Demo 19-Sep-10 10 mins
Exadata and Database Machine Version 2 Series - 11 of 25: Exadata Cell User Accounts Demo 19-Sep-10 5 mins
Exadata and Database Machine Version 2 Series - 12 of 25: Monitoring Exadata Using Metrics, Alerts and Active Requests Demo 19-Sep-10 10 mins
Exadata and Database Machine Version 2 Series - 13 of 25: Monitoring Exadata From Within Oracle Database Demo 19-Sep-10 10 mins
Exadata and Database Machine Version 2 Series - 14 of 25: Exadata High Availability Demo 19-Sep-10 10 mins
Exadata and Database Machine Version 2 Series - 15 of 25: Intradatabase I/O Resource Management Demo 19-Sep-10 10 mins
Exadata and Database Machine Version 2 Series - 16 of 25: Interdatabase I/O Resource Management Demo 19-Sep-10 12 mins
Exadata and Database Machine Version 2 Series - 17 of 25: Configuring Flash-Based Disk Groups Demo 19-Sep-10 16 mins
Exadata and Database Machine Version 2 Series - 18 of 25: Examining Exadata Hybrid Columnar Compression Demo 19-Sep-10 14 mins
Exadata and Database Machine Version 2 Series - 19 of 25: Index Elimination with Exadata Demo 19-Sep-10 8 mins
Exadata and Database Machine Version 2 Series - 20 of 25: Database Machine Configuration Example using Configuration Worksheet Demo 19-Sep-10 14 mins
Exadata and Database Machine Version 2 Series - 21 of 25: Migrating to Database Machine Using Transportable Tablespaces Demo 19-Sep-10 14 mins
Exadata and Database Machine Version 2 Series - 22 of 25: Bulk Data Loading with Database Machine Demo 19-Sep-10 20 mins
Exadata and Database Machine Version 2 Series - 23 of 25: Backup Optimization Using RMAN and Exadata Demo 19-Sep-10 15 mins
Exadata and Database Machine Version 2 Series - 24 of 25: Recovery Optimization Using RMAN and Exadata Demo 19-Sep-10 12 mins
Exadata and Database Machine Version 2 Series - 25 of 25: Using the distributed command line utility (dcli) Demo 19-Sep-10 14 mins
Using Exadata Smart Scan Video 19-Aug-10 4 mins
Storage Index in Exadata Demo 01-Mar-10
Hybrid Columnar Compression Demo 01-Oct-09 22 mins
Smart Flash Cache Architecture Demo 01-Oct-09 8 mins
Cell First Boot Demo 01-Sep-09 5 mins
Cell Configuration Demo 01-Sep-09 10 mins
Smart Scan Scale Out Example Demo 01-Sep-09 10 mins
Smart Flash Cache Monitoring Demo 01-Sep-09 25 mins
The Magic of Exadata Demo 01-Jul-07
Configuring DCLI Demo 01-Jul-07 5 mins
Installing and Configuring Enterprise Manager Exadata Plug-in (Part 1) Demo 01-Jul-07 24 mins
Installing and Configuring Enterprise Manager Exadata Plug-in (Part 2) Demo 01-Jul-07 30 mins
Exadata Cell First Boot Initialization Demo 01-Jul-07 12 mins
Exadata Calibrate and Cell/Grid Disks Configuration Demo 01-Jul-07 12 mins
IORM and Exadata Demo 01-Jul-07 40 mins
Possible Execution Plans with Exadata Offloading Demo 01-Jul-07
Real Performance Tests with Exadata Demo 01-Jul-07 42 mins
Exadata Automatic Reconnect Demo 01-Jul-07 12 mins
Exadata Cell Failure Scenario Demo 01-Jul-07 10 mins
}}}
''112240''
Most of the things that were removed were put into the storage server owner's guide (multi rack cabling is now an appendix, site planning has been broken out into relevant chapters in owner's guide), etc.
<<<
''* Release Notes''
[[ e15589.pdf | C:\Dropbox\oracle\OfficialDocs\oracle-exadata-112240\e15589.pdf ]] <- Oracle® Exadata Storage Server Hardware Read This First 11g Release 2 ##
[[ e13875.pdf | C:\Dropbox\oracle\OfficialDocs\oracle-exadata-112240\e13875.pdf ]] <- Oracle Exadata Database Machine Release Notes 11g Release 2 ##
[[ e13862.pdf | C:\Dropbox\oracle\OfficialDocs\oracle-exadata-112240\e13862.pdf ]] <- Oracle® Exadata Storage Server Software Release Notes 11g Release 2 ##
[[ e13106.pdf | C:\Dropbox\oracle\OfficialDocs\oracle-exadata-112240\e13106.pdf ]] <- Oracle® Enterprise Manager Release Notes for System Monitoring Plug-In for Oracle Exadata Storage Server ##
''* Site/Hardware Readiness''
[[ e17431.pdf | C:\Dropbox\oracle\OfficialDocs\oracle-exadata-112240\e17431.pdf ]] <- Sun Oracle Database Machine Site Planning Guide
[[ e16099.pdf | C:\Dropbox\oracle\OfficialDocs\oracle-exadata-112240\e16099.pdf ]] <- Oracle® Exadata Database Machine Configuration Worksheets 11g Release 2 ##
[[ e10594.pdf | C:\Dropbox\oracle\OfficialDocs\oracle-exadata-112240\e10594.pdf ]] <- Oracle® Database Licensing Information 11g Release 2 ###
''* Installation''
[[ e17432.pdf | C:\Dropbox\oracle\OfficialDocs\oracle-exadata-112240\e17432.pdf ]] <- Sun Oracle Database Machine Installation Guide
[[ e13874.pdf | C:\Dropbox\oracle\OfficialDocs\oracle-exadata-112240\e13874.pdf ]] <- Oracle® Exadata Database Machine Owner's Guide 11g Release 2 ##
[[ install.pdf | C:\Dropbox\oracle\OfficialDocs\oracle-exadata-112240\install.pdf ]] <- Oracle Exadata Quick-Installation Guide
[[ e14591.pdf | C:\Dropbox\oracle\OfficialDocs\oracle-exadata-112240\e14591.pdf ]] <- Oracle® Enterprise Manager System Monitoring Plug-In Installation Guide for Oracle Exadata Storage Server ##
''* Administration'' 112240
[[ e13861.pdf | C:\Dropbox\oracle\OfficialDocs\oracle-exadata-112240\e13861.pdf ]] <- Oracle® Exadata Storage Server Software User's Guide 11g Release 2 ##
''* Cabling/Monitoring'' 112240
[[ e17435.pdf | C:\Dropbox\oracle\OfficialDocs\oracle-exadata-112240\e17435.pdf ]] <- SunOracle Database Machine Multi-Rack Cabling Guide
[[ e13105.pdf | C:\Dropbox\oracle\OfficialDocs\oracle-exadata-112240\e13105.pdf ]] <- Oracle® Enterprise Manager System Monitoring Plug-In Metric Reference Manual for Oracle Exadata Storage Server ##
<<<
''112232''
<<<
''* Release Notes''
[[ e15589.pdf | C:\Dropbox\oracle\OfficialDocs\oracle-exadata-112232\e15589.pdf ]] <- Oracle® Exadata Storage Server Hardware Read This First 11g Release 2
[[ e13875.pdf | C:\Dropbox\oracle\OfficialDocs\oracle-exadata-112232\e13875.pdf ]] <- Oracle Exadata Database Machine Release Notes 11g Release 2
[[ e13862.pdf | C:\Dropbox\oracle\OfficialDocs\oracle-exadata-112232\e13862.pdf ]] <- Oracle® Exadata Storage Server Software Release Notes 11g Release 2
[[ e13106.pdf | C:\Dropbox\oracle\OfficialDocs\oracle-exadata-112232\e13106.pdf ]] <- Oracle® Enterprise Manager Release Notes for System Monitoring Plug-In for Oracle Exadata Storage Server
''* Site/Hardware Readiness''
[[ e17431.pdf | C:\Dropbox\oracle\OfficialDocs\oracle-exadata-112232\e17431.pdf ]] <- Sun Oracle Database Machine Site Planning Guide
[[ e16099.pdf | C:\Dropbox\oracle\OfficialDocs\oracle-exadata-112232\e16099.pdf ]] <- Oracle® Exadata Database Machine Configuration Worksheets 11g Release 2
[[ e10594.pdf | C:\Dropbox\oracle\OfficialDocs\oracle-exadata-112232\e10594.pdf ]] <- Oracle® Database Licensing Information 11g Release 2
''* Installation''
[[ e17432.pdf | C:\Dropbox\oracle\OfficialDocs\oracle-exadata-112232\e17432.pdf ]] <- Sun Oracle Database Machine Installation Guide
[[ e13874.pdf | C:\Dropbox\oracle\OfficialDocs\oracle-exadata-112232\e13874.pdf ]] <- Oracle® Exadata Database Machine Owner's Guide 11g Release 2
[[ install.pdf | C:\Dropbox\oracle\OfficialDocs\oracle-exadata-112232\install.pdf ]] <- Oracle Exadata Quick-Installation Guide
[[ e14591.pdf | C:\Dropbox\oracle\OfficialDocs\oracle-exadata-112232\e14591.pdf ]] <- Oracle® Enterprise Manager System Monitoring Plug-In Installation Guide for Oracle Exadata Storage Server
''* Administration'' 112232
[[ e13861.pdf | C:\Dropbox\oracle\OfficialDocs\oracle-exadata-112232\e13861.pdf ]] <- Oracle® Exadata Storage Server Software User's Guide 11g Release 2
''* Cabling/Monitoring'' 112232
[[ e17435.pdf | C:\Dropbox\oracle\OfficialDocs\oracle-exadata-112232\e17435.pdf ]] <- SunOracle Database Machine Multi-Rack Cabling Guide
[[ e13105.pdf | C:\Dropbox\oracle\OfficialDocs\oracle-exadata-112232\e13105.pdf ]] <- Oracle® Enterprise Manager System Monitoring Plug-In Metric Reference Manual for Oracle Exadata Storage Server
<<<
''112220''
<<<
''* Release Notes''
[[e15589.pdf | C:\Dropbox\oracle\OfficialDocs\oracle-exadata-112220\e15589.pdf ]] <- Oracle® Exadata Storage Server Hardware Read This First 11g Release 2
[[e13875.pdf | C:\Dropbox\oracle\OfficialDocs\oracle-exadata-112220\e13875.pdf ]] <- Oracle Exadata Database Machine Release Notes 11g Release 2
[[e13862.pdf | C:\Dropbox\oracle\OfficialDocs\oracle-exadata-112220\e13862.pdf ]] <- Oracle® Exadata Storage Server Software Release Notes 11g Release 2
[[e13106.pdf | C:\Dropbox\oracle\OfficialDocs\oracle-exadata-112220\e13106.pdf ]] <- Oracle® Enterprise Manager Release Notes for System Monitoring Plug-In for Oracle Exadata Storage Server
''* Site/Hardware Readiness'' 112220
[[e17431.pdf | C:\Dropbox\oracle\OfficialDocs\oracle-exadata-112220\e17431.pdf ]] <- Sun Oracle Database Machine Site Planning Guide
[[e16099.pdf | C:\Dropbox\oracle\OfficialDocs\oracle-exadata-112220\e16099.pdf ]] <- Oracle® Exadata Database Machine Configuration Worksheets 11g Release 2
[[e10594.pdf | C:\Dropbox\oracle\OfficialDocs\oracle-exadata-112220\e10594.pdf ]] <- Oracle® Database Licensing Information 11g Release 2
''* Installation'' 112220
[[e17432.pdf | C:\Dropbox\oracle\OfficialDocs\oracle-exadata-112220\e17432.pdf ]] <- Sun Oracle Database Machine Installation Guide
[[e13874.pdf | C:\Dropbox\oracle\OfficialDocs\oracle-exadata-112220\e13874.pdf ]] <- Oracle® Exadata Database Machine Owner's Guide 11g Release 2
[[install.pdf| C:\Dropbox\oracle\OfficialDocs\oracle-exadata-112220\install.pdf ]] <- Oracle Exadata Quick-Installation Guide
[[e14591.pdf | C:\Dropbox\oracle\OfficialDocs\oracle-exadata-112220\e14591.pdf ]] <- Oracle® Enterprise Manager System Monitoring Plug-In Installation Guide for Oracle Exadata Storage Server
''* Administration'' 112220
[[e13861.pdf | C:\Dropbox\oracle\OfficialDocs\oracle-exadata-112220\e13861.pdf ]] <- Oracle® Exadata Storage Server Software User's Guide 11g Release 2
''* Cabling/Monitoring'' 112220
[[e17435.pdf | C:\Dropbox\oracle\OfficialDocs\oracle-exadata-112220\e17435.pdf ]] <- SunOracle Database Machine Multi-Rack Cabling Guide
[[e13105.pdf | C:\Dropbox\oracle\OfficialDocs\oracle-exadata-112220\e13105.pdf ]] <- Oracle® Enterprise Manager System Monitoring Plug-In Metric Reference Manual for Oracle Exadata Storage Server
<<<
A nice diagram of the whole HW installation process
http://www.evernote.com/shard/s48/sh/3b3b70a8-b28e-48b7-bc99-141e8ca1b5ba/851bf62bc26c4de0e13b18e2f7b9a592
''The blueprint''
http://www.facebook.com/photo.php?pid=7017079&l=72efd9ea41&id=552113028
''Treemap version''
http://www.facebook.com/photo.php?pid=6973769&l=9b4b053f64&id=552113028
http://www.facebook.com/photo.php?pid=7076816&l=beea222cd0&id=552113028
''Failure scenario''
http://www.facebook.com/photo.php?pid=7118589&l=cd58bfb8e4&id=552113028
''The Provisioning Worksheet''
http://www.facebook.com/photo.php?pid=7163444&l=9e30e54cea&id=552113028
some other notes, speeds and feeds, etc. http://www.evernote.com/shard/s48/sh/a8c75ac7-9019-43cc-8ada-fad80681a63a/fdf513512c3bef27d4ac00c1912a8b13
-- ''Papers''
http://www.linkedin.com/groupItem?view=&srchtype=discussedNews&gid=918317&item=63941267&type=member&trk=eml-anet_dig-b_pd-ttl-cn&ut=0pKCK5WPN524Y1 <-- kerry explains how we do it
''Oracle Exadata Database Machine Consolidation: Segregating Databases and Roles'' http://www.oracle.com/technetwork/database/focus-areas/availability/maa-exadata-consolidated-roles-459605.pdf
''Database Instance Caging: A Simple Approach to Server Consolidation'' http://www.oracle.com/technetwork/database/focus-areas/performance/instance-caging-wp-166854.pdf
''Boris - Capacity Management for Oracle Database Machine Exadata v2'' https://docs.google.com/viewer?url=http://www.nocoug.org/download/2010-05/DB_Machine_5_17_2010.pdf&pli=1
''Performance Stories from Exadata Migrations'' http://www.slideshare.net/tanelp/tanel-poder-performance-stories-from-exadata-migrations
''Workload Management for Operational Data Warehousing'' http://blogs.oracle.com/datawarehousing/entry/workload_management_for_operat
''Workload Management – Statement Queuing'' http://blogs.oracle.com/datawarehousing/entry/workload_management_statement
''Workload Management – A Simple (but real) Example'' http://blogs.oracle.com/datawarehousing/entry/workload_management_a_simple_b
''A fair bite of the CPU pie? Monitoring & Testing Oracle Resource Manager'' http://rnm1978.wordpress.com/2010/09/10/a-fair-bite-of-the-cpu-pie-monitoring-testing-oracle-resource-manager/
''Parallel Execution and workload management for an Operational DW environment'' http://www.oracle.com/technetwork/database/focus-areas/bi-datawarehousing/twp-bidw-parallel-execution-130766.pdf
http://www.oracle.com/technetwork/database/focus-areas/bi-datawarehousing/index.html
http://www.evernote.com/shard/s48/sh/0151d8f8-e00e-4aed-8e9a-9266e3a43e36/13be76ca387aa5d2130edba30672d9ff
Changing IP addresses on Exadata Database Machine [ID 1317159.1]
http://www.evernote.com/shard/s48/sh/ce6b1dc4-1166-4135-ab97-4f5726c40680/3fb775712c4a6ce2ee128dece9deb5fc
{{{
Exadata Smart Flash Log - video demo --> http://j.mp/svbfrR
http://www.oracle.com/webfolder/technetwork/tutorials/demos/db/exadata/exadatav2/Exadata_Smart_Flash_Log/player.html
}}}
http://www.evernote.com/shard/s48/sh/2f784775-a9c0-408d-9c8d-a03c4b82f37e/d1a0b87b148ef71ecf5ea300d1e952b9
Location of Different Logfiles in Exadata Environment [ID 1326382.1]
{{{
Location of Different Logfiles in Exadata Environment
On the cell nodes
================
1. Cell alert.log file
/opt/oracle/cell11.2.1.2.1_LINUX.X64_100131/log/diag/asm/cell/<node name>/trace/alert.log.
or
if the CELLTRACE parameter is set just do cd $CELLTRACE
2. MS logfile
/opt/oracle/cell11.2.1.2.1_LINUX.X64_100131/log/diag/asm/cell/<node name>/trace/ms-odl.log.
or
if the CELLTRACE parameter is set just do cd $CELLTRACE
3. OS watcher output data
/opt/oracle.oswatcher/osw/archive/
To get OS watcher data of specific date :
cd /opt/oracle.oswatcher/osw/archive
find . -name '*11.04.11*' -print -exec zip /tmp/osw_`hostname`.zip {} \;
4. Os message logfile
/var/log/messages
5. VM Core files
/var/crash/
6. SunDiag output files.
/tmp/sundiag_.tar.bz2
7. Imaging issues related logfiles:
/var/log/cellos
8. Disk controller firmware logs:
/opt/MegaRAID/MegaCli/Megacli64 -fwtermlog -dsply -a0
On the Database nodes
=====================
1. Database alert.log
$ORACLE_BASE/diag/rdbms/{sid}/{sid}/trace/alert_{sid}.log
2. ASM alert.log
/diag/asm/+asm/+ASM2/trace
3. Clusterware CRS alert.log
$GRID_HOME/log/<node name>
4. Diskmon logfiles
$GRID_HOME/log/<node name>/diskmon
5. OS Watcher output files
/opt/oracle.oswatcher/osw/archive/
6. Os message logfile
/var/log/messages
7. VM Core files for Linux
/var/crash/ or /var/log/oracle/crashfiles
8. Imaging/patching issues related logfiles:
/var/log/cellos
9. Disk controller firmware logs:
/opt/MegaRAID/MegaCli/Megacli64 -fwtermlog -dsply -a0
}}}
https://www.evernote.com/shard/s48/sh/7de6a930-08b6-47cf-812e-cab2b2a83b5b/ed7e27628608f801b8ba48d553e7c82e
IMG_4319.JPG - X4270 cell server
IMG_4325.JPG - X4170 db server
IMG_4330.JPG - SAS2 10K RPM 300GB
Exadata V2 Starter Kit [ID 1244344.1]
Master Note for Oracle Database Machine and Exadata Storage Server [ID 1187674.1]
http://blogs.oracle.com/db/2011/01/oracle_database_machine_and_exadata_storage_server.html
Database Machine and Exadata Storage Server 11g Release 2 (11.2) Supported Versions [ID 888828.1] <-- ALERTS ON NEW PATCH BUNDLES
Oracle Exadata Storage Server Software 11g Release 2 (11.2.1) Patch Set 2 (11.2.1.2.0) [ID 888834.1] <-- UPGRADING THE EXADATA
Oracle Database Machine Monitoring Best Practices [ID 1110675.1]
OS Watcher User Guide [ID 301137.1] <-- Version 3.0.1 now supports Exadata
''Exadata Best Practices''
Oracle Exadata Best Practices [ID 757552.1]
Engineered Systems Welcome Center [ID 1392174.1]
INTERNAL Master Note for Exadata Database Machine Hardware Support [ID 1354631.1]
''Exadata Maintenance''
Oracle Database Machine HealthCheck [ID 1070954.1]
Oracle Auto Service Request (Doc ID 1185493.1)
Oracle Database Machine and Exadata Storage Server Information Center (Doc ID 1306791.1)
''Exadata Enterprise Manager''
Enterprise Manager for Oracle Exadata Database Machine (Doc ID 1308449.1)
''Exadata Patching''
Oracle Support Lifecycle Advisors [ID 250.1] <— new! it has a demo video on patching db and cell nodes
Exadata Critical Issues [ID 1270094.1]
Database Machine and Exadata Storage Server 11g Release 2 (11.2) Supported Versions [ID 888828.1]
Exadata Patching Overview and Patch Testing Guidelines [ID 1262380.1]
Exadata Critical Issues [ID 1270094.1] <-- MUST READ
List of Critical Patches Required For Oracle 11.2 DBFS and DBFS Client [ID 1150157.1]
Oracle Software Patching with OPLAN [ID 1306814.1]
Patch Oracle Exadata Database Machine via Oracle Enterprise Manager 11gR1 (11.1.0.1) [ID 1265998.1]
Oracle Patch Assurance - Data Guard Standby-First Patch Apply [ID 1265700.1]
Patch 12577723: EXADATA 11.2.2.3.2 (MOS NOTE 1323958.1)
Exadata 11.2.2.3.2 release and patch (12577723 ) for Exadata 11.1.3.3, 11.2.1.2.x, 11.2.2.2.x, 11.2.2.3.1 [ID 1323958.1]
Quarterly Cpu vs Patch bundle, Patch collide http://dbaforums.org/oracle/index.php?showtopic=18588
11.2.0.1/11.2.0.2 to 11.2.0.3 Database Upgrade on Exadata Database Machine [ID 1373255.1]
''x2-8''
Exadata 11.2.2.2.0 release and patch (10356485) for Exadata 11.1.3.3.1, 11.2.1.2.3, 11.2.1.2.4, 11.2.1.2.6, 11.2.1.3.1, 11.2.2.1.0, 11.2.2.1.1 [ID 1270634.1] <-- mentions of UEK
''DB BP''
BP8 https://updates.oracle.com/Orion/Services/download?type=readme&aru=13789775
''Cell SW''
''11.2.2.3.2 patch 12577723 and My Oracle Support note 1323958.1'' https://updates.oracle.com/Orion/Services/download?type=readme&aru=13852123
''Exadata onecommand''
Ntpd Does not Use Defined NTP Server [ID 1178614.1]
''Exadata Bare Metal''
Bare Metal Restore Procedure for Compute Nodes on an Exadata Environment [ID 1084360.1]
''Exadata bugs''
-- Exadata grid disks going offline.
<<<
The bug below is the software specific bug and it has now been closed:
Bug 12431721 - UNEXPECTED STATUS OF GRIDDISK DEVICE STATUS IS NOT 'ACTIVE'
- provided a fix via setting _cell_io_hang_time = 30 on all cells
The fix to extend the IO hang timeout is merged into our next release of 11.2.2.3.2.
The root cause of the disks going offline in an unknown state is being further investigated in a hardware bug. We believe LSI to be causing this unknown disk state - the bug is still being investigated.
<<<
Bug 10180307 - Dbrm dbms_resouce_manager.calibrate_io reports very high values for max_pmbps (Doc ID 10180307.8) <-- Automatic Degree of Parallelism in 11.2.0.2 (Doc ID 1269321.1)
memlock setting http://translate.google.com/translate?sl=auto&tl=en&u=http://www.oracledatabase12g.com/archives/warning-even-exadata-has-a-wrong-memlock-setting.html
Flashcache missing, in status critical after multiple "Flash disk removed" alerts [ID 1383267.1]
''Exadata HW failure''
Oracle Exadata Diagnostic Information required for Disk Failures (Doc ID 761868.1)
Oracle Sun Database Machine X2-2 Diagnosability and Troubleshooting Best Practices (Doc ID 1274324.1)
BMR(bare metal restore) document. Doc ID 1084360.1
''Compute Node / DB node''
Dedicated and Global Hot Spares for Exadata Compute Nodes in 11.2.2.3.2 (Doc ID 1339647.1)
How to Expand Exadata Compute Node File Systems (Doc ID 1357457.1)
''Exadata Migration''
Migrating an Oracle E-Business Suite Database to Oracle Exadata Database Machine [ID 1133355.1]
''Exadata DBFS''
Configuring DBFS on Oracle Database Machine (Doc ID 1054431.1)
Configuring a Database for DBFS on Oracle Database Machine (Doc ID 1191144.1)
''MegaCli''
http://www.myoraclesupports.com/content/oracle-sun-database-machine-diagnosability-and-troubleshooting-best-practices
Removing HotSpare Flag on replaced disk in Exadata storage cell [ID 1300310.1]
Marking a replaced disk as Hot Spare in Exadata Compute Node [ID 1289684.1]
''Exadata Resource Management''
Tool for Gathering I/O Resource Manager Metrics: metric_iorm.pl (Doc ID 1337265.1)
Scripts and Tips for Monitoring CPU Resource Manager (Doc ID 1338988.1)
Configuring Resource Manager for Mixed Workloads in a Database (Doc ID 1358709.1)
''Oracle Database Machine Monitoring Best Practices [ID 1110675.1]'' -> deployment documents are here https://www.dropbox.com/s/95qv1ejspkrzavf
<<<
fo_ext.sql
emudm_netif_state.sh
emudm_ibconnect.sh
Sun_Oracle_Database_Machine_Monitoring_v120.pdf
OEM_Exadata_Dashboard_Deployment_v104.pdf
OEM_Exadata_Dashboard_Prerequisites_and_Overview_v100.pdf
<<<
''Patch Requirements for Setting up Monitoring and Administration for Exadata [ID 1323298.1]'' <-- take note of this first
http://www.oracle.com/technetwork/oem/grid-control/downloads/devlic-188770.html <-- ''exadata plugin bundle link''
http://www.oracle.com/technetwork/oem/grid-control/downloads/exadata-plugin-194085.html <-- ''exadata plugin link''
http://www.oracle.com/technetwork/oem/extensions/index.html <-- ''extensions exchange link''
''em11.1''
A script to deploy the agents and the plugins to the compute nodes is available as patch 11852882
A script to create a Grid Control 11 environment from scratch is available as patch 11852869
''em12c''
The script to deploy the agents to the compute nodes is available as patch 12960596
The script to create a Cloud Control 12c environment from scratch is available as 12960610
The documentation for Exadata target discovery is located in the Cloud Control Administration Guide (chapter 28)
''ASR''
http://www.oracle.com/technetwork/server-storage/asr/documentation/exadata-asr-quick-install-330086.pdf
''MIBs''
How to Obtain MIBs for Exadata Database Machine Components [ID 1315086.1]
agent failover http://blogs.oracle.com/XPSONHA/entry/failover_capability_for_plugins_exadata
''Software Updates, Best Practices and Notes'' https://blogs.oracle.com/XPSONHA/entry/software_updates_best_practices_and
Database Machine and Exadata Storage Server 11g Release 2 (11.2) Supported Versions ''[ID 888828.1]''
''How to determine BP Level?'' https://forums.oracle.com/forums/thread.jspa?threadID=2224966
{{{
opatch lsinv -bugs_fixed | egrep -i 'bp|exadata|bundle'
/u01/app/oracle/product/11.2.0/dbhome_1/OPatch/opatch lsinventory -bugs_fixed | egrep -i 'bp|exadata|bundle'
OR
registry$history or dba_registry_history
and then.. go to
MOS 888828.1 --> Patch Release History for Exadata Database Machine Components --> Exadata Storage Server software patches
}}}
11.2.0.1/11.2.0.2 to 11.2.0.3 Database Upgrade on Exadata Database Machine [ID 1373255.1]
''phydisk, lun, celldisk, griddisk mapping''
{{{
<Target TYPE="oracle.ossmgmt.ms.hwadapter.diskadp.MSPhysDiskImpl" NAME="35:0">
<Attribute NAME="deviceId" VALUE="23"></Attribute>
<Attribute NAME="physicalSize" VALUE="1862.6559999994934G"></Attribute>
<Attribute NAME="diskType" VALUE="HardDisk"></Attribute>
<Attribute NAME="id" VALUE="JK11D1YAJB8GGZ"></Attribute>
<Attribute NAME="isReenableLunDone" VALUE="FALSE"></Attribute>
<Attribute NAME="physicalInsertTime" VALUE="1273975845146"></Attribute>
<Attribute NAME="errMediaCount" VALUE="53"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="slotNumber" VALUE="0"></Attribute>
<Attribute NAME="physicalSerial" VALUE="JK11D1YAJB8GGZ"></Attribute>
<Attribute NAME="name" VALUE="35:0"></Attribute>
<Attribute NAME="errOtherCount" VALUE="0"></Attribute>
<Attribute NAME="makeModel" VALUE="HITACHI H7220AA30SUN2.0T"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSCellDisk" NAME="CD_00_cell01">
<Attribute NAME="interleaving" VALUE="none"></Attribute>
<Attribute NAME="diskType" VALUE="HardDisk"></Attribute>
<Attribute NAME="devicePartition" VALUE="/dev/sda3"></Attribute>
<Attribute NAME="id" VALUE="00000128-e01a-793d-0000-000000000000"></Attribute>
<Attribute NAME="freeSpace" VALUE="0"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="deviceName" VALUE="/dev/sda"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="lun" VALUE="0_0"></Attribute>
<Attribute NAME="name" VALUE="CD_00_cell01"></Attribute>
<Attribute NAME="creationTime" VALUE="1275070151040"></Attribute>
<Attribute NAME="size" VALUE="1832.59375G"></Attribute>
</Target>
CellCLI> list physicaldisk 35:0 detail
name: 35:0
deviceId: 23
diskType: HardDisk
enclosureDeviceId: 35
errMediaCount: 53
errOtherCount: 0
foreignState: false
luns: 0_0
makeModel: "HITACHI H7220AA30SUN2.0T"
physicalFirmware: JKAOA28A
physicalInsertTime: 2010-05-15T21:10:45-05:00
physicalInterface: sata
physicalSerial: JK11D1YAJB8GGZ
physicalSize: 1862.6559999994934G
slotNumber: 0
status: normal
CellCLI> list lun 0_0 detail
name: 0_0
cellDisk: CD_00_cell01
deviceName: /dev/sda
diskType: HardDisk
id: 0_0
isSystemLun: TRUE
lunAutoCreate: FALSE
lunSize: 1861.712890625G
lunUID: 0_0
physicalDrives: 35:0
raidLevel: 0
lunWriteCacheMode: "WriteBack, ReadAheadNone, Direct, No Write Cache if Bad BBU"
status: normal
CellCLI> list celldisk where name = CD_00_cell01 detail
name: CD_00_cell01
comment:
creationTime: 2010-05-28T13:09:11-05:00
deviceName: /dev/sda
devicePartition: /dev/sda3
diskType: HardDisk
errorCount: 0
freeSpace: 0
id: 00000128-e01a-793d-0000-000000000000
interleaving: none
lun: 0_0
raidLevel: 0
size: 1832.59375G
status: normal
CellCLI> list griddisk where name = DATA_CD_00_cell01 detail
name: DATA_CD_00_cell01
availableTo:
cellDisk: CD_00_cell01
comment:
creationTime: 2010-06-14T17:41:12-05:00
diskType: HardDisk
errorCount: 0
id: 00000129-389f-a070-0000-000000000000
offset: 32M
size: 1282.8125G
status: active
CellCLI> list griddisk where name = RECO_CD_00_cell01 detail
name: RECO_CD_00_cell01
availableTo:
cellDisk: CD_00_cell01
comment:
creationTime: 2010-06-14T17:41:13-05:00
diskType: HardDisk
errorCount: 0
id: 00000129-389f-a656-0000-000000000000
offset: 1741.328125G
size: 91.265625G
status: active
CellCLI> list griddisk where name = STAGE_CD_00_cell01 detail
name: STAGE_CD_00_cell01
availableTo:
cellDisk: CD_00_cell01
comment:
creationTime: 2010-06-14T17:41:12-05:00
diskType: HardDisk
errorCount: 0
id: 00000129-389f-a267-0000-000000000000
offset: 1282.859375G
size: 458.140625G
status: active
CellCLI> list griddisk where name = SYSTEM_CD_00_cell01 detail
name: SYSTEM_CD_00_cell01
availableTo:
cellDisk: CD_00_cell01
comment:
creationTime: 2010-06-14T17:41:13-05:00
diskType: HardDisk
errorCount: 0
id: 00000129-389f-a45f-0000-000000000000
offset: 1741G
size: 336M
status: active
<Target TYPE="oracle.ossmgmt.ms.core.MSCell" NAME="enkcel01">
<Target TYPE="oracle.ossmgmt.ms.core.MSIDBPlan" NAME="enkcel01_IORMPLAN">
---
<Target TYPE="oracle.ossmgmt.ms.hwadapter.diskadp.MSPhysDiskImpl" NAME="35:0">
<Target TYPE="oracle.ossmgmt.ms.hwadapter.diskadp.MSLUNImpl" NAME="0_0">
<Target TYPE="oracle.ossmgmt.ms.core.MSCellDisk" NAME="CD_00_cell01">
<Target TYPE="oracle.ossmgmt.ms.core.MSNetDisk" NAME="DATA_CD_00_cell01">
<Target TYPE="oracle.ossmgmt.ms.core.MSFlashCache" NAME="enkcel01_FLASHCACHE">
<Target TYPE="oracle.ossmgmt.ms.core.MSFlashCachePart" NAME="35fff6cd-001e-4ebf-8a48-a53b36b22fbf">
$ cat enkcel01-collectl.txt | grep -i "target type" | grep CD_00_cell01
<Target TYPE="oracle.ossmgmt.ms.core.MSCellDisk" NAME="CD_00_cell01">
<Target TYPE="oracle.ossmgmt.ms.core.MSNetDisk" NAME="DATA_CD_00_cell01">
<Target TYPE="oracle.ossmgmt.ms.core.MSNetDisk" NAME="RECO_CD_00_cell01">
<Target TYPE="oracle.ossmgmt.ms.core.MSNetDisk" NAME="STAGE_CD_00_cell01">
<Target TYPE="oracle.ossmgmt.ms.core.MSNetDisk" NAME="SYSTEM_CD_00_cell01">
list celldisk where name = CD_00_cell01 detail
list griddisk where name = SYSTEM_CD_00_cell01 detail
}}}
''/opt/oracle/cell/cellsrv/deploy/config/cell_disk_config.xml config file''
{{{
/opt/oracle/cell/cellsrv/deploy/config/cell_disk_config.xml
<?xml version="1.0" encoding="UTF-8"?>
<Targets version="0.0">
<Target TYPE="oracle.ossmgmt.ms.core.MSCell" NAME="enkcel01">
<Attribute NAME="interconnect1" VALUE="bondib0"></Attribute>
<Attribute NAME="hwRetentionDays" VALUE="0"></Attribute>
<Attribute NAME="metricHistoryDays" VALUE="14"></Attribute>
<Attribute NAME="locatorLEDStatus" VALUE="off"></Attribute>
<Attribute NAME="bbuLastLearnCycleTime" VALUE="1310886021911"></Attribute>
<Attribute NAME="smtpFrom" VALUE="Enkitec Exadata"></Attribute>
<Attribute NAME="bbuLearnCycleTime" VALUE="1318834800000"></Attribute>
<Attribute NAME="snmpSubscriber" VALUE="((host=server,port=3872,community=public))"></Attribute>
<Attribute NAME="smtpServer" VALUE="server"></Attribute>
<Attribute NAME="sellastcollection" VALUE="1312830889000"></Attribute>
<Attribute NAME="cellVersion" VALUE="OSS_11.2.0.3.0_LINUX.X64_110520"></Attribute>
<Attribute NAME="management_ip" VALUE="0.0.0.0"></Attribute>
<Attribute NAME="id" VALUE="1017XFG056"></Attribute>
<Attribute NAME="notificationMethod" VALUE="mail,snmp"></Attribute>
<Attribute NAME="notificationPolicy" VALUE="critical"></Attribute>
<Attribute NAME="adrLastMineTime" VALUE="1313845212042"></Attribute>
<Attribute NAME="makeModel" VALUE="SUN MICROSYSTEMS SUN FIRE X4275 SERVER SATA"></Attribute>
<Attribute NAME="OEHistory" VALUE="3112.791028881073 5706.6555216653005 4995.632752835751 4996.394891858101 5121.992709875107 3480.762350344658 4270.716751503945 5062.652316808701 4987.846175163984 5702.463975906372 5222.782039854262 5016.283513784409 5752.083408117294 5852.781406164169 5710.337441308157 5712.052912848337 4999.097516179085 5714.517756598337 5431.95593547821 6157.329520089285 5004.541987478733 5720.458814076015 5722.174355370657 5723.889757156372 "></Attribute>
<Attribute NAME="smtpFromAddr" VALUE="x@server"></Attribute>
<Attribute NAME="realmName" VALUE="enkitec_realm"></Attribute>
<Attribute NAME="iormBoost" VALUE="0.0"></Attribute>
<Attribute NAME="offloadEfficiency" VALUE="5213.871233422416"></Attribute>
<Attribute NAME="name" VALUE="enkcel01"></Attribute>
<Attribute NAME="smtpToAddr" VALUE="x@server"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSIDBPlan" NAME="enkcel01_IORMPLAN">
<Attribute NAME="objective" VALUE="high_throughput"></Attribute>
<Attribute NAME="catPlan"></Attribute>
<Attribute NAME="status" VALUE="active"></Attribute>
<Attribute NAME="dbPlan"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSCellDisk" NAME="CD_00_cell01">
<Attribute NAME="interleaving" VALUE="none"></Attribute>
<Attribute NAME="diskType" VALUE="HardDisk"></Attribute>
<Attribute NAME="devicePartition" VALUE="/dev/sda3"></Attribute>
<Attribute NAME="id" VALUE="00000128-e01a-793d-0000-000000000000"></Attribute>
<Attribute NAME="freeSpace" VALUE="0"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="deviceName" VALUE="/dev/sda"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="lun" VALUE="0_0"></Attribute>
<Attribute NAME="name" VALUE="CD_00_cell01"></Attribute>
<Attribute NAME="creationTime" VALUE="1275070151040"></Attribute>
<Attribute NAME="size" VALUE="1832.59375G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSCellDisk" NAME="CD_01_cell01">
<Attribute NAME="interleaving" VALUE="none"></Attribute>
<Attribute NAME="diskType" VALUE="HardDisk"></Attribute>
<Attribute NAME="devicePartition" VALUE="/dev/sdb3"></Attribute>
<Attribute NAME="id" VALUE="00000128-e01a-8c16-0000-000000000000"></Attribute>
<Attribute NAME="freeSpace" VALUE="0"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="deviceName" VALUE="/dev/sdb"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="lun" VALUE="0_1"></Attribute>
<Attribute NAME="name" VALUE="CD_01_cell01"></Attribute>
<Attribute NAME="creationTime" VALUE="1275070155868"></Attribute>
<Attribute NAME="size" VALUE="1832.59375G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSCellDisk" NAME="CD_02_cell01">
<Attribute NAME="interleaving" VALUE="none"></Attribute>
<Attribute NAME="diskType" VALUE="HardDisk"></Attribute>
<Attribute NAME="devicePartition" VALUE="/dev/sdc"></Attribute>
<Attribute NAME="id" VALUE="00000128-e01a-8e29-0000-000000000000"></Attribute>
<Attribute NAME="freeSpace" VALUE="0"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="deviceName" VALUE="/dev/sdc"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="lun" VALUE="0_2"></Attribute>
<Attribute NAME="name" VALUE="CD_02_cell01"></Attribute>
<Attribute NAME="creationTime" VALUE="1275070156404"></Attribute>
<Attribute NAME="size" VALUE="1861.703125G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSCellDisk" NAME="CD_03_cell01">
<Attribute NAME="interleaving" VALUE="none"></Attribute>
<Attribute NAME="diskType" VALUE="HardDisk"></Attribute>
<Attribute NAME="devicePartition" VALUE="/dev/sdd"></Attribute>
<Attribute NAME="id" VALUE="00000128-e01a-904a-0000-000000000000"></Attribute>
<Attribute NAME="freeSpace" VALUE="0"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="deviceName" VALUE="/dev/sdd"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="lun" VALUE="0_3"></Attribute>
<Attribute NAME="name" VALUE="CD_03_cell01"></Attribute>
<Attribute NAME="creationTime" VALUE="1275070156954"></Attribute>
<Attribute NAME="size" VALUE="1861.703125G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSCellDisk" NAME="CD_04_cell01">
<Attribute NAME="interleaving" VALUE="none"></Attribute>
<Attribute NAME="diskType" VALUE="HardDisk"></Attribute>
<Attribute NAME="devicePartition" VALUE="/dev/sde"></Attribute>
<Attribute NAME="id" VALUE="00000128-e01a-9274-0000-000000000000"></Attribute>
<Attribute NAME="freeSpace" VALUE="0"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="deviceName" VALUE="/dev/sde"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="lun" VALUE="0_4"></Attribute>
<Attribute NAME="name" VALUE="CD_04_cell01"></Attribute>
<Attribute NAME="creationTime" VALUE="1275070157500"></Attribute>
<Attribute NAME="size" VALUE="1861.703125G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSCellDisk" NAME="CD_05_cell01">
<Attribute NAME="interleaving" VALUE="none"></Attribute>
<Attribute NAME="diskType" VALUE="HardDisk"></Attribute>
<Attribute NAME="devicePartition" VALUE="/dev/sdf"></Attribute>
<Attribute NAME="id" VALUE="00000128-e01a-948e-0000-000000000000"></Attribute>
<Attribute NAME="freeSpace" VALUE="1152.8125G"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="deviceName" VALUE="/dev/sdf"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="lun" VALUE="0_5"></Attribute>
<Attribute NAME="name" VALUE="CD_05_cell01"></Attribute>
<Attribute NAME="creationTime" VALUE="1275070158041"></Attribute>
<Attribute NAME="size" VALUE="1861.703125G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSCellDisk" NAME="CD_06_cell01">
<Attribute NAME="interleaving" VALUE="none"></Attribute>
<Attribute NAME="diskType" VALUE="HardDisk"></Attribute>
<Attribute NAME="devicePartition" VALUE="/dev/sdg"></Attribute>
<Attribute NAME="id" VALUE="00000128-e01a-96a9-0000-000000000000"></Attribute>
<Attribute NAME="freeSpace" VALUE="0"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="deviceName" VALUE="/dev/sdg"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="lun" VALUE="0_6"></Attribute>
<Attribute NAME="name" VALUE="CD_06_cell01"></Attribute>
<Attribute NAME="creationTime" VALUE="1275070158585"></Attribute>
<Attribute NAME="size" VALUE="1861.703125G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSCellDisk" NAME="CD_07_cell01">
<Attribute NAME="interleaving" VALUE="none"></Attribute>
<Attribute NAME="diskType" VALUE="HardDisk"></Attribute>
<Attribute NAME="devicePartition" VALUE="/dev/sdh"></Attribute>
<Attribute NAME="id" VALUE="00000128-e01a-98ce-0000-000000000000"></Attribute>
<Attribute NAME="freeSpace" VALUE="0"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="deviceName" VALUE="/dev/sdh"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="lun" VALUE="0_7"></Attribute>
<Attribute NAME="name" VALUE="CD_07_cell01"></Attribute>
<Attribute NAME="creationTime" VALUE="1275070159129"></Attribute>
<Attribute NAME="size" VALUE="1861.703125G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSCellDisk" NAME="CD_08_cell01">
<Attribute NAME="interleaving" VALUE="none"></Attribute>
<Attribute NAME="diskType" VALUE="HardDisk"></Attribute>
<Attribute NAME="devicePartition" VALUE="/dev/sdi"></Attribute>
<Attribute NAME="id" VALUE="00000128-e01a-9aec-0000-000000000000"></Attribute>
<Attribute NAME="freeSpace" VALUE="0"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="deviceName" VALUE="/dev/sdi"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="lun" VALUE="0_8"></Attribute>
<Attribute NAME="name" VALUE="CD_08_cell01"></Attribute>
<Attribute NAME="creationTime" VALUE="1275070159672"></Attribute>
<Attribute NAME="size" VALUE="1861.703125G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSCellDisk" NAME="CD_09_cell01">
<Attribute NAME="interleaving" VALUE="none"></Attribute>
<Attribute NAME="diskType" VALUE="HardDisk"></Attribute>
<Attribute NAME="devicePartition" VALUE="/dev/sdj"></Attribute>
<Attribute NAME="id" VALUE="00000128-e01a-9cfe-0000-000000000000"></Attribute>
<Attribute NAME="freeSpace" VALUE="0"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="deviceName" VALUE="/dev/sdj"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="lun" VALUE="0_9"></Attribute>
<Attribute NAME="name" VALUE="CD_09_cell01"></Attribute>
<Attribute NAME="creationTime" VALUE="1275070160199"></Attribute>
<Attribute NAME="size" VALUE="1861.703125G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSCellDisk" NAME="CD_10_cell01">
<Attribute NAME="interleaving" VALUE="none"></Attribute>
<Attribute NAME="diskType" VALUE="HardDisk"></Attribute>
<Attribute NAME="devicePartition" VALUE="/dev/sdk"></Attribute>
<Attribute NAME="id" VALUE="00000128-e01a-9f1b-0000-000000000000"></Attribute>
<Attribute NAME="freeSpace" VALUE="0"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="deviceName" VALUE="/dev/sdk"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="lun" VALUE="0_10"></Attribute>
<Attribute NAME="name" VALUE="CD_10_cell01"></Attribute>
<Attribute NAME="creationTime" VALUE="1275070160741"></Attribute>
<Attribute NAME="size" VALUE="1861.703125G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSCellDisk" NAME="CD_11_cell01">
<Attribute NAME="interleaving" VALUE="none"></Attribute>
<Attribute NAME="diskType" VALUE="HardDisk"></Attribute>
<Attribute NAME="devicePartition" VALUE="/dev/sdl"></Attribute>
<Attribute NAME="id" VALUE="00000128-e01a-a13e-0000-000000000000"></Attribute>
<Attribute NAME="freeSpace" VALUE="0"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="deviceName" VALUE="/dev/sdl"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="lun" VALUE="0_11"></Attribute>
<Attribute NAME="name" VALUE="CD_11_cell01"></Attribute>
<Attribute NAME="creationTime" VALUE="1275070161295"></Attribute>
<Attribute NAME="size" VALUE="1861.703125G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSCellDisk" NAME="FD_00_cell01">
<Attribute NAME="interleaving" VALUE="none"></Attribute>
<Attribute NAME="diskType" VALUE="FlashDisk"></Attribute>
<Attribute NAME="devicePartition" VALUE="/dev/sdr"></Attribute>
<Attribute NAME="id" VALUE="00000128-e01a-a3b6-0000-000000000000"></Attribute>
<Attribute NAME="freeSpace" VALUE="0"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="deviceName" VALUE="/dev/sdr"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="lun" VALUE="1_0"></Attribute>
<Attribute NAME="name" VALUE="FD_00_cell01"></Attribute>
<Attribute NAME="creationTime" VALUE="1275070161933"></Attribute>
<Attribute NAME="size" VALUE="22.875G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSCellDisk" NAME="FD_00_enkcel01">
<Attribute NAME="interleaving" VALUE="none"></Attribute>
<Attribute NAME="diskType" VALUE="FlashDisk"></Attribute>
<Attribute NAME="devicePartition" VALUE="/dev/sdaa"></Attribute>
<Attribute NAME="id" VALUE="1b0ee672-a892-4f58-9dd5-04f9f6aee3e9"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="freeSpace" VALUE="0"></Attribute>
<Attribute NAME="deviceName" VALUE="/dev/sdaa"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="lun" VALUE="2_1"></Attribute>
<Attribute NAME="name" VALUE="FD_00_enkcel01"></Attribute>
<Attribute NAME="creationTime" VALUE="1313091948052"></Attribute>
<Attribute NAME="size" VALUE="22.875G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSCellDisk" NAME="FD_01_cell01">
<Attribute NAME="interleaving" VALUE="none"></Attribute>
<Attribute NAME="diskType" VALUE="FlashDisk"></Attribute>
<Attribute NAME="devicePartition" VALUE="/dev/sds"></Attribute>
<Attribute NAME="id" VALUE="00000128-e01a-a633-0000-000000000000"></Attribute>
<Attribute NAME="freeSpace" VALUE="0"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="deviceName" VALUE="/dev/sds"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="lun" VALUE="1_1"></Attribute>
<Attribute NAME="name" VALUE="FD_01_cell01"></Attribute>
<Attribute NAME="creationTime" VALUE="1275070162567"></Attribute>
<Attribute NAME="size" VALUE="22.875G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSCellDisk" NAME="FD_02_cell01">
<Attribute NAME="interleaving" VALUE="none"></Attribute>
<Attribute NAME="diskType" VALUE="FlashDisk"></Attribute>
<Attribute NAME="devicePartition" VALUE="/dev/sdt"></Attribute>
<Attribute NAME="id" VALUE="00000128-e01a-a8b1-0000-000000000000"></Attribute>
<Attribute NAME="freeSpace" VALUE="0"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="deviceName" VALUE="/dev/sdt"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="lun" VALUE="1_2"></Attribute>
<Attribute NAME="name" VALUE="FD_02_cell01"></Attribute>
<Attribute NAME="creationTime" VALUE="1275070163206"></Attribute>
<Attribute NAME="size" VALUE="22.875G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSCellDisk" NAME="FD_03_cell01">
<Attribute NAME="interleaving" VALUE="none"></Attribute>
<Attribute NAME="diskType" VALUE="FlashDisk"></Attribute>
<Attribute NAME="devicePartition" VALUE="/dev/sdu"></Attribute>
<Attribute NAME="id" VALUE="00000128-e01a-ab2d-0000-000000000000"></Attribute>
<Attribute NAME="freeSpace" VALUE="0"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="deviceName" VALUE="/dev/sdu"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="lun" VALUE="1_3"></Attribute>
<Attribute NAME="name" VALUE="FD_03_cell01"></Attribute>
<Attribute NAME="creationTime" VALUE="1275070163842"></Attribute>
<Attribute NAME="size" VALUE="22.875G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSCellDisk" NAME="FD_04_cell01">
<Attribute NAME="interleaving" VALUE="none"></Attribute>
<Attribute NAME="diskType" VALUE="FlashDisk"></Attribute>
<Attribute NAME="devicePartition" VALUE="/dev/sdz"></Attribute>
<Attribute NAME="id" VALUE="00000128-e01a-ada7-0000-000000000000"></Attribute>
<Attribute NAME="freeSpace" VALUE="0"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="deviceName" VALUE="/dev/sdz"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="lun" VALUE="2_0"></Attribute>
<Attribute NAME="name" VALUE="FD_04_cell01"></Attribute>
<Attribute NAME="creationTime" VALUE="1275070164476"></Attribute>
<Attribute NAME="size" VALUE="22.875G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSCellDisk" NAME="FD_06_cell01">
<Attribute NAME="interleaving" VALUE="none"></Attribute>
<Attribute NAME="diskType" VALUE="FlashDisk"></Attribute>
<Attribute NAME="devicePartition" VALUE="/dev/sdab"></Attribute>
<Attribute NAME="id" VALUE="00000128-e01a-b297-0000-000000000000"></Attribute>
<Attribute NAME="freeSpace" VALUE="0"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="deviceName" VALUE="/dev/sdab"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="lun" VALUE="2_2"></Attribute>
<Attribute NAME="name" VALUE="FD_06_cell01"></Attribute>
<Attribute NAME="creationTime" VALUE="1275070165741"></Attribute>
<Attribute NAME="size" VALUE="22.875G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSCellDisk" NAME="FD_07_cell01">
<Attribute NAME="interleaving" VALUE="none"></Attribute>
<Attribute NAME="diskType" VALUE="FlashDisk"></Attribute>
<Attribute NAME="devicePartition" VALUE="/dev/sdac"></Attribute>
<Attribute NAME="id" VALUE="00000128-e01a-b512-0000-000000000000"></Attribute>
<Attribute NAME="freeSpace" VALUE="0"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="deviceName" VALUE="/dev/sdac"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="lun" VALUE="2_3"></Attribute>
<Attribute NAME="name" VALUE="FD_07_cell01"></Attribute>
<Attribute NAME="creationTime" VALUE="1275070166377"></Attribute>
<Attribute NAME="size" VALUE="22.875G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSCellDisk" NAME="FD_08_cell01">
<Attribute NAME="interleaving" VALUE="none"></Attribute>
<Attribute NAME="diskType" VALUE="FlashDisk"></Attribute>
<Attribute NAME="devicePartition" VALUE="/dev/sdn"></Attribute>
<Attribute NAME="id" VALUE="00000128-e01a-b78f-0000-000000000000"></Attribute>
<Attribute NAME="freeSpace" VALUE="0"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="deviceName" VALUE="/dev/sdn"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="lun" VALUE="4_0"></Attribute>
<Attribute NAME="name" VALUE="FD_08_cell01"></Attribute>
<Attribute NAME="creationTime" VALUE="1275070167015"></Attribute>
<Attribute NAME="size" VALUE="22.875G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSCellDisk" NAME="FD_09_cell01">
<Attribute NAME="interleaving" VALUE="none"></Attribute>
<Attribute NAME="diskType" VALUE="FlashDisk"></Attribute>
<Attribute NAME="devicePartition" VALUE="/dev/sdo"></Attribute>
<Attribute NAME="id" VALUE="00000128-e01a-ba0e-0000-000000000000"></Attribute>
<Attribute NAME="freeSpace" VALUE="0"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="deviceName" VALUE="/dev/sdo"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="lun" VALUE="4_1"></Attribute>
<Attribute NAME="name" VALUE="FD_09_cell01"></Attribute>
<Attribute NAME="creationTime" VALUE="1275070167653"></Attribute>
<Attribute NAME="size" VALUE="22.875G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSCellDisk" NAME="FD_10_cell01">
<Attribute NAME="interleaving" VALUE="none"></Attribute>
<Attribute NAME="diskType" VALUE="FlashDisk"></Attribute>
<Attribute NAME="devicePartition" VALUE="/dev/sdp"></Attribute>
<Attribute NAME="id" VALUE="00000128-e01a-bc8b-0000-000000000000"></Attribute>
<Attribute NAME="freeSpace" VALUE="0"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="deviceName" VALUE="/dev/sdp"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="lun" VALUE="4_2"></Attribute>
<Attribute NAME="name" VALUE="FD_10_cell01"></Attribute>
<Attribute NAME="creationTime" VALUE="1275070168288"></Attribute>
<Attribute NAME="size" VALUE="22.875G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSCellDisk" NAME="FD_11_cell01">
<Attribute NAME="interleaving" VALUE="none"></Attribute>
<Attribute NAME="diskType" VALUE="FlashDisk"></Attribute>
<Attribute NAME="devicePartition" VALUE="/dev/sdq"></Attribute>
<Attribute NAME="id" VALUE="00000128-e01a-bf0a-0000-000000000000"></Attribute>
<Attribute NAME="freeSpace" VALUE="0"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="deviceName" VALUE="/dev/sdq"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="lun" VALUE="4_3"></Attribute>
<Attribute NAME="name" VALUE="FD_11_cell01"></Attribute>
<Attribute NAME="creationTime" VALUE="1275070168926"></Attribute>
<Attribute NAME="size" VALUE="22.875G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSCellDisk" NAME="FD_12_cell01">
<Attribute NAME="interleaving" VALUE="none"></Attribute>
<Attribute NAME="diskType" VALUE="FlashDisk"></Attribute>
<Attribute NAME="devicePartition" VALUE="/dev/sdv"></Attribute>
<Attribute NAME="id" VALUE="00000128-e01a-c182-0000-000000000000"></Attribute>
<Attribute NAME="freeSpace" VALUE="0"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="deviceName" VALUE="/dev/sdv"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="lun" VALUE="5_0"></Attribute>
<Attribute NAME="name" VALUE="FD_12_cell01"></Attribute>
<Attribute NAME="creationTime" VALUE="1275070169561"></Attribute>
<Attribute NAME="size" VALUE="22.875G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSCellDisk" NAME="FD_13_cell01">
<Attribute NAME="interleaving" VALUE="none"></Attribute>
<Attribute NAME="diskType" VALUE="FlashDisk"></Attribute>
<Attribute NAME="devicePartition" VALUE="/dev/sdw"></Attribute>
<Attribute NAME="id" VALUE="00000128-e01a-c3fe-0000-000000000000"></Attribute>
<Attribute NAME="freeSpace" VALUE="0"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="deviceName" VALUE="/dev/sdw"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="lun" VALUE="5_1"></Attribute>
<Attribute NAME="name" VALUE="FD_13_cell01"></Attribute>
<Attribute NAME="creationTime" VALUE="1275070170198"></Attribute>
<Attribute NAME="size" VALUE="22.875G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSCellDisk" NAME="FD_14_cell01">
<Attribute NAME="interleaving" VALUE="none"></Attribute>
<Attribute NAME="diskType" VALUE="FlashDisk"></Attribute>
<Attribute NAME="devicePartition" VALUE="/dev/sdx"></Attribute>
<Attribute NAME="id" VALUE="00000128-e01a-c677-0000-000000000000"></Attribute>
<Attribute NAME="freeSpace" VALUE="0"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="deviceName" VALUE="/dev/sdx"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="lun" VALUE="5_2"></Attribute>
<Attribute NAME="name" VALUE="FD_14_cell01"></Attribute>
<Attribute NAME="creationTime" VALUE="1275070170828"></Attribute>
<Attribute NAME="size" VALUE="22.875G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSCellDisk" NAME="FD_15_cell01">
<Attribute NAME="interleaving" VALUE="none"></Attribute>
<Attribute NAME="diskType" VALUE="FlashDisk"></Attribute>
<Attribute NAME="devicePartition" VALUE="/dev/sdy"></Attribute>
<Attribute NAME="id" VALUE="00000128-e01a-c8ef-0000-000000000000"></Attribute>
<Attribute NAME="freeSpace" VALUE="0"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="deviceName" VALUE="/dev/sdy"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="lun" VALUE="5_3"></Attribute>
<Attribute NAME="name" VALUE="FD_15_cell01"></Attribute>
<Attribute NAME="creationTime" VALUE="1275070171459"></Attribute>
<Attribute NAME="size" VALUE="22.875G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSNetDisk" NAME="DATA_CD_00_cell01">
<Attribute NAME="cellDisk" VALUE="CD_00_cell01"></Attribute>
<Attribute NAME="id" VALUE="00000129-389f-a070-0000-000000000000"></Attribute>
<Attribute NAME="resizeError"></Attribute>
<Attribute NAME="availableTo"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="lastResizeStatus" VALUE="complete"></Attribute>
<Attribute NAME="status" VALUE="active"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="name" VALUE="DATA_CD_00_cell01"></Attribute>
<Attribute NAME="creationTime" VALUE="1276555272349"></Attribute>
<Attribute NAME="size" VALUE="1282.8125G"></Attribute>
<Attribute NAME="offset" VALUE="32M"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSNetDisk" NAME="DATA_CD_01_cell01">
<Attribute NAME="cellDisk" VALUE="CD_01_cell01"></Attribute>
<Attribute NAME="id" VALUE="00000129-389f-a09e-0000-000000000000"></Attribute>
<Attribute NAME="resizeError"></Attribute>
<Attribute NAME="availableTo"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="lastResizeStatus" VALUE="complete"></Attribute>
<Attribute NAME="status" VALUE="active"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="name" VALUE="DATA_CD_01_cell01"></Attribute>
<Attribute NAME="creationTime" VALUE="1276555272400"></Attribute>
<Attribute NAME="size" VALUE="1282.8125G"></Attribute>
<Attribute NAME="offset" VALUE="32M"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSNetDisk" NAME="DATA_CD_02_cell01">
<Attribute NAME="cellDisk" VALUE="CD_02_cell01"></Attribute>
<Attribute NAME="id" VALUE="00000129-389f-a0d2-0000-000000000000"></Attribute>
<Attribute NAME="resizeError"></Attribute>
<Attribute NAME="availableTo"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="lastResizeStatus" VALUE="complete"></Attribute>
<Attribute NAME="status" VALUE="active"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="name" VALUE="DATA_CD_02_cell01"></Attribute>
<Attribute NAME="creationTime" VALUE="1276555272431"></Attribute>
<Attribute NAME="size" VALUE="1282.8125G"></Attribute>
<Attribute NAME="offset" VALUE="32M"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSNetDisk" NAME="DATA_CD_03_cell01">
<Attribute NAME="cellDisk" VALUE="CD_03_cell01"></Attribute>
<Attribute NAME="id" VALUE="00000129-389f-a0f0-0000-000000000000"></Attribute>
<Attribute NAME="resizeError"></Attribute>
<Attribute NAME="availableTo"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="lastResizeStatus" VALUE="complete"></Attribute>
<Attribute NAME="status" VALUE="active"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="name" VALUE="DATA_CD_03_cell01"></Attribute>
<Attribute NAME="creationTime" VALUE="1276555272461"></Attribute>
<Attribute NAME="size" VALUE="1282.8125G"></Attribute>
<Attribute NAME="offset" VALUE="32M"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSNetDisk" NAME="DATA_CD_04_cell01">
<Attribute NAME="cellDisk" VALUE="CD_04_cell01"></Attribute>
<Attribute NAME="id" VALUE="00000129-389f-a10e-0000-000000000000"></Attribute>
<Attribute NAME="resizeError"></Attribute>
<Attribute NAME="availableTo"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="lastResizeStatus" VALUE="complete"></Attribute>
<Attribute NAME="status" VALUE="active"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="name" VALUE="DATA_CD_04_cell01"></Attribute>
<Attribute NAME="creationTime" VALUE="1276555272503"></Attribute>
<Attribute NAME="size" VALUE="1282.8125G"></Attribute>
<Attribute NAME="offset" VALUE="32M"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSNetDisk" NAME="DATA_CD_06_cell01">
<Attribute NAME="cellDisk" VALUE="CD_06_cell01"></Attribute>
<Attribute NAME="id" VALUE="00000129-389f-a159-0000-000000000000"></Attribute>
<Attribute NAME="resizeError"></Attribute>
<Attribute NAME="availableTo"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="lastResizeStatus" VALUE="complete"></Attribute>
<Attribute NAME="status" VALUE="active"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="name" VALUE="DATA_CD_06_cell01"></Attribute>
<Attribute NAME="creationTime" VALUE="1276555272565"></Attribute>
<Attribute NAME="size" VALUE="1282.8125G"></Attribute>
<Attribute NAME="offset" VALUE="32M"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSNetDisk" NAME="DATA_CD_07_cell01">
<Attribute NAME="cellDisk" VALUE="CD_07_cell01"></Attribute>
<Attribute NAME="id" VALUE="00000129-389f-a176-0000-000000000000"></Attribute>
<Attribute NAME="resizeError"></Attribute>
<Attribute NAME="availableTo"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="lastResizeStatus" VALUE="complete"></Attribute>
<Attribute NAME="status" VALUE="active"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="name" VALUE="DATA_CD_07_cell01"></Attribute>
<Attribute NAME="creationTime" VALUE="1276555272594"></Attribute>
<Attribute NAME="size" VALUE="1282.8125G"></Attribute>
<Attribute NAME="offset" VALUE="32M"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSNetDisk" NAME="DATA_CD_08_cell01">
<Attribute NAME="cellDisk" VALUE="CD_08_cell01"></Attribute>
<Attribute NAME="id" VALUE="00000129-389f-a193-0000-000000000000"></Attribute>
<Attribute NAME="resizeError"></Attribute>
<Attribute NAME="availableTo"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="lastResizeStatus" VALUE="complete"></Attribute>
<Attribute NAME="status" VALUE="active"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="name" VALUE="DATA_CD_08_cell01"></Attribute>
<Attribute NAME="creationTime" VALUE="1276555272616"></Attribute>
<Attribute NAME="size" VALUE="1282.8125G"></Attribute>
<Attribute NAME="offset" VALUE="32M"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSNetDisk" NAME="DATA_CD_09_cell01">
<Attribute NAME="cellDisk" VALUE="CD_09_cell01"></Attribute>
<Attribute NAME="id" VALUE="00000129-389f-a1a9-0000-000000000000"></Attribute>
<Attribute NAME="resizeError"></Attribute>
<Attribute NAME="availableTo"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="lastResizeStatus" VALUE="complete"></Attribute>
<Attribute NAME="status" VALUE="active"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="name" VALUE="DATA_CD_09_cell01"></Attribute>
<Attribute NAME="creationTime" VALUE="1276555272640"></Attribute>
<Attribute NAME="size" VALUE="1282.8125G"></Attribute>
<Attribute NAME="offset" VALUE="32M"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSNetDisk" NAME="DATA_CD_10_cell01">
<Attribute NAME="cellDisk" VALUE="CD_10_cell01"></Attribute>
<Attribute NAME="id" VALUE="00000129-389f-a1c2-0000-000000000000"></Attribute>
<Attribute NAME="resizeError"></Attribute>
<Attribute NAME="availableTo"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="lastResizeStatus" VALUE="complete"></Attribute>
<Attribute NAME="status" VALUE="active"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="name" VALUE="DATA_CD_10_cell01"></Attribute>
<Attribute NAME="creationTime" VALUE="1276555272671"></Attribute>
<Attribute NAME="size" VALUE="1282.8125G"></Attribute>
<Attribute NAME="offset" VALUE="32M"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSNetDisk" NAME="DATA_CD_11_cell01">
<Attribute NAME="cellDisk" VALUE="CD_11_cell01"></Attribute>
<Attribute NAME="id" VALUE="00000129-389f-a1e0-0000-000000000000"></Attribute>
<Attribute NAME="resizeError"></Attribute>
<Attribute NAME="availableTo"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="lastResizeStatus" VALUE="complete"></Attribute>
<Attribute NAME="status" VALUE="active"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="name" VALUE="DATA_CD_11_cell01"></Attribute>
<Attribute NAME="creationTime" VALUE="1276555272700"></Attribute>
<Attribute NAME="size" VALUE="1282.8125G"></Attribute>
<Attribute NAME="offset" VALUE="32M"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSNetDisk" NAME="RECO_CD_00_cell01">
<Attribute NAME="cellDisk" VALUE="CD_00_cell01"></Attribute>
<Attribute NAME="id" VALUE="00000129-389f-a656-0000-000000000000"></Attribute>
<Attribute NAME="resizeError"></Attribute>
<Attribute NAME="availableTo"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="lastResizeStatus" VALUE="complete"></Attribute>
<Attribute NAME="status" VALUE="active"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="name" VALUE="RECO_CD_00_cell01"></Attribute>
<Attribute NAME="creationTime" VALUE="1276555273818"></Attribute>
<Attribute NAME="size" VALUE="91.265625G"></Attribute>
<Attribute NAME="offset" VALUE="1741.328125G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSNetDisk" NAME="RECO_CD_01_cell01">
<Attribute NAME="cellDisk" VALUE="CD_01_cell01"></Attribute>
<Attribute NAME="id" VALUE="00000129-389f-a65b-0000-000000000000"></Attribute>
<Attribute NAME="resizeError"></Attribute>
<Attribute NAME="availableTo"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="lastResizeStatus" VALUE="complete"></Attribute>
<Attribute NAME="status" VALUE="active"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="name" VALUE="RECO_CD_01_cell01"></Attribute>
<Attribute NAME="creationTime" VALUE="1276555273822"></Attribute>
<Attribute NAME="size" VALUE="91.265625G"></Attribute>
<Attribute NAME="offset" VALUE="1741.328125G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSNetDisk" NAME="RECO_CD_02_cell01">
<Attribute NAME="cellDisk" VALUE="CD_02_cell01"></Attribute>
<Attribute NAME="id" VALUE="00000129-389f-a65f-0000-000000000000"></Attribute>
<Attribute NAME="resizeError"></Attribute>
<Attribute NAME="availableTo"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="lastResizeStatus" VALUE="complete"></Attribute>
<Attribute NAME="status" VALUE="active"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="name" VALUE="RECO_CD_02_cell01"></Attribute>
<Attribute NAME="creationTime" VALUE="1276555273827"></Attribute>
<Attribute NAME="size" VALUE="120.375G"></Attribute>
<Attribute NAME="offset" VALUE="1741.328125G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSNetDisk" NAME="RECO_CD_03_cell01">
<Attribute NAME="cellDisk" VALUE="CD_03_cell01"></Attribute>
<Attribute NAME="id" VALUE="00000129-389f-a664-0000-000000000000"></Attribute>
<Attribute NAME="resizeError"></Attribute>
<Attribute NAME="availableTo"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="lastResizeStatus" VALUE="complete"></Attribute>
<Attribute NAME="status" VALUE="active"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="name" VALUE="RECO_CD_03_cell01"></Attribute>
<Attribute NAME="creationTime" VALUE="1276555273831"></Attribute>
<Attribute NAME="size" VALUE="120.375G"></Attribute>
<Attribute NAME="offset" VALUE="1741.328125G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSNetDisk" NAME="RECO_CD_04_cell01">
<Attribute NAME="cellDisk" VALUE="CD_04_cell01"></Attribute>
<Attribute NAME="id" VALUE="00000129-389f-a668-0000-000000000000"></Attribute>
<Attribute NAME="resizeError"></Attribute>
<Attribute NAME="availableTo"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="lastResizeStatus" VALUE="complete"></Attribute>
<Attribute NAME="status" VALUE="active"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="name" VALUE="RECO_CD_04_cell01"></Attribute>
<Attribute NAME="creationTime" VALUE="1276555273836"></Attribute>
<Attribute NAME="size" VALUE="120.375G"></Attribute>
<Attribute NAME="offset" VALUE="1741.328125G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSNetDisk" NAME="RECO_CD_06_cell01">
<Attribute NAME="cellDisk" VALUE="CD_06_cell01"></Attribute>
<Attribute NAME="id" VALUE="00000129-389f-a672-0000-000000000000"></Attribute>
<Attribute NAME="resizeError"></Attribute>
<Attribute NAME="availableTo"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="lastResizeStatus" VALUE="complete"></Attribute>
<Attribute NAME="status" VALUE="active"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="name" VALUE="RECO_CD_06_cell01"></Attribute>
<Attribute NAME="creationTime" VALUE="1276555273845"></Attribute>
<Attribute NAME="size" VALUE="120.375G"></Attribute>
<Attribute NAME="offset" VALUE="1741.328125G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSNetDisk" NAME="RECO_CD_07_cell01">
<Attribute NAME="cellDisk" VALUE="CD_07_cell01"></Attribute>
<Attribute NAME="id" VALUE="00000129-389f-a676-0000-000000000000"></Attribute>
<Attribute NAME="resizeError"></Attribute>
<Attribute NAME="availableTo"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="lastResizeStatus" VALUE="complete"></Attribute>
<Attribute NAME="status" VALUE="active"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="name" VALUE="RECO_CD_07_cell01"></Attribute>
<Attribute NAME="creationTime" VALUE="1276555273850"></Attribute>
<Attribute NAME="size" VALUE="120.375G"></Attribute>
<Attribute NAME="offset" VALUE="1741.328125G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSNetDisk" NAME="RECO_CD_08_cell01">
<Attribute NAME="cellDisk" VALUE="CD_08_cell01"></Attribute>
<Attribute NAME="id" VALUE="00000129-389f-a67b-0000-000000000000"></Attribute>
<Attribute NAME="resizeError"></Attribute>
<Attribute NAME="availableTo"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="lastResizeStatus" VALUE="complete"></Attribute>
<Attribute NAME="status" VALUE="active"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="name" VALUE="RECO_CD_08_cell01"></Attribute>
<Attribute NAME="creationTime" VALUE="1276555273855"></Attribute>
<Attribute NAME="size" VALUE="120.375G"></Attribute>
<Attribute NAME="offset" VALUE="1741.328125G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSNetDisk" NAME="RECO_CD_09_cell01">
<Attribute NAME="cellDisk" VALUE="CD_09_cell01"></Attribute>
<Attribute NAME="id" VALUE="00000129-389f-a680-0000-000000000000"></Attribute>
<Attribute NAME="resizeError"></Attribute>
<Attribute NAME="availableTo"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="lastResizeStatus" VALUE="complete"></Attribute>
<Attribute NAME="status" VALUE="active"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="name" VALUE="RECO_CD_09_cell01"></Attribute>
<Attribute NAME="creationTime" VALUE="1276555273860"></Attribute>
<Attribute NAME="size" VALUE="120.375G"></Attribute>
<Attribute NAME="offset" VALUE="1741.328125G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSNetDisk" NAME="RECO_CD_10_cell01">
<Attribute NAME="cellDisk" VALUE="CD_10_cell01"></Attribute>
<Attribute NAME="id" VALUE="00000129-389f-a685-0000-000000000000"></Attribute>
<Attribute NAME="resizeError"></Attribute>
<Attribute NAME="availableTo"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="lastResizeStatus" VALUE="complete"></Attribute>
<Attribute NAME="status" VALUE="active"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="name" VALUE="RECO_CD_10_cell01"></Attribute>
<Attribute NAME="creationTime" VALUE="1276555273864"></Attribute>
<Attribute NAME="size" VALUE="120.375G"></Attribute>
<Attribute NAME="offset" VALUE="1741.328125G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSNetDisk" NAME="RECO_CD_11_cell01">
<Attribute NAME="cellDisk" VALUE="CD_11_cell01"></Attribute>
<Attribute NAME="id" VALUE="00000129-389f-a689-0000-000000000000"></Attribute>
<Attribute NAME="resizeError"></Attribute>
<Attribute NAME="availableTo"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="lastResizeStatus" VALUE="complete"></Attribute>
<Attribute NAME="status" VALUE="active"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="name" VALUE="RECO_CD_11_cell01"></Attribute>
<Attribute NAME="creationTime" VALUE="1276555273869"></Attribute>
<Attribute NAME="size" VALUE="120.375G"></Attribute>
<Attribute NAME="offset" VALUE="1741.328125G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSNetDisk" NAME="SCRATCH_CD_05_cell01">
<Attribute NAME="cellDisk" VALUE="CD_05_cell01"></Attribute>
<Attribute NAME="id" VALUE="9fd44ab2-a674-40ba-aa4f-fb32d380c573"></Attribute>
<Attribute NAME="resizeError"></Attribute>
<Attribute NAME="availableTo"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="lastResizeStatus" VALUE="complete"></Attribute>
<Attribute NAME="status" VALUE="active"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="name" VALUE="SCRATCH_CD_05_cell01"></Attribute>
<Attribute NAME="creationTime" VALUE="1293210663053"></Attribute>
<Attribute NAME="size" VALUE="578.84375G"></Attribute>
<Attribute NAME="offset" VALUE="32M"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSNetDisk" NAME="SMITHERS_CD_05_cell01">
<Attribute NAME="cellDisk" VALUE="CD_05_cell01"></Attribute>
<Attribute NAME="id" VALUE="ee413b30-fe57-47a3-b1ad-815fa25b471c"></Attribute>
<Attribute NAME="resizeError"></Attribute>
<Attribute NAME="availableTo"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="lastResizeStatus" VALUE="complete"></Attribute>
<Attribute NAME="status" VALUE="active"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="name" VALUE="SMITHERS_CD_05_cell01"></Attribute>
<Attribute NAME="creationTime" VALUE="1297885099027"></Attribute>
<Attribute NAME="size" VALUE="100G"></Attribute>
<Attribute NAME="offset" VALUE="578.890625G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSNetDisk" NAME="STAGE_CD_00_cell01">
<Attribute NAME="cellDisk" VALUE="CD_00_cell01"></Attribute>
<Attribute NAME="id" VALUE="00000129-389f-a267-0000-000000000000"></Attribute>
<Attribute NAME="resizeError"></Attribute>
<Attribute NAME="availableTo"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="lastResizeStatus" VALUE="complete"></Attribute>
<Attribute NAME="status" VALUE="active"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="name" VALUE="STAGE_CD_00_cell01"></Attribute>
<Attribute NAME="creationTime" VALUE="1276555272811"></Attribute>
<Attribute NAME="size" VALUE="458.140625G"></Attribute>
<Attribute NAME="offset" VALUE="1282.859375G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSNetDisk" NAME="STAGE_CD_01_cell01">
<Attribute NAME="cellDisk" VALUE="CD_01_cell01"></Attribute>
<Attribute NAME="id" VALUE="00000129-389f-a26c-0000-000000000000"></Attribute>
<Attribute NAME="resizeError"></Attribute>
<Attribute NAME="availableTo"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="lastResizeStatus" VALUE="complete"></Attribute>
<Attribute NAME="status" VALUE="active"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="name" VALUE="STAGE_CD_01_cell01"></Attribute>
<Attribute NAME="creationTime" VALUE="1276555272816"></Attribute>
<Attribute NAME="size" VALUE="458.140625G"></Attribute>
<Attribute NAME="offset" VALUE="1282.859375G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSNetDisk" NAME="STAGE_CD_02_cell01">
<Attribute NAME="cellDisk" VALUE="CD_02_cell01"></Attribute>
<Attribute NAME="id" VALUE="00000129-389f-a271-0000-000000000000"></Attribute>
<Attribute NAME="resizeError"></Attribute>
<Attribute NAME="availableTo"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="lastResizeStatus" VALUE="complete"></Attribute>
<Attribute NAME="status" VALUE="active"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="name" VALUE="STAGE_CD_02_cell01"></Attribute>
<Attribute NAME="creationTime" VALUE="1276555272822"></Attribute>
<Attribute NAME="size" VALUE="458.140625G"></Attribute>
<Attribute NAME="offset" VALUE="1282.859375G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSNetDisk" NAME="STAGE_CD_03_cell01">
<Attribute NAME="cellDisk" VALUE="CD_03_cell01"></Attribute>
<Attribute NAME="id" VALUE="00000129-389f-a277-0000-000000000000"></Attribute>
<Attribute NAME="resizeError"></Attribute>
<Attribute NAME="availableTo"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="lastResizeStatus" VALUE="complete"></Attribute>
<Attribute NAME="status" VALUE="active"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="name" VALUE="STAGE_CD_03_cell01"></Attribute>
<Attribute NAME="creationTime" VALUE="1276555272828"></Attribute>
<Attribute NAME="size" VALUE="458.140625G"></Attribute>
<Attribute NAME="offset" VALUE="1282.859375G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSNetDisk" NAME="STAGE_CD_04_cell01">
<Attribute NAME="cellDisk" VALUE="CD_04_cell01"></Attribute>
<Attribute NAME="id" VALUE="00000129-389f-a27d-0000-000000000000"></Attribute>
<Attribute NAME="resizeError"></Attribute>
<Attribute NAME="availableTo"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="lastResizeStatus" VALUE="complete"></Attribute>
<Attribute NAME="status" VALUE="active"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="name" VALUE="STAGE_CD_04_cell01"></Attribute>
<Attribute NAME="creationTime" VALUE="1276555272833"></Attribute>
<Attribute NAME="size" VALUE="458.140625G"></Attribute>
<Attribute NAME="offset" VALUE="1282.859375G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSNetDisk" NAME="STAGE_CD_06_cell01">
<Attribute NAME="cellDisk" VALUE="CD_06_cell01"></Attribute>
<Attribute NAME="id" VALUE="00000129-389f-a288-0000-000000000000"></Attribute>
<Attribute NAME="resizeError"></Attribute>
<Attribute NAME="availableTo"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="lastResizeStatus" VALUE="complete"></Attribute>
<Attribute NAME="status" VALUE="active"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="name" VALUE="STAGE_CD_06_cell01"></Attribute>
<Attribute NAME="creationTime" VALUE="1276555272844"></Attribute>
<Attribute NAME="size" VALUE="458.140625G"></Attribute>
<Attribute NAME="offset" VALUE="1282.859375G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSNetDisk" NAME="STAGE_CD_07_cell01">
<Attribute NAME="cellDisk" VALUE="CD_07_cell01"></Attribute>
<Attribute NAME="id" VALUE="00000129-389f-a28d-0000-000000000000"></Attribute>
<Attribute NAME="resizeError"></Attribute>
<Attribute NAME="availableTo"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="lastResizeStatus" VALUE="complete"></Attribute>
<Attribute NAME="status" VALUE="active"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="name" VALUE="STAGE_CD_07_cell01"></Attribute>
<Attribute NAME="creationTime" VALUE="1276555272850"></Attribute>
<Attribute NAME="size" VALUE="458.140625G"></Attribute>
<Attribute NAME="offset" VALUE="1282.859375G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSNetDisk" NAME="STAGE_CD_08_cell01">
<Attribute NAME="cellDisk" VALUE="CD_08_cell01"></Attribute>
<Attribute NAME="id" VALUE="00000129-389f-a293-0000-000000000000"></Attribute>
<Attribute NAME="resizeError"></Attribute>
<Attribute NAME="availableTo"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="lastResizeStatus" VALUE="complete"></Attribute>
<Attribute NAME="status" VALUE="active"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="name" VALUE="STAGE_CD_08_cell01"></Attribute>
<Attribute NAME="creationTime" VALUE="1276555272856"></Attribute>
<Attribute NAME="size" VALUE="458.140625G"></Attribute>
<Attribute NAME="offset" VALUE="1282.859375G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSNetDisk" NAME="STAGE_CD_09_cell01">
<Attribute NAME="cellDisk" VALUE="CD_09_cell01"></Attribute>
<Attribute NAME="id" VALUE="00000129-389f-a299-0000-000000000000"></Attribute>
<Attribute NAME="resizeError"></Attribute>
<Attribute NAME="availableTo"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="lastResizeStatus" VALUE="complete"></Attribute>
<Attribute NAME="status" VALUE="active"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="name" VALUE="STAGE_CD_09_cell01"></Attribute>
<Attribute NAME="creationTime" VALUE="1276555272861"></Attribute>
<Attribute NAME="size" VALUE="458.140625G"></Attribute>
<Attribute NAME="offset" VALUE="1282.859375G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSNetDisk" NAME="STAGE_CD_10_cell01">
<Attribute NAME="cellDisk" VALUE="CD_10_cell01"></Attribute>
<Attribute NAME="id" VALUE="00000129-389f-a29e-0000-000000000000"></Attribute>
<Attribute NAME="resizeError"></Attribute>
<Attribute NAME="availableTo"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="lastResizeStatus" VALUE="complete"></Attribute>
<Attribute NAME="status" VALUE="active"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="name" VALUE="STAGE_CD_10_cell01"></Attribute>
<Attribute NAME="creationTime" VALUE="1276555272867"></Attribute>
<Attribute NAME="size" VALUE="458.140625G"></Attribute>
<Attribute NAME="offset" VALUE="1282.859375G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSNetDisk" NAME="STAGE_CD_11_cell01">
<Attribute NAME="cellDisk" VALUE="CD_11_cell01"></Attribute>
<Attribute NAME="id" VALUE="00000129-389f-a2a4-0000-000000000000"></Attribute>
<Attribute NAME="resizeError"></Attribute>
<Attribute NAME="availableTo"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="lastResizeStatus" VALUE="complete"></Attribute>
<Attribute NAME="status" VALUE="active"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="name" VALUE="STAGE_CD_11_cell01"></Attribute>
<Attribute NAME="creationTime" VALUE="1276555272872"></Attribute>
<Attribute NAME="size" VALUE="458.140625G"></Attribute>
<Attribute NAME="offset" VALUE="1282.859375G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSNetDisk" NAME="SWING_CD_05_cell01">
<Attribute NAME="cellDisk" VALUE="CD_05_cell01"></Attribute>
<Attribute NAME="id" VALUE="aaf8a3bc-7f81-45f2-b091-5bf73c93d972"></Attribute>
<Attribute NAME="resizeError"></Attribute>
<Attribute NAME="availableTo"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="lastResizeStatus" VALUE="complete"></Attribute>
<Attribute NAME="status" VALUE="active"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="name" VALUE="SWING_CD_05_cell01"></Attribute>
<Attribute NAME="creationTime" VALUE="1298320563479"></Attribute>
<Attribute NAME="size" VALUE="30G"></Attribute>
<Attribute NAME="offset" VALUE="678.890625G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSNetDisk" NAME="SYSTEM_CD_00_cell01">
<Attribute NAME="cellDisk" VALUE="CD_00_cell01"></Attribute>
<Attribute NAME="id" VALUE="00000129-389f-a45f-0000-000000000000"></Attribute>
<Attribute NAME="resizeError"></Attribute>
<Attribute NAME="availableTo"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="lastResizeStatus" VALUE="complete"></Attribute>
<Attribute NAME="status" VALUE="active"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="name" VALUE="SYSTEM_CD_00_cell01"></Attribute>
<Attribute NAME="creationTime" VALUE="1276555273315"></Attribute>
<Attribute NAME="size" VALUE="336M"></Attribute>
<Attribute NAME="offset" VALUE="1741G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSNetDisk" NAME="SYSTEM_CD_01_cell01">
<Attribute NAME="cellDisk" VALUE="CD_01_cell01"></Attribute>
<Attribute NAME="id" VALUE="00000129-389f-a464-0000-000000000000"></Attribute>
<Attribute NAME="resizeError"></Attribute>
<Attribute NAME="availableTo"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="lastResizeStatus" VALUE="complete"></Attribute>
<Attribute NAME="status" VALUE="active"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="name" VALUE="SYSTEM_CD_01_cell01"></Attribute>
<Attribute NAME="creationTime" VALUE="1276555273318"></Attribute>
<Attribute NAME="size" VALUE="336M"></Attribute>
<Attribute NAME="offset" VALUE="1741G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSNetDisk" NAME="SYSTEM_CD_02_cell01">
<Attribute NAME="cellDisk" VALUE="CD_02_cell01"></Attribute>
<Attribute NAME="id" VALUE="00000129-389f-a468-0000-000000000000"></Attribute>
<Attribute NAME="resizeError"></Attribute>
<Attribute NAME="availableTo"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="lastResizeStatus" VALUE="complete"></Attribute>
<Attribute NAME="status" VALUE="active"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="name" VALUE="SYSTEM_CD_02_cell01"></Attribute>
<Attribute NAME="creationTime" VALUE="1276555273323"></Attribute>
<Attribute NAME="size" VALUE="336M"></Attribute>
<Attribute NAME="offset" VALUE="1741G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSNetDisk" NAME="SYSTEM_CD_03_cell01">
<Attribute NAME="cellDisk" VALUE="CD_03_cell01"></Attribute>
<Attribute NAME="id" VALUE="00000129-389f-a46c-0000-000000000000"></Attribute>
<Attribute NAME="resizeError"></Attribute>
<Attribute NAME="availableTo"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="lastResizeStatus" VALUE="complete"></Attribute>
<Attribute NAME="status" VALUE="active"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="name" VALUE="SYSTEM_CD_03_cell01"></Attribute>
<Attribute NAME="creationTime" VALUE="1276555273327"></Attribute>
<Attribute NAME="size" VALUE="336M"></Attribute>
<Attribute NAME="offset" VALUE="1741G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSNetDisk" NAME="SYSTEM_CD_04_cell01">
<Attribute NAME="cellDisk" VALUE="CD_04_cell01"></Attribute>
<Attribute NAME="id" VALUE="00000129-389f-a470-0000-000000000000"></Attribute>
<Attribute NAME="resizeError"></Attribute>
<Attribute NAME="availableTo"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="lastResizeStatus" VALUE="complete"></Attribute>
<Attribute NAME="status" VALUE="active"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="name" VALUE="SYSTEM_CD_04_cell01"></Attribute>
<Attribute NAME="creationTime" VALUE="1276555273332"></Attribute>
<Attribute NAME="size" VALUE="336M"></Attribute>
<Attribute NAME="offset" VALUE="1741G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSNetDisk" NAME="SYSTEM_CD_06_cell01">
<Attribute NAME="cellDisk" VALUE="CD_06_cell01"></Attribute>
<Attribute NAME="id" VALUE="00000129-389f-a479-0000-000000000000"></Attribute>
<Attribute NAME="resizeError"></Attribute>
<Attribute NAME="availableTo"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="lastResizeStatus" VALUE="complete"></Attribute>
<Attribute NAME="status" VALUE="active"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="name" VALUE="SYSTEM_CD_06_cell01"></Attribute>
<Attribute NAME="creationTime" VALUE="1276555273341"></Attribute>
<Attribute NAME="size" VALUE="336M"></Attribute>
<Attribute NAME="offset" VALUE="1741G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSNetDisk" NAME="SYSTEM_CD_07_cell01">
<Attribute NAME="cellDisk" VALUE="CD_07_cell01"></Attribute>
<Attribute NAME="id" VALUE="00000129-389f-a47e-0000-000000000000"></Attribute>
<Attribute NAME="resizeError"></Attribute>
<Attribute NAME="availableTo"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="lastResizeStatus" VALUE="complete"></Attribute>
<Attribute NAME="status" VALUE="active"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="name" VALUE="SYSTEM_CD_07_cell01"></Attribute>
<Attribute NAME="creationTime" VALUE="1276555273345"></Attribute>
<Attribute NAME="size" VALUE="336M"></Attribute>
<Attribute NAME="offset" VALUE="1741G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSNetDisk" NAME="SYSTEM_CD_08_cell01">
<Attribute NAME="cellDisk" VALUE="CD_08_cell01"></Attribute>
<Attribute NAME="id" VALUE="00000129-389f-a482-0000-000000000000"></Attribute>
<Attribute NAME="resizeError"></Attribute>
<Attribute NAME="availableTo"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="lastResizeStatus" VALUE="complete"></Attribute>
<Attribute NAME="status" VALUE="active"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="name" VALUE="SYSTEM_CD_08_cell01"></Attribute>
<Attribute NAME="creationTime" VALUE="1276555273349"></Attribute>
<Attribute NAME="size" VALUE="336M"></Attribute>
<Attribute NAME="offset" VALUE="1741G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSNetDisk" NAME="SYSTEM_CD_09_cell01">
<Attribute NAME="cellDisk" VALUE="CD_09_cell01"></Attribute>
<Attribute NAME="id" VALUE="00000129-389f-a486-0000-000000000000"></Attribute>
<Attribute NAME="resizeError"></Attribute>
<Attribute NAME="availableTo"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="lastResizeStatus" VALUE="complete"></Attribute>
<Attribute NAME="status" VALUE="active"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="name" VALUE="SYSTEM_CD_09_cell01"></Attribute>
<Attribute NAME="creationTime" VALUE="1276555273354"></Attribute>
<Attribute NAME="size" VALUE="336M"></Attribute>
<Attribute NAME="offset" VALUE="1741G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSNetDisk" NAME="SYSTEM_CD_10_cell01">
<Attribute NAME="cellDisk" VALUE="CD_10_cell01"></Attribute>
<Attribute NAME="id" VALUE="00000129-389f-a48b-0000-000000000000"></Attribute>
<Attribute NAME="resizeError"></Attribute>
<Attribute NAME="availableTo"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="lastResizeStatus" VALUE="complete"></Attribute>
<Attribute NAME="status" VALUE="active"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="name" VALUE="SYSTEM_CD_10_cell01"></Attribute>
<Attribute NAME="creationTime" VALUE="1276555273358"></Attribute>
<Attribute NAME="size" VALUE="336M"></Attribute>
<Attribute NAME="offset" VALUE="1741G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSNetDisk" NAME="SYSTEM_CD_11_cell01">
<Attribute NAME="cellDisk" VALUE="CD_11_cell01"></Attribute>
<Attribute NAME="id" VALUE="00000129-389f-a48f-0000-000000000000"></Attribute>
<Attribute NAME="resizeError"></Attribute>
<Attribute NAME="availableTo"></Attribute>
<Attribute NAME="comment"></Attribute>
<Attribute NAME="lastResizeStatus" VALUE="complete"></Attribute>
<Attribute NAME="status" VALUE="active"></Attribute>
<Attribute NAME="errorCount" VALUE="0"></Attribute>
<Attribute NAME="name" VALUE="SYSTEM_CD_11_cell01"></Attribute>
<Attribute NAME="creationTime" VALUE="1276555273363"></Attribute>
<Attribute NAME="size" VALUE="336M"></Attribute>
<Attribute NAME="offset" VALUE="1741G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.hwadapter.diskadp.MSPhysDiskImpl" NAME="35:0">
<Attribute NAME="deviceId" VALUE="23"></Attribute>
<Attribute NAME="physicalSize" VALUE="1862.6559999994934G"></Attribute>
<Attribute NAME="diskType" VALUE="HardDisk"></Attribute>
<Attribute NAME="id" VALUE="JK11D1YAJB8GGZ"></Attribute>
<Attribute NAME="isReenableLunDone" VALUE="FALSE"></Attribute>
<Attribute NAME="physicalInsertTime" VALUE="1273975845146"></Attribute>
<Attribute NAME="errMediaCount" VALUE="61"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="slotNumber" VALUE="0"></Attribute>
<Attribute NAME="physicalSerial" VALUE="JK11D1YAJB8GGZ"></Attribute>
<Attribute NAME="name" VALUE="35:0"></Attribute>
<Attribute NAME="errOtherCount" VALUE="0"></Attribute>
<Attribute NAME="makeModel" VALUE="HITACHI H7220AA30SUN2.0T"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.hwadapter.diskadp.MSPhysDiskImpl" NAME="35:1">
<Attribute NAME="deviceId" VALUE="24"></Attribute>
<Attribute NAME="physicalSize" VALUE="1862.6559999994934G"></Attribute>
<Attribute NAME="diskType" VALUE="HardDisk"></Attribute>
<Attribute NAME="id" VALUE="JK11D1YAJB4V0Z"></Attribute>
<Attribute NAME="isReenableLunDone" VALUE="FALSE"></Attribute>
<Attribute NAME="physicalInsertTime" VALUE="1273975846476"></Attribute>
<Attribute NAME="errMediaCount" VALUE="8"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="slotNumber" VALUE="1"></Attribute>
<Attribute NAME="physicalSerial" VALUE="JK11D1YAJB4V0Z"></Attribute>
<Attribute NAME="name" VALUE="35:1"></Attribute>
<Attribute NAME="errOtherCount" VALUE="0"></Attribute>
<Attribute NAME="makeModel" VALUE="HITACHI H7220AA30SUN2.0T"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.hwadapter.diskadp.MSPhysDiskImpl" NAME="35:2">
<Attribute NAME="deviceId" VALUE="25"></Attribute>
<Attribute NAME="physicalSize" VALUE="1862.6559999994934G"></Attribute>
<Attribute NAME="diskType" VALUE="HardDisk"></Attribute>
<Attribute NAME="id" VALUE="JK11D1YAJAZMMZ"></Attribute>
<Attribute NAME="isReenableLunDone" VALUE="FALSE"></Attribute>
<Attribute NAME="physicalInsertTime" VALUE="1273975847789"></Attribute>
<Attribute NAME="errMediaCount" VALUE="0"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="slotNumber" VALUE="2"></Attribute>
<Attribute NAME="physicalSerial" VALUE="JK11D1YAJAZMMZ"></Attribute>
<Attribute NAME="name" VALUE="35:2"></Attribute>
<Attribute NAME="errOtherCount" VALUE="0"></Attribute>
<Attribute NAME="makeModel" VALUE="HITACHI H7220AA30SUN2.0T"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.hwadapter.diskadp.MSPhysDiskImpl" NAME="35:3">
<Attribute NAME="deviceId" VALUE="26"></Attribute>
<Attribute NAME="physicalSize" VALUE="1862.6559999994934G"></Attribute>
<Attribute NAME="diskType" VALUE="HardDisk"></Attribute>
<Attribute NAME="id" VALUE="JK11D1YAJ7JX2Z"></Attribute>
<Attribute NAME="isReenableLunDone" VALUE="FALSE"></Attribute>
<Attribute NAME="physicalInsertTime" VALUE="1273975849109"></Attribute>
<Attribute NAME="errMediaCount" VALUE="0"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="slotNumber" VALUE="3"></Attribute>
<Attribute NAME="physicalSerial" VALUE="JK11D1YAJ7JX2Z"></Attribute>
<Attribute NAME="name" VALUE="35:3"></Attribute>
<Attribute NAME="errOtherCount" VALUE="0"></Attribute>
<Attribute NAME="makeModel" VALUE="HITACHI H7220AA30SUN2.0T"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.hwadapter.diskadp.MSPhysDiskImpl" NAME="35:4">
<Attribute NAME="deviceId" VALUE="27"></Attribute>
<Attribute NAME="physicalSize" VALUE="1862.6559999994934G"></Attribute>
<Attribute NAME="diskType" VALUE="HardDisk"></Attribute>
<Attribute NAME="id" VALUE="JK11D1YAJ60R8Z"></Attribute>
<Attribute NAME="isReenableLunDone" VALUE="FALSE"></Attribute>
<Attribute NAME="physicalInsertTime" VALUE="1273975850399"></Attribute>
<Attribute NAME="errMediaCount" VALUE="0"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="slotNumber" VALUE="4"></Attribute>
<Attribute NAME="physicalSerial" VALUE="JK11D1YAJ60R8Z"></Attribute>
<Attribute NAME="name" VALUE="35:4"></Attribute>
<Attribute NAME="errOtherCount" VALUE="0"></Attribute>
<Attribute NAME="makeModel" VALUE="HITACHI H7220AA30SUN2.0T"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.hwadapter.diskadp.MSPhysDiskImpl" NAME="35:5">
<Attribute NAME="deviceId" VALUE="28"></Attribute>
<Attribute NAME="physicalSize" VALUE="1862.6559999994934G"></Attribute>
<Attribute NAME="diskType" VALUE="HardDisk"></Attribute>
<Attribute NAME="id" VALUE="JK11D1YAJB4J8Z"></Attribute>
<Attribute NAME="isReenableLunDone" VALUE="FALSE"></Attribute>
<Attribute NAME="physicalInsertTime" VALUE="1273975851693"></Attribute>
<Attribute NAME="errMediaCount" VALUE="0"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="slotNumber" VALUE="5"></Attribute>
<Attribute NAME="physicalSerial" VALUE="JK11D1YAJB4J8Z"></Attribute>
<Attribute NAME="name" VALUE="35:5"></Attribute>
<Attribute NAME="errOtherCount" VALUE="0"></Attribute>
<Attribute NAME="makeModel" VALUE="HITACHI H7220AA30SUN2.0T"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.hwadapter.diskadp.MSPhysDiskImpl" NAME="35:6">
<Attribute NAME="deviceId" VALUE="29"></Attribute>
<Attribute NAME="physicalSize" VALUE="1862.6559999994934G"></Attribute>
<Attribute NAME="diskType" VALUE="HardDisk"></Attribute>
<Attribute NAME="id" VALUE="JK11D1YAJ7JXGZ"></Attribute>
<Attribute NAME="isReenableLunDone" VALUE="FALSE"></Attribute>
<Attribute NAME="physicalInsertTime" VALUE="1273975852946"></Attribute>
<Attribute NAME="errMediaCount" VALUE="0"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="slotNumber" VALUE="6"></Attribute>
<Attribute NAME="physicalSerial" VALUE="JK11D1YAJ7JXGZ"></Attribute>
<Attribute NAME="name" VALUE="35:6"></Attribute>
<Attribute NAME="errOtherCount" VALUE="0"></Attribute>
<Attribute NAME="makeModel" VALUE="HITACHI H7220AA30SUN2.0T"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.hwadapter.diskadp.MSPhysDiskImpl" NAME="35:7">
<Attribute NAME="deviceId" VALUE="30"></Attribute>
<Attribute NAME="physicalSize" VALUE="1862.6559999994934G"></Attribute>
<Attribute NAME="diskType" VALUE="HardDisk"></Attribute>
<Attribute NAME="id" VALUE="JK11D1YAJB4E5Z"></Attribute>
<Attribute NAME="isReenableLunDone" VALUE="FALSE"></Attribute>
<Attribute NAME="physicalInsertTime" VALUE="1273975854177"></Attribute>
<Attribute NAME="errMediaCount" VALUE="0"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="slotNumber" VALUE="7"></Attribute>
<Attribute NAME="physicalSerial" VALUE="JK11D1YAJB4E5Z"></Attribute>
<Attribute NAME="name" VALUE="35:7"></Attribute>
<Attribute NAME="errOtherCount" VALUE="0"></Attribute>
<Attribute NAME="makeModel" VALUE="HITACHI H7220AA30SUN2.0T"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.hwadapter.diskadp.MSPhysDiskImpl" NAME="35:8">
<Attribute NAME="deviceId" VALUE="31"></Attribute>
<Attribute NAME="physicalSize" VALUE="1862.6559999994934G"></Attribute>
<Attribute NAME="diskType" VALUE="HardDisk"></Attribute>
<Attribute NAME="id" VALUE="JK11D1YAJ8TY3Z"></Attribute>
<Attribute NAME="isReenableLunDone" VALUE="FALSE"></Attribute>
<Attribute NAME="physicalInsertTime" VALUE="1273975855496"></Attribute>
<Attribute NAME="errMediaCount" VALUE="506"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="slotNumber" VALUE="8"></Attribute>
<Attribute NAME="physicalSerial" VALUE="JK11D1YAJ8TY3Z"></Attribute>
<Attribute NAME="name" VALUE="35:8"></Attribute>
<Attribute NAME="errOtherCount" VALUE="0"></Attribute>
<Attribute NAME="makeModel" VALUE="HITACHI H7220AA30SUN2.0T"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.hwadapter.diskadp.MSPhysDiskImpl" NAME="35:9">
<Attribute NAME="deviceId" VALUE="32"></Attribute>
<Attribute NAME="physicalSize" VALUE="1862.6559999994934G"></Attribute>
<Attribute NAME="diskType" VALUE="HardDisk"></Attribute>
<Attribute NAME="id" VALUE="JK11D1YAJ8TXKZ"></Attribute>
<Attribute NAME="isReenableLunDone" VALUE="FALSE"></Attribute>
<Attribute NAME="physicalInsertTime" VALUE="1273975856931"></Attribute>
<Attribute NAME="errMediaCount" VALUE="0"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="slotNumber" VALUE="9"></Attribute>
<Attribute NAME="physicalSerial" VALUE="JK11D1YAJ8TXKZ"></Attribute>
<Attribute NAME="name" VALUE="35:9"></Attribute>
<Attribute NAME="errOtherCount" VALUE="0"></Attribute>
<Attribute NAME="makeModel" VALUE="HITACHI H7220AA30SUN2.0T"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.hwadapter.diskadp.MSPhysDiskImpl" NAME="35:10">
<Attribute NAME="deviceId" VALUE="33"></Attribute>
<Attribute NAME="physicalSize" VALUE="1862.6559999994934G"></Attribute>
<Attribute NAME="diskType" VALUE="HardDisk"></Attribute>
<Attribute NAME="id" VALUE="JK11D1YAJ8TYLZ"></Attribute>
<Attribute NAME="isReenableLunDone" VALUE="FALSE"></Attribute>
<Attribute NAME="physicalInsertTime" VALUE="1273975858176"></Attribute>
<Attribute NAME="errMediaCount" VALUE="0"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="slotNumber" VALUE="10"></Attribute>
<Attribute NAME="physicalSerial" VALUE="JK11D1YAJ8TYLZ"></Attribute>
<Attribute NAME="name" VALUE="35:10"></Attribute>
<Attribute NAME="errOtherCount" VALUE="0"></Attribute>
<Attribute NAME="makeModel" VALUE="HITACHI H7220AA30SUN2.0T"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.hwadapter.diskadp.MSPhysDiskImpl" NAME="35:11">
<Attribute NAME="deviceId" VALUE="34"></Attribute>
<Attribute NAME="physicalSize" VALUE="1862.6559999994934G"></Attribute>
<Attribute NAME="diskType" VALUE="HardDisk"></Attribute>
<Attribute NAME="id" VALUE="JK11D1YAJAZNKZ"></Attribute>
<Attribute NAME="isReenableLunDone" VALUE="FALSE"></Attribute>
<Attribute NAME="physicalInsertTime" VALUE="1273975859476"></Attribute>
<Attribute NAME="errMediaCount" VALUE="0"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="slotNumber" VALUE="11"></Attribute>
<Attribute NAME="physicalSerial" VALUE="JK11D1YAJAZNKZ"></Attribute>
<Attribute NAME="name" VALUE="35:11"></Attribute>
<Attribute NAME="errOtherCount" VALUE="0"></Attribute>
<Attribute NAME="makeModel" VALUE="HITACHI H7220AA30SUN2.0T"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.hwadapter.diskadp.MSPhysDiskImpl" NAME="FLASH_1_0">
<Attribute NAME="physicalSize" VALUE="22.8880615234375G"></Attribute>
<Attribute NAME="diskType" VALUE="FlashDisk"></Attribute>
<Attribute NAME="id" VALUE="1014M02JC3"></Attribute>
<Attribute NAME="errCmdTimeoutCount" VALUE="0"></Attribute>
<Attribute NAME="physicalInsertTime" VALUE="1304701249971"></Attribute>
<Attribute NAME="isReenableLunDone" VALUE="FALSE"></Attribute>
<Attribute NAME="errHardReadCount" VALUE="0"></Attribute>
<Attribute NAME="errMediaCount" VALUE="0"></Attribute>
<Attribute NAME="errHardWriteCount" VALUE="0"></Attribute>
<Attribute NAME="sectorRemapCount" VALUE="0"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="doZap" VALUE="FALSE"></Attribute>
<Attribute NAME="slotNumber" VALUE="PCI Slot: 1; FDOM: 0"></Attribute>
<Attribute NAME="physicalSerial" VALUE="1014M02JC3"></Attribute>
<Attribute NAME="name" VALUE="FLASH_1_0"></Attribute>
<Attribute NAME="errOtherCount" VALUE="0"></Attribute>
<Attribute NAME="makeModel" VALUE="MARVELL SD88SA02"></Attribute>
<Attribute NAME="errSeekCount" VALUE="0"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.hwadapter.diskadp.MSPhysDiskImpl" NAME="FLASH_1_1">
<Attribute NAME="physicalSize" VALUE="22.8880615234375G"></Attribute>
<Attribute NAME="diskType" VALUE="FlashDisk"></Attribute>
<Attribute NAME="id" VALUE="1014M02JYG"></Attribute>
<Attribute NAME="errCmdTimeoutCount" VALUE="0"></Attribute>
<Attribute NAME="physicalInsertTime" VALUE="1304701249972"></Attribute>
<Attribute NAME="isReenableLunDone" VALUE="FALSE"></Attribute>
<Attribute NAME="errHardReadCount" VALUE="0"></Attribute>
<Attribute NAME="errMediaCount" VALUE="0"></Attribute>
<Attribute NAME="errHardWriteCount" VALUE="0"></Attribute>
<Attribute NAME="sectorRemapCount" VALUE="0"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="doZap" VALUE="FALSE"></Attribute>
<Attribute NAME="slotNumber" VALUE="PCI Slot: 1; FDOM: 1"></Attribute>
<Attribute NAME="physicalSerial" VALUE="1014M02JYG"></Attribute>
<Attribute NAME="name" VALUE="FLASH_1_1"></Attribute>
<Attribute NAME="errOtherCount" VALUE="0"></Attribute>
<Attribute NAME="makeModel" VALUE="MARVELL SD88SA02"></Attribute>
<Attribute NAME="errSeekCount" VALUE="0"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.hwadapter.diskadp.MSPhysDiskImpl" NAME="FLASH_1_2">
<Attribute NAME="physicalSize" VALUE="22.8880615234375G"></Attribute>
<Attribute NAME="diskType" VALUE="FlashDisk"></Attribute>
<Attribute NAME="id" VALUE="1014M02JV9"></Attribute>
<Attribute NAME="errCmdTimeoutCount" VALUE="0"></Attribute>
<Attribute NAME="physicalInsertTime" VALUE="1304701249972"></Attribute>
<Attribute NAME="isReenableLunDone" VALUE="FALSE"></Attribute>
<Attribute NAME="errHardReadCount" VALUE="0"></Attribute>
<Attribute NAME="errMediaCount" VALUE="0"></Attribute>
<Attribute NAME="errHardWriteCount" VALUE="0"></Attribute>
<Attribute NAME="sectorRemapCount" VALUE="0"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="doZap" VALUE="FALSE"></Attribute>
<Attribute NAME="slotNumber" VALUE="PCI Slot: 1; FDOM: 2"></Attribute>
<Attribute NAME="physicalSerial" VALUE="1014M02JV9"></Attribute>
<Attribute NAME="name" VALUE="FLASH_1_2"></Attribute>
<Attribute NAME="errOtherCount" VALUE="0"></Attribute>
<Attribute NAME="makeModel" VALUE="MARVELL SD88SA02"></Attribute>
<Attribute NAME="errSeekCount" VALUE="0"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.hwadapter.diskadp.MSPhysDiskImpl" NAME="FLASH_1_3">
<Attribute NAME="physicalSize" VALUE="22.8880615234375G"></Attribute>
<Attribute NAME="diskType" VALUE="FlashDisk"></Attribute>
<Attribute NAME="id" VALUE="1014M02J93"></Attribute>
<Attribute NAME="errCmdTimeoutCount" VALUE="0"></Attribute>
<Attribute NAME="physicalInsertTime" VALUE="1304701249972"></Attribute>
<Attribute NAME="isReenableLunDone" VALUE="FALSE"></Attribute>
<Attribute NAME="errHardReadCount" VALUE="0"></Attribute>
<Attribute NAME="errMediaCount" VALUE="0"></Attribute>
<Attribute NAME="errHardWriteCount" VALUE="0"></Attribute>
<Attribute NAME="sectorRemapCount" VALUE="0"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="doZap" VALUE="FALSE"></Attribute>
<Attribute NAME="slotNumber" VALUE="PCI Slot: 1; FDOM: 3"></Attribute>
<Attribute NAME="physicalSerial" VALUE="1014M02J93"></Attribute>
<Attribute NAME="name" VALUE="FLASH_1_3"></Attribute>
<Attribute NAME="errOtherCount" VALUE="0"></Attribute>
<Attribute NAME="makeModel" VALUE="MARVELL SD88SA02"></Attribute>
<Attribute NAME="errSeekCount" VALUE="0"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.hwadapter.diskadp.MSPhysDiskImpl" NAME="FLASH_2_0">
<Attribute NAME="physicalSize" VALUE="22.8880615234375G"></Attribute>
<Attribute NAME="diskType" VALUE="FlashDisk"></Attribute>
<Attribute NAME="id" VALUE="1014M02JFK"></Attribute>
<Attribute NAME="errCmdTimeoutCount" VALUE="0"></Attribute>
<Attribute NAME="physicalInsertTime" VALUE="1304701249972"></Attribute>
<Attribute NAME="isReenableLunDone" VALUE="FALSE"></Attribute>
<Attribute NAME="errHardReadCount" VALUE="0"></Attribute>
<Attribute NAME="errMediaCount" VALUE="0"></Attribute>
<Attribute NAME="errHardWriteCount" VALUE="0"></Attribute>
<Attribute NAME="sectorRemapCount" VALUE="0"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="doZap" VALUE="FALSE"></Attribute>
<Attribute NAME="slotNumber" VALUE="PCI Slot: 2; FDOM: 0"></Attribute>
<Attribute NAME="physicalSerial" VALUE="1014M02JFK"></Attribute>
<Attribute NAME="name" VALUE="FLASH_2_0"></Attribute>
<Attribute NAME="errOtherCount" VALUE="0"></Attribute>
<Attribute NAME="makeModel" VALUE="MARVELL SD88SA02"></Attribute>
<Attribute NAME="errSeekCount" VALUE="0"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.hwadapter.diskadp.MSPhysDiskImpl" NAME="FLASH_2_1">
<Attribute NAME="physicalSize" VALUE="22.8880615234375G"></Attribute>
<Attribute NAME="diskType" VALUE="FlashDisk"></Attribute>
<Attribute NAME="id" VALUE="1014M02JFL"></Attribute>
<Attribute NAME="errCmdTimeoutCount" VALUE="0"></Attribute>
<Attribute NAME="physicalInsertTime" VALUE="1304701249973"></Attribute>
<Attribute NAME="isReenableLunDone" VALUE="FALSE"></Attribute>
<Attribute NAME="errHardReadCount" VALUE="0"></Attribute>
<Attribute NAME="errMediaCount" VALUE="0"></Attribute>
<Attribute NAME="errHardWriteCount" VALUE="0"></Attribute>
<Attribute NAME="sectorRemapCount" VALUE="0"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="doZap" VALUE="FALSE"></Attribute>
<Attribute NAME="slotNumber" VALUE="PCI Slot: 2; FDOM: 1"></Attribute>
<Attribute NAME="physicalSerial" VALUE="1014M02JFL"></Attribute>
<Attribute NAME="name" VALUE="FLASH_2_1"></Attribute>
<Attribute NAME="errOtherCount" VALUE="0"></Attribute>
<Attribute NAME="makeModel" VALUE="MARVELL SD88SA02"></Attribute>
<Attribute NAME="errSeekCount" VALUE="0"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.hwadapter.diskadp.MSPhysDiskImpl" NAME="FLASH_2_2">
<Attribute NAME="physicalSize" VALUE="22.8880615234375G"></Attribute>
<Attribute NAME="diskType" VALUE="FlashDisk"></Attribute>
<Attribute NAME="id" VALUE="1014M02JF7"></Attribute>
<Attribute NAME="errCmdTimeoutCount" VALUE="0"></Attribute>
<Attribute NAME="physicalInsertTime" VALUE="1304701249973"></Attribute>
<Attribute NAME="isReenableLunDone" VALUE="FALSE"></Attribute>
<Attribute NAME="errHardReadCount" VALUE="0"></Attribute>
<Attribute NAME="errMediaCount" VALUE="0"></Attribute>
<Attribute NAME="errHardWriteCount" VALUE="0"></Attribute>
<Attribute NAME="sectorRemapCount" VALUE="0"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="doZap" VALUE="FALSE"></Attribute>
<Attribute NAME="slotNumber" VALUE="PCI Slot: 2; FDOM: 2"></Attribute>
<Attribute NAME="physicalSerial" VALUE="1014M02JF7"></Attribute>
<Attribute NAME="name" VALUE="FLASH_2_2"></Attribute>
<Attribute NAME="errOtherCount" VALUE="0"></Attribute>
<Attribute NAME="makeModel" VALUE="MARVELL SD88SA02"></Attribute>
<Attribute NAME="errSeekCount" VALUE="0"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.hwadapter.diskadp.MSPhysDiskImpl" NAME="FLASH_2_3">
<Attribute NAME="physicalSize" VALUE="22.8880615234375G"></Attribute>
<Attribute NAME="diskType" VALUE="FlashDisk"></Attribute>
<Attribute NAME="id" VALUE="1014M02JF8"></Attribute>
<Attribute NAME="errCmdTimeoutCount" VALUE="0"></Attribute>
<Attribute NAME="physicalInsertTime" VALUE="1304701249973"></Attribute>
<Attribute NAME="isReenableLunDone" VALUE="FALSE"></Attribute>
<Attribute NAME="errHardReadCount" VALUE="0"></Attribute>
<Attribute NAME="errMediaCount" VALUE="0"></Attribute>
<Attribute NAME="errHardWriteCount" VALUE="0"></Attribute>
<Attribute NAME="sectorRemapCount" VALUE="0"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="doZap" VALUE="FALSE"></Attribute>
<Attribute NAME="slotNumber" VALUE="PCI Slot: 2; FDOM: 3"></Attribute>
<Attribute NAME="physicalSerial" VALUE="1014M02JF8"></Attribute>
<Attribute NAME="name" VALUE="FLASH_2_3"></Attribute>
<Attribute NAME="errOtherCount" VALUE="0"></Attribute>
<Attribute NAME="makeModel" VALUE="MARVELL SD88SA02"></Attribute>
<Attribute NAME="errSeekCount" VALUE="0"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.hwadapter.diskadp.MSPhysDiskImpl" NAME="FLASH_4_0">
<Attribute NAME="physicalSize" VALUE="22.8880615234375G"></Attribute>
<Attribute NAME="diskType" VALUE="FlashDisk"></Attribute>
<Attribute NAME="id" VALUE="1014M02HP5"></Attribute>
<Attribute NAME="errCmdTimeoutCount" VALUE="0"></Attribute>
<Attribute NAME="physicalInsertTime" VALUE="1304701249973"></Attribute>
<Attribute NAME="isReenableLunDone" VALUE="FALSE"></Attribute>
<Attribute NAME="errHardReadCount" VALUE="0"></Attribute>
<Attribute NAME="errMediaCount" VALUE="0"></Attribute>
<Attribute NAME="errHardWriteCount" VALUE="0"></Attribute>
<Attribute NAME="sectorRemapCount" VALUE="0"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="doZap" VALUE="FALSE"></Attribute>
<Attribute NAME="slotNumber" VALUE="PCI Slot: 4; FDOM: 0"></Attribute>
<Attribute NAME="physicalSerial" VALUE="1014M02HP5"></Attribute>
<Attribute NAME="name" VALUE="FLASH_4_0"></Attribute>
<Attribute NAME="errOtherCount" VALUE="0"></Attribute>
<Attribute NAME="makeModel" VALUE="MARVELL SD88SA02"></Attribute>
<Attribute NAME="errSeekCount" VALUE="0"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.hwadapter.diskadp.MSPhysDiskImpl" NAME="FLASH_4_1">
<Attribute NAME="physicalSize" VALUE="22.8880615234375G"></Attribute>
<Attribute NAME="diskType" VALUE="FlashDisk"></Attribute>
<Attribute NAME="id" VALUE="1014M02HNN"></Attribute>
<Attribute NAME="errCmdTimeoutCount" VALUE="0"></Attribute>
<Attribute NAME="physicalInsertTime" VALUE="1304701249973"></Attribute>
<Attribute NAME="isReenableLunDone" VALUE="FALSE"></Attribute>
<Attribute NAME="errHardReadCount" VALUE="0"></Attribute>
<Attribute NAME="errMediaCount" VALUE="0"></Attribute>
<Attribute NAME="errHardWriteCount" VALUE="0"></Attribute>
<Attribute NAME="sectorRemapCount" VALUE="0"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="doZap" VALUE="FALSE"></Attribute>
<Attribute NAME="slotNumber" VALUE="PCI Slot: 4; FDOM: 1"></Attribute>
<Attribute NAME="physicalSerial" VALUE="1014M02HNN"></Attribute>
<Attribute NAME="name" VALUE="FLASH_4_1"></Attribute>
<Attribute NAME="errOtherCount" VALUE="0"></Attribute>
<Attribute NAME="makeModel" VALUE="MARVELL SD88SA02"></Attribute>
<Attribute NAME="errSeekCount" VALUE="0"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.hwadapter.diskadp.MSPhysDiskImpl" NAME="FLASH_4_2">
<Attribute NAME="physicalSize" VALUE="22.8880615234375G"></Attribute>
<Attribute NAME="diskType" VALUE="FlashDisk"></Attribute>
<Attribute NAME="id" VALUE="1014M02HP2"></Attribute>
<Attribute NAME="errCmdTimeoutCount" VALUE="0"></Attribute>
<Attribute NAME="physicalInsertTime" VALUE="1304701249974"></Attribute>
<Attribute NAME="isReenableLunDone" VALUE="FALSE"></Attribute>
<Attribute NAME="errHardReadCount" VALUE="0"></Attribute>
<Attribute NAME="errMediaCount" VALUE="0"></Attribute>
<Attribute NAME="errHardWriteCount" VALUE="0"></Attribute>
<Attribute NAME="sectorRemapCount" VALUE="0"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="doZap" VALUE="FALSE"></Attribute>
<Attribute NAME="slotNumber" VALUE="PCI Slot: 4; FDOM: 2"></Attribute>
<Attribute NAME="physicalSerial" VALUE="1014M02HP2"></Attribute>
<Attribute NAME="name" VALUE="FLASH_4_2"></Attribute>
<Attribute NAME="errOtherCount" VALUE="0"></Attribute>
<Attribute NAME="makeModel" VALUE="MARVELL SD88SA02"></Attribute>
<Attribute NAME="errSeekCount" VALUE="0"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.hwadapter.diskadp.MSPhysDiskImpl" NAME="FLASH_4_3">
<Attribute NAME="physicalSize" VALUE="22.8880615234375G"></Attribute>
<Attribute NAME="diskType" VALUE="FlashDisk"></Attribute>
<Attribute NAME="id" VALUE="1014M02HP4"></Attribute>
<Attribute NAME="errCmdTimeoutCount" VALUE="0"></Attribute>
<Attribute NAME="physicalInsertTime" VALUE="1304701249974"></Attribute>
<Attribute NAME="isReenableLunDone" VALUE="FALSE"></Attribute>
<Attribute NAME="errHardReadCount" VALUE="0"></Attribute>
<Attribute NAME="errMediaCount" VALUE="0"></Attribute>
<Attribute NAME="errHardWriteCount" VALUE="0"></Attribute>
<Attribute NAME="sectorRemapCount" VALUE="0"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="doZap" VALUE="FALSE"></Attribute>
<Attribute NAME="slotNumber" VALUE="PCI Slot: 4; FDOM: 3"></Attribute>
<Attribute NAME="physicalSerial" VALUE="1014M02HP4"></Attribute>
<Attribute NAME="name" VALUE="FLASH_4_3"></Attribute>
<Attribute NAME="errOtherCount" VALUE="0"></Attribute>
<Attribute NAME="makeModel" VALUE="MARVELL SD88SA02"></Attribute>
<Attribute NAME="errSeekCount" VALUE="0"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.hwadapter.diskadp.MSPhysDiskImpl" NAME="FLASH_5_0">
<Attribute NAME="physicalSize" VALUE="22.8880615234375G"></Attribute>
<Attribute NAME="diskType" VALUE="FlashDisk"></Attribute>
<Attribute NAME="id" VALUE="1014M02JUD"></Attribute>
<Attribute NAME="errCmdTimeoutCount" VALUE="0"></Attribute>
<Attribute NAME="physicalInsertTime" VALUE="1304701249974"></Attribute>
<Attribute NAME="isReenableLunDone" VALUE="FALSE"></Attribute>
<Attribute NAME="errHardReadCount" VALUE="0"></Attribute>
<Attribute NAME="errMediaCount" VALUE="0"></Attribute>
<Attribute NAME="errHardWriteCount" VALUE="0"></Attribute>
<Attribute NAME="sectorRemapCount" VALUE="0"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="doZap" VALUE="FALSE"></Attribute>
<Attribute NAME="slotNumber" VALUE="PCI Slot: 5; FDOM: 0"></Attribute>
<Attribute NAME="physicalSerial" VALUE="1014M02JUD"></Attribute>
<Attribute NAME="name" VALUE="FLASH_5_0"></Attribute>
<Attribute NAME="errOtherCount" VALUE="0"></Attribute>
<Attribute NAME="makeModel" VALUE="MARVELL SD88SA02"></Attribute>
<Attribute NAME="errSeekCount" VALUE="0"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.hwadapter.diskadp.MSPhysDiskImpl" NAME="FLASH_5_1">
<Attribute NAME="physicalSize" VALUE="22.8880615234375G"></Attribute>
<Attribute NAME="diskType" VALUE="FlashDisk"></Attribute>
<Attribute NAME="id" VALUE="1014M02JVF"></Attribute>
<Attribute NAME="errCmdTimeoutCount" VALUE="0"></Attribute>
<Attribute NAME="physicalInsertTime" VALUE="1304701249975"></Attribute>
<Attribute NAME="isReenableLunDone" VALUE="FALSE"></Attribute>
<Attribute NAME="errHardReadCount" VALUE="0"></Attribute>
<Attribute NAME="errMediaCount" VALUE="0"></Attribute>
<Attribute NAME="errHardWriteCount" VALUE="0"></Attribute>
<Attribute NAME="sectorRemapCount" VALUE="0"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="doZap" VALUE="FALSE"></Attribute>
<Attribute NAME="slotNumber" VALUE="PCI Slot: 5; FDOM: 1"></Attribute>
<Attribute NAME="physicalSerial" VALUE="1014M02JVF"></Attribute>
<Attribute NAME="name" VALUE="FLASH_5_1"></Attribute>
<Attribute NAME="errOtherCount" VALUE="0"></Attribute>
<Attribute NAME="makeModel" VALUE="MARVELL SD88SA02"></Attribute>
<Attribute NAME="errSeekCount" VALUE="0"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.hwadapter.diskadp.MSPhysDiskImpl" NAME="FLASH_5_2">
<Attribute NAME="physicalSize" VALUE="22.8880615234375G"></Attribute>
<Attribute NAME="diskType" VALUE="FlashDisk"></Attribute>
<Attribute NAME="id" VALUE="1014M02JAP"></Attribute>
<Attribute NAME="errCmdTimeoutCount" VALUE="0"></Attribute>
<Attribute NAME="physicalInsertTime" VALUE="1304701249975"></Attribute>
<Attribute NAME="isReenableLunDone" VALUE="FALSE"></Attribute>
<Attribute NAME="errHardReadCount" VALUE="0"></Attribute>
<Attribute NAME="errMediaCount" VALUE="0"></Attribute>
<Attribute NAME="errHardWriteCount" VALUE="0"></Attribute>
<Attribute NAME="sectorRemapCount" VALUE="0"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="doZap" VALUE="FALSE"></Attribute>
<Attribute NAME="slotNumber" VALUE="PCI Slot: 5; FDOM: 2"></Attribute>
<Attribute NAME="physicalSerial" VALUE="1014M02JAP"></Attribute>
<Attribute NAME="name" VALUE="FLASH_5_2"></Attribute>
<Attribute NAME="errOtherCount" VALUE="0"></Attribute>
<Attribute NAME="makeModel" VALUE="MARVELL SD88SA02"></Attribute>
<Attribute NAME="errSeekCount" VALUE="0"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.hwadapter.diskadp.MSPhysDiskImpl" NAME="FLASH_5_3">
<Attribute NAME="physicalSize" VALUE="22.8880615234375G"></Attribute>
<Attribute NAME="diskType" VALUE="FlashDisk"></Attribute>
<Attribute NAME="id" VALUE="1014M02JVH"></Attribute>
<Attribute NAME="errCmdTimeoutCount" VALUE="0"></Attribute>
<Attribute NAME="physicalInsertTime" VALUE="1304701249975"></Attribute>
<Attribute NAME="isReenableLunDone" VALUE="FALSE"></Attribute>
<Attribute NAME="errHardReadCount" VALUE="0"></Attribute>
<Attribute NAME="errMediaCount" VALUE="0"></Attribute>
<Attribute NAME="errHardWriteCount" VALUE="0"></Attribute>
<Attribute NAME="sectorRemapCount" VALUE="0"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="doZap" VALUE="FALSE"></Attribute>
<Attribute NAME="slotNumber" VALUE="PCI Slot: 5; FDOM: 3"></Attribute>
<Attribute NAME="physicalSerial" VALUE="1014M02JVH"></Attribute>
<Attribute NAME="name" VALUE="FLASH_5_3"></Attribute>
<Attribute NAME="errOtherCount" VALUE="0"></Attribute>
<Attribute NAME="makeModel" VALUE="MARVELL SD88SA02"></Attribute>
<Attribute NAME="errSeekCount" VALUE="0"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.hwadapter.diskadp.MSLUNImpl" NAME="0_0">
<Attribute NAME="cellDisk" VALUE="CD_00_cell01"></Attribute>
<Attribute NAME="diskType" VALUE="HardDisk"></Attribute>
<Attribute NAME="lunUID" VALUE="0_0"></Attribute>
<Attribute NAME="id" VALUE="0_0"></Attribute>
<Attribute NAME="isSystemLun" VALUE="TRUE"></Attribute>
<Attribute NAME="raidLevel" VALUE="0"></Attribute>
<Attribute NAME="physicalDrives" VALUE="JK11D1YAJB8GGZ"></Attribute>
<Attribute NAME="deviceName" VALUE="/dev/sda"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="lunAutoCreate" VALUE="FALSE"></Attribute>
<Attribute NAME="name" VALUE="0_0"></Attribute>
<Attribute NAME="lunSize" VALUE="1861.712890625G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.hwadapter.diskadp.MSLUNImpl" NAME="0_1">
<Attribute NAME="cellDisk" VALUE="CD_01_cell01"></Attribute>
<Attribute NAME="diskType" VALUE="HardDisk"></Attribute>
<Attribute NAME="lunUID" VALUE="0_1"></Attribute>
<Attribute NAME="id" VALUE="0_1"></Attribute>
<Attribute NAME="isSystemLun" VALUE="TRUE"></Attribute>
<Attribute NAME="raidLevel" VALUE="0"></Attribute>
<Attribute NAME="physicalDrives" VALUE="JK11D1YAJB4V0Z"></Attribute>
<Attribute NAME="deviceName" VALUE="/dev/sdb"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="lunAutoCreate" VALUE="FALSE"></Attribute>
<Attribute NAME="name" VALUE="0_1"></Attribute>
<Attribute NAME="lunSize" VALUE="1861.712890625G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.hwadapter.diskadp.MSLUNImpl" NAME="0_2">
<Attribute NAME="cellDisk" VALUE="CD_02_cell01"></Attribute>
<Attribute NAME="diskType" VALUE="HardDisk"></Attribute>
<Attribute NAME="lunUID" VALUE="0_2"></Attribute>
<Attribute NAME="id" VALUE="0_2"></Attribute>
<Attribute NAME="isSystemLun" VALUE="FALSE"></Attribute>
<Attribute NAME="raidLevel" VALUE="0"></Attribute>
<Attribute NAME="physicalDrives" VALUE="JK11D1YAJAZMMZ"></Attribute>
<Attribute NAME="deviceName" VALUE="/dev/sdc"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="lunAutoCreate" VALUE="FALSE"></Attribute>
<Attribute NAME="name" VALUE="0_2"></Attribute>
<Attribute NAME="lunSize" VALUE="1861.712890625G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.hwadapter.diskadp.MSLUNImpl" NAME="0_3">
<Attribute NAME="cellDisk" VALUE="CD_03_cell01"></Attribute>
<Attribute NAME="diskType" VALUE="HardDisk"></Attribute>
<Attribute NAME="lunUID" VALUE="0_3"></Attribute>
<Attribute NAME="id" VALUE="0_3"></Attribute>
<Attribute NAME="isSystemLun" VALUE="FALSE"></Attribute>
<Attribute NAME="raidLevel" VALUE="0"></Attribute>
<Attribute NAME="physicalDrives" VALUE="JK11D1YAJ7JX2Z"></Attribute>
<Attribute NAME="deviceName" VALUE="/dev/sdd"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="lunAutoCreate" VALUE="FALSE"></Attribute>
<Attribute NAME="name" VALUE="0_3"></Attribute>
<Attribute NAME="lunSize" VALUE="1861.712890625G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.hwadapter.diskadp.MSLUNImpl" NAME="0_4">
<Attribute NAME="cellDisk" VALUE="CD_04_cell01"></Attribute>
<Attribute NAME="diskType" VALUE="HardDisk"></Attribute>
<Attribute NAME="lunUID" VALUE="0_4"></Attribute>
<Attribute NAME="id" VALUE="0_4"></Attribute>
<Attribute NAME="isSystemLun" VALUE="FALSE"></Attribute>
<Attribute NAME="raidLevel" VALUE="0"></Attribute>
<Attribute NAME="physicalDrives" VALUE="JK11D1YAJ60R8Z"></Attribute>
<Attribute NAME="deviceName" VALUE="/dev/sde"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="lunAutoCreate" VALUE="FALSE"></Attribute>
<Attribute NAME="name" VALUE="0_4"></Attribute>
<Attribute NAME="lunSize" VALUE="1861.712890625G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.hwadapter.diskadp.MSLUNImpl" NAME="0_5">
<Attribute NAME="cellDisk" VALUE="CD_05_cell01"></Attribute>
<Attribute NAME="diskType" VALUE="HardDisk"></Attribute>
<Attribute NAME="lunUID" VALUE="0_5"></Attribute>
<Attribute NAME="id" VALUE="0_5"></Attribute>
<Attribute NAME="isSystemLun" VALUE="FALSE"></Attribute>
<Attribute NAME="raidLevel" VALUE="0"></Attribute>
<Attribute NAME="physicalDrives" VALUE="JK11D1YAJB4J8Z"></Attribute>
<Attribute NAME="deviceName" VALUE="/dev/sdf"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="lunAutoCreate" VALUE="FALSE"></Attribute>
<Attribute NAME="name" VALUE="0_5"></Attribute>
<Attribute NAME="lunSize" VALUE="1861.712890625G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.hwadapter.diskadp.MSLUNImpl" NAME="0_6">
<Attribute NAME="cellDisk" VALUE="CD_06_cell01"></Attribute>
<Attribute NAME="diskType" VALUE="HardDisk"></Attribute>
<Attribute NAME="lunUID" VALUE="0_6"></Attribute>
<Attribute NAME="id" VALUE="0_6"></Attribute>
<Attribute NAME="isSystemLun" VALUE="FALSE"></Attribute>
<Attribute NAME="raidLevel" VALUE="0"></Attribute>
<Attribute NAME="physicalDrives" VALUE="JK11D1YAJ7JXGZ"></Attribute>
<Attribute NAME="deviceName" VALUE="/dev/sdg"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="lunAutoCreate" VALUE="FALSE"></Attribute>
<Attribute NAME="name" VALUE="0_6"></Attribute>
<Attribute NAME="lunSize" VALUE="1861.712890625G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.hwadapter.diskadp.MSLUNImpl" NAME="0_7">
<Attribute NAME="cellDisk" VALUE="CD_07_cell01"></Attribute>
<Attribute NAME="diskType" VALUE="HardDisk"></Attribute>
<Attribute NAME="lunUID" VALUE="0_7"></Attribute>
<Attribute NAME="id" VALUE="0_7"></Attribute>
<Attribute NAME="isSystemLun" VALUE="FALSE"></Attribute>
<Attribute NAME="raidLevel" VALUE="0"></Attribute>
<Attribute NAME="physicalDrives" VALUE="JK11D1YAJB4E5Z"></Attribute>
<Attribute NAME="deviceName" VALUE="/dev/sdh"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="lunAutoCreate" VALUE="FALSE"></Attribute>
<Attribute NAME="name" VALUE="0_7"></Attribute>
<Attribute NAME="lunSize" VALUE="1861.712890625G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.hwadapter.diskadp.MSLUNImpl" NAME="0_8">
<Attribute NAME="cellDisk" VALUE="CD_08_cell01"></Attribute>
<Attribute NAME="diskType" VALUE="HardDisk"></Attribute>
<Attribute NAME="lunUID" VALUE="0_8"></Attribute>
<Attribute NAME="id" VALUE="0_8"></Attribute>
<Attribute NAME="isSystemLun" VALUE="FALSE"></Attribute>
<Attribute NAME="raidLevel" VALUE="0"></Attribute>
<Attribute NAME="physicalDrives" VALUE="JK11D1YAJ8TY3Z"></Attribute>
<Attribute NAME="deviceName" VALUE="/dev/sdi"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="lunAutoCreate" VALUE="FALSE"></Attribute>
<Attribute NAME="name" VALUE="0_8"></Attribute>
<Attribute NAME="lunSize" VALUE="1861.712890625G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.hwadapter.diskadp.MSLUNImpl" NAME="0_9">
<Attribute NAME="cellDisk" VALUE="CD_09_cell01"></Attribute>
<Attribute NAME="diskType" VALUE="HardDisk"></Attribute>
<Attribute NAME="lunUID" VALUE="0_9"></Attribute>
<Attribute NAME="id" VALUE="0_9"></Attribute>
<Attribute NAME="isSystemLun" VALUE="FALSE"></Attribute>
<Attribute NAME="raidLevel" VALUE="0"></Attribute>
<Attribute NAME="physicalDrives" VALUE="JK11D1YAJ8TXKZ"></Attribute>
<Attribute NAME="deviceName" VALUE="/dev/sdj"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="lunAutoCreate" VALUE="FALSE"></Attribute>
<Attribute NAME="name" VALUE="0_9"></Attribute>
<Attribute NAME="lunSize" VALUE="1861.712890625G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.hwadapter.diskadp.MSLUNImpl" NAME="0_10">
<Attribute NAME="cellDisk" VALUE="CD_10_cell01"></Attribute>
<Attribute NAME="diskType" VALUE="HardDisk"></Attribute>
<Attribute NAME="lunUID" VALUE="0_10"></Attribute>
<Attribute NAME="id" VALUE="0_10"></Attribute>
<Attribute NAME="isSystemLun" VALUE="FALSE"></Attribute>
<Attribute NAME="raidLevel" VALUE="0"></Attribute>
<Attribute NAME="physicalDrives" VALUE="JK11D1YAJ8TYLZ"></Attribute>
<Attribute NAME="deviceName" VALUE="/dev/sdk"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="lunAutoCreate" VALUE="FALSE"></Attribute>
<Attribute NAME="name" VALUE="0_10"></Attribute>
<Attribute NAME="lunSize" VALUE="1861.712890625G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.hwadapter.diskadp.MSLUNImpl" NAME="0_11">
<Attribute NAME="cellDisk" VALUE="CD_11_cell01"></Attribute>
<Attribute NAME="diskType" VALUE="HardDisk"></Attribute>
<Attribute NAME="lunUID" VALUE="0_11"></Attribute>
<Attribute NAME="id" VALUE="0_11"></Attribute>
<Attribute NAME="isSystemLun" VALUE="FALSE"></Attribute>
<Attribute NAME="raidLevel" VALUE="0"></Attribute>
<Attribute NAME="physicalDrives" VALUE="JK11D1YAJAZNKZ"></Attribute>
<Attribute NAME="deviceName" VALUE="/dev/sdl"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="lunAutoCreate" VALUE="FALSE"></Attribute>
<Attribute NAME="name" VALUE="0_11"></Attribute>
<Attribute NAME="lunSize" VALUE="1861.712890625G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.hwadapter.diskadp.MSLUNImpl" NAME="1_0">
<Attribute NAME="physicalDrives" VALUE="1014M02JC3"></Attribute>
<Attribute NAME="cellDisk" VALUE="FD_00_cell01"></Attribute>
<Attribute NAME="diskType" VALUE="FlashDisk"></Attribute>
<Attribute NAME="deviceName" VALUE="/dev/sdr"></Attribute>
<Attribute NAME="id" VALUE="1_0"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="lunAutoCreate" VALUE="FALSE"></Attribute>
<Attribute NAME="isSystemLun" VALUE="FALSE"></Attribute>
<Attribute NAME="name" VALUE="1_0"></Attribute>
<Attribute NAME="lunSize" VALUE="22.8880615234375G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.hwadapter.diskadp.MSLUNImpl" NAME="1_1">
<Attribute NAME="physicalDrives" VALUE="1014M02JYG"></Attribute>
<Attribute NAME="cellDisk" VALUE="FD_01_cell01"></Attribute>
<Attribute NAME="diskType" VALUE="FlashDisk"></Attribute>
<Attribute NAME="deviceName" VALUE="/dev/sds"></Attribute>
<Attribute NAME="id" VALUE="1_1"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="lunAutoCreate" VALUE="FALSE"></Attribute>
<Attribute NAME="isSystemLun" VALUE="FALSE"></Attribute>
<Attribute NAME="name" VALUE="1_1"></Attribute>
<Attribute NAME="lunSize" VALUE="22.8880615234375G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.hwadapter.diskadp.MSLUNImpl" NAME="1_2">
<Attribute NAME="physicalDrives" VALUE="1014M02JV9"></Attribute>
<Attribute NAME="cellDisk" VALUE="FD_02_cell01"></Attribute>
<Attribute NAME="diskType" VALUE="FlashDisk"></Attribute>
<Attribute NAME="deviceName" VALUE="/dev/sdt"></Attribute>
<Attribute NAME="id" VALUE="1_2"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="lunAutoCreate" VALUE="FALSE"></Attribute>
<Attribute NAME="isSystemLun" VALUE="FALSE"></Attribute>
<Attribute NAME="name" VALUE="1_2"></Attribute>
<Attribute NAME="lunSize" VALUE="22.8880615234375G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.hwadapter.diskadp.MSLUNImpl" NAME="1_3">
<Attribute NAME="physicalDrives" VALUE="1014M02J93"></Attribute>
<Attribute NAME="cellDisk" VALUE="FD_03_cell01"></Attribute>
<Attribute NAME="diskType" VALUE="FlashDisk"></Attribute>
<Attribute NAME="deviceName" VALUE="/dev/sdu"></Attribute>
<Attribute NAME="id" VALUE="1_3"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="lunAutoCreate" VALUE="FALSE"></Attribute>
<Attribute NAME="isSystemLun" VALUE="FALSE"></Attribute>
<Attribute NAME="name" VALUE="1_3"></Attribute>
<Attribute NAME="lunSize" VALUE="22.8880615234375G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.hwadapter.diskadp.MSLUNImpl" NAME="2_0">
<Attribute NAME="physicalDrives" VALUE="1014M02JFK"></Attribute>
<Attribute NAME="cellDisk" VALUE="FD_04_cell01"></Attribute>
<Attribute NAME="diskType" VALUE="FlashDisk"></Attribute>
<Attribute NAME="deviceName" VALUE="/dev/sdz"></Attribute>
<Attribute NAME="id" VALUE="2_0"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="lunAutoCreate" VALUE="FALSE"></Attribute>
<Attribute NAME="isSystemLun" VALUE="FALSE"></Attribute>
<Attribute NAME="name" VALUE="2_0"></Attribute>
<Attribute NAME="lunSize" VALUE="22.8880615234375G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.hwadapter.diskadp.MSLUNImpl" NAME="2_1">
<Attribute NAME="physicalDrives" VALUE="1014M02JFL"></Attribute>
<Attribute NAME="cellDisk" VALUE="FD_00_enkcel01"></Attribute>
<Attribute NAME="diskType" VALUE="FlashDisk"></Attribute>
<Attribute NAME="deviceName" VALUE="/dev/sdaa"></Attribute>
<Attribute NAME="id" VALUE="2_1"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="lunAutoCreate" VALUE="FALSE"></Attribute>
<Attribute NAME="isSystemLun" VALUE="FALSE"></Attribute>
<Attribute NAME="name" VALUE="2_1"></Attribute>
<Attribute NAME="lunSize" VALUE="22.8880615234375G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.hwadapter.diskadp.MSLUNImpl" NAME="2_2">
<Attribute NAME="physicalDrives" VALUE="1014M02JF7"></Attribute>
<Attribute NAME="cellDisk" VALUE="FD_06_cell01"></Attribute>
<Attribute NAME="diskType" VALUE="FlashDisk"></Attribute>
<Attribute NAME="deviceName" VALUE="/dev/sdab"></Attribute>
<Attribute NAME="id" VALUE="2_2"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="lunAutoCreate" VALUE="FALSE"></Attribute>
<Attribute NAME="isSystemLun" VALUE="FALSE"></Attribute>
<Attribute NAME="name" VALUE="2_2"></Attribute>
<Attribute NAME="lunSize" VALUE="22.8880615234375G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.hwadapter.diskadp.MSLUNImpl" NAME="2_3">
<Attribute NAME="physicalDrives" VALUE="1014M02JF8"></Attribute>
<Attribute NAME="cellDisk" VALUE="FD_07_cell01"></Attribute>
<Attribute NAME="diskType" VALUE="FlashDisk"></Attribute>
<Attribute NAME="deviceName" VALUE="/dev/sdac"></Attribute>
<Attribute NAME="id" VALUE="2_3"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="lunAutoCreate" VALUE="FALSE"></Attribute>
<Attribute NAME="isSystemLun" VALUE="FALSE"></Attribute>
<Attribute NAME="name" VALUE="2_3"></Attribute>
<Attribute NAME="lunSize" VALUE="22.8880615234375G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.hwadapter.diskadp.MSLUNImpl" NAME="4_0">
<Attribute NAME="physicalDrives" VALUE="1014M02HP5"></Attribute>
<Attribute NAME="cellDisk" VALUE="FD_08_cell01"></Attribute>
<Attribute NAME="diskType" VALUE="FlashDisk"></Attribute>
<Attribute NAME="deviceName" VALUE="/dev/sdn"></Attribute>
<Attribute NAME="id" VALUE="4_0"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="lunAutoCreate" VALUE="FALSE"></Attribute>
<Attribute NAME="isSystemLun" VALUE="FALSE"></Attribute>
<Attribute NAME="name" VALUE="4_0"></Attribute>
<Attribute NAME="lunSize" VALUE="22.8880615234375G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.hwadapter.diskadp.MSLUNImpl" NAME="4_1">
<Attribute NAME="physicalDrives" VALUE="1014M02HNN"></Attribute>
<Attribute NAME="cellDisk" VALUE="FD_09_cell01"></Attribute>
<Attribute NAME="diskType" VALUE="FlashDisk"></Attribute>
<Attribute NAME="deviceName" VALUE="/dev/sdo"></Attribute>
<Attribute NAME="id" VALUE="4_1"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="lunAutoCreate" VALUE="FALSE"></Attribute>
<Attribute NAME="isSystemLun" VALUE="FALSE"></Attribute>
<Attribute NAME="name" VALUE="4_1"></Attribute>
<Attribute NAME="lunSize" VALUE="22.8880615234375G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.hwadapter.diskadp.MSLUNImpl" NAME="4_2">
<Attribute NAME="physicalDrives" VALUE="1014M02HP2"></Attribute>
<Attribute NAME="cellDisk" VALUE="FD_10_cell01"></Attribute>
<Attribute NAME="diskType" VALUE="FlashDisk"></Attribute>
<Attribute NAME="deviceName" VALUE="/dev/sdp"></Attribute>
<Attribute NAME="id" VALUE="4_2"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="lunAutoCreate" VALUE="FALSE"></Attribute>
<Attribute NAME="isSystemLun" VALUE="FALSE"></Attribute>
<Attribute NAME="name" VALUE="4_2"></Attribute>
<Attribute NAME="lunSize" VALUE="22.8880615234375G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.hwadapter.diskadp.MSLUNImpl" NAME="4_3">
<Attribute NAME="physicalDrives" VALUE="1014M02HP4"></Attribute>
<Attribute NAME="cellDisk" VALUE="FD_11_cell01"></Attribute>
<Attribute NAME="diskType" VALUE="FlashDisk"></Attribute>
<Attribute NAME="deviceName" VALUE="/dev/sdq"></Attribute>
<Attribute NAME="id" VALUE="4_3"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="lunAutoCreate" VALUE="FALSE"></Attribute>
<Attribute NAME="isSystemLun" VALUE="FALSE"></Attribute>
<Attribute NAME="name" VALUE="4_3"></Attribute>
<Attribute NAME="lunSize" VALUE="22.8880615234375G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.hwadapter.diskadp.MSLUNImpl" NAME="5_0">
<Attribute NAME="physicalDrives" VALUE="1014M02JUD"></Attribute>
<Attribute NAME="cellDisk" VALUE="FD_12_cell01"></Attribute>
<Attribute NAME="diskType" VALUE="FlashDisk"></Attribute>
<Attribute NAME="deviceName" VALUE="/dev/sdv"></Attribute>
<Attribute NAME="id" VALUE="5_0"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="lunAutoCreate" VALUE="FALSE"></Attribute>
<Attribute NAME="isSystemLun" VALUE="FALSE"></Attribute>
<Attribute NAME="name" VALUE="5_0"></Attribute>
<Attribute NAME="lunSize" VALUE="22.8880615234375G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.hwadapter.diskadp.MSLUNImpl" NAME="5_1">
<Attribute NAME="physicalDrives" VALUE="1014M02JVF"></Attribute>
<Attribute NAME="cellDisk" VALUE="FD_13_cell01"></Attribute>
<Attribute NAME="diskType" VALUE="FlashDisk"></Attribute>
<Attribute NAME="deviceName" VALUE="/dev/sdw"></Attribute>
<Attribute NAME="id" VALUE="5_1"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="lunAutoCreate" VALUE="FALSE"></Attribute>
<Attribute NAME="isSystemLun" VALUE="FALSE"></Attribute>
<Attribute NAME="name" VALUE="5_1"></Attribute>
<Attribute NAME="lunSize" VALUE="22.8880615234375G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.hwadapter.diskadp.MSLUNImpl" NAME="5_2">
<Attribute NAME="physicalDrives" VALUE="1014M02JAP"></Attribute>
<Attribute NAME="cellDisk" VALUE="FD_14_cell01"></Attribute>
<Attribute NAME="diskType" VALUE="FlashDisk"></Attribute>
<Attribute NAME="deviceName" VALUE="/dev/sdx"></Attribute>
<Attribute NAME="id" VALUE="5_2"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="lunAutoCreate" VALUE="FALSE"></Attribute>
<Attribute NAME="isSystemLun" VALUE="FALSE"></Attribute>
<Attribute NAME="name" VALUE="5_2"></Attribute>
<Attribute NAME="lunSize" VALUE="22.8880615234375G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.hwadapter.diskadp.MSLUNImpl" NAME="5_3">
<Attribute NAME="physicalDrives" VALUE="1014M02JVH"></Attribute>
<Attribute NAME="cellDisk" VALUE="FD_15_cell01"></Attribute>
<Attribute NAME="diskType" VALUE="FlashDisk"></Attribute>
<Attribute NAME="deviceName" VALUE="/dev/sdy"></Attribute>
<Attribute NAME="id" VALUE="5_3"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="lunAutoCreate" VALUE="FALSE"></Attribute>
<Attribute NAME="isSystemLun" VALUE="FALSE"></Attribute>
<Attribute NAME="name" VALUE="5_3"></Attribute>
<Attribute NAME="lunSize" VALUE="22.8880615234375G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSFlashCache" NAME="enkcel01_FLASHCACHE">
<Attribute NAME="cellDisk" VALUE="FD_10_cell01,FD_02_cell01,FD_06_cell01,FD_01_cell01,FD_12_cell01,FD_03_cell01,FD_15_cell01,FD_04_cell01,FD_09_cell01,FD_14_cell01,FD_00_enkcel01,FD_11_cell01,FD_08_cell01,FD_00_cell01,FD_07_cell01,FD_13_cell01"></Attribute>
<Attribute NAME="degradedCelldisks"></Attribute>
<Attribute NAME="effectiveCacheSize" VALUE="365.25G"></Attribute>
<Attribute NAME="id" VALUE="8347628f-365d-436b-8dc0-30162514ae6a"></Attribute>
<Attribute NAME="status" VALUE="normal"></Attribute>
<Attribute NAME="name" VALUE="enkcel01_FLASHCACHE"></Attribute>
<Attribute NAME="creationTime" VALUE="1313092123392"></Attribute>
<Attribute NAME="size" VALUE="365.25G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSFlashCachePart" NAME="35fff6cd-001e-4ebf-8a48-a53b36b22fbf">
<Attribute NAME="cellDisk" VALUE="FD_10_cell01"></Attribute>
<Attribute NAME="id" VALUE="35fff6cd-001e-4ebf-8a48-a53b36b22fbf"></Attribute>
<Attribute NAME="status" VALUE="active"></Attribute>
<Attribute NAME="name" VALUE="35fff6cd-001e-4ebf-8a48-a53b36b22fbf"></Attribute>
<Attribute NAME="creationTime" VALUE="1313092123392"></Attribute>
<Attribute NAME="size" VALUE="22.828125G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSFlashCachePart" NAME="914968cf-bfdf-48e8-98f7-5159af6347cd">
<Attribute NAME="cellDisk" VALUE="FD_02_cell01"></Attribute>
<Attribute NAME="id" VALUE="914968cf-bfdf-48e8-98f7-5159af6347cd"></Attribute>
<Attribute NAME="status" VALUE="active"></Attribute>
<Attribute NAME="name" VALUE="914968cf-bfdf-48e8-98f7-5159af6347cd"></Attribute>
<Attribute NAME="creationTime" VALUE="1313092123392"></Attribute>
<Attribute NAME="size" VALUE="22.828125G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSFlashCachePart" NAME="9c7cf975-3291-4fa5-8527-7991e4e8d868">
<Attribute NAME="cellDisk" VALUE="FD_06_cell01"></Attribute>
<Attribute NAME="id" VALUE="9c7cf975-3291-4fa5-8527-7991e4e8d868"></Attribute>
<Attribute NAME="status" VALUE="active"></Attribute>
<Attribute NAME="name" VALUE="9c7cf975-3291-4fa5-8527-7991e4e8d868"></Attribute>
<Attribute NAME="creationTime" VALUE="1313092123392"></Attribute>
<Attribute NAME="size" VALUE="22.828125G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSFlashCachePart" NAME="db895100-a9d4-427c-960a-940a43bcda6d">
<Attribute NAME="cellDisk" VALUE="FD_01_cell01"></Attribute>
<Attribute NAME="id" VALUE="db895100-a9d4-427c-960a-940a43bcda6d"></Attribute>
<Attribute NAME="status" VALUE="active"></Attribute>
<Attribute NAME="name" VALUE="db895100-a9d4-427c-960a-940a43bcda6d"></Attribute>
<Attribute NAME="creationTime" VALUE="1313092123392"></Attribute>
<Attribute NAME="size" VALUE="22.828125G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSFlashCachePart" NAME="a86c5ab5-9b93-49cf-832b-125893ac23ee">
<Attribute NAME="cellDisk" VALUE="FD_12_cell01"></Attribute>
<Attribute NAME="id" VALUE="a86c5ab5-9b93-49cf-832b-125893ac23ee"></Attribute>
<Attribute NAME="status" VALUE="active"></Attribute>
<Attribute NAME="name" VALUE="a86c5ab5-9b93-49cf-832b-125893ac23ee"></Attribute>
<Attribute NAME="creationTime" VALUE="1313092123392"></Attribute>
<Attribute NAME="size" VALUE="22.828125G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSFlashCachePart" NAME="15d1c631-58fd-47d0-aa08-70328d97e07a">
<Attribute NAME="cellDisk" VALUE="FD_03_cell01"></Attribute>
<Attribute NAME="id" VALUE="15d1c631-58fd-47d0-aa08-70328d97e07a"></Attribute>
<Attribute NAME="status" VALUE="active"></Attribute>
<Attribute NAME="name" VALUE="15d1c631-58fd-47d0-aa08-70328d97e07a"></Attribute>
<Attribute NAME="creationTime" VALUE="1313092123392"></Attribute>
<Attribute NAME="size" VALUE="22.828125G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSFlashCachePart" NAME="d0a06d79-d65d-485a-b5a9-d8db55a07a4b">
<Attribute NAME="cellDisk" VALUE="FD_15_cell01"></Attribute>
<Attribute NAME="id" VALUE="d0a06d79-d65d-485a-b5a9-d8db55a07a4b"></Attribute>
<Attribute NAME="status" VALUE="active"></Attribute>
<Attribute NAME="name" VALUE="d0a06d79-d65d-485a-b5a9-d8db55a07a4b"></Attribute>
<Attribute NAME="creationTime" VALUE="1313092123392"></Attribute>
<Attribute NAME="size" VALUE="22.828125G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSFlashCachePart" NAME="e8542b03-e2e8-4cc6-8bdc-1baf88da17cf">
<Attribute NAME="cellDisk" VALUE="FD_04_cell01"></Attribute>
<Attribute NAME="id" VALUE="e8542b03-e2e8-4cc6-8bdc-1baf88da17cf"></Attribute>
<Attribute NAME="status" VALUE="active"></Attribute>
<Attribute NAME="name" VALUE="e8542b03-e2e8-4cc6-8bdc-1baf88da17cf"></Attribute>
<Attribute NAME="creationTime" VALUE="1313092123392"></Attribute>
<Attribute NAME="size" VALUE="22.828125G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSFlashCachePart" NAME="ef3893ef-d779-4a8e-b738-f7c7a85a7a65">
<Attribute NAME="cellDisk" VALUE="FD_09_cell01"></Attribute>
<Attribute NAME="id" VALUE="ef3893ef-d779-4a8e-b738-f7c7a85a7a65"></Attribute>
<Attribute NAME="status" VALUE="active"></Attribute>
<Attribute NAME="name" VALUE="ef3893ef-d779-4a8e-b738-f7c7a85a7a65"></Attribute>
<Attribute NAME="creationTime" VALUE="1313092123392"></Attribute>
<Attribute NAME="size" VALUE="22.828125G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSFlashCachePart" NAME="f01bf8e0-3e59-4c2d-bdc5-f83b230c72b4">
<Attribute NAME="cellDisk" VALUE="FD_14_cell01"></Attribute>
<Attribute NAME="id" VALUE="f01bf8e0-3e59-4c2d-bdc5-f83b230c72b4"></Attribute>
<Attribute NAME="status" VALUE="active"></Attribute>
<Attribute NAME="name" VALUE="f01bf8e0-3e59-4c2d-bdc5-f83b230c72b4"></Attribute>
<Attribute NAME="creationTime" VALUE="1313092123392"></Attribute>
<Attribute NAME="size" VALUE="22.828125G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSFlashCachePart" NAME="124ef0dc-15b6-4f35-914d-8e7af9c2ff7c">
<Attribute NAME="cellDisk" VALUE="FD_00_enkcel01"></Attribute>
<Attribute NAME="id" VALUE="124ef0dc-15b6-4f35-914d-8e7af9c2ff7c"></Attribute>
<Attribute NAME="status" VALUE="active"></Attribute>
<Attribute NAME="name" VALUE="124ef0dc-15b6-4f35-914d-8e7af9c2ff7c"></Attribute>
<Attribute NAME="creationTime" VALUE="1313092123392"></Attribute>
<Attribute NAME="size" VALUE="22.828125G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSFlashCachePart" NAME="bfa93ed1-0965-4b54-a0a2-3d9625fa345d">
<Attribute NAME="cellDisk" VALUE="FD_11_cell01"></Attribute>
<Attribute NAME="id" VALUE="bfa93ed1-0965-4b54-a0a2-3d9625fa345d"></Attribute>
<Attribute NAME="status" VALUE="active"></Attribute>
<Attribute NAME="name" VALUE="bfa93ed1-0965-4b54-a0a2-3d9625fa345d"></Attribute>
<Attribute NAME="creationTime" VALUE="1313092123392"></Attribute>
<Attribute NAME="size" VALUE="22.828125G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSFlashCachePart" NAME="ccd6ae62-5676-4e86-aa62-126a9a5d8876">
<Attribute NAME="cellDisk" VALUE="FD_08_cell01"></Attribute>
<Attribute NAME="id" VALUE="ccd6ae62-5676-4e86-aa62-126a9a5d8876"></Attribute>
<Attribute NAME="status" VALUE="active"></Attribute>
<Attribute NAME="name" VALUE="ccd6ae62-5676-4e86-aa62-126a9a5d8876"></Attribute>
<Attribute NAME="creationTime" VALUE="1313092123392"></Attribute>
<Attribute NAME="size" VALUE="22.828125G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSFlashCachePart" NAME="afabcda1-bb4d-4c46-96e0-e3f8245ab1e9">
<Attribute NAME="cellDisk" VALUE="FD_00_cell01"></Attribute>
<Attribute NAME="id" VALUE="afabcda1-bb4d-4c46-96e0-e3f8245ab1e9"></Attribute>
<Attribute NAME="status" VALUE="active"></Attribute>
<Attribute NAME="name" VALUE="afabcda1-bb4d-4c46-96e0-e3f8245ab1e9"></Attribute>
<Attribute NAME="creationTime" VALUE="1313092123392"></Attribute>
<Attribute NAME="size" VALUE="22.828125G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSFlashCachePart" NAME="14ac943a-5589-4d86-bb93-530b1c7b809f">
<Attribute NAME="cellDisk" VALUE="FD_07_cell01"></Attribute>
<Attribute NAME="id" VALUE="14ac943a-5589-4d86-bb93-530b1c7b809f"></Attribute>
<Attribute NAME="status" VALUE="active"></Attribute>
<Attribute NAME="name" VALUE="14ac943a-5589-4d86-bb93-530b1c7b809f"></Attribute>
<Attribute NAME="creationTime" VALUE="1313092123392"></Attribute>
<Attribute NAME="size" VALUE="22.828125G"></Attribute>
</Target>
<Target TYPE="oracle.ossmgmt.ms.core.MSFlashCachePart" NAME="39555b4d-2503-48fc-a4bb-509924cd3ddd">
<Attribute NAME="cellDisk" VALUE="FD_13_cell01"></Attribute>
<Attribute NAME="id" VALUE="39555b4d-2503-48fc-a4bb-509924cd3ddd"></Attribute>
<Attribute NAME="status" VALUE="active"></Attribute>
<Attribute NAME="name" VALUE="39555b4d-2503-48fc-a4bb-509924cd3ddd"></Attribute>
<Attribute NAME="creationTime" VALUE="1313092123392"></Attribute>
<Attribute NAME="size" VALUE="22.828125G"></Attribute>
</Target>
</Targets>
}}}
http://blogs.oracle.com/ATeamExalogicCAF/entry/exalogic_networking_part_1
! Exalogic OBE Series:
''Oracle Exalogic: Storage Appliance'' http://apex.oracle.com/pls/apex/f?p=44785:24:2875967671743702::NO:24:P24_CONTENT_ID,P24_PREV_PAGE:5110,29
http://msdn.microsoft.com/en-us/library/ff700515.aspx
http://betterandfasterdecisions.com/2011/01/10/improving-calculation-performance-in-excelfinal/
http://betterandfasterdecisions.com/2011/01/07/improving-calculation-performance-in-excel/
http://betterandfasterdecisions.com/2011/01/08/improving-calculation-performance-in-excelpart-2/
http://betterandfasterdecisions.com/2011/01/09/improving-calculation-performance-in-excelpart-3/
http://social.msdn.microsoft.com/Forums/en/exceldev/thread/b7c63f9d-e373-4455-a793-f58707353032
http://www.databison.com/index.php/excel-slow-to-respond-avoiding-mistakes-that-make-excel-slow-down-to-a-crawl/
http://www.oracle.com/technetwork/database/focus-areas/bi-datawarehousing/twp-explain-the-explain-plan-052011-393674.pdf
{{{
In order to determine if you are looking at a good execution plan or not, you need to understand how
the Optimizer determined the plan in the first place. You should also be able to look at the execution
plan and assess if the Optimizer has made any mistake in its estimations or calculations, leading to a
suboptimal plan. The components to assess are:
• Cardinality– Estimate of the number of rows coming out of each of the operations.
• Access method – The way in which the data is being accessed, via either a table scan or index
access.
• Join method – The method (e.g., hash, sort-merge, etc.) used to join tables with each other.
• Join type – The type of join (e.g., outer, anti, semi, etc.).
• Join order – The order in which the tables are joined to each other.
• Partition pruning – Are only the necessary partitions being accessed to answer the query?
• Parallel Execution – In case of parallel execution, is each operation in the plan being
conducted in parallel? Is the right data redistribution method being used?
}}}
http://awads.net/wp/2011/05/17/shell-script-output-to-oracle-database-via-external-table/?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+EddieAwadsFeed+%28Eddie+Awad%27s+blog%29
/***
|Name:|ExtentTagButtonPlugin|
|Description:|Adds a New tiddler button in the tag drop down|
|Version:|3.2 ($Rev: 3861 $)|
|Date:|$Date: 2008-03-08 10:53:09 +1000 (Sat, 08 Mar 2008) $|
|Source:|http://mptw.tiddlyspot.com/#ExtendTagButtonPlugin|
|Author:|Simon Baird <simon.baird@gmail.com>|
|License|http://mptw.tiddlyspot.com/#TheBSDLicense|
***/
//{{{
window.onClickTag_mptw_orig = window.onClickTag;
window.onClickTag = function(e) {
window.onClickTag_mptw_orig.apply(this,arguments);
var tag = this.getAttribute("tag");
var title = this.getAttribute("tiddler");
// Thanks Saq, you're a genius :)
var popup = Popup.stack[Popup.stack.length-1].popup;
createTiddlyElement(createTiddlyElement(popup,"li",null,"listBreak"),"div");
wikify("<<newTiddler label:'New tiddler' tag:'"+tag+"'>>",createTiddlyElement(popup,"li"));
return false;
}
//}}}
http://oracle-randolf.blogspot.com/2011/12/extended-displaycursor-with-rowsource.html
''download link'' http://www.sqltools-plusplus.org:7676/media/xplan_extended_display_cursor.sql
http://blogs.oracle.com/optimizer/entry/extended_statistics
http://tonguc.wordpress.com/2008/03/11/a-little-more-on-external-tables/
http://tonguc.wordpress.com/2007/08/09/unload-data-with-external-tables-and-data-pump/
http://prsync.com/oracle/owb-gr-ndash-bulk-file-loading---more-faster-easier-12451/
http://www.oracle-developer.net/display.php?id=512
http://tkyte.blogspot.com/2006/08/interesting-data-set.html
http://sueharper.blogspot.com/2006/08/i-didnt-know-you-could-do-that.html <-- SQL Developer demo
On hardware and ETL
http://glennfawcett.wordpress.com/2010/06/08/open-storage-s7000-with-exadata-a-good-fit-etlelt-operations/
http://www.mistersoft.org/freelancing/getafreelancer/2009/10/Javascript-Oracle-SQL-Visual-Basic-XML-Extract-xml-from-Oracle-Db-then-reload-in-another-Oracle-DB-nbsp-519463.html
http://www.cosort.com/products/FACT
http://www.access-programmers.co.uk/forums/showthread.php?t=162752
http://www.codeguru.com/forum/showthread.php?t=466326
http://www.attunity.com/forums/data-access/running-multiple-data-extract-sql-jcl-1233.html
http://www.oracle.com/technology/pub/articles/jain-xmldb.html
http://www.scribd.com/doc/238504/Load-XML-to-Oracle-Database
http://docs.fedoraproject.org/en-US/Fedora/16/html/Release_Notes/sect-Release_Notes-Changes_for_Sysadmin.html
http://fedoraproject.org/wiki/Releases/16/FeatureList
http://fedoraproject.org/wiki/Features/XenPvopsDom0
http://blog.xen.org/index.php/2011/05/13/xen-support-upstreamed-to-qemu/
''RSS to Groups''
http://www.facebook.com/topic.php?uid=4915599711&topic=4658#topic_top
http://www.youtube.com/watch?v=HgGxgX9KFfc
timeline
https://www.facebook.com/about/timeline
http://iggyfernandez.wordpress.com/2011/07/04/take-that-exadata-fast-index-creation-using-noparallel/
http://www.rittmanmead.com/files/oow2010_bryson_fault_tolerance.pdf
http://www.rittmanmead.com/2010/02/data-warehouse-fault-tolerance-an-introduction/
http://www.rittmanmead.com/2010/02/data-warehouse-fault-tolerance-part-1-resuming/
http://www.rittmanmead.com/2010/02/data-warehouse-fault-tolerance-part-2-restarting/
http://www.rittmanmead.com/2010/02/data-warehouse-fault-tolerance-part-3-restoring/
http://blogs.oracle.com/kirkMcgowan/2007/06/who_are_the_rac_pack.html
http://blogs.oracle.com/kirkMcgowan/2007/06/whos_afraid_of_the_big_bad_rac.html
http://blogs.oracle.com/kirkMcgowan/2007/08/fencing_yet_again.html
<<<
Fencing - yet again
By kirk.mcgowan on August 9, 2007 12:12 AM
Sheesh. It is amazing to me how this topic continues to spin. Clearly people just like speculate, and I suppose a little controversy can serve to energize, but this topic seems to have taken on a life of its own. The real question in my mind is why do you care? Fencing is a core functionality of the cluster infrastructure. You cant control it, or influence it in any way. It has to be there in some form, or bad things will happen (corruptions being one of them). And if the particular fencing implementation in Oracle clusterware was fundamentally flawed, it would have been exposed long ago over the course of the 5+ years of existence, and the thousands of deployments.
So any discussion of fencing and the Oracle implementation is purely theoretical, and largely academic, since it has more than proven itself. ok. I enjoy lively academic or theortical technical debate, particularly over a beer or 2, but not at the expense of ignoring reality. So lets pull apart the discussions Ive seen, and address them point by point. Note that this discussion is focused solely on Oracle Clusterware used in conjunction with RAC.
Oracle Clusterware uses the Stonith algorithm. This is only partially true. Oracles fencing mechanism is based on the Stonith Algorithm. However, there is no general design rule of how that algorithm should be implemented. Strict use of the algorithm is complicated, or perhaps even prevented, by the fact that there is no API on many platforms for doing a remote power-off reset of the system. So the current implementation is in fact a suicide, as opposed to an execution. As system/OS vendors makes such APIs available, Oracle will be able to make use of them.
Suicide is not reliable because you are expecting an already unhealthy system to respond to some other directive. Sure. There are corner cases where this is a possibility, but these have proven to be very rare, they have been fixed when they appeared, and the real underlying concern, which is exposure to data corruption, in non-existent (see next point). This issue is actually related to the FUD we often see about some cluster managers running in Kernel mode vs user space where Oracle Clusterware runs. Well ... If the OS kernel is misbehaving, then it doesnt really matter where the clusterware runs - bad things are going to happen. (Weve seen this occur in several situations.) If someone makes a programming error in the clusterware code and it is running in kernel mode, then the OS kernel is exposed. (This is theoretical since Oracle clusterware does not run in kernel mode, but its not like this hasnt happened before in other envrionments where user/application code is allowed to run in kernel space). And lastly, if running in userspace, and other user space programs misbehave, then the obvious concern in the sensitivity the cluster has to that misbehaving application - like not being able to get CPU time to communicate in a timely manner. We have certainly seen this kind of scenario many times, but in general it is easily mitigated by renicing or increasing the priority of the key background communication processes. Bottom line is that suicide has proven sufficiently reliable. Any claim to the contrary is pure speculation.
Because suicide is unreliable, you are exposed to data corruptions. Not true. Either in theory, or in practice. Its no secret RAC does unbuffered IO (bypasses the OS cache), and any IO done in a RAC environment is in complete coordination with the other nodes in the cluster. Cache fusion assures this. And this holds true in a split brain condition. If RAC cant coordinate the write with the other nodes as a result of interconnect failure, then that write is put on hold until communication is restored, or until the eviction protocol is invoked.
This is obviously over simplified, but frankly, so are the criticisms in this area. The challenge to any non-believer is the following: Find me a repeatable test case where interconnect failure, and the resulting fencing algorithm implemented in Oracle clusterware, results in database corruption. If you are successful, I will:
1. Fall off my chair in disbelief
2. Write : They were right, I was wrong, 1000 times in my blog, and apologize profusely to anyone who may have taken offence to the claims made in this posting.
3. File a bug, and get the damn thing fixed.
Now that I think about it, it would probably be prudent to reverse 2. and 3. Note however, that in the off chance you are successful, it is a bug, and will be fixed as such. As opposed to a fundamental architectural flaw.
So lets put this one to bed. Next topic.
<<<
http://msdn.microsoft.com/en-us/library/aa365247(v=vs.85).aspx
http://www.computing.net/answers/windows-xp/file-name-or-extension-is-too-long/183526.html
-- a workaround on this on Windows 7 is to map the folder you want to copy on a network drive.. then create a short directory on c:\x then do the copy!
http://arjudba.blogspot.com/2008/05/how-to-discover-find-dbid.html
http://oraclepoint.com/oralife/2010/10/21/how-to-find-the-date-when-a-database-object-role-was-created/
http://dboptimizer.com/?p=694
http://en.wikipedia.org/wiki/IEEE_1394
http://arup.blogspot.com/2010/06/build-simple-firewall-for-databases.html
http://www.flashconf.com/how-to/how-to-install-flash-player-on-centosredhat-linux/
Master Note For Oracle Flashback Technologies [ID 1138253.1]
Flashback Database Best Practices & Performance
Doc ID: Note:565535.1
What Do All 10g Flashback Features Rely on and what are their Limitations ?
Doc ID: Note:435998.1
Creating a 10gr2 Data Guard Physical Standby database with Real-Time apply [ID 343424.1]
11gR1 Data Guard Portal [ID 798974.1]
Master Note for Data Guard [ID 1101938.1]
How To Open Physical Standby For Read Write Testing and Flashback [ID 805438.1]
Step by Step Guide on How To Reinstate Failed Primary Database into Physical Standby [ID 738642.1]
Using RMAN Effectively In A Dataguard Environment. [ID 848716.1]
Reinstating a Physical Standby Using Backups Instead of Flashback [ID 416310.1]
Oracle11g Data Guard: Database Rolling Upgrade Shell Script [ID 949322.1]
Steps to perform for Rolling forward a standby database using RMAN incremental backup when primary and standby are in ASM filesystem [ID 836986.1]
http://rnm1978.wordpress.com/2011/06/28/oracle-11g-how-to-force-a-sql_id-to-use-a-plan_hash_value-using-sql-baselines/
By Tanel Poder:
cat /tmp/x | awk '{ printf "%s", $0 ; if (NR % 3 == 0) print } END { print }'
Getting Started With Forms 9i - Hints and Tips
Doc ID: Note:237191.1
Troubleshooting Web Deployed Oracle Forms Performance Issues
Doc ID: Note:363285.1
-- NETWORK PERFORMANCE
Bandwith Per User Session For Oracle Form Base Web Deployment In Oracle9ias
Doc ID: Note:287237.1
How to Find Out How Much Network Traffic is Created by Web Deployed Forms?
Doc ID: Note:109597.1
Few Basic Techniques to Improve Performance of Forms.
Doc ID: Note:221529.1
-- MIGRATE TO 9i/10g
Migrating to Oracle Forms 9i / 10g - Forms Upgrade Center
Doc ID: Note:234540.1
-- CORRUPTION
Recovering Corrupted Forms
Doc ID: 161430.1
http://jonathanlewis.wordpress.com/2010/07/13/fragmentation-1/
http://jonathanlewis.wordpress.com/2010/07/16/fragmentation-2/
http://jonathanlewis.wordpress.com/2010/07/19/fragmentation-3/
http://jonathanlewis.wordpress.com/2010/07/22/fragmentation-4/
{{{
For each Oracle RAC database homes and the GI home that are being patched, run the following commands as the home owner to extract the OPatch utility.
unzip <OPATCH-ZIP> -d <ORACLE_HOME>
<ORACLE_HOME>/OPatch/opatch version
-----------------
As the Grid home owner execute:
%<ORACLE_HOME>/OPatch/ocm/bin/emocmrsp
-----------------
%<ORACLE_HOME>/OPatch/opatch lsinventory -detail -oh <ORACLE_HOME>
-----------------
As the Oracle RAC database home owner execute:
%<ORACLE_HOME>/bin/emctl stop dbconsole
-----------------
The Opatch utility has automated the patch application for the Oracle Grid Infrastructure (GI) home and the Oracle RAC database homes. It operates by querying existing configurations and automating the steps required for patching each Oracle RAC database home of same version and the GI home.
The utility must be executed by an operating system (OS) user with root privileges (usually the user root), and it must be executed on each node in the cluster if the GI home or Oracle RAC database home is in Non-shared storage. The utility should not be run in parallel on the cluster nodes.
Depending on command line options specified, one invocation of Opatch can patch the GI home, one or more Oracle RAC database homes, or both GI and Oracle RAC database homes of the same Oracle release version. You can also roll back the patch with the same selectivity.
Add the directory containing the opatch to the $PATH environment variable.
For example:
export PATH=$PATH:<GI_HOME path>/OPatch
To patch GI home and all Oracle RAC database homes of the same version:
#opatch auto <UNZIPPED_PATCH_LOCATION>
To patch only the GI home:
#opatch auto <UNZIPPED_PATCH_LOCATION> -oh <GI_HOME>
To patch one or more Oracle RAC database homes:
#opatch auto <UNZIPPED_PATCH_LOCATION> -oh <path to RAC database1 home>, <path of the RAC database1 home>
To roll back the patch from the GI home and each Oracle RAC database home:
#opatch auto <UNZIPPED_PATCH_LOCATION> -rollback
To roll back the patch from the GI home:
#opatch auto <UNZIPPED_PATCH_LOCATION> -oh <path to GI home> -rollback
To roll back the patch from the Oracle RAC database home:
#opatch auto <UNZIPPED_PATCH_LOCATION> -oh <path to RAC database home> -rollback
-----------------
2.6 Patch Post-Installation Instructions for Databases Created or Upgraded after Installation of PSU 11.2.0.2.3 in the Oracle Home
These instructions are for a database that is created or upgraded after the installation of PSU 11.2.0.2.3.
You must execute the steps in Section 2.5.2, "Loading Modified SQL Files into the Database" for any new database only if it was created by any of the following methods:
Using DBCA (Database Configuration Assistant) to select a sample database (General, Data Warehouse, Transaction Processing)
Using a script that was created by DBCA that creates a database from a sample database
There are no actions required for databases that have been upgraded.
}}}
Loving GIMP for this LOMOfied photo :)
Check the original photo here http://www.facebook.com/photo.php?pid=4737724&l=6a5d70369b&id=552113028
To LOMOfy go here http://blog.grzadka.info/2010/07/02/lomografia-w-gimp/
BTW, the author (Samuel Albrecht) of the GIMP plugin emailed me with the batch mode (elsamuko-lomo-batch.scm).. go here for details http://sites.google.com/site/elsamuko/gimp/lomo
now you can run it on all your digital photos as
gimp -i -b '(elsamuko-lomo-batch "*.JPG" 1.5 10 10 0.8 5 1 3 128 2 FALSE FALSE TRUE FALSE 0 0 115)' -b '(gimp-quit 0)'
the 10th input value is the "color effect", see below:
0 - neutral
1 - old red
2 - xpro green
3 - blue
4 - intense red
5 - movie
6 - vintage-look
7 - LAB
8 - light blue
9 - redscale
10 - retro bw
11 - paynes
12 - sepia
Enjoy!
http://www.afterthedeadline.com
''Evernote''
How are attachments stored on my local machine? https://www.evernote.com/shard/s2/note/4cab39c8-f700-4570-881d-bfd5dff2cf0f/ensupport/faq#b=c88dd0ac-32c1-4bc5-b3f4-50612072e0ad&n=4cab39c8-f700-4570-881d-bfd5dff2cf0f
http://forensicartifacts.com/2011/06/evernote-note-storage/
File Locations
On Windows 7: C:\Users\\AppData\Local\Evernote\Evernote\Database\.exb
http://stackoverflow.com/questions/4471725/how-to-open-a-evernote-file-extension-exb
<<<
here are the features that I like -- 1) i heavily take notes on paper/mind maps/etc and then I take a photo of it (iphone) then send it to my evernote email 2) the text on the photos are searchable CTRL-F on all notes/photos for a search string, it even recognizes my handwriting 3) you can password protect notes 4) I can embed word/excel/pdf on each note 5) I can have a sharable link and post it on my tiddlywiki 6) there's a clip feature which you can use for webpages and emails and I'm sure there are more stuff
so for my note taking purposes evernote alone would not suffice, so I also use tiddlywiki http://karlarao.tiddlyspot.com/#About to organize them in ala-mind-map manner.. and both of them are in the cloud..If I'll have a laptop break down now, I can pull the tiddlywiki save it in a folder and just sync again my evernote.. as well as my dropbox folder.. and I'll be productive again.
<<<
-- WINDOWS
C:\Windows\system32>fsutil fsinfo ntfsinfo c:
NTFS Volume Serial Number : 0xe278db3378db0567
Version : 3.1
Number Sectors : 0x000000001d039fff
Total Clusters : 0x0000000003a073ff
Free Clusters : 0x000000000059f08d
Total Reserved : 0x0000000000000870
Bytes Per Sector : 512
Bytes Per Cluster : 4096
Bytes Per FileRecord Segment : 1024
Clusters Per FileRecord Segment : 0
Mft Valid Data Length : 0x00000000141c0000
Mft Start Lcn : 0x00000000000c0000
Mft2 Start Lcn : 0x0000000000000002
Mft Zone Start : 0x000000000263a720
Mft Zone End : 0x0000000002643c40
RM Identifier: BA5F6457-522B-11E0-B977-D967961022A3
C:\Windows\system32>
C:\Windows\system32>
http://arjudba.blogspot.com/2008/07/how-to-determine-os-block-size-for.html
{{{
Go to the bdump directory to run these shell commands
Date and errors in alert.log
cat alert_+ASM.log | \
awk 'BEGIN{buf=""}
/[0-9]:[0-9][0-9]:[0-9]/{buf=$0}
/ORA-/{print buf,$0}' > ORA-errors-$(date +%Y%m%d%H%M).txt
Use the following script to easily find the trace files on the alert log. Just run it on the bdump directory
cat alert_prod1.log | \
awk 'BEGIN{buf=""}
/[0-9]:[0-9][0-9]:[0-9]/{buf=$0}
/.trc/{print buf,$0}'
Use the following script to easily find the ORA- errors and trace files on the alert log. Just run it on the bdump directory
cat alert_prod1.log | \
awk 'BEGIN{buf=""}
/[0-9]:[0-9][0-9]:[0-9]/{buf=$0}
/.trc|ORA-/{print buf,$0}'
Date of startups in the alert.log
cat RDA_LOG_alert_log.txt | \
awk 'BEGIN{buf=""}
/[0-9]:[0-9][0-9]:[0-9]/{buf=$0}
/Starting ORACLE/{print buf,$0}' > StartupTime-$(date +%Y%m%d%H%M).txt
Date of startups in the RDA alert.log
cat RDA_LOG_alert_log.txt | \
awk 'BEGIN{buf=""}
/[0-9]:[0-9][0-9]:[0-9]/{buf=$0}
/Starting ORACLE/{print buf,$0}' > StartupTime-$(date +%Y%m%d%H%M).txt
########################################################################
-- create a file called getalert
-- run it as ./getalert <node name>
export node=$1
cat alert_"$node".log | \
awk 'BEGIN{buf=""}
/[0-9]:[0-9][0-9]:[0-9]/{buf=$0}
/.trc|ORA-/{print buf,$0}' > alert_"$node"_ORA-TRC_$(date +%Y%m%d%H%M).log
cat alert_"$node".log | \
awk 'BEGIN{buf=""}
/[0-9]:[0-9][0-9]:[0-9]/{buf=$0}
/Starting ORACLE/{print buf,$0}' > alert_"$node"_startup_$(date +%Y%m%d%H%M).log
}}}
''command here''
{{{
cat `cat /etc/oraInst.loc | grep -i inventory | sed 's/..............\(.*\)/\1/'`/ContentsXML/inventory.xml | grep HOME
}}}
$ cat `cat /etc/oraInst.loc | grep -i inventory | sed 's/..............\(.*\)/\1/'`/ContentsXML/inventory.xml | grep HOME
<HOME_LIST>
<HOME NAME="OraDb11g_home1" LOC="/u01/app/oracle/product/11.2.0/dbhome_1" TYPE="O" IDX="1"/>
<HOME NAME="oms11g1" LOC="/u01/app/oracle/product/middleware/oms11g" TYPE="O" IDX="2"/>
<HOME NAME="agent11g1" LOC="/u01/app/oracle/product/middleware/agent11g" TYPE="O" IDX="3"/>
<HOME NAME="common11g1" LOC="/u01/app/oracle/product/middleware/oracle_common" TYPE="O" IDX="4"/>
<HOME NAME="webtier11g1" LOC="/u01/app/oracle/product/middleware/Oracle_WT" TYPE="O" IDX="5"/>
</HOME_LIST>
$ vi gethome.sh
oracle@emgc11g:/home/oracle:emrep
$ chmod 755 gethome.sh
oracle@emgc11g:/home/oracle:emrep
$ ''sh gethome.sh''
<HOME_LIST>
<HOME NAME="OraDb11g_home1" LOC="/u01/app/oracle/product/11.2.0/dbhome_1" TYPE="O" IDX="1"/>
<HOME NAME="oms11g1" LOC="/u01/app/oracle/product/middleware/oms11g" TYPE="O" IDX="2"/>
<HOME NAME="agent11g1" LOC="/u01/app/oracle/product/middleware/agent11g" TYPE="O" IDX="3"/>
<HOME NAME="common11g1" LOC="/u01/app/oracle/product/middleware/oracle_common" TYPE="O" IDX="4"/>
<HOME NAME="webtier11g1" LOC="/u01/app/oracle/product/middleware/Oracle_WT" TYPE="O" IDX="5"/>
</HOME_LIST>
{{{
# logon storms by hour
fgrep "30-OCT-2010" listener.log | fgrep "establish" | \
awk '{ print $1 " " $2 }' | awk -F: '{ print $1 }' | \
sort | uniq –c
# logon storms by minute
fgrep "30-OCT-2010 22:" listener.log | fgrep "establish" | \
awk '{ print $1 " " $2 }' | awk -F: '{ print $1 ":" $2 }' | \
sort | uniq –c
}}}
* CPU-Z
* System Information for Windows - Gabriel Topala
* WinDirStat
-- nls_length_semantics
LS_LENGTH_SEMANTICS enables you to create CHAR and VARCHAR2 columns using either byte or character length semantics. Existing columns are not affected.
NCHAR, NVARCHAR2, CLOB, and NCLOB columns are always character-based. You may be required to use byte semantics in order to maintain compatibility with existing applications.
NLS_LENGTH_SEMANTICS does not apply to tables in SYS and SYSTEM. The data dictionary always uses byte semantics.
http://oracle.ittoolbox.com/groups/technical-functional/oracle-db-installs-l/need-to-change-nls_length_semantics-from-byte-to-char-on-production-systems-1168275
http://www.oracle-base.com/articles/9i/CharacterSemanticsAndGlobalization9i.php
http://decipherinfosys.wordpress.com/2007/02/19/nls_length_semantics/
The National Character Set ( NLS_NCHAR_CHARACTERSET ) in Oracle 9i, 10g and 11g (Doc ID 276914.1)
Unicode Character Sets In The Oracle Database (Doc ID 260893.1)
AL32UTF8 / UTF8 (Unicode) Database Character Set Implications (Doc ID 788156.1)
Changing the NLS_CHARACTERSET to AL32UTF8 / UTF8 (Unicode) (Doc ID 260192.1)
Complete Checklist for Manual Upgrades to 11gR2 (Doc ID 837570.1)
Complete Upgrade Checklist for Manual Upgrades from 8.X / 9.0.1 to Oracle9iR2 (9.2.0) (Doc ID 159657.1)
Problems connecting to AL32UTF8 databases from older versions (8i and lower) (Doc ID 237593.1)
NLS considerations in Import/Export - Frequently Asked Questions (Doc ID 227332.1)
-- TIME
Time related columns can get ahead of SYSDATE
Doc ID: Note:268967.1
Impact of changes to daylight saving time (DST) rules on the Oracle database
Doc ID: Note:357056.1
What are the effects of changing the system clock on an Oracle Server instance?
Doc ID: Note:77370.1
Y2K FAQ - Server Products
Doc ID: Note:69388.1
-- DST
http://www.pythian.com/news/18111/have-your-scheduler-jobs-changed-run-times-since-dst/
— GNOME3 FALLBACK MODE
http://forums.fedoraforum.org/showthread.php?t=263491
https://www.virtualbox.org/wiki/Downloads
* install kernel-headers, kernel-devel
* install vbox guest additions
* install vbox extension pack
* enable 3d on vbox
* reboot
http://goprouser.freeforums.org/how-do-you-carry-your-gopro-t362-20.html
http://38.114.158.111/
http://forums.oracle.com/forums/thread.jspa?messageID=4306770
http://cglendenningoracle.blogspot.com/2010/02/streams-vs-golden-gate.html
GoldenGate Quick Start Tutorials
http://gavinsoorma.com/oracle-goldengate-veridata-web/
Oracle Active Data Guard and Oracle GoldenGate
http://www.oracle.com/technetwork/database/features/availability/dataguardgoldengate-096557.html
Oracle GoldenGate high availability using Oracle Clusterware
https://docs.google.com/viewer?url=http://www.oracle.com/technetwork/middleware/goldengate/overview/ha-goldengate-whitepaper-128197.pdf
Zero-Downtime Database Upgrades Using Oracle GoldenGate
https://docs.google.com/viewer?url=http://www.oracle.com/technetwork/middleware/goldengate/overview/ggzerodowntimedatabaseupgrades-174928.pdf
Oracle GoldenGate 11g: Real-Time Access to Real-Time Information
https://docs.google.com/viewer?url=http://www.oracle.com/us/products/middleware/data-integration/goldengate11g-realtime-wp-168153.pdf%3FssSourceSiteId%3Dotnen
Oracle GoldenGate Tutorial 10- performing a zero downtime cross platform migration and 11g database upgrade
http://gavinsoorma.wordpress.com/2010/03/08/oracle-goldengate-tutorial-10-performing-a-zero-downtime-cross-platform-migration-and-11g-database-upgrade/
http://awads.net/wp/2006/04/17/orana-powered-by-google-and-feedburner/
google chrome linux
http://superuser.com/questions/52428/where-does-google-chrome-for-linux-store-user-specific-data
http://www.google.com/support/forum/p/Chrome/thread?tid=328b2114587dd5ee&hl=en
http://www.google.com/support/forum/p/Chrome/thread?tid=08e9aa36ad5159cb&hl=en <-- profile
http://www.google.ru/support/forum/p/Chrome/thread?tid=6a3d820ca818336b&hl=en <-- transfer settings
http://www.google.com/support/forum/p/Chrome/thread?tid=328b2114587dd5ee&hl=en <-- sync
google chrome windows
http://www.google.com.ph/support/forum/p/Chrome/thread?tid=34397b8ff6a48a99&hl=en <-- windows
http://www.walkernews.net/2010/09/13/how-to-backup-and-restore-google-chrome-bookmark-history-plugin-and-theme/
sync
http://www.google.com/support/chrome/bin/answer.py?answer=185277
this is how onecommand creates grid disks
http://www.evernote.com/shard/s48/sh/65b7e258-543e-4d79-a855-78458a82b830/4f043b0a2dbc947dc603b93718974910
http://www.pythian.com/news/16103/how-to-gns-process-log-level-for-diagnostic-purposes-11g-r2-rac-scan-gns/
http://coskan.wordpress.com/2010/09/11/dbca-could-not-startup-the-asm-instance-configured-on-this-node-error-for-lower-versions-with-11gr2-gi/
http://www.perfdynamics.com/Manifesto/gcaprules.html
http://karlarao.wordpress.com/2010/07/27/guesstimations
11gR2 Grid Infrastructure Redundant Interconnect and ora.cluster_interconnect.haip [ID 1210883.1]
https://forums.oracle.com/forums/thread.jspa?threadID=2220975
http://oraxperts.com/wordpress/highly-available-ip-redundant-private-ip-in-oracle-grid-infrastructure-11g-release-2-11-2-0-2-or-above/
http://www.oracleangels.com/2011/05/public-virtual-private-scan-haip-in-rac.html
Hardware Assisted Resilient Data H.A.R.D
Doc ID: Note:227671.1
http://www.oracle.com/technology/deploy/availability/htdocs/vendors_hard.html
http://www.oracle.com/technology/deploy/availability/htdocs/HARD.html
http://www.oracle.com/technology/deploy/availability/htdocs/hardf.html
http://www.oracle.com/corporate/press/1067828.html
http://www.dba-oracle.com/real_application_clusters_rac_grid/hard.html
!
! Ch1 - starting to code
functions
* print
* int
* input
code branches (aka path)
* branch condition (true or false)
* if/else branches
* Python uses indents to connect paths (nested if/else)
IDLE tidbits
* make use of : on if/else
* it automatically indents.. and indents matter for the code path
* when you TAB, it automatically converts it to 4 spaces
{{{
# simple if/else
if gas > 10:
print("trip is good to go!")
else:
if money > 100:
print("you should buy food")
else:
print("withdraw from atm and buy food")
print("lets go!")
}}}
Loop
* if the loop condition is true, then a loop will run a given piece of code, until it becomes false
* Did you notice that you had to set the value of the answer variable to something sensible before you started the loop? This is important, because if the answer variable doesn’t already have the value no, the loop condition would have been false and the code in the loop body would never have run at all.
{{{
# simple loop
answer = "no"
while answer == "no":
answer = input("Are we there? ")
print("We're there!")
}}}
{{{
# a simple loop game
from random import randint
secret = randint(1, 10)
print("Welcome!")
guess = 0
while guess != secret:
g = input("Guess the number:")
guess = int(g)
if guess == secret:
print("You win!")
else:
if guess > secret:
print("Too high!")
else:
print("Too low!")
print("You lose!")
print("Game over!")
}}}
!
! Ch2 - textual data
* The first character in a string has an offset of 0.. and so on.. this offset is also called ''index''
* The offset value is always 1 less than the position
''substring''
s[138:147]
s[a:b]
a is the index of the first character
b is the index after the last character
''function''
print(msg.upper())
''library and function''
page = urllib.request.urlopen("http://...")
library name.function name
{{{
# simple search code
import urllib.request
import time
price = 99.99
while price > 4.74:
time.sleep(900)
page = urllib.request.urlopen("http://www.beans-r-us.biz/prices-loyalty.html")
text = page.read().decode("utf8")
index = text.find(">$")
position = int(index)
price = float(text[position+2:position+6])
print("Buy!")
print(price)
}}}
<<<
''built-in string methods''
text.endswith(".jpg")
* Return the value True if the string has the given substring at the end.
text.upper():
* Return a copy of the string converted to uppercase.
text.lower():
* Return a copy of the string converted to lowercase.
text.replace("tomorrow", "Tuesday"):
* Return a copy of the string with all occurrences of one substring replaced by another.
text.strip():
* Return a copy of the string with the leading and trailing whitespace removed.
text.find("python"):
* Return the first index value when the given substring is found.
text.startswith("<HTML>")
* Return the value True if the string has the given substring at the beginning.
<<<
<<<
''some of the functions provided by Python’s built-in time library''
time.clock()
* The current time in seconds, given as a floating point number.
time.daylight()
* This returns 0 if you are not currently in Daylight Savings Time.
time.gmtime()
* Tells you current UTC date and time (not affected by the timezone).
time.localtime()
* Tells you the current local time (is affected by your timezone).
time.sleep(secs)
* Don’t do anything for the specified number of seconds.
time.time()
* Tells you the number of seconds since January 1st, 1970.
time.timezone()
* Tells you the number of hours difference between your timezone and the UTC timezone (London).
<<<
!
! Ch3 - Functions
* A function is a boxed-up piece of reusable code.
* In Python, use the ''def'' keyword to define a new function
{{{
# a simple smoothie function
def make_smoothie():
juice = input("What juice would you like? ")
fruit = input("OK - and how about the fruit? ")
print("Thanks. Let's go!")
print("Crushing the ice...")
print("Blending the " + fruit)
print("Now adding in the " + juice + " juice")
print("Finished! There's your " + fruit + " and " + juice + " smoothie!")
print("Welcome to smoothie-matic 2.0")
another = "Y"
while another == "Y":
make_smoothie()
another = input("How about another(Y/N)? ")
}}}
* If you use the ''return()'' command within a function, you can send a data value back to the calling code.
* The value assigned to “price" is 5.51. The assignment happens after the code in the function executes
* Well... sort of. The print() command is designed
to display (or output) a message, typically on screen. The
return() command is designed to allow you to arrange for a
function you write to provide a value to your program. Recall the
use of randint() in Chapter 1: a random number between
two values was returned to your code. So, obviously, when
providing your code with a random number, the randint()
function uses return() and not print(). In fact, if
randint() used print() instead of return(), it
would be pretty useless as a reusable function.
Q: Does return() always come at the end of the function?
A: Usually, but this is not a requirement, either. The
return() can appear anywhere within a function and, when it
is executed, control returns to the calling code from that point in the
function. It is perfectly reasonable, for instance, to have multiple
uses of return() within a function, perhaps embedded
with if statements which then provide a way to control which
return() is invoked when.
Q: Can return() send more than one result back to the
caller?
A: Yes, it can. return() can provide a list of results to the
calling code. But, let’s not get ahead of ourselves, because lists are
not covered until the next chapter. And there’s a little bit more to
learn about using return() first, so let’s read on and get back
to work.
{{{
# send to twitter function
def send_to_twitter():
msg = "I am a message that will be sent to Twitter"
password_manager = urllib.request.HTTPPasswordMgr()
password_manager.add_password("Twitter API",
"http://twitter.com/statuses", "...", "...")
http_handler = urllib.request.HTTPBasicAuthHandler(password_manager)
page_opener = urllib.request.build_opener(http_handler)
urllib.request.install_opener(page_opener)
params = urllib.parse.urlencode( {'status': msg} )
resp = urllib.request.urlopen("http://twitter.com/statuses/update.json", params)
resp.read()
}}}
* Use parameters to avoid duplicating functions
* Just like it’s a bad idea to use copy’n’paste for repeated usages of code, it’s also a bad idea to create multiple copies of a function with only minor differences between them.
* A parameter is a value that you send into your function.
* The parameter’s value works just like a variable within the function, ''except for the fact that its initial value is set outside the function code''
To use a parameter in Python, simply put a variable name between the parentheses that come after the definition of the function name and before the colon.
Then within the function itself, simply use the variable like you would any other
{{{
# sample function parameter
def shout_out(the_name):
return("Congratulations " + the_name + "!")
# use it as follows
print(shout_out('Wanda'))
msg = shout_out('Graham, John, Michael, Eric, and Terry by 2')
print(shout_out('Monty'))
}}}
* check out the use of ''msg'' parameter on the function and also on the price watch code
* also ''password'' variable is defined globally
{{{
# sample send to twitter code
import urllib.request
import time
password="C8H10N4O2"
def send_to_twitter(msg):
password_manager = urllib.request.HTTPPasswordMgr()
password_manager.add_password("Twitter API",
"http://twitter.com/statuses", "starbuzzceo", password)
http_handler = urllib.request.HTTPBasicAuthHandler(password_manager)
page_opener = urllib.request.build_opener(http_handler)
urllib.request.install_opener(page_opener)
params = urllib.parse.urlencode( {'status': msg} )
resp = urllib.request.urlopen("http://twitter.com/statuses/update.json", params)
resp.read()
def get_price():
page = urllib.request.urlopen("http://www.beans-r-us.biz/prices.html")
text = page.read().decode("utf8")
where = text.find('>$')
start_of_price = where + 2
end_of_price = start_of_price + 4
return float(text[start_of_price:end_of_price])
price_now = input("Do you want to see the price now (Y/N)? ")
if price_now == "Y":
send_to_twitter(get_price())
else:
price = 99.99
while price > 4.74:
time.sleep(900)
price = get_price()
send_to_twitter("Buy!")
}}}
* The rest of the program can’t see the ''local variable'' from another function
* Programming languages record variables using a section of memory called the stack. It works like a notepad.
* When you call a function, the computer creates a fresh list of variables.. But when you call a function, Python starts to record any new variables created in the function’s code on a new sheet of paper on the stack
* This new sheet of paper on the stack is
called a new stack frame. Stack frames
record all of the new variables that are
created within a function. These are known
as local variables.
The variables that were created before the
function was called are still there if the function
needs them; they are on the previous stack frame.
Twitter Basic vs OAuth authentication
http://www.linuxjournal.com/content/twittering-command-line <-- OLD STYLE basic authentication removed June 2010
http://jeffmiller.github.com/2010/05/31/twitter-from-the-command-line-in-python-using-oauth <-- NEW STYLE
http://forums.oreilly.com/topic/20756-sending-messages-to-twitter/page__st__20
http://dev.twitter.com/pages/oauth_faq
http://dev.twitter.com/pages/basic_to_oauth
-- some issues I encountered
http://answers.yahoo.com/question/index?qid=20090504211017AAQexjf
!!!! Step by step HOWTO - send tweets on command line (all codes are python3)
just go to this page and follow the guide posted by ''Core_500'' no need to install tweepy
{{{
# oauth1.py
import tweepy
CONSUMER_KEY = 'lGfFmQHYEdGGp2TAE6P0A'
CONSUMER_SECRET = 'iD7OfMrCEWY7X6mQ85QrEhMA2jGtqPmvIoR0mU2gg'
auth = tweepy.OAuthHandler(CONSUMER_KEY, CONSUMER_SECRET)
auth_url = auth.get_authorization_url()
print ('Please authorize:' + auth_url)
verifier = input('PIN: ').strip()
auth.get_access_token(verifier)
print ("ACCESS_KEY = '%s'" % auth.access_token.key)
print ("ACCESS_SECRET = '%s'" % auth.access_token.secret)
}}}
{{{
# oauth2.py
import sys
import tweepy
CONSUMER_KEY = 'lGfFmQHYEdGGp2TAE6P0A'
CONSUMER_SECRET = 'iD7OfMrCEWY7X6mQ85QrEhMA2jGtqPmvIoR0mU2gg'
ACCESS_KEY = '277601098-oVnCXceKKih6B37huPNfxNJsM6q6xvhtZQTdLci8'
ACCESS_SECRET = 'JRzzK88I3oNEEj4FDknVAoJSzC6AhBqkarbkKv59UM'
auth = tweepy.OAuthHandler(CONSUMER_KEY, CONSUMER_SECRET)
auth.set_access_token(ACCESS_KEY, ACCESS_SECRET)
api = tweepy.API(auth)
api.update_status(sys.argv[1])
}}}
{{{
# putting it all together
import sys
import tweepy
import urllib.request
import time
def send_to_twitter(msg):
CONSUMER_KEY = 'lGfFmQHYEdGGp2TAE6P0A'
CONSUMER_SECRET = 'iD7OfMrCEWY7X6mQ85QrEhMA2jGtqPmvIoR0mU2gg'
ACCESS_KEY = '277601098-oVnCXceKKih6B37huPNfxNJsM6q6xvhtZQTdLci8'
ACCESS_SECRET = 'JRzzK88I3oNEEj4FDknVAoJSzC6AhBqkarbkKv59UM'
auth = tweepy.OAuthHandler(CONSUMER_KEY, CONSUMER_SECRET)
auth.set_access_token(ACCESS_KEY, ACCESS_SECRET)
api = tweepy.API(auth)
api.update_status(msg)
def get_price():
page = urllib.request.urlopen("http://www.beans-r-us.biz/prices.html")
text = page.read().decode("utf8")
where = text.find('>$')
start_of_price = where + 2
end_of_price = start_of_price + 4
return float(text[start_of_price:end_of_price])
price_now = input("Do you want to see the price now (Y/N)? ")
if price_now == "Y":
send_to_twitter(get_price())
else:
price = 99.99
while price > 4.74:
time.sleep(900)
send_to_twitter("Buy!")
}}}
-- use it!
C:\Dropbox\Python>oauth2.py "my 5 tweet"
!
! Ch4 - Data in Files and Arrays
!!! read data in files
{{{
result_f = open("results.txt") <-- open it!
...
result_f.close() <-- close it!
}}}
!!!the ''for loop shredder''
* The entire file is fed into the for loop shredder...
* Note: unlike a real shredder, the for loop shredderTM doesn't destroy your data—it just chops it into lines.
* ...which breaks it up into oneline- at-a-time chunks (which are themselves strings).
* Each time the body of the for loop runs, a variable is set to a string containing the current line of text in the file. This is referred to as ''iterating'' through the data in the file
{{{
result_f = open("results.txt")
for each_line in result_f:
print(each_line)
result_f.close()
}}}
!!!''Split'' each line as you read it
* Python strings have a built-in split() method.
* Split into ''separate variables''
rock_band = "Al Carl Mike Brian"
{{{
highest_score = 0
result_f = open("results.txt")
for line in result_f:
(name,score) = line.split()
if float(score) > highest_score:
highest_score = float(score)
result_f.close()
print("The highest score was:")
print(highest_score)
}}}
Using a programming feature called ''multiple assignment'', you can take the result from the cut performed by split() and assign it to a collection of variables
(rhythm, lead, vocals, bass) = rock_band.split()
!!! ''Sorting'' is easier in memory
* Keep the data in files on the disk
* Keep the data in memory
!!! Sometimes, you need to deal with a whole bundle of data, all at once. To do that, most languages give you the ''array''.
* Think of an array as a data train. Each car in the train is called an array element and can store a single piece of data. If you want to store a number in one element and a string in another, you can.
* Even though an array contains a whole bunch of data items, the array itself is a single variable, which just so happens to contain a collection of data. Once your data is in an array, you can treat the array just like any other variable.
* For example, in Python most programmers think array when they are actually using a Python list. For our purposes, think of Python lists and arrays as the essentially same thing.
{{{
my_words = ["Dudes", "and"]
print(my_words[0])
Dudes
print(my_words[1])
and
}}}
* But what if you need to add some extra information to an array?.. you can use ''append''
* you can start with ''zero values'' from your array and just do ''append''
{{{
my_words.append("Bettys")
print(my_words[2])
Bettys
}}}
<<<
''some of the methods that come built into every array''
count()
* Tells you how many times a value is in the array
extend()
* Adds a list of items to an array
index()
* Looks for an item and returns its index value
insert()
* Adds an item at any index location
pop()
* Removes and returns the last array item
remove()
* Removes and returns the first array item
reverse()
* Reverses the order of the array
sort()
* Sorts the array into a specified order (low to high)
<<<
!!! ''Sort'' the array before displaying the results
It was very simple to sort an array of data using just two lines of code. But it turns out you can do even
better than that if you use an option with the sort() method. Instead of using these two lines:
''scores.sort()
scores.reverse()''
you could have used just one, which gives the same result: ''scores.sort(reverse = True)''
!!! putting it all together
{{{
scores = []
result_f = open("results.txt")
for line in result_f:
(name, score) = line.split()
scores.append(float(score))
result_f.close()
scores.sort(reverse=True)
print("The highest score was:")
print(scores[0])
print(scores[1])
print(scores[2])
}}}
!
! Ch5 - Hashes and Databases
Data Structure A standard method of organizing a collection of data items in your computer's memory. You've already met one of the classic data structures: ''the array''
<<<
''data structure names''
Array
* A variable with multiple indexed slots for holding data
Linked list
* A variable that creates a chain of data where one data item points to another data item, which itself points to another data item, and another, and so on and so forth
Queue
* A variable that allows data to enter at one end of a collection and leave at the other end, supporting a first-in, first-out mechanism
Hash
* A variable that has exactly two columns and (potentially) many rows of data
* Known in the Python world as a “dictionary.”
Set
* A variable that contains a collection of unique data items
Multi-dimensional array
* A variable that contains data arranged as a matrix of multiple dimensions (but typically, only two)
<<<
!!! Associate a key with a value using a ''hash''
* Start with an empty hash, curly brackets
{{{
scores = {}
}}}
* After splitting out the name and the score, use the value of “score" as the key of the hash and the value of “name" as the value.
{{{
for line in result_f:
(name, score) = line.split()
scores[score] = name
}}}
* Use a ''for loop'' to process/print the contents of the hash
{{{
# not sorted
for each_score in scores.keys():
print('Surfer ' + scores[each_score] + ' scored ' + each_score)
}}}
* Python hashes don't have a sort() method, you must use ''sorted()''
* Now that you are sorting the keys of the hash (which represent the surfer’s scores), it should be clear why the scores were used as the key when adding data into the hash: you need to sort the scores, not the surfer names, so the scores need to be on the left side of the hash (because that’s what the built-in sorted() function works with).
{{{
# sorted using function sorted()
for each_score in sorted(scores.keys(), reverse = True):
print('Surfer ' + scores[each_score] + ' scored ' + each_score)
}}}
!!! Iterate hash data with ''for''
There are two methods to iterate hash data
1) using ''keys()'' method
{{{
for each_score in scores.keys():
print('Surfer ' + scores[each_score] + ' scored ' + each_score)
}}}
2) using ''items()'' method, returns each key-value pair
{{{
for score, surfer in scores.items():
print(surfer + ' had a score of ' + str(score))
}}}
http://www.hackintosh.com/
http://lifehacker.com/348653/install-os-x-on-your-hackintosh-pc-no-hacking-required
http://www.sysprobs.com/hackintosh-10-6-7-snow-leopard-on-virtualbox-4-working-sound
http://www.sysprobs.com/install-mac-snow-leopard-1063-oracle-virtualbox-32-apple-intel-pc
http://geeknizer.com/install-snow-leopard-virtualbox/
http://www.youtube.com/watch?v=PLL_qOLpqs4
http://lifehacker.com/5841604/the-always-up+to+date-guide-to-building-a-hackintosh
-- on final cut pro
http://www.disturbingnewtrend.blogspot.com/
http://www.insanelymac.com/forum/index.php?showtopic=69855
-- virtual box preinstalled
http://isohunt.com/torrent_details/261669825/mac+os+x+snow+leopard+hazard?tab=summary
-- vmware preinstalled
http://isohunt.com/torrent_details/326417697/Mac+OS+X+Snow+Leopard+10.6.8+VMware+Image+Ultimate+Build?tab=summary
-- osx lion
https://www.virtualbox.org/wiki/Mac%20OS%20X%20build%20instructions
http://www.sysprobs.com/guide-mac-os-x-10-7-lion-on-virtualbox-with-windows-7-and-intel-pc
http://www.sysprobs.com/create-bootable-lion-os-installer-image-vmware-windows-intel-based-computers
http://www.sysprobs.com/working-method-install-mac-107-lion-vmware-windows-7-intel-pc
http://www.youtube.com/watch?v=-fxz7jVI9kQ
http://ewangi.info/275/how-to-install-mac-os-x-lion-in-vmware-or-virtualbox-on-pc/
''Comparing Hadoop Appliances'' http://www.pythian.com/news/29955/comparing-hadoop-appliances/
/***
|Name:|HideWhenPlugin|
|Description:|Allows conditional inclusion/exclusion in templates|
|Version:|3.1 ($Rev: 3919 $)|
|Date:|$Date: 2008-03-13 02:03:12 +1000 (Thu, 13 Mar 2008) $|
|Source:|http://mptw.tiddlyspot.com/#HideWhenPlugin|
|Author:|Simon Baird <simon.baird@gmail.com>|
|License:|http://mptw.tiddlyspot.com/#TheBSDLicense|
For use in ViewTemplate and EditTemplate. Example usage:
{{{<div macro="showWhenTagged Task">[[TaskToolbar]]</div>}}}
{{{<div macro="showWhen tiddler.modifier == 'BartSimpson'"><img src="bart.gif"/></div>}}}
***/
//{{{
window.hideWhenLastTest = false;
window.removeElementWhen = function(test,place) {
window.hideWhenLastTest = test;
if (test) {
removeChildren(place);
place.parentNode.removeChild(place);
}
};
merge(config.macros,{
hideWhen: { handler: function(place,macroName,params,wikifier,paramString,tiddler) {
removeElementWhen( eval(paramString), place);
}},
showWhen: { handler: function(place,macroName,params,wikifier,paramString,tiddler) {
removeElementWhen( !eval(paramString), place);
}},
hideWhenTagged: { handler: function (place,macroName,params,wikifier,paramString,tiddler) {
removeElementWhen( tiddler.tags.containsAll(params), place);
}},
showWhenTagged: { handler: function (place,macroName,params,wikifier,paramString,tiddler) {
removeElementWhen( !tiddler.tags.containsAll(params), place);
}},
hideWhenTaggedAny: { handler: function (place,macroName,params,wikifier,paramString,tiddler) {
removeElementWhen( tiddler.tags.containsAny(params), place);
}},
showWhenTaggedAny: { handler: function (place,macroName,params,wikifier,paramString,tiddler) {
removeElementWhen( !tiddler.tags.containsAny(params), place);
}},
hideWhenTaggedAll: { handler: function (place,macroName,params,wikifier,paramString,tiddler) {
removeElementWhen( tiddler.tags.containsAll(params), place);
}},
showWhenTaggedAll: { handler: function (place,macroName,params,wikifier,paramString,tiddler) {
removeElementWhen( !tiddler.tags.containsAll(params), place);
}},
hideWhenExists: { handler: function(place,macroName,params,wikifier,paramString,tiddler) {
removeElementWhen( store.tiddlerExists(params[0]) || store.isShadowTiddler(params[0]), place);
}},
showWhenExists: { handler: function(place,macroName,params,wikifier,paramString,tiddler) {
removeElementWhen( !(store.tiddlerExists(params[0]) || store.isShadowTiddler(params[0])), place);
}},
hideWhenTitleIs: { handler: function(place,macroName,params,wikifier,paramString,tiddler) {
removeElementWhen( tiddler.title == params[0], place);
}},
showWhenTitleIs: { handler: function(place,macroName,params,wikifier,paramString,tiddler) {
removeElementWhen( tiddler.title != params[0], place);
}},
'else': { handler: function(place,macroName,params,wikifier,paramString,tiddler) {
removeElementWhen( !window.hideWhenLastTest, place);
}}
});
//}}}
How to Use the Solaris Truss Command to Trace and Understand System Call Flow and Operation [ID 1010771.1] <— good stuff
Case Study: Using DTrace and truss in the Solaris 10 OS http://www.oracle.com/technetwork/systems/articles/dtrace-truss-jsp-140760.html
How to Analyze High CPU Utilization In Solaris [ID 1008930.1] <-- lockstat, kstat, dtrace
How to use DTrace and mdb to Interpret vmstat Statistics [ID 1009494.1]
— sys time kernel profiling
http://dtracebook.com/index.php/Kernel#lockstat_Provider
http://wikis.sun.com/display/DTrace/lockstat+Provider
http://blogs.technet.com/b/markrussinovich/archive/2008/04/07/3031251.aspx
http://helgeklein.com/blog/2010/01/how-to-analyze-kernel-performance-bottlenecks-and-find-that-atis-catalyst-drivers-cause-50-cpu-utilization/
http://prefetch.net/blog/index.php/2010/03/08/breaking-down-system-time-usage-in-the-solaris-kernel/ <— Breaking down system time usage in the Solaris kernel
http://orainternals.wordpress.com/2008/10/31/performance-issue-high-kernel-mode-cpu-usage/ , http://www.orainternals.com/investigations/high_cpu_usage_shmdt.pdf, http://www.pythian.com/news/1324/oracle-performance-issue-high-kernel-mode-cpu-usage/ <— ''riyaj high sys''
http://www.oracledatabase12g.com/archives/resolving-high-cpu-usage-on-oracle-servers.html <— oracle metalink sys high
http://www.freelists.org/post/oracle-l/Solaris-CPU-Consumption,3
http://www.solarisinternals.com/wiki/index.php/CPU/Processor <— ''good drill down examples - filebench''
AAA Pipeline Consumes 100% CPU [ID 1083994.1]
http://www.princeton.edu/~unix/Solaris/troubleshoot/process.html <-- LWP
http://web.archiveorange.com/archive/v/ejz8xZLNsakZx7OAzhCz <-- high sys cpu time, any way to use dtrace to do troubleshooting?
http://opensolaris.org/jive/thread.jspa?threadID=103737 <-- Thread: DBWR write performance
-- ''lockstat''
http://dtracebook.com/index.php/Kernel#lockstat_Provider
http://wikis.sun.com/display/DTrace/lockstat+Provider
How to Analyze High CPU Utilization In Solaris [ID 1008930.1] <-- lockstat, kstat, dtrace
A Primer On Lockstat [ID 1005868.1]
https://blogs.oracle.com/sistare/entry/measuring_lock_spin_utilization
-- ''stack trace''
https://blogs.oracle.com/sistare/entry/lies_damned_lies_and_stack
-- ''mdb''
https://blogs.oracle.com/sistare/entry/wicked_fast_memstat
http://translate.google.com/translate?sl=auto&tl=en&u=http://www.dbform.com/html/2010/1200.html
http://neerajbhatia.wordpress.com/2010/11/12/everything-you-want-to-know-about-oracle-histograms-part-1/
http://neerajbhatia.files.wordpress.com/2010/11/everything-you-want-to-know-about-oracle-histograms-part-1.pdf
http://kevinclosson.wordpress.com/2010/09/28/configuring-linux-hugepages-for-oracle-database-is-just-too-difficult-part-i/
http://kevinclosson.wordpress.com/2010/10/21/configuring-linux-hugepages-for-oracle-database-is-just-too-difficult-isn%e2%80%99t-it-part-%e2%80%93-ii/
http://kevinclosson.wordpress.com/2010/11/18/configuring-linux-hugepages-for-oracle-database-is-just-too-difficult-isn%E2%80%99t-it-part-%E2%80%93-iii-do-you-really-want-to-configure-the-absolute-minimum-hugepages/
! Verifying I/O bandwidth
{{{
-bash-3.00% id
uid=1000(oracle) gid=10000(dba) groups=1001(oinstall)
-bash-3.00% hostname
r09n01.pbm.ihost.com
-bash-3.00% pwd
/bench1/orion
-bash-3.00% ./orion.pl –t dss –f params/dss_params.txt –d 120 –n verification_test1
Checking and processing input arguments..
Workload type is : DSS
Input parameter file is : params/dss_params.txt
Run duration is : 120 (seconds)
Processed all input arguments..
Number of nodes is : 2
Degree of parallelism is 320 on Node r09n01
Degree of parallelism is 320 on Node r09n02
Starting iostat on node : r09n01
Starting Orion on node : r09n01
Starting iostat on node : r09n02
Starting Orion on node : r09n02
ORION: Oracle IO Numbers – Version 11.1.0.4.0
Test will take approximately 3 minutes
Larger caches may take longer
ORION: Oracle IO Numbers – Version 11.1.0.4.0
Test will take approximately 3 minutes
Larger caches may take longer
Copying results to results/verification_test1
From Node r09n01
From Node r09n02
Results from node r09n01
Maximum Large MBPS=1339.17 @ Small=0 and Large=320
Results from node r09n01
Maximum Large MBPS=1342.04 @ Small=0 and Large=320
-bash-3.00$
}}}
The aggregate bandwidth should exceed 1400 MBPS for one node, 2600 MBPS for two nodes, 3700
MBPS for three nodes and 4900 MBPS for four nodes. The preceding test achieved 2681 MBPS for
two nodes and passes the I/O bandwidth verification test.
! Verifying database integrity
The second verification test is to load 100 GB of test data into the TS_DATA table space and then run
a full table scan against the data. This test verifies the database installation, and ensures that an SQL
query can run to completion and that a full table scan can achieve similar I/O performance to the
ORION results. Successful completion of a load and query constitutes passing this database integrity test.
{{{
Here is the set of scripts to run the full table scan test.
Please do the following things
1. Copy each script below into an executable shell script.
2. Execute the scripts in the order they are presented here
a. Table_creation.sh
b. Data_grow.sh
c. Full_table_scan.sh
3. Compare the MB/sec result from this test to the number achieved with
ORION. If the numbers are comparable then the test has been
successful
#################### Table_creation.sh ################################
# This script creates the user oracle and the table owitest.
sqlplus /nolog<<EOF
connect / as sysdba
drop user oracle cascade;
grant DBA to oracle identified by oracle;
alter user oracle default tablespace ts_data;
alter user oracle temporary tablespace temp;
connect oracle/oracle
create table owitest parallel nologging as select * from sys.dba_extents;
commit;
exit
EOF
#################### Data_grow.sh ####################################
# This script grows the data in the owitest table to over 100GB
(( n=0 ))
while (( n<20 ));do
(( n=n+1 ))
sqlplus -s /NOLOG <<! &
connect oracle/oracle;
set timing on
set time on
alter session enable parallel dml;
insert /*+ APPEND */ into owitest select * from owitest;
commit;
exit;
!
wait
done
wait
#################### full_table_scan.sh
####################################
-- This SQL script is called from the full_test.sh script.
sqlplus -s /NOLOG <<! &
connect oracle/oracle;
set timing on
set echo on
spool all_nodes_full_table_scan.log
col time1 new_value time1
col time2 new_value time2
select to_char(sysdate, 'SSSSS') time1 from dual;
Select count(*) from owitest;
select to_char(sysdate, 'SSSSS') time2 from dual;
select (sum(s.bytes)/1024/1024)/(&&time2 - &&time1) MB_PER_SEC
from sys.dba_segments s
where segment_name='OWITEST';
undef time1
undef time2
spool off
exit;
!
}}}
! setup_ssh.sh script
{{{
#! /bin/ksh
#
#
HOSTNAME=r09n01
HOME=/home/oracle
#
cd $HOME
mkdir $HOME/.ssh
chmod 700 $HOME/.ssh
touch $HOME/.ssh/authorized_keys
chmod 600 $HOME/.ssh/authorized_keys
cd $HOME/.ssh
#
/usr/bin/ssh-keygen -t rsa
/usr/bin/ssh-keygen -t dsa
#
ssh $HOSTNAME cat $HOME/.ssh/id_rsa.pub >>authorized_keys
ssh $HOSTNAME cat $HOME/.ssh/id_dsa.pub >>authorized_keys
}}}
! ORION dss_params.txt file
{{{
./orion.pl –t dss –f params/dss_params.txt –d 120 –n verification_test1
# DSS workload parameter file (keywords are case in-sensitive, values are
case sensitive)
# disk device or LUN path=number of spindles (one line per device).
/dev/rhdisk12=5
/dev/rhdisk13=5
/dev/rhdisk14=5
/dev/rhdisk15=5
/dev/rhdisk16=5
/dev/rhdisk17=5
/dev/rhdisk18=5
/dev/rhdisk19=5
/dev/rhdisk26=5
/dev/rhdisk27=5
/dev/rhdisk28=5
/dev/rhdisk29=5
/dev/rhdisk30=5
/dev/rhdisk31=5
/dev/rhdisk32=5
/dev/rhdisk33=5
/dev/rhdisk40=5
/dev/rhdisk41=5
/dev/rhdisk42=5
/dev/rhdisk43=5
/dev/rhdisk44=5
/dev/rhdisk45=5
/dev/rhdisk46=5
/dev/rhdisk47=5
/dev/rhdisk53=5
/dev/rhdisk54=5
/dev/rhdisk55=5
/dev/rhdisk56=5
/dev/rhdisk57=5
/dev/rhdisk58=5
/dev/rhdisk59=5
/dev/rhdisk60=5
#
# default large random IO size, should be specified in bytes
dss_io_size=1048576
num_nodes=2
node_names=r09n01, r09n02
dop_per_node=320, 320
orion_location=/bench1/orion/bin/orion
}}}
Identity Management 10.1.4.0 Product Cheat Sheet
Doc ID: Note:389468.1
http://kevinclosson.wordpress.com/2009/04/28/how-to-produce-raw-spreadsheet-ready-physical-io-data-with-plsql-good-for-exadata-good-for-traditional-storage
{{{
set serveroutput on format wrapped size 1000000
create or replace directory mytmp as '/tmp';
DECLARE
n number;
m number;
gb number := 1024 * 1024 * 1024;
mb number := 1024 * 1024 ;
bpio number; -- 43 physical IO disk bytes
apio number;
disp_pio number(8,0);
bptrb number; -- 39 physical read total bytes
aptrb number;
disp_trb number(8,0);
bptwb number; -- 42 physical write total bytes
aptwb number;
disp_twb number(8,0);
x number := 1;
y number := 0;
fd1 UTL_FILE.FILE_TYPE;
BEGIN
fd1 := UTL_FILE.FOPEN('MYTMP', 'mon.log', 'w');
LOOP
bpio := 0;
apio := 0;
select sum(value) into bpio from gv$sysstat where statistic# = '43';
select sum(value) into bptwb from gv$sysstat where statistic# = '42';
select sum(value) into bptrb from gv$sysstat where statistic# = '39';
n := DBMS_UTILITY.GET_TIME;
DBMS_LOCK.SLEEP(5);
select sum(value) into apio from gv$sysstat where statistic# = '43';
select sum(value) into aptwb from gv$sysstat where statistic# = '42';
select sum(value) into aptrb from gv$sysstat where statistic# = '39';
m := DBMS_UTILITY.GET_TIME - n ;
disp_pio := ( (apio - bpio) / ( m / 100 )) / mb ;
disp_trb := ( (aptrb - bptrb) / ( m / 100 )) / mb ;
disp_twb := ( (aptwb - bptwb) / ( m / 100 )) / mb ;
UTL_FILE.PUT_LINE(fd1, TO_CHAR(SYSDATE,'HH24:MI:SS') || '|' || disp_pio || '|' || disp_trb || '|' || disp_twb || '|');
UTL_FILE.FFLUSH(fd1);
x := x + 1;
END LOOP;
UTL_FILE.FCLOSE(fd1);
END;
/
}}}
What is the suggested I/O scheduler to improve disk performance when using Red Hat Enterprise Linux with virtualization?
http://kbase.redhat.com/faq/docs/DOC-5428
Thread: I/O scheduler in Oracle Linux 5.7
https://forums.oracle.com/forums/thread.jspa?threadID=2263820&tstart=0
http://www.iometer.org/doc/downloads.html
Guides
http://kb.fusionio.com/KB/a41/using-iometer-to-verify-iodrive-performance-on-windows.aspx
http://kb.fusionio.com/KB/a40/verifying-windows-system-performance.aspx
http://greg.porter.name/wiki/HowTo:iometer
http://blog.fosketts.net/2010/03/19/microsoft-intel-starwind-iscsi/
Useful
http://communities.vmware.com/docs/DOC-3961
http://old.nabble.com/understanding-disk-target-%22maximum-disk-size%22-td14341532.html
I/O Performance Tuning Tools for Oracle Database 11gR2
http://www.dbasupport.com/oracle/ora11g/Oracle-Database-11gR2-IO-Tuning02.shtml
Subject: Using IPv6 with Oracle E-Business Suite Releases 11i and 12
Doc ID: Note:567015.1
Subject: Oracle Fusion Middleware Support of IPv6
Doc ID: Note:431028.1
Subject: Does Oracle Application Server 10g R2 Version 10.1.2.0.2 Support IPv6?
Doc ID: Note:338011.1
Subject: Does Oracle 10g / 10gR2 support IPv6 ?
Doc ID: Note:362956.1
Subject: Oracle E-Business Suite R12 Configuration in a DMZ
Doc ID: Note:380490.1
Subject: E-Business Suite Recommended Set Up for Client/Server Products
Doc ID: Note:277535.1
Subject: Oracle Application Server Installer Incorrectly Parses IP6V Entries in /etc/inet/ipnodes on Solaris 10
Doc ID: Note:438323.1
Subject: Oracle Application Server 10g (10.1.3) Requirements for Linux (OEL 5.0 and RHEL 5.0)
Doc ID: Note:465159.1
Subject: Using AutoConfig to Manage System Configurations in Oracle E-Business Suite Release 12
Doc ID: Note:387859.1
Subject: Using AutoConfig to Manage System Configurations with Oracle Applications 11i
Doc ID: Note:165195.1
http://lifehacker.com/5691489/how-can-i-find-out-if-my-isp-is-limiting-my-download-speed
IT Systems Management [ID 280.1]
IT Risk Management Advisor: Oracle [ID 318.1]
My Oracle Support Health Check Catalog [ID 868955.1]
/***
|Name|ImageSizePlugin|
|Source|http://www.TiddlyTools.com/#ImageSizePlugin|
|Version|1.2.2|
|Author|Eric Shulman|
|License|http://www.TiddlyTools.com/#LegalStatements|
|~CoreVersion|2.1|
|Type|plugin|
|Description|adds support for resizing images|
This plugin adds optional syntax to scale an image to a specified width and height and/or interactively resize the image with the mouse.
!!!!!Usage
<<<
The extended image syntax is:
{{{
[img(w+,h+)[...][...]]
}}}
where ''(w,h)'' indicates the desired width and height (in CSS units, e.g., px, em, cm, in, or %). Use ''auto'' (or a blank value) for either dimension to scale that dimension proportionally (i.e., maintain the aspect ratio). You can also calculate a CSS value 'on-the-fly' by using a //javascript expression// enclosed between """{{""" and """}}""". Appending a plus sign (+) to a dimension enables interactive resizing in that dimension (by dragging the mouse inside the image). Use ~SHIFT-click to show the full-sized (un-scaled) image. Use ~CTRL-click to restore the starting size (either scaled or full-sized).
<<<
!!!!!Examples
<<<
{{{
[img(100px+,75px+)[images/meow2.jpg]]
}}}
[img(100px+,75px+)[images/meow2.jpg]]
{{{
[<img(34%+,+)[images/meow.gif]]
[<img(21% ,+)[images/meow.gif]]
[<img(13%+, )[images/meow.gif]]
[<img( 8%+, )[images/meow.gif]]
[<img( 5% , )[images/meow.gif]]
[<img( 3% , )[images/meow.gif]]
[<img( 2% , )[images/meow.gif]]
[img( 1%+,+)[images/meow.gif]]
}}}
[<img(34%+,+)[images/meow.gif]]
[<img(21% ,+)[images/meow.gif]]
[<img(13%+, )[images/meow.gif]]
[<img( 8%+, )[images/meow.gif]]
[<img( 5% , )[images/meow.gif]]
[<img( 3% , )[images/meow.gif]]
[<img( 2% , )[images/meow.gif]]
[img( 1%+,+)[images/meow.gif]]
{{tagClear{
}}}
<<<
!!!!!Revisions
<<<
2010.07.24 [1.2.2] moved tip/dragtip text to config.formatterHelpers.imageSize object to enable customization
2009.02.24 [1.2.1] cleanup width/height regexp, use '+' suffix for resizing
2009.02.22 [1.2.0] added stretchable images
2008.01.19 [1.1.0] added evaluated width/height values
2008.01.18 [1.0.1] regexp for "(width,height)" now passes all CSS values to browser for validation
2008.01.17 [1.0.0] initial release
<<<
!!!!!Code
***/
//{{{
version.extensions.ImageSizePlugin= {major: 1, minor: 2, revision: 2, date: new Date(2010,7,24)};
//}}}
//{{{
var f=config.formatters[config.formatters.findByField("name","image")];
f.match="\\[[<>]?[Ii][Mm][Gg](?:\\([^,]*,[^\\)]*\\))?\\[";
f.lookaheadRegExp=/\[([<]?)(>?)[Ii][Mm][Gg](?:\(([^,]*),([^\)]*)\))?\[(?:([^\|\]]+)\|)?([^\[\]\|]+)\](?:\[([^\]]*)\])?\]/mg;
f.handler=function(w) {
this.lookaheadRegExp.lastIndex = w.matchStart;
var lookaheadMatch = this.lookaheadRegExp.exec(w.source)
if(lookaheadMatch && lookaheadMatch.index == w.matchStart) {
var floatLeft=lookaheadMatch[1];
var floatRight=lookaheadMatch[2];
var width=lookaheadMatch[3];
var height=lookaheadMatch[4];
var tooltip=lookaheadMatch[5];
var src=lookaheadMatch[6];
var link=lookaheadMatch[7];
// Simple bracketted link
var e = w.output;
if(link) { // LINKED IMAGE
if (config.formatterHelpers.isExternalLink(link)) {
if (config.macros.attach && config.macros.attach.isAttachment(link)) {
// see [[AttachFilePluginFormatters]]
e = createExternalLink(w.output,link);
e.href=config.macros.attach.getAttachment(link);
e.title = config.macros.attach.linkTooltip + link;
} else
e = createExternalLink(w.output,link);
} else
e = createTiddlyLink(w.output,link,false,null,w.isStatic);
addClass(e,"imageLink");
}
var img = createTiddlyElement(e,"img");
if(floatLeft) img.align="left"; else if(floatRight) img.align="right";
if(width||height) {
var x=width.trim(); var y=height.trim();
var stretchW=(x.substr(x.length-1,1)=='+'); if (stretchW) x=x.substr(0,x.length-1);
var stretchH=(y.substr(y.length-1,1)=='+'); if (stretchH) y=y.substr(0,y.length-1);
if (x.substr(0,2)=="{{")
{ try{x=eval(x.substr(2,x.length-4))} catch(e){displayMessage(e.description||e.toString())} }
if (y.substr(0,2)=="{{")
{ try{y=eval(y.substr(2,y.length-4))} catch(e){displayMessage(e.description||e.toString())} }
img.style.width=x.trim(); img.style.height=y.trim();
config.formatterHelpers.addStretchHandlers(img,stretchW,stretchH);
}
if(tooltip) img.title = tooltip;
// GET IMAGE SOURCE
if (config.macros.attach && config.macros.attach.isAttachment(src))
src=config.macros.attach.getAttachment(src); // see [[AttachFilePluginFormatters]]
else if (config.formatterHelpers.resolvePath) { // see [[ImagePathPlugin]]
if (config.browser.isIE || config.browser.isSafari) {
img.onerror=(function(){
this.src=config.formatterHelpers.resolvePath(this.src,false);
return false;
});
} else
src=config.formatterHelpers.resolvePath(src,true);
}
img.src=src;
w.nextMatch = this.lookaheadRegExp.lastIndex;
}
}
config.formatterHelpers.imageSize={
tip: 'SHIFT-CLICK=show full size, CTRL-CLICK=restore initial size',
dragtip: 'DRAG=stretch/shrink, '
}
config.formatterHelpers.addStretchHandlers=function(e,stretchW,stretchH) {
e.title=((stretchW||stretchH)?this.imageSize.dragtip:'')+this.imageSize.tip;
e.statusMsg='width=%0, height=%1';
e.style.cursor='move';
e.originalW=e.style.width;
e.originalH=e.style.height;
e.minW=Math.max(e.offsetWidth/20,10);
e.minH=Math.max(e.offsetHeight/20,10);
e.stretchW=stretchW;
e.stretchH=stretchH;
e.onmousedown=function(ev) { var ev=ev||window.event;
this.sizing=true;
this.startX=!config.browser.isIE?ev.pageX:(ev.clientX+findScrollX());
this.startY=!config.browser.isIE?ev.pageY:(ev.clientY+findScrollY());
this.startW=this.offsetWidth;
this.startH=this.offsetHeight;
return false;
};
e.onmousemove=function(ev) { var ev=ev||window.event;
if (this.sizing) {
var s=this.style;
var currX=!config.browser.isIE?ev.pageX:(ev.clientX+findScrollX());
var currY=!config.browser.isIE?ev.pageY:(ev.clientY+findScrollY());
var newW=(currX-this.offsetLeft)/(this.startX-this.offsetLeft)*this.startW;
var newH=(currY-this.offsetTop )/(this.startY-this.offsetTop )*this.startH;
if (this.stretchW) s.width =Math.floor(Math.max(newW,this.minW))+'px';
if (this.stretchH) s.height=Math.floor(Math.max(newH,this.minH))+'px';
clearMessage(); displayMessage(this.statusMsg.format([s.width,s.height]));
}
return false;
};
e.onmouseup=function(ev) { var ev=ev||window.event;
if (ev.shiftKey) { this.style.width=this.style.height=''; }
if (ev.ctrlKey) { this.style.width=this.originalW; this.style.height=this.originalH; }
this.sizing=false;
clearMessage();
return false;
};
e.onmouseout=function(ev) { var ev=ev||window.event;
this.sizing=false;
clearMessage();
return false;
};
}
//}}}
RMAN puzzle: database reincarnation is not in sync with catalog https://blogs.oracle.com/gverma/entry/rman_puzzle_database_reincarna
Randolf Geist on 11g Incremental Statistics
http://www.oaktable.net/content/randolf-geist-11g-incremental-statistics
http://www.dbspecialists.com/blog/uncategorized/index-usage-monitoring-and-keeping-the-horses-out-front/
bde_rebuild.sql - Validates and rebuilds indexes occupying more space than needed
Doc ID: 182699.1
Full Coverage in Infiniband Monitoring with OSWatcher 3.0: IB Monitoring
http://husnusensoy.wordpress.com/tag/infiniband/
<<<
Infiniband bonding is somewhat similar to classical network bonding (or aggregation) with some behavioral differences. The major difference is that Infiniband network bonding interface is running in active/passive mode over Infiniband HCAs. No trunking is allowed as it is possible with classical Ethernet network. So if you have two 20 GBit interfaces you will have 20 Gbit theoretical throughput in an active IB network even that you have two (or more) interfaces. This can be seen easily at the output of ifconfig also. While ib0 interface has send/receive statistics, there is almost no traffic running over ib2 interface.
In case of a failure (or it can be done manually) bonding interface will detect the failure in the active component and will failover to the passive one and you will see some informative warning message in the /var/log/messages file just like in Ethernet bonding.
<<<
<<<
''In a successful RAC configuration failover duration should be less than any CRS or watchdog timeout value.'' That’s because for a period of time no interconnect traffic (heartbeats, or cache fusion) will be available. So if this failover duration is too long due to host CPU utilization, a problem in HCA firmware, a configuration problem at IB switch,or any other problem clusterware or some watchdog will assume that node should be evicted from the cluster to protect cluster integrity.
<<<
http://www.spinics.net/lists/linux-rdma/msg07546.html
http://www.mail-archive.com/general@lists.openfabrics.org/msg08014.html
http://people.redhat.com/dledford/infiniband_get_started.html
http://www.mail-archive.com/general@lists.openfabrics.org/msg08014.html
/***
|Name|InlineJavascriptPlugin|
|Source|http://www.TiddlyTools.com/#InlineJavascriptPlugin|
|Documentation|http://www.TiddlyTools.com/#InlineJavascriptPluginInfo|
|Version|1.9.5|
|Author|Eric Shulman|
|License|http://www.TiddlyTools.com/#LegalStatements|
|~CoreVersion|2.1|
|Type|plugin|
|Description|Insert Javascript executable code directly into your tiddler content.|
''Call directly into TW core utility routines, define new functions, calculate values, add dynamically-generated TiddlyWiki-formatted output'' into tiddler content, or perform any other programmatic actions each time the tiddler is rendered.
!!!!!Documentation
>see [[InlineJavascriptPluginInfo]]
!!!!!Revisions
<<<
2009.04.11 [1.9.5] pass current tiddler object into wrapper code so it can be referenced from within 'onclick' scripts
2009.02.26 [1.9.4] in $(), handle leading '#' on ID for compatibility with JQuery syntax
|please see [[InlineJavascriptPluginInfo]] for additional revision details|
2005.11.08 [1.0.0] initial release
<<<
!!!!!Code
***/
//{{{
version.extensions.InlineJavascriptPlugin= {major: 1, minor: 9, revision: 5, date: new Date(2009,4,11)};
config.formatters.push( {
name: "inlineJavascript",
match: "\\<script",
lookahead: "\\<script(?: src=\\\"((?:.|\\n)*?)\\\")?(?: label=\\\"((?:.|\\n)*?)\\\")?(?: title=\\\"((?:.|\\n)*?)\\\")?(?: key=\\\"((?:.|\\n)*?)\\\")?( show)?\\>((?:.|\\n)*?)\\</script\\>",
handler: function(w) {
var lookaheadRegExp = new RegExp(this.lookahead,"mg");
lookaheadRegExp.lastIndex = w.matchStart;
var lookaheadMatch = lookaheadRegExp.exec(w.source)
if(lookaheadMatch && lookaheadMatch.index == w.matchStart) {
var src=lookaheadMatch[1];
var label=lookaheadMatch[2];
var tip=lookaheadMatch[3];
var key=lookaheadMatch[4];
var show=lookaheadMatch[5];
var code=lookaheadMatch[6];
if (src) { // external script library
var script = document.createElement("script"); script.src = src;
document.body.appendChild(script); document.body.removeChild(script);
}
if (code) { // inline code
if (show) // display source in tiddler
wikify("{{{\n"+lookaheadMatch[0]+"\n}}}\n",w.output);
if (label) { // create 'onclick' command link
var link=createTiddlyElement(w.output,"a",null,"tiddlyLinkExisting",wikifyPlainText(label));
var fixup=code.replace(/document.write\s*\(/gi,'place.bufferedHTML+=(');
link.code="function _out(place,tiddler){"+fixup+"\n};_out(this,this.tiddler);"
link.tiddler=w.tiddler;
link.onclick=function(){
this.bufferedHTML="";
try{ var r=eval(this.code);
if(this.bufferedHTML.length || (typeof(r)==="string")&&r.length)
var s=this.parentNode.insertBefore(document.createElement("span"),this.nextSibling);
if(this.bufferedHTML.length)
s.innerHTML=this.bufferedHTML;
if((typeof(r)==="string")&&r.length) {
wikify(r,s,null,this.tiddler);
return false;
} else return r!==undefined?r:false;
} catch(e){alert(e.description||e.toString());return false;}
};
link.setAttribute("title",tip||"");
var URIcode='javascript:void(eval(decodeURIComponent(%22(function(){try{';
URIcode+=encodeURIComponent(encodeURIComponent(code.replace(/\n/g,' ')));
URIcode+='}catch(e){alert(e.description||e.toString())}})()%22)))';
link.setAttribute("href",URIcode);
link.style.cursor="pointer";
if (key) link.accessKey=key.substr(0,1); // single character only
}
else { // run script immediately
var fixup=code.replace(/document.write\s*\(/gi,'place.innerHTML+=(');
var c="function _out(place,tiddler){"+fixup+"\n};_out(w.output,w.tiddler);";
try { var out=eval(c); }
catch(e) { out=e.description?e.description:e.toString(); }
if (out && out.length) wikify(out,w.output,w.highlightRegExp,w.tiddler);
}
}
w.nextMatch = lookaheadMatch.index + lookaheadMatch[0].length;
}
}
} )
//}}}
// // Backward-compatibility for TW2.1.x and earlier
//{{{
if (typeof(wikifyPlainText)=="undefined") window.wikifyPlainText=function(text,limit,tiddler) {
if(limit > 0) text = text.substr(0,limit);
var wikifier = new Wikifier(text,formatter,null,tiddler);
return wikifier.wikifyPlain();
}
//}}}
// // GLOBAL FUNCTION: $(...) -- 'shorthand' convenience syntax for document.getElementById()
//{{{
if (typeof($)=='undefined') { function $(id) { return document.getElementById(id.replace(/^#/,'')); } }
//}}}
--------------------------------------------------------------
WHEN INSTALLING ORACLE, GO TO THESE SITES AND METALINK NOTES
--------------------------------------------------------------
# Note 466757.1 Critical Patch Update January 2008 Availability Information for Oracle Server and Middleware Products
- this is where you check the CPUs that you'll download
# Note 466759.1 Known Issues for Oracle Database Critical Ph Update
- this document lists the known issues for Oracle Database Critical Patch Update dated January 2008 (CPUJan2008).
These known issues are in addition to the issues listed in the individual CPUJan2008 READMEs.
# Note 394486.1 Risk Matrix Glossary -- terms and definitions for Critical Patch Update risk matrices
- this explains the columns found on the CPU vulnerability matrix and explains the Common Vulnerability Scoring Standard (CVSS)
# Note 394487.1 Use of Common Vulnerability Scoring System (CVSS) by Oracle
- explains the CVSS
# Note 455294.1 Oracle E-Business Suite Critical Patch Update Note October 2007
- when you're patching e-Business suite, go to this note
# Note 438314.1 Critical Patch Update - Introduction to Database n-Apply CPUs
- merge apply
# Oracle� Database on AIX�,HP-UX�,Linux�,Mac OS� X,Solaris�,Tru64 Unix� Operating Systems Installation and Configuration Requirements Quick Reference (8.0.5 to 11.1)
Doc ID: Note:169706.1
# ALERT: Oracle 10g Release 2 (10.2) Support Status and Alerts
Doc ID: Note:316900.1
# Upgrade Companion
--------------------------------------------------
SEPARATE ASM ORACLE_HOME AND ORACLE ORACLE_HOME
--------------------------------------------------
separating an ASM ORACLE_HOME and ORACLE ORACLE_HOME was introduced on 10gR2, also includes separating CLUSTERWARE home
so you'll have three (3) ORACLE_HOMEs if you're configuring a RAC environment
ORACLE_HOME
ASM_HOME
CRS_HOME
-----------------------------------
CLUSTER SYNCHRONIZATION SERVICES
-----------------------------------
ORACLE_HOME
ASM_HOME
If you're in ASM to remove the Oracle Software ORACLE_HOME, make sure that CSS is not running on ORACLE_HOME
if it's running then reconfigure the CSS deamon to run on another home (ASM_HOME).. but by default, if you make another HOME
for ASM, then CSS will be created there.
CSS is created when:
1) you use ASM as storage
2) when you install Clusterware (RAC, but Clusterware has its separate home already)
For Oracle Real Application Clusters installations, the CSS daemon is installed with Oracle Clusterware in a separate Oracle home
directory (also called the Clusterware home directory). For single-node installations, the CSS daemon is installed in and runs from
the same Oracle home as Oracle Database.
If you plan to have more than one Oracle Database 10g installation on a single system and you want to use Automatic Storage Management
for database file storage, then Oracle recommends that you run the CSS daemon and the Automatic Storage Management instance from the
same Oracle home directory and use different Oracle home directories for the database instances.
Oracle� Database Installation Guide 10g Release 2 (10.2) for Linux x86 --> 6 Removing Oracle Software
Enter the following command to identify the Oracle home directory being used to run the CSS daemon:
# more /etc/oracle/ocr.loc
The output from this command is similar to the following:
ocrconfig_loc=/u01/app/oracle/product/10.2.0/db_1/cdata/localhost/local.ocr
local_only=TRUE
The ocrconfig_loc parameter specifies the location of the Oracle Cluster Registry (OCR) used by the CSS daemon. The path up to the cdata directory
is the Oracle home directory where the CSS daemon is running (/u01/app/oracle/product/10.2.0/db_1 in this example).
Note:
If the value of the local_only parameter is FALSE, Oracle Clusterware is installed on this system.
as ROOT
Set the ORACLE_HOME environment variable to specify the path to this Oracle home directory:
Bourne, Bash, or Korn shell:
# ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_2;
# export ORACLE_HOME
Enter the following command to reconfigure the CSS daemon to run from this Oracle home:
# $ORACLE_HOME/bin/localconfig reset $ORACLE_HOME
This command stops the Oracle CSS daemon, reconfigures it in the new Oracle home, and then restarts it.
When the system boots, the CSS daemon starts automatically from the new Oracle home.
Then edit /etc/oratab..
+ASM:/u01/app/oracle/product/10.2.0/db_2:N
-----------------------------------
MEMORY FAQs
-----------------------------------
32bit linux
shmax max value is up to 4GB but on 32bit Oracle database REGARDLESS OF PLATFORM the SGA is 1.7GB max
32bit windows
memory for 32bit windows is upto 2GB max but the sga is up to 1.7GB max (REGARDLESS OF PLATFORM)
-----------------------------------
Enterprise Manager Grid Control
-----------------------------------
# ORACLE_HOME
You can install this release more than once on the same system, as long as each installation is done in a separate Oracle home directory.
# Management Agent
Ensure the Management Agent Oracle home must not contain any other Oracle software installation.
For Management Agent deployments, make sure that /tmp directory has 1300 MB of disk space available on the target machine.
Before you begin the installation of a Management Agent, ensure that the target host where you want to install the Management Agent has the appropriate users and operating system groups created. For information about creating required users and operating system groups, see Chapter1, "Creating Required Operating System Groups and Users". Also ensure that the target host has the group name as well as the group id created. Otherwise, the installation will fail.
You can install management agent in 7 ways:
Agent Deploy Application
(installation types)
Fresh Installation of the Management Agent
Installation Using a Shared Agent Home
NOTE:
NFS agent deployment is not supported on a cluster. If you want the agent to monitor a cluster and Oracle RAC, you must use the agent deployment with the cluster option, and not the NFS (network file system) deployment method.
NOTE:
Do not attempt to view the prerequisite check status while the prerequisite checks are still in progress. If you do so while the checks are still in progress, the application will display an error.
Ensure that you do not specify duplicate entries of the host list. If there are duplicate host entries in this list, the application hangs. Also ensure that you use the same host names for which the SSH has been set.
The important parameters for Agent Installation are -b, -c, -n, -z and optionally -i, -p, -t, -d.
An unsecure agent cannot upload data to the secure Management Service. Oracle also recommends for security reasons that you change the Management Service password specified here after the installation is complete.
/etc/sudoers
After the installation and configuration phase, the Agent Deploy application checks for the existence of the Central Inventory (located at /etc/oraInst.loc). If this is the first Oracle product installation, Agent Deploy executes the following scripts:
1.orainstRoot.sh - UNIX Machines only: This creates oraInst.loc that contains the central inventory.
2. root.sh - UNIX Machines only: This runs all the scripts that must be executed as root.
If this is not the first Oracle product installation, Agent Deploy executes only the root.sh script.
nfsagentinstall Script
Sharing the Agent Oracle Home Using the nfsagentinstall Script
The agent Oracle home cannot be installed in an Oracle Cluster Shared File System (OCFS) drive, but is supported on an NAS (Network Attached Storage) drive.
You can perform only one nfsagent installation per host. Multiple nfsagent installations on the same host will fail.
When you are performing an NFS Agent installation, the operating system (and version) of the target machine where the NFS Agent needs to be installed should be the same as the operating system (and version) of the machine where the master agent is located. If the target machine has a different operating system, then the NFS Agent installation will fail. For example, if the master agent is on Red Hat Linux Version 4, then the NFS agent can be installed only on those machines that run Red Hat Linux Version 4. If you try to install on Red Hat Linux Version 3 or a different operating system for that matter, then the NFS installation will fail.
NOTE:
For NFS Agent installation from 10.2.0.3.0 master agents, the NFS agents will be started automatically after rebooting the machine.
For NFS Agent installation from 10.2.0.3.0 master agents, agentca script for rediscovery of targets present in the <statedir>/bin directory can be used to rediscover targets on that host.
agentDownload Script
Use the agentDownload script to perform an agent installation on a cluster environment
For Enterprise Manager 10g R2, the <version> value in the preceding syntax will be 10.2.0.2.0
NOTE:
If the Management Service is using a load balancer, you must modify the s_omsHost and s_omsPort values in the <OMS_HOME>/sysman/agent_download/<version>/agentdownload.rsp file to reflect the load balancer host and port before using the agentDownload script.
The base directory for the agent installation must be specified using the -b option. For example, if you specified the parent directory to be agent_download (/scratch/agent_download), then the command to be specified is:
-b /scratch/agent_download
The agent Oracle home (agent10g) is created as a subdirectory under this parent directory.
The agent that you are installing is not secure by default. If you want to secure the agent, you must specify the password using the AGENT_INSTALL_PASSWORD environment variable, or by executing the following command after the installation is complete:
<Agent_Home>/bin/emctl secure agent
For Enterprise Manager 10.2.0.3.0, if the agent_download.rsp file does not contain the encrypted registration password or the AGENT_INSTALL_PASSWORD environment variable is not set, the agentDownload script in UNIX will prompt for the Agent Registration password which is used for securing the agent. Provide the password to secure the agent. If you do not want to secure the agent, continue running the agentDownload script by pressing Enter.
The root.sh script must be run as root; otherwise, the Enterprise Manager job system will not be accessible to the user. The job system is required for some Enterprise Manager features, such as hardware and software configuration tasks and configuring managed database targets.
This script uses the -ignoresysPrereqs flag to bypass prerequisite check messages for operating system-specific patches during installation; prerequisite checks are still performed and saved to the installer logs. While this makes the Management Agent easier to deploy, check the logs to make sure the target machines on which you are installing Management Agents are properly configured for successful installation.
Cluster Agent Installation
Management Agent Cloning
Interactive Installation Using Oracle Universal Installer
Silent Installation
If you are deploying the Management Agent in an environment having multiple Management Service installations that are using a load balancer, you should not access the Agent Deploy application using this load balancer. Oracle recommends that you access the Management Service directly.
you'll have issue with OMS running on load balancer, have some configurations to do
The default port value for 10.2 Management Agent is 3872.
The default port for Grid Control is 4889. This should be available after you install the Management Service.
# PATCHING
For 10.2.0.1, the OMS installation not only installs an OMS, but also automatically installs a Management Agent. However, when you upgrade that OMS to 10.2.0.4.0 using the Patch Set, the Patch Set does not upgrade any of the associated Management Agents. To upgrade the Management Agents, you have to manually apply the Patch Set on each of the Management Agent homes, as they are separate Oracle Homes.
# POST INSTALL
Agent Reconfiguration and Rediscovery
Note:
You must specify either the -f or -d option when executing this script. Using one of these two options is mandatory.
Caution:
Do not use the agentca -f option to reconfigure any upgraded agent (standalone and RAC).
-----------------------------------
ROOT.SH
-----------------------------------
Logging In As Root During Installation (UNIX Only)?
At least once during installation, the installer prompts you to log in as the root user and run a script. You must log in as root because the script edits files in the /etc directory.
The installer prompts you to run the root.sh script in a separate window. This script creates files in the local bin directory (/usr/local/bin, by default).
On IBM AIX and HP UX platforms, the script the files in the /var/opt directory.
-----------------------------------
ASMLIB and raw devices
-----------------------------------
by running the /etc/init.d/oracleasm configure, it will configure the /etc/sysconfig/oracleasm file
# it must be DBA and not be OINSTALL, the oraInventory owner should not have access to the disks it should be the DBA
# ASM
raw/raw[67]:oracle:dba:0660
# OCR
raw/raw[12]:root:oinstall:0640
# Voting Disks
raw/raw[3-5]:crs:oinstall:0640 <-- this is usually user ORACLE, in this scenario the owner of the clusterware software is owned by CRS so he has to own the Voting Disks
-----------------------------------
CLONING HOME
-----------------------------------
The cloning process works by copying all of the files from the source Oracle home to the destination Oracle home. Thus, any files used by the source instance that are located outside the source Oracle home's directory structure are not copied to the destination location.
The size of the binaries at the source and the destination may differ because these are relinked as part of the clone operation and the operating system patch levels may also differ between these two locations. Additionally, the number of files in the cloned home would increase because several files copied from the source, specifically those being instantiated, are backed up as part of the clone operation.
OUI Cloning is more beneficial than using the tarball approach because cloning configures the Central Inventory and the Oracle home inventory in the cloned home. Cloning also makes the home manageable and allows the paths in the cloned home and the target home to be different.
The cloning process uses the OUI cloning functionality. This operation is driven by a set of scripts and add-ons that are included in the respective Oracle software.
The cloning process has two phases:
1) Source Preparation Phase
- $ORACLE_HOME/clone/bin/prepare_clone.pl needs to be executed only for the Application Server Cloning. Database and CRS Oracle home Cloning does not need this
- archive the home, exclude the following:
*.log, *.dbf, listerner.ora, sqlnet.ora, and tnsnames.ora
- Also ensure that you do not archive the following folders:
$ORACLE_HOME/<Hostname>_<SID>
$ORACLE_HOME/oc4j/j2ee/OC4J_DBConsole_<Hostname>_<SID>
Create ExcludeFileList.txt:
[oracle@dg10g2 10.2.0]$ find db_1 -iname *.log > ExcludeFileList.txt
[oracle@dg10g2 10.2.0]$ find db_1 -iname *.dbf >> ExcludeFileList.txt
[oracle@dg10g2 10.2.0]$ find db_1 -iname listener.ora >> ExcludeFileList.txt
[oracle@dg10g2 10.2.0]$ find db_1 -iname sqlnet.ora >> ExcludeFileList.txt
[oracle@dg10g2 10.2.0]$ find db_1 -iname tnsnames.ora >> ExcludeFileList.txt
[oracle@dg10g2 10.2.0]$ echo "db_1/dg10g2.us.oracle.com_orcl" >> ExcludeFileList.txt
[oracle@dg10g2 10.2.0]$ echo "db_1/oc4j/j2ee/OC4J_DBConsole_dg10g2.us.oracle.com_orcl" >> ExcludeFileList.txt
TAR home:
nohup tar -X ExcludeFileList.txt -cjvpf db_1.tar.bz2 db_1 &
2) Cloning Phase
- 10gR1 run: $ORACLE_HOME\oui\bin\runInstaller.sh ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_2 ORACLE_HOME_NAME=asm_home1 -clone
- 10gR2 run: perl <Oracle_Home>/clone/bin/clone.pl ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_2 ORACLE_HOME_NAME=asm_home1
3) Check log files
The cloning script runs multiple tools, each of which may generate its own log files. However, the following log files that OUI and the cloning scripts generate, are the key log files of interest for diagnostic purposes:
<Central_Inventory>/logs/cloneActions timestamp.log: Contains a detailed log of the actions that occur during the OUI part of the cloning.
<Central_Inventory>/logs/oraInstall timestamp.err: Contains information about errors that occur when OUI is running.
<Central_Inventory>/logs/oraInstall timestamp.out: Contains other miscellaneous messages generated by OUI.
$ORACLE_HOME/clone/logs/clone timestamp.log: Contains a detailed log of the actions that occur during the pre-cloning and cloning operations.
$ORACLE_HOME/clone/logs/error timestamp.log: Contains information about errors that occur during the pre-cloning and cloning operations.
To find the location of the Oracle inventory directory:On all UNIX system computers except Linux and IBM AIX, look in /var/opt/oracle/oraInst.loc. On IBM AIX and Linux-based systems look in /etc/oraInst.loc file.
On Windows system computers, the location can be obtained from the Windows Registry key: HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\INST_LOC.
After the clone.pl script finishes running, refer to these log files to obtain more information about the cloning process.
-- Reference for 11.2 home cloning http://blogs.oracle.com/AlejandroVargas/2010/11/oracle_rdbms_home_install_usin.html
-----------------------------------
Windows Install
-----------------------------------
1) Install Loopback Adapter
2) Configure Listener (port number must be different if installing multiple softwares)
3) Create Database
Scenarios:
==========
1) When already have an existing database with EM, then dropped the database..
It drops everything including the services, except the LISTENER and iSQLPLUS service.
Then, when I create again, it creates the database and EM with 5500 port number.
2) Noticed that when I remove this on TNSNAMES.ORA, the EM fails.
*** This is because, when you configured your LISTENER to be on a different port number (1522)
it will put a value on the parameter LOCAL_LISTENER=LISTENER_ORA10, and will put a value on TNSNAMES.ORA...
ORA10 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = sqlnbcn-014.corp.sqlwizard.com)(PORT = 1522))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = ora10.ph.oracle.com)
)
)
LISTENER_ORA10 =
(ADDRESS = (PROTOCOL = TCP)(HOST = sqlnbcn-014.corp.sqlwizard.com)(PORT = 1522)) <-- THIS!!!
http://python.org/download/releases/3.1.2/
http://love-python.blogspot.com/2008/03/install-idle-in-linux.html
http://www.velocityreviews.com/forums/t359686-configuring-idle-on-linux.html
Oracle� Database on AIX�,HP-UX�,Linux�,Mac OS� X,Solaris�,Tru64 Unix� Operating Systems Installation and Configuration Requirements Quick Reference (8.0.5 to 11.1)
Doc ID: Note:169706.1
-- also located at Installations folder
-- 11R2 Changes
11gR2 Install (Non-RAC): Understanding New Changes With All New 11.2 Installer [ID 884232.1]
11gR2 Clusterware and Grid Home - What You Need to Know [ID 1053147.1]
Requirements for Installing Oracle 11gR2 RDBMS on RHEL (and OEL) 5 on AMD64/EM64T [ID 880989.1]
-- PATCHES
Good practices applying patches and patchsets
Doc ID: Note:176311.1
Oracle Recommended Patches -- Oracle Database [ID 756671.1]
Recommended Patch Bundles Note 756388.1
Generic Support Status Notes (strongly recommended to keep an eye on notes below)
* For 11.1.0 Note id 454507.1
* For 10.2.0 Note id 316900.1
* For 10.1.0 Note id 263719.1
* For 9.2 Note id 189908.1
-- PATCH SET
Release Schedule of Current Database Patch Sets
Doc ID: 742060.1
rolling back a patchset (new functionality provided with 9.2.0.7 and 10.2)
How to rollback a patchset
Doc ID: Note:334598.1
How To Find RDBMS patchsets on Metalink
Doc ID: 438049.1
MOS Note 1189783.1 – Important Changes to Oracle Database Patch Sets Starting With 11.2.0.2
-- 11.2 PATCH SET
MOS Note 1189783.1 – Important Changes to Oracle Database Patch Sets Starting With 11.2.0.2
How to deinstall "old" SW after 11.2.0.2 has been applied?
http://blogs.oracle.com/UPGRADE/2010/10/how_to_deinstall_old_sw_after.html
-- PATCH SET UPDATES
Intro to Patch Set Updates (PSU)
Doc ID: 854428.1
Patch Set Updates - One-off Patch Conflict Resolution [ID 1061295.1]
-- CPU
Reference List of Critical Patch Update Availability Documents For Oracle Database and Fusion Middleware Product
Doc ID: 783141.1
http://www.freelists.org/post/oracle-l/patch-source,4
How To Find The Description/Details Of The Bugs Fixed By A Patch Using Opatch?
Doc ID: 750350.1
http://www.oracle.com/technology/deploy/security/cpu/cpufaq.htm
Critical Patch Update - Introduction to Database n-Apply CPUs
Doc ID: 438314.1
http://blogs.oracle.com/security/2007/07/17/#a62
http://www.integrigy.com/security-resources/whitepapers/IOUG_Oracle_Critical_Patch_Updates_Unwrapped.pdf
Security Alerts and Critical Patch Updates- Frequently Asked Questions
Doc ID: 360470.1
OPatch - New features
Doc ID: 749368.1
How To Find The Description/Details Of The Bugs Fixed By A Patch Using Opatch?
Doc ID: 750350.1
10.2.0.4 Patch Set - List of Bug Fixes by Problem Type
Doc ID: 401436.1
Critical Patch Update April 2009 Database Known Issues
Doc ID: 786803.1
-- PATCHES WINDOWS
Oracle Database Server and Networking Patches for Microsoft Platforms
Doc ID: 161549.1
-- ROLLING PATCH
Oracle Clusterware (formerly CRS) Rolling Upgrades
Doc ID: Note:338706.1
Rolling Patch - OPatch Support for RAC [ID 244241.1]
-- ORAINVENTORY
How To Move The Central Inventory To Another Location
Doc ID: Note:299260.1
-- ORACLE_HOME
MOVING ORACLE_HOME
Doc ID: Note:28433.1
Can You Rename/Change The Oracle Home Directory After Installation ?
Doc ID: Note:423285.1
-- OUI
Overview of the Oracle Universal Installer
Doc ID: Note:74182.1
-- OUI DEBUG
How to Diagnose Oracle Installer Errors On Unix About Permissions or Lack of Space?
Doc ID: 401317.1
ERROR STARTING RUNINSTALLER /tmp/...../jre/lib/PA_RISC2.0/libmawt.sl: Not enough space
Doc ID: 308199.1
-- DBA_REGISTRY
Information On Installed Database Components and Schemas
Doc ID: Note:472937.1
How to remove the OLAP Catalog and OLAP APIs from the database
Doc ID: Note:224746.1
How to Uninstall OLAP Options from ORACLE_HOME?
Doc ID: Note:331808.1
How To Remove or De-activate OLAP After Migrating From 9i To Standard Edition 10g
Doc ID: Note:467643.1
Database Status Check Before, During And After Migrations And Upgrades
Doc ID: Note:437794.1
What to do if you run an upgrade or migration with invalid objects and no backup
Doc ID: Note:453642.1
Packages and Types Invalid in Dba_registry
Doc ID: Note:457861.1
DBA_REGISTRY Shows Components Of A New Database Are At The Base Level, Even Though A Patchset Is Installed
Doc ID: Note:339614.1
DBA_REGISTRY is invalid
Doc ID: Note:393319.1
How to see what options are installed
Doc ID: Note:473542.1
RAC Option Invalid After Migration
Doc ID: Note:312071.1
DBA_REGISTRY Shows Status of Loaded After Migration to 9.2
Doc ID: Note:252090.1
How to Diagnose Invalid or Missing Data Dictionary (SYS) Objects
Doc ID: Note:554520.1
Oracle9.2 New Feature: Migration Infrastructure Improvements
Doc ID: Note:177382.1
-- DBA_REGISTRY, after wordsize change 10.2.0.4
How to check if Intermedia Audio/Image/Video is Installed Correctly?
Doc ID: 221337.1
Manual upgrade of the 10.2.x JVM fails with ORA-3113 and ORA-7445
Doc ID: 459060.1
Jserver Java Virtual Machine Become Invalid After Catpatch.Sql
Doc ID: 312140.1
How to Reload the JVM in 10.1.0.X and 10.2.0.X
Doc ID: 276554.1
Script to Check the Status of the JVM within the Database
Doc ID: 456949.1
How to Tell if Java Virtual Machine Has Been Installed Correctly
Doc ID: 102717.1
-- RHEL 5
Requirements For Installing Oracle10gR2 On RHEL 5/OEL 5 (x86_64)
Doc ID: 421308.1
-- RHEL4
Requirements for Installing Oracle 10gR2 RDBMS on RHEL 4 on AMD64/EM64T
Doc ID: Note:339510.1
-- LINUX ITANIUM
montecito bug
http://k-freedom.spaces.live.com/blog/cns!CF84914AA1F284FD!167.entry
How To Install Oracle RDBMS Software On Itanium Servers With Montecito Processors
Doc ID: Note:400227.1
-- http://www.ora-solutions.net/web/blog/
Requirements for Installing Oracle 10gR2 RDBMS on RHEL 5 on Linux Itanium (ia64)
Doc ID: Note:748378.1
Recently, I had to install 10gR2 on Linux Itanium (Montecito CPUs) and found out that the Java version that ships with the binaries does not work on this platform. Therefore you have to download Patch 5390722 and perform the following steps for RAC installation:
1. Install Patch 5390722: Install JDK into new 10.2 CRS Home, then install JRE into new 10.2 CRS Home.
2. Take a tar backup of the CRS Home containing these two components. You will need it.
3. Install 10.2.0.1 Clusterware by running from 10.2.0.1 binaries: ./runInstaller -jreLoc $CRS_HOME/jre/1.4.2
4. Install Patch 5390722 with the option CLUSTER_NODES={"node1", "node2", ...}: Install JDK into new 10.2 RDBMS Home, then install JRE into new 10.2 RDBMS
5. Install 10.2.0.1 RDBMS Binaries into the new 10.2 RDBMS: ./runInstaller -jreLoc $ORACLE_HOME/jre/1.4.2
6. If you want to install the 10.2.0.4 patchset, you will have to follow these steps:
for CRS: ./runInstaller -jreLoc $ORA_CRS_HOME/jdk/jre
for RDBMS: ./runInstaller -jreLoc $ORACLE_HOME/jdk/jre
7. After that, you have to repair the JRE because the 10.2.0.4 patchset has overwritten the patched JRE with the defective versions. (7448301)
% cd $ORACLE_HOME/jre
% rm -rf 1.4.2
% tar –xvf $ORACLE_HOME/jre/1.4.2-5390722.tar
Sources:
* Note: 404248.1 - How To Install Oracle CRS And RAC Software On Itanium Servers With Montecito Processors
* Note: 400227.1 - How To Install Oracle RDBMS Software On Itanium Servers With Montecito Processors
* Bug 7448301 - Linux Itanium: 10.2.0.4 Patchset for Linux Itanium (Montecito) has wrong Java runtime
Support of Linux and Oracle Products on Linux (Doc ID 266043.1)
How To Install Oracle RDBMS Software On Itanium Servers With Montecito Processors (Doc ID 400227.1)
Requirements for Installing Oracle 10gR2 RDBMS on RHEL 5 on Linux Itanium (ia64) (Doc ID 748378.1)
Frequently Asked Questions: Oracle E-Business Suite Support on Itanium (Doc ID 311717.1)
How To Identify A Server Which Has Intel® Montecito Processors Installed (Doc ID 401332.1)
Oracle® Database on Unix AIX®,HP-UX®,Linux®,Mac OS® X,Solaris®,Tru64 Unix® Operating Systems Installation and Configuration Requirements Quick Reference (8.0.5 to 11.2) (Doc ID 169706.1)
Installing Oracle Data Integrator On Intel Itanium (64-bit) Hardware (Doc ID 451928.1)
-- DATABASE VAULT
Note 726568.1 How to Install Database Vault Patches on top of 11.1.0.6
How to Install Database Vault Patches on top of 10.2.0.4
Doc ID: 731466.1
How to Install Database Vault Patches on top of 9.2.0.8.1 and 10.2.0.3
Doc ID: 445092.1
-- CRS, ASM, RDBMS HOMES COMPATIBILITY
Note 337737.1 Oracle Clusterware - ASM - Database Version Compatibility
Note 363254.1 Applying one-off Oracle Clusterware patches in a mixed version home environment
-- DEBUG
How to Diagnose Oracle Installer Errors On Unix About Permissions or Lack of Space?
Doc ID: 401317.1
-- CLONE
Cloning A Database Home And Changing The User/Group That Owns It
Doc ID: 558478.1
An Example Of How To Clone An Existing Oracle9i Release 2 (9.2.0.x) RDBMS Installation Using OUI
Doc ID: 559863.1
Cloning An Existing Oracle9i Release 2 (9.2.0.x) RDBMS Installation Using OUI
Doc ID: 559299.1
How To Clone An Existing RDBMS Installation Using EMGC
Doc ID: 549268.1
While Cloning Oracle9i Release 2 (9.2.0.x), OUI Fails With "Exception in thread "main" java.lang.NoClassDefFoundError: oracle/sysman/oii/oiic/OiicInstaller"
Doc ID: 559859.1
Cloning with -ignoreSysPrereqs on OS versions certified after initial release
Doc ID: 443376.1
Cloning An Existing Oracle9i Release 2 (9.2.0.x) RDBMS Installation Using OUI
Doc ID: 559299.1
-- MD5
How To Determine md5 and SHA-1 Check-sum in AIX?
Doc ID: 427591.1
-- UNINSTALL - WINDOWS
WIN: Manually Removing all Oracle Components on Microsoft Windows Platforms
Doc ID: 124353.1
-- REINSTALL
How to Reinstall ASM or DB HOME on One RAC Node From the Install Media. [ID 864614.1]
-- CASE SENSITIVENESS
ORACLE_SID, TNS Alias,Password File and others Case Sensitiveness
Doc ID: 225097.1
-- OPEN FILES
Can't ssh into the system with specific user account: Connection reset by peer (Doc ID 788064.1)
Check the processes run by user 'oracle':
[oracle@rac2 ~]$ ps -u oracle|wc -l
489
Check the files opened by user 'oracle':
[oracle@rac ~]$ /usr/sbin/lsof -u oracle | wc -l
62490
/***
|Name:|InstantTimestampPlugin|
|Description:|A handy way to insert timestamps in your tiddler content|
|Version:|1.0.10 ($Rev: 3646 $)|
|Date:|$Date: 2008-02-27 02:34:38 +1000 (Wed, 27 Feb 2008) $|
|Source:|http://mptw.tiddlyspot.com/#InstantTimestampPlugin|
|Author:|Simon Baird <simon.baird@gmail.com>|
|License:|http://mptw.tiddlyspot.com/#TheBSDLicense|
!!Usage
If you enter {ts} in your tiddler content (without the spaces) it will be replaced with a timestamp when you save the tiddler. Full list of formats:
* {ts} or {t} -> timestamp
* {ds} or {d} -> datestamp
* !ts or !t at start of line -> !!timestamp
* !ds or !d at start of line -> !!datestamp
(I added the extra ! since that's how I like it. Remove it from translations below if required)
!!Notes
* Change the timeFormat and dateFormat below to suit your preference.
* See also http://mptw2.tiddlyspot.com/#AutoCorrectPlugin
* You could invent other translations and add them to the translations array below.
***/
//{{{
config.InstantTimestamp = {
// adjust to suit
timeFormat: 'DD/0MM/YY 0hh:0mm',
dateFormat: 'DD/0MM/YY',
translations: [
[/^!ts?$/img, "'!!{{ts{'+now.formatString(config.InstantTimestamp.timeFormat)+'}}}'"],
[/^!ds?$/img, "'!!{{ds{'+now.formatString(config.InstantTimestamp.dateFormat)+'}}}'"],
// thanks Adapted Cat
[/\{ts?\}(?!\}\})/ig,"'{{ts{'+now.formatString(config.InstantTimestamp.timeFormat)+'}}}'"],
[/\{ds?\}(?!\}\})/ig,"'{{ds{'+now.formatString(config.InstantTimestamp.dateFormat)+'}}}'"]
],
excludeTags: [
"noAutoCorrect",
"noTimestamp",
"html",
"CSS",
"css",
"systemConfig",
"systemConfigDisabled",
"zsystemConfig",
"Plugins",
"Plugin",
"plugins",
"plugin",
"javascript",
"code",
"systemTheme",
"systemPalette"
],
excludeTiddlers: [
"StyleSheet",
"StyleSheetLayout",
"StyleSheetColors",
"StyleSheetPrint"
// more?
]
};
TiddlyWiki.prototype.saveTiddler_mptw_instanttimestamp = TiddlyWiki.prototype.saveTiddler;
TiddlyWiki.prototype.saveTiddler = function(title,newTitle,newBody,modifier,modified,tags,fields,clearChangeCount,created) {
tags = tags ? tags : []; // just in case tags is null
tags = (typeof(tags) == "string") ? tags.readBracketedList() : tags;
var conf = config.InstantTimestamp;
if ( !tags.containsAny(conf.excludeTags) && !conf.excludeTiddlers.contains(newTitle) ) {
var now = new Date();
var trans = conf.translations;
for (var i=0;i<trans.length;i++) {
newBody = newBody.replace(trans[i][0], eval(trans[i][1]));
}
}
// TODO: use apply() instead of naming all args?
return this.saveTiddler_mptw_instanttimestamp(title,newTitle,newBody,modifier,modified,tags,fields,clearChangeCount,created);
}
// you can override these in StyleSheet
setStylesheet(".ts,.ds { font-style:italic; }","instantTimestampStyles");
//}}}
Identify Data Dictionary Inconsistency
Doc ID: 456468.1
X tables
http://www.adp-gmbh.ch/ora/misc/x.html
http://www.stormloader.com/yonghuang/computer/x$table.html
The names for the x$ tables can be queried with
select kqftanam from x$kqfta;
How To Give Grant Select On X$ Objects In Oracle 10g?
Doc ID: Note:453076.1
Script to Extract SQL Statements for all V$ Views
Doc ID: Note:132793.1
-- chinese
http://translate.google.com/translate?sl=auto&tl=en&u=http://www.oracledatabase12g.com/archives/oracle-internal-research.html
How an Oracle block# is mapped to a file offset (in bytes or OS blocks) [ID 761734.1]
alter index idx_empid invisible; <-- make the index invisible
select /*+ index(idx_empid) */ * from employee where empid = 1001; <-- even with invisible, will force it to use index
alter session set optimizer_use_invisible_indexes = true; <-- with invisible indexes, optimizer will be aware about it and may use the indexes
http://viralpatel.net/blogs/2010/06/invisible-indexes-in-oracle-11g.html
http://oracletoday.blogspot.com/2007/08/invisible-indexes-in-11g.
http://www.orafaq.com/forum/t/159978/0/
http://avdeo.com/2011/03/23/virual-index-and-invisible-index/ <-- virtual and invisible indexes
! CMAN package conflict
<<<
If you have installed the Cluster RPM group then you will hit an RPM conflict on CMAN.. the workaround is to remove the CMAN package
<<<
! FENCE AGENTS error
<<<
since I got the unsigned fence-agents RPM I have to disable the gpg-check on the yum repo
<<<
! VDS service and LIBVIRTD issue
NOTE: Do this before adding the host if you are going to place RHEVM on the same host
{{{
THE HOST IS UNRESPONSVE AND I HAVE TO RESTART/START THE VDS SERVICE TOGETHER WITH LIBVIRTD
[root@iceman ~]# chkconfig --list | egrep -i "libvirt|vds"
libvirtd 0:off 1:off 2:off 3:on 4:on 5:on 6:off
vdsmd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
[root@iceman ~]#
[root@iceman ~]#
[root@iceman ~]#
[root@iceman ~]# service libvirtd status
libvirtd (pid 6745) is running...
[root@iceman ~]#
[root@iceman ~]# service vdsmd status
Using /usr/share/vdsm/vdsm
VDS daemon server is running
AFTER RESTART
[root@iceman ~]# chkconfig --list | egrep -i "libvirt|vds"
libvirtd 0:off 1:off 2:off 3:on 4:on 5:on 6:off
vdsmd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
[root@iceman ~]#
[root@iceman ~]#
[root@iceman ~]# service libvirtd status
libvirtd (pid 5387) is running...
[root@iceman ~]#
[root@iceman ~]# service vdsmd status
Using /usr/share/vdsm/vdsm
VDS daemon is not running
[root@iceman ~]#
[root@iceman ~]#
[root@iceman ~]# date
Sat Nov 7 16:34:30 PHT 2009
NOW START THE VDSM AND LIBVIRTD
[root@iceman ~]# service vdsmd stop
Using /usr/share/vdsm/vdsm
Shutting down vdsm daemon:
vdsm: not running [FAILED]
[root@iceman ~]#
[root@iceman ~]#
[root@iceman ~]#
[root@iceman ~]# service libvirtd stop
Stopping libvirtd daemon: [ OK ]
[root@iceman ~]#
[root@iceman ~]#
[root@iceman ~]# service vdsmd stop
Using /usr/share/vdsm/vdsm
Shutting down vdsm daemon:
vdsm: not running [FAILED]
[root@iceman ~]#
[root@iceman ~]# service vdsmd start
Using /usr/share/vdsm/vdsm
Starting up vdsm daemon:
vdsm start [ OK ]
[root@iceman ~]#
[root@iceman ~]#
[root@iceman ~]# service libvirtd start
Starting libvirtd daemon: [ OK ]
FOUND OUT THAT FAILS TO CONNECT TO DB
CHANGE THE FOLLOWING BEFORE RESTART
[root@iceman ~]# chkconfig --list | egrep -i "libvirt|vds"
libvirtd 0:off 1:off 2:off 3:on 4:on 5:on 6:off
vdsmd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
[root@iceman ~]#
[root@iceman ~]#
[root@iceman ~]#
[root@iceman ~]# chkconfig --level 2345 libvirtd on
[root@iceman ~]#
[root@iceman ~]#
[root@iceman ~]# chkconfig --list | egrep -i "libvirt|vds"
libvirtd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
vdsmd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
AFTER RESTART STILL VDSMD NOT RUNNING
[root@iceman ~]# service libvirtd status
libvirtd (pid 5393) is running...
[root@iceman ~]#
[root@iceman ~]#
[root@iceman ~]# service vdsmd status
Using /usr/share/vdsm/vdsm
VDS daemon is not running
[root@iceman ~]#
[root@iceman ~]#
[root@iceman ~]# date
Sat Nov 7 17:01:18 PHT 2009
YEAH VDS IS NOT REALLY STARTING MAYBE BECAUSE RHEVM IS ON THE SAME SERVER AND IT DOES NOT DETECT THE HOST
[root@iceman vdsm]# ls -ltr
total 4752
drwxr-xr-x 2 vdsm kvm 4096 Oct 1 23:43 backup
-rw-rw---- 1 vdsm kvm 0 Nov 3 13:00 metadata.log
-rw-rw---- 1 vdsm kvm 4848393 Nov 7 16:56 vdsm.log.bak
[root@iceman vdsm]#
[root@iceman vdsm]#
[root@iceman vdsm]# cd backup/
[root@iceman backup]# ls
[root@iceman backup]# cd ..
[root@iceman vdsm]# ls
backup metadata.log vdsm.log.bak
[root@iceman vdsm]# cat metadata.log
[root@iceman vdsm]#
[root@iceman vdsm]#
[root@iceman vdsm]# service vdsmd status
Using /usr/share/vdsm/vdsm
VDS daemon is not running
AS A WORKAROUND I ADDED THIS LINE
[root@iceman ~]# cat /etc/rc.local
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.
touch /var/lock/subsys/local
service libvirtd stop
service vdsmd stop
service vdsmd start
service libvirtd start
}}}
! Mounting NFS RPC host error
<<<
still have to be researched
<<<
! VirtIO
<<<
On Linux, when creating a new virtual disk.. and if you choose VirtIO the device name will be /dev/vda
On Windows, there are specific drivers to use the VirtIO.. see KBASE links
<<<
! When using vmware and KVM together
{{{
[karao@karl ~]$ cat /etc/rc.local
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.
touch /var/lock/subsys/local
# temporarily removes the kvm module
/etc/init.d/libvirtd stop
modprobe -r kvm_intel
modprobe -r kvm
}}}
<<<
The latest Itanium is the Montvale.. http://en.wikipedia.org/wiki/List_of_Intel_Itanium_microprocessors#Montvale_.2890_nm.29
From the Oracle's Certification matrix, it is still the Montecito. Although I saw one benchmark where Montvale was used (http://www.intel.com/performance/server/itanium/summary.htm)
If they want to verify if Montvale is supported they can file an SR for that. Below is the certification for 10gR2 (both single instance & RAC)
10gR2 64-bit Linux Itanium Red Hat Enterprise 5 Certified
10gR2 64-bit Linux Itanium Red Hat Enterprise 4 Certified
10gR2 64-bit Linux Itanium SLES-9 Certified
10gR2 RAC Linux Itanium Red Hat Enterprise 4 Certified
10gR2 RAC Linux Itanium Red Hat Enterprise 3 Certified
10gR2 RAC Linux Itanium SLES-8 Certified
10gR2 RAC Linux Itanium SLES-9 Certified
10gR2 RAC Linux Itanium Red Hat Enterprise 2.1 Certified
If they are on the process of evaluation, I would still go for the multicore Xeon (Nehalem). If they've not heard of the news that RedHat will not support Itanium on RHEL6 better read this http://www.theregister.co.uk/2009/12/18/redhat_rhel6_itanium_dead/
Below are more articles regarding Itanium on the Oracle Support site:
Support of Linux and Oracle Products on Linux (Doc ID 266043.1)
How To Install Oracle RDBMS Software On Itanium Servers With Montecito Processors (Doc ID 400227.1)
Requirements for Installing Oracle 10gR2 RDBMS on RHEL 5 on Linux Itanium (ia64) (Doc ID 748378.1)
Frequently Asked Questions: Oracle E-Business Suite Support on Itanium (Doc ID 311717.1)
How To Identify A Server Which Has Intel® Montecito Processors Installed (Doc ID 401332.1)
Oracle® Database on Unix AIX®,HP-UX®,Linux®,Mac OS® X,Solaris®,Tru64 Unix® Operating Systems Installation and Configuration Requirements Quick Reference (8.0.5 to 11.2) (Doc ID 169706.1)
Installing Oracle Data Integrator On Intel Itanium (64-bit) Hardware (Doc ID 451928.1)
<<<
http://jonathanlewis.wordpress.com/2010/08/02/joins/
http://jonathanlewis.wordpress.com/2010/08/09/joins-nlj/
http://jonathanlewis.wordpress.com/2010/08/10/joins-hj/
http://jonathanlewis.wordpress.com/2010/08/15/joins-mj/
-- Optimizing two table join - video! TROUG
http://jonathanlewis.wordpress.com/2011/06/23/video/
SQL Joins Graphically
http://db-optimizer.blogspot.com/2010/09/sql-joins-graphically.html based on http://www.codeproject.com/KB/database/Visual_SQL_Joins.aspx?msg=2919602
http://db-optimizer.blogspot.com/2009/06/sql-joins.html based on http://blog.mclaughlinsoftware.com/oracle-sql-programming/basic-sql-join-semantics/
http://www.gplivna.eu/papers/sql_join_types.htm
http://www.joomla.org/
http://docs.joomla.org/Main_Page
http://www.cloudaccess.net/joomla-training-video-series-beyond-the-basics.html <-- GOOD STUFF tutorials
http://docs.joomla.org/Can_you_remove_the_%22Powered_by_Joomla!%22_message%3F <-- remove unnecessary stuff
http://docs.joomla.org/Changing_the_site_favicon
http://forums.digitalpoint.com/showthread.php?t=526998 <-- AGGREGATOR
http://3dwebdesign.org/view-document-details/16-joomla-rss-feed-aggregator.html
http://www.associatedcontent.com/article/420973/mastering_joomla_how_to_get_rss_news.html
http://goo.gl/4w1lf
http://extensions.joomla.org/extensions/image/14087
http://3dwebdesign.org/en/rss-feed-aggregators-comparison.html
http://3dwebdesign.org/en/joomla-extensions/wordpress-aggregator-lite.html
http://3dwebdesign.org/en/wordpress-aggregators/wordpress-aggregator-platinum
* Optimizing Oracle Performance - Chapter 7.1.1 The sys call Transition
* understanding.the.linux.kernel http://oreilly.com/catalog/linuxkernel/chapter/ch10.html
{{{
Be aware that a preempted process is not suspended, since it remains in the TASK_RUNNING state; it simply no longer uses the CPU.
Some real-time operating systems feature preemptive kernels, which means that a process running in Kernel Mode can be interrupted after any instruction, just as it can in User Mode. The Linux kernel is not preemptive, which means that a process can be preempted only while running in User Mode; nonpreemptive kernel design is much simpler, since most synchronization problems involving the kernel data structures are easily avoided (see the section "Nonpreemptability of Processes in Kernel Mode" in Chapter 11, Kernel Synchronization).
}}}
Understanding User and Kernel Mode http://www.codinghorror.com/blog/2008/01/understanding-user-and-kernel-mode.html
http://blog.tanelpoder.com/2010/02/17/how-to-cancel-a-query-running-in-another-session/
http://oracle-randolf.blogspot.com/2011/11/how-to-cancel-query-running-in-another.html
Previous Announcements from New in the Knowledge Base
Doc ID: Note:370936.1
Capacity Planning for LAMP
http://www.scribd.com/doc/43281/Slides-from-Capacity-Planning-for-LAMP-talk-at-MySQL-Conf-2007
{{{
High fsync() times to VRTSvxfs Files can be reduced using Solaris VMODSORT Feature [ID 842718.1]
Symptoms
When RDBMS processes perform cached writes to files (i.e. writes which are not issued by DBWR)
such as to a LOB object which is
stored out-of-line (e.g. because the LOB column length exceeds 3964 bytes)
and for which "STORE AS ( NOCACHE )" option has not been used
then increased processing times can be experienced which are due to longer fsync() call times to flush the dirty pages to disk.
Changes
Performing (datapump) imports or writes to LOB segments and
1. running "truss -faedDl -p " for the shadow or background process doing the writes
shows long times spent in fsync() call.
Example:
create table lobtab(n number not null, c clob);
-- insert.sql
declare
mylob varchar2(4000);
begin
for i in 1..10 loop
mylob := RPAD('X', 3999, 'Z');
insert into lobtab values (i , rawtohex(mylob));
end loop;
end;
/
truss -faedDl sqlplus user/passwd @insert
shows 10 fsync() calls being executed possibly having high elapsed times:
25829/1: 1.3725 0.0121 fdsync(257, FSYNC) = 0
25829/1: 1.4062 0.0011 fdsync(257, FSYNC) = 0
25829/1: 1.4112 0.0008 fdsync(257, FSYNC) = 0
25829/1: 1.4164 0.0010 fdsync(257, FSYNC) = 0
25829/1: 1.4213 0.0008 fdsync(257, FSYNC) = 0
25829/1: 1.4508 0.0008 fdsync(257, FSYNC) = 0
25829/1: 1.4766 0.0207 fdsync(257, FSYNC) = 0
25829/1: 1.4821 0.0006 fdsync(257, FSYNC) = 0
25829/1: 1.4931 0.0063 fdsync(257, FSYNC) = 0
25829/1: 1.4985 0.0007 fdsync(257, FSYNC) = 0
25829/1: 1.5406 0.0002 fdsync(257, FSYNC) = 0
2. Solaris lockstat command showing frequent hold events for fsync internal functions:
Example:
Adaptive mutex hold: 432933 events in 7.742 seconds (55922 events/sec)
------------------------------------------------------------------------
Count indv cuml rcnt nsec Lock Hottest Caller
15052 48% 48% 0.00 385437 vph_mutex[32784] pvn_vplist_dirty+0x368
nsec ------ Time Distribution ------ count Stack
8192 |@@@ 1634 vx_putpage_dirty+0xf0
16384 | 187 vx_do_putpage+0xac
32768 | 10 vx_fsync+0x2a4
65536 |@@@@@@@@@@@@@@@@@@@@@@ 12884 fop_fsync+0x14
131072 | 255 fdsync+0x20
262144 | 30 syscall_trap+0xac
3. AWR report would show increased CPU activity (SYS_TIME is unusual high in Operating System Statistics section).
Cause
The official Sun document explaining this issue is former Solaris Alert # 201248 and new
"My Oracle Support" Doc Id 1000932.1
From a related Sun document:
Sun introduced a page ordering vnode optimization in Solaris 9
and 10. The optimization includes a new vnode flag, VMODSORT,
which, when turned on, indicates that the Virtual Memory (VM)
should maintain the v_pages list in an order depending on if
a page is modified or unmodified.
Veritas File System (VxFS) can now take advantage of that flag,
which can result in significant performance improvements on
operations that depend on flushing, such as fsync.
This optimization requires the fixes for Sun BugID's 6393251 and
6538758 which are included in Solaris kernel patches listed below.
Symatec information about VMODSORT can be found in the Veritas 5.0 MP1RP2 Patch README:
https://sort.symantec.com/patch/detail/276
Solution
The problem is resolved by applying Solaris patches and enabling the VMODSORT
feature in /etc/system:
1. apply patches as per Sun document (please always refer to
the Sun alert for the most current recommended version of patches):
SPARC Platform
VxFS 4.1 (for Solaris 9) patches 122300-11 and 123828-04 or later
VxFS 5.0 (for Solaris 9) patches 122300-11 and 125761-02 or later
VxFS 4.1 (for Solaris 10) patches 127111-01 and 123829-04 or later
VxFS 5.0 (for Solaris 10) patches 127111-01 and 125762-02
x86 Platform
VxFS 5.0 (for Solaris 10) patches 127112-01 and 125847-01 or later
2. enable vmodsort in /etc/system and reboot server
i.e. add line to /etc/system after vxfs forceload:
set vxfs:vx_vmodsort=1 * enable vxfs vmodsort
Please be aware that enabling VxFS VMODSORT functionality without
the correct OS kernel patches can result in data corruption.
References
http://sunsolve.sun.com/search/document.do?assetkey=1-66-201248-1
}}}
http://neerajbhatia.wordpress.com/2011/10/07/capacity-planning-and-performance-management-on-ibm-powervm-virtualized-environment/
{{{
Some possible actions in case of threshold violations can be investigating the individual partition contributing to the server's utilization, workload management if possible or as a last resort stop/migrate least critical partition. Workload behavior of partitions is very important and configuration needs to be done in such a way that not many partitions should compete for the processor resources at the same time.
One gauge of system's health is CPU run queue length. The run-queue length represents the number of processes that are currently running or waiting (queued) to run. Setting thresholds for run queue length is tricky in partitioned environment because uncapped partitioned can potentially consume more than their entitlement up to number of virtual processors. SMT introduced further complexity as it enable parallel execution: 2 simultaneous thread on Power5 and Power6 and 4 on Power7 environments.
To summarize – entitlement should be defined in such a way that it represents “nearly right” capacity requirements for a partition. Thus on average each partition’s entitled capacity utilization would be close to 100 percent and there will be a balance between capacity donors and borrowers in the system. While reviewing a partition’s utilization it’s important to know that any capacity used beyond entitled capacity isn’t guaranteed (as it might be some other partition’s entitlement). Therefore, if a partition’s entitled CPU utilization is beyond 100 percent, it might be forced back down to 100 percent if another partition requires that borrowed capacity. Processing units also decide the number of partitions that can run on a system. As the total processing units of all partitions running on a system cannot more than the number of physical processors, by assigning smaller processing units you can maximize the number of partitions on a system.
„h Have separate shared-processor pools for production partitions. But the scope of this solution is limited as multiple shared-processor pools capability is only available in Power6 and Power7 based systems.
„h Configure the non-production partitions as capped. Capped partitions are restricted to consume additional processor cycles beyond their entitled capacity.
„h A more flexible way is to configure the non-production partitions as uncapped and keep their uncapped weight to minimum. The number of virtual processors should be set to maximum physical CPUs which you think a partition should consume. This will effectively cap the partition at number of virtual processors. The benefits of this approach is that, non-production partitions can get additional resources up to their virtual processors but at the same time will remain harmless to production partitions with higher uncapped weights.
„h Determine the purpose and nature of the applications to be run on the partition, like web server supporting an online web store or batch database of a banking system.
„h Understand the business workload profile.
„h Identify any seasonal or periodic trends and its impact on the workload profile.
„h Understanding of the busiest hour in the working day, the busiest day in the week, busiest month of the year.
„h Calculate the processing requirements necessary to support workload profiles.
It is always better to measure and forecast the capacity in business metric terms because that's what business understands and same units are used by business to perceive the performance, throughput and forecast the business demand. We will call our business metrics as metric1 and metric2.
Clearly current value of entitled capacity of 2.0 processing units is not going to support additional workload. So based on this analysis, we should increase the entitled CPUs to 4 and to keep some margin for unexpected workload, set the virtual processors to 5 or 6. Another option which is worth considering for reducing the pressure on additional processing capacity is to shift metric2 workload by few hours, if possible. It will reduce the chances of running two business processes at the same time and result in CPU spikes. Such workload management options should be more important from the business perspective than their technical implications. I have simplified the illustration a lot but the principle of capacity planning would be the same
}}}
http://www.ibm.com/developerworks/wikis/display/WikiPtype/CPU+frequency+monitoring+using+lparstat
''A Comparison of Virtualization Features of HP-UX, Solaris & AIX'' http://www.osnews.com/comments/20393
''A comparison of virtualization features of HP-UX, Solaris and AIX'' http://www.ibm.com/developerworks/aix/library/au-aixvirtualization/?ca=dgr-jw30CompareFeatures&S_TACT=105AGX59&S_cmp=GRsitejw30
http://book.soundonair.ru/hall2/ch06lev1sec1.html Got the cool trick here 6.1 LVM Striping (RAID 0)
''Distributed Logical Volume Trick''
{{{
NOTE: you have to increase the /etc/lvm directory
pvcreate --metadatasize 1000000K /dev/sdb1
pvcreate --metadatasize 1000000K /dev/sdc1
pvcreate --metadatasize 1000000K /dev/sdd1
pvcreate --metadatasize 1000000K /dev/sde1
vgcreate vgshortstroke /dev/sdb1 /dev/sdc1 /dev/sdd1 /dev/sde1
lvcreate -n shortstroke -l 1 vgshortstroke
vgdisplay
PV1=/dev/sdb1
PV2=/dev/sdc1
PV3=/dev/sdd1
PV4=/dev/sde1
SIZE=145512 <-- from vgdisplay output
COUNT=1
while [ $COUNT -le $SIZE ]
do
lvextend -l $COUNT /dev/vgshortstroke/shortstroke $PV1
let COUNT=COUNT+1
lvextend -l $COUNT /dev/vgshortstroke/shortstroke $PV2
let COUNT=COUNT+1
lvextend -l $COUNT /dev/vgshortstroke/shortstroke $PV3
let COUNT=COUNT+1
lvextend -l $COUNT /dev/vgshortstroke/shortstroke $PV4
let COUNT=COUNT+1
done
lvdisplay -vm /dev/vgshortstroke/shortstroke | less
}}}
''LVM kilobyte-striping''
{{{
"lvcreate -i 3 -I 8 -L 100M vg00" tries to create a striped logical volume with 3 stripes, a stripesize of 8KB and a size
of 100MB in the volume group named vg00. The logical volume name will be chosen by lvcreate.
}}}
started 3:26PM
end 3:48PM 11GB
rate of 171MB/minute whoa this is way too slow..
but this volume is the same performance as 4 raw short stroked disk (partition) :)
Orion run here
{{{
ORION VERSION 11.1.0.7.0
Commandline:
-run simple -testname mytest -num_disks 4
This maps to this test:
Test: mytest
Small IO size: 8 KB
Large IO size: 1024 KB
IO Types: Small Random IOs, Large Random IOs
Simulated Array Type: CONCAT
Write: 0%
Cache Size: Not Entered
Duration for each Data Point: 60 seconds
Small Columns:, 0
Large Columns:, 0, 1, 2, 3, 4, 5, 6, 7, 8
Total Data Points: 29
Name: /dev/vgshortstroke/shortstroke Size: 13514047488
1 FILEs found.
Maximum Large MBPS=232.00 @ Small=0 and Large=8
Maximum Small IOPS=942 @ Small=20 and Large=0
Minimum Small Latency=6.61 @ Small=1 and Large=0
}}}
Other experiments ongoing..
Here's the HD used
Barracuda 7200 SATA 3Gb/s (375MB/s) interface 1TB Hard Drive
http://www.seagate.com/ww/v/index.jsp?vgnextoid=20b92d0ca8dce110VgnVCM100000f5ee0a0aRCRD#tTabContentOverview
/***
|Name:|LessBackupsPlugin|
|Description:|Intelligently limit the number of backup files you create|
|Version:|3.0.1 ($Rev: 2320 $)|
|Date:|$Date: 2007-06-18 22:37:46 +1000 (Mon, 18 Jun 2007) $|
|Source:|http://mptw.tiddlyspot.com/#LessBackupsPlugin|
|Author:|Simon Baird|
|Email:|simon.baird@gmail.com|
|License:|http://mptw.tiddlyspot.com/#TheBSDLicense|
!!Description
You end up with just backup one per year, per month, per weekday, per hour, minute, and second. So total number won't exceed about 200 or so. Can be reduced by commenting out the seconds/minutes/hours line from modes array
!!Notes
Works in IE and Firefox only. Algorithm by Daniel Baird. IE specific code by by Saq Imtiaz.
***/
//{{{
var MINS = 60 * 1000;
var HOURS = 60 * MINS;
var DAYS = 24 * HOURS;
if (!config.lessBackups) {
config.lessBackups = {
// comment out the ones you don't want or set config.lessBackups.modes in your 'tweaks' plugin
modes: [
["YYYY", 365*DAYS], // one per year for ever
["MMM", 31*DAYS], // one per month
["ddd", 7*DAYS], // one per weekday
//["d0DD", 1*DAYS], // one per day of month
["h0hh", 24*HOURS], // one per hour
["m0mm", 1*HOURS], // one per minute
["s0ss", 1*MINS], // one per second
["latest",0] // always keep last version. (leave this).
]
};
}
window.getSpecialBackupPath = function(backupPath) {
var now = new Date();
var modes = config.lessBackups.modes;
for (var i=0;i<modes.length;i++) {
// the filename we will try
var specialBackupPath = backupPath.replace(/(\.)([0-9]+\.[0-9]+)(\.html)$/,
'$1'+now.formatString(modes[i][0]).toLowerCase()+'$3')
// open the file
try {
if (config.browser.isIE) {
var fsobject = new ActiveXObject("Scripting.FileSystemObject")
var fileExists = fsobject.FileExists(specialBackupPath);
if (fileExists) {
var fileObject = fsobject.GetFile(specialBackupPath);
var modDate = new Date(fileObject.DateLastModified).valueOf();
}
}
else {
netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
var file = Components.classes["@mozilla.org/file/local;1"].createInstance(Components.interfaces.nsILocalFile);
file.initWithPath(specialBackupPath);
var fileExists = file.exists();
if (fileExists) {
var modDate = file.lastModifiedTime;
}
}
}
catch(e) {
// give up
return backupPath;
}
// expiry is used to tell if it's an 'old' one. Eg, if the month is June and there is a
// June file on disk that's more than an month old then it must be stale so overwrite
// note that "latest" should be always written because the expiration period is zero (see above)
var expiry = new Date(modDate + modes[i][1]);
if (!fileExists || now > expiry)
return specialBackupPath;
}
}
// hijack the core function
window.getBackupPath_mptw_orig = window.getBackupPath;
window.getBackupPath = function(localPath) {
return getSpecialBackupPath(getBackupPath_mptw_orig(localPath));
}
//}}}
http://orainternals.wordpress.com/2009/06/02/library-cache-lock-and-library-cache-pin-waits/
http://dioncho.wordpress.com/2009/05/15/releasing-library-cache-pin/
http://oracle-study-notes.blogspot.com/2009/05/resolving-library-cache-lock-issue.html
Library Cache Pin/Lock Pile Up hangs the application [ID 287059.1]
HOW TO FIND THE SESSION HOLDING A LIBRARY CACHE LOCK [ID 122793.1]
Database Hangs with Library Cache Lock and Pin Waits [ID 338367.1]
How to Find the Blocker of the 'library cache pin' in a RAC environment? [ID 780514.1]
How to analyze ORA-04021 or ORA-4020 errors? [ID 169139.1]
WAITEVENT: "library cache pin" Reference Note [ID 34579.1]
As a DBA you have to know the licensing schemes of Oracle..
http://www.orafaq.com/wiki/Oracle_Licensing
http://download.oracle.com/docs/cd/E11882_01/license.112/e10594/toc.htm
http://www.oracle.com/corporate/pricing/sig.html
https://docs.google.com/viewer?url=http://www.oracle.com/corporate/pricing/application_licensing_table.pdf
http://www.oracle.com/corporate/pricing/askrightquestions.html
http://www.liferay.com/home
http://ltp.sourceforge.net/tooltable.php
{{{
Linux Test Tools
The purpose of this Linux Test Tools Table is to provide the open-source community with a comprehensive list of tools commonly used for testing the various components of Linux.
My hope is that the community will embrace and contribute to this list making it a valuable addition to the Linux Test Project.
Please feel free to send additions, updates or suggestions to Jeff Martin. Last update:07/12/06
Cluster
HINT allows fair comparisons over extreme variations in computer architecture, absolute performance, storage capacity, and precision. It's listed as a Past Projectwith a link to http://hint.byu.edu but I have not been able to find where it is being maintained. If you know, please drop me a note.
Code Coverage Analysis
gcov Code analysis tool for profiling code and determining: 1) how often each line of code executes, 2) what lines of code are actually executed, 3.) how much computing time each section of codeuses
lcov LCOV is an extension of GCOV, a GNU tool which provides information about what parts of a program are actually executed (i.e. "covered") while running a particular test case. The extension provides HTML output and support for large projects.
Database
DOTS Database Opensource Test Suite
dbgrinder perl script to inflict stress on a mysql server
OSDL Database Testsuite OSDL Database Testsuite
Debug
Dynamic Probes Dynamic Probes is a generic and pervasive debugging facility.
Kernel Debug (KDB) KDB is an interactive debugger built into the Linux kernel. It allows the user to examine kernel memory, disassembled code and registers.
Linux Kernel Crash Dump LKCD project is designed to help detect, save and examine system crashes and crash info.
Linux Trace Toolkit (LTT) The Linux Trace Toolkit is a fully-featured tracing system for the Linux kernel.
Defect Tracking
Bugzilla allows individuals or groups of developers to keep track of outstanding bugs in their product effectively
Desktop/GUI Libraries
Android open source testing tool for GUI programs
ldtp GNU/Linux Desktop Testing Project
Event Logging
included tests Various tests are included in the tarball
Filesystems
Bonnie Bonnie++ is test suite, which performs several hard drive/ filesystem tests.
dbench Filesystem benchmark that generates good filesystem load
fs_inode Part of the LTP: This test creates several subdirectories and files off of two parent directories and removes directories and files as part of the test.
fs_maim Part of the LTP: a set of scripts to test and stress filesystem and storage management utilities
IOZone Filesystem benchmark tool (read, write, re-read, re-write, read backwards, read strided, fread, fwrite, random read, pread, aio_read, aio_write)
lftest Part of the LTP:lftest is a tool/test designed to create large files and lseek from the beginning of the file to the end of the file after each block write. This test verifies large file support and can be used to generate large files for other filesystem tests. Files up to 2Tb have been created using this tool. This test is VERY picky about glibc version.
LTP The Linux Test Project is a collection of tools for testing the Linux kernel and related features.
PostMark Filesystem benchmark that simulates load generated by enterprise applications such as email, news and web-based commerce.
stress puts the system under a specified amount of load
mongo set of the programs to test linux filesystems for performance and functionality
fsx File system exerciser from Apple. The test is most effective if you let it run for a minute or two, so that it overlaps the periodic sync that most Unix systems do.
xdd Storage I/O Performance Characterization tool that runs on most UNIX-like systems and Windows. Has been around since 1992 and is in use at various government labs.
Harnesses
Cerberus The Cerberus Test Control System(CTCS) is a free (freedom) test suite for use by developers and others to test hardware. It generates good filesystem stress in the process.
STAF The Software Testing Automation Framework (STAF) is an open source framework designed to improvethe level of reuse and automation in test cases and test environments.
I/O & Storage
tiobench Portable, robust, fully-threaded I/O benchmark program
xdd Storage I/O Performance Characterization tool that runs on most UNIX-like systems and Windows. Has been around since 1992 and is in use at various government labs.
Kernel System Calls
crashme a tool for testing the robustness of an operating environment using a technique of "Random Input" response analysis
LTP The Linux Test Project is a collection of tools for testing the Linux kernel and related features.
Network
Connectathon NFS Testsuite This testsuite tests the NFS Protocol
ISIC ISIC is a suite of utilities to exercise the stability of an IP Stack and its component stacks
LTP The Linux Test Project has a collection of tools for testing the network components of the Linux kernel.
netperf Netperf is a benchmark that can be used to measure the performance of many different types of networking.
NetPIPE Variable time bench mark, ie, it measures network performance using variable sized communiation transfers
TAHI Providesinteroperability and conformance tests for IPv6
VolanoMark A java chatroom benchmark/stress
UNH IPv6 Tests there are several IPv6 tests on this site
Iperf for measuring TCP and UDP bandwidth performance
Network Security
Kerberos Test suite These tests are for testing Kerberos clients (kinit,klist and kdestroy) and Kerberized Applications, ftp and telnet.
Other
cpuburn This program was designed by Robert Redelmeier to heavily loadCPU chips.
Performance
contest test system responsiveness by running kernel compilation under anumber of different load conditions
glibench/clibench benchmarking tool to check your computer CPU and hard disk performance
lmbench Suite of simple, portable benchmarks
AIM Benchmark Performance benchmark
unixbench Performance benchmark based on the early BYTE UNIX Benchmarks "retired" since about 1997, but still used by some testers
Scalability
dbench Used for dcache scalability testing
Chat Used for file_struct scalability testing
httperf Used for dcache scalability testing
Scheduler
LTP The Linux Test Project is a collection of tools for testing the Linux kernel and related features. sched_stress and process_stress
VolanoMark A java chatroom benchmark/stress VolanoMark has been used to stress the scheduler.
SCSI Hardening
Bonnie Bonnie is test suite, which performs several hard drive and filesystem tests.
LTP The Linux Test Project is a collection of toolsfor testing the Linux kernel and related features. disktest
dt dt (Data Test) is a generic data test program used to verify proper operation of peripherals, file systems, device drivers, or any data stream supported by the operating system
Security
Nessus remote security scanner
Standards
LSB Test suites used for LSB compliance testing
Stream Controlled Transmission Protocol
LTP The Linux Test Project is a collection of tools for testing the Linux kernel and related features.
System Management
sblim The "SBLIM Reference Implementation (SRI)" is a component of the SBLIM project. Its purposes are (among others): (1) easily set up, run and test systems management scenarios based on CIM/CIMOM technology (2) test CIM Providers (on local and/or remote Linux machines)
Threads
LTP The Linux Test Project is a collection of tools for testing the Linux kernel and related features.
VSTHlite Tests for compliance with IEEE POSIX 1003.1c extensions (pthreads).
USB
usbstress Sent to us by the folks at Linux-usb.org
Version Control
cvs the dominant open-source network-transparent version control system
BitKeeper BK/Pro is a scalable configuration management system, supporting globally distributed development, disconnected operation, compressed repositories, change sets, and repositories as branches. Read the licensing info
Subversion
VMM
vmregress regrssion, testing and benchmark tool
LTP The Linux Test Project is a collection of tools for testing the Linux kernel and related features.
memtest86 A thorough real-mode memory tester
stress puts the system under a specified amount of load
memtest86+ fork / enhanced version of the memtest86
memtester Utility to test for faulty memory subsystem
Web Server
Hammerhead Hammerhead is a web server stress tool that can simulate multiple connections and users.
httperf httperf is a popular web server benchmark tool for measuring web server performance
siege Siege is an http regression testing and benchmarking utility.
PagePoker for loadtesting and benchmarking web servers
}}}
just make use of this tool, and download an ubuntu live DVD
http://www.pendrivelinux.com/universal-usb-installer-easy-as-1-2-3/
{{{
.bashprofile
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin
export PATH
unset USERNAME
### PARAMETERS FOR ORACLE DATABASE 10G
umask 022
export ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1
export ORACLE_BASE=/u01/app/oracle
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
export ORACLE_SID=orcl
PATH=$ORACLE_HOME/bin:$PATH
}}}
{{{
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
export LD_ASSUME_KERNEL=2.4.1
# Oracle Environment
export ORACLE_BASE=/u01/oracle
export ORACLE_HOME=/u01/oracle/product/9.2.0
export ORACLE_SID=PETDB1
export ORACLE_TERM=xterm
export TNS_ADMIN=$ORACLE_HOME/network/admin
# Optional Oracle Environment
export NLS_LANG=AMERICAN
export ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
export LD_LIBRARY_PATH
# Set shell search path
PATH=$PATH:/sbin:$ORACLE_HOME/bin
# Display Environment
DISPLAY=127.0.0.1:0.0
DISPLAY=192.9.200.7:0.0
export DISPLAY
# Oracle CLASSPATH Environment
# CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib
# CLASSPATH=$CLASSPATH:$ORACLE_HOME/network/jlib
# export CLASSPATH
export PATH
unset USERNAME
}}}
http://dolavim.us/blog/archives/2007/11/linux-kernel-lo.html
''you can't have lockstat on rhel5''
http://dag.wieers.com/blog/rpm-packaging-news-lockstat-and-httpreplicator
https://forums.oracle.com/forums/thread.jspa?messageID=4535884
http://dolavim.us/blog/2007/11/06/linux-kernel-lock-profiling-with-lockstat/
Oracle� Database on AIX�,HP-UX�,Linux�,Mac OS� X,Solaris�,Tru64 Unix� Operating Systems Installation and Configuration Requirements Quick Reference (8.0.5 to 11.1)
Doc ID: Note:169706.1
Linux Quick Reference
Doc ID: Note:341782.1
Things to Know About Linux
Doc ID: Note:265262.1
Server Architecture on UNIX and NT
Doc ID: Note:48681.1
Unix Commands on Different OS's
Doc ID: 293561.1
Oracle's 9i Platform Strategy Advisory
Doc ID: Note:149914.1
-- INSTALLATION
Defining a "default RPMs" installation of the RHEL OS
Doc ID: Note:376183.1
-- SUPPORT
Support of Linux and Oracle Products on Linux
Doc ID: Note:266043.1
Linux Kernel Support - Policy on Tainted Kernels
Doc ID: Note:284823.1
Unbreakable Linux Support Policies For Virtualization And Emulation
Doc ID: Note:417770.1
-- MIGRATION FROM 32 to 64
How to convert a 32-bit database to 64-bit database on Linux?
Doc ID: Note:341880.1
How to Determine Whether the OS is 32-bit or 64-bit
Doc ID: 421453.1
How to Determine a Linux OS and the OS Association of Staged and Installed Oracle Products
Doc ID: 752155.1
-- MIGRATION/UPGRADE OF OS VERSION
Preserving Your Oracle Database 10g Environment
when Upgrading from Red Hat Enterprise Linux 2.1
AS to Red Hat Enterprise Linux 3
-- located as Oracle on Linux directory
Is Relinking Of Oracle (Relink All) Required After Patching OS?
Doc ID: 395605.1
When is a relink required after an AIX OS upgrade --- YES
Doc ID: 726811.1
Upgrading RHEL 3 To RHEL 4 With Oracle Database
Doc ID: 416005.1
How to Relink Oracle Database Software on UNIX
Doc ID: 131321.1
-- ITANIUM SERVER ISSUE
Messages In Console: Oracle(9581): Floating-Point Assist Fault At Ip -- for itanium servers
Doc ID: Note:279456.1
What's up with those "floating-point assist fault" messages? - Linux on Itanium�
http://h21007.www2.hp.com/portal/site/dspp/menuitem.863c3e4cbcdc3f3515b49c108973a801/?ciid=62080055abe021100055abe02110275d6e10RCRD
Bug No. 3777000
FLOATING-POINT ASSIST FAULT(FPSWA) CAUSES POOR PERFORMANCE
Bug No. 3796598
KERNEL: ORACLE(570): FLOATING-POINT ASSIST FAULT AT IP CAUSES CONNECTION PROBLEM
Bug No. 3437795
RMAN BACKUP HANGS INSTANCE IN RAC, 'DATAFILECOPY HEADER VALIDATION FAILURE'
Oracle RDBMS and RedHat Linux AS on a Box with AMD Processor
Doc ID: Note:227904.1
What about this floating-point assist fault?
--------------------------------------------
When one does computation involving floats, the result may not always be turned into normalized representation, these numbers are called "denormals". They can be thought of as really tiny numbers (almost zero). The IEEE754 standard
handles these cases, but not always does the Floating-Point Unit. There are two ways to deal with this problem:
-Silently ignore it (maybe by turning the number into zero)
-Inform the user that the result is a denormal and let him do what he wants with it (=we ask the user and his software to assist the FPU).
The Intel Itanium does not fully support IEEE denormals and requires software assistance to handle them. Without further informations, the ia64 GNU/Linux kernel triggers a fault when denormals are computed. This is the "floating-point
software assist" fault (FPSWA) in the kernel messages. It is the user's task to clearly design his program to prevent such cases .< ===== (this sentence implies Oracle code)
-- SERVICES
Linux OS Service 'xendomains'
Doc ID: Note:558719.1
-- OCFS1
Installing and setting up ocfs on Linux - Basic Guide
Doc ID: 220178.1
Step-By-Step Upgrade of Oracle Cluster File System (OCFS v1) on Linux
Doc ID: Note:251578.1
Linux OCFS - Best Practices
Doc ID: 237997.1
Automatic Storage Management (ASM) and Oracle Cluster File System (OCFS) in Oracle10g
Doc ID: 255359.1
OCFS mount point does not mount for the first time
Doc ID: 302206.1
Update on OCFS for Linux
Doc ID: 252331.1
-- OCFS1 DEBUG
OCFS Most Common Defects / Bugs
Doc ID: 430451.1
-- OCFS1 ON WINDOWS
Raw Devices and Cluster Filesystems With Real Application Clusters <-- windows 2k3
Doc ID: 183408.1
Installing CRS on Windows 2008 Fails When Checking OCFS and Orafence Driver's Signatures
Doc ID: 762193.1
OCFS for EM64T SMP not available on OSS website.
Doc ID: 315734.1
WINDOWS 64-BIT: OCFS Drives Formatted Under 10.2.0.1/10.2.0.2/10.2.0.3 May Need Reformatting
Doc ID: 749006.1
How to Add Another OCFS Drive for RAC on Windows
Doc ID: 229060.1
How to Change a Drive Letter Associated with an OCFS Drive on Windows
Doc ID: 338852.1
How to Use More Than 26 Drives With OCFS on Windows
Doc ID: 357698.1
WIN RAC: How to Remove a Failed OCFS Install
Doc ID: 230290.1
OCFS: Blue Screen After A Reboot of a Node
Doc ID: 372986.1
WIN: Does Oracle Cluster File System (OCFS) Support Access from Mapped Drives?
Doc ID: 225550.1
OCFS Most Common Defects / Bugs
Doc ID: 430451.1
Cabnot Resize Datafile on OCFS Even If There is Sufficient Free Space
Doc ID: 338080.1
can not delete the file physically From Ocfs after dropping tablespace
Doc ID: 284775.1
Where Can I Find Ocfs For Windows Documentation
Doc ID: 269855.1
How Do We Find Out The Version Of Ocfs That'S Installed?
Doc ID: 302503.1
DBCA Failure on OCFS
Doc ID: 234700.1
New Partitions in Windows 2003 RAC Environments Not Visible on Remote Nodes
Doc ID: 454607.1
-- OCFS1 ADD NODE
How to add a new node to the existing OCFS setup on Windows
Doc ID: 316410.1
-- OCFS2
OCFS2: Considerations and requirements for working with BCV/cloned volumes
Doc ID: Note:567604.1
Linux OCFS2 - Best Practices
Doc ID: Note:603080.1
OCFS2: Supportability as a general purpose filesystem
Doc ID: Note:421640.1
Common reasons for OCFS2 Kernel Panic or Reboot Issues
Doc ID: Note:434255.1
OCFS2 User's Guide for Release 1.4
Doc ID: Note:736223.1
OCFS2 Version 1.4 New Features
Doc ID: Note:736230.1
OCFS2 - FREQUENTLY ASKED QUESTIONS
Doc ID: Note:391771.1
A Reference Guide for Upgrading OCFS2
Doc ID: Note:603246.1
Supportability of OCFS2 on certified and non-certified Linux distributions
Doc ID: Note:566819.1
OCFS2: Supportability as a general purpose filesystem
Doc ID: Note:421640.1
How to resize an OCFS2 filesystem
Doc ID: Note:445082.1
How to find the current OCFS or OCFS2 version for Linux
Doc ID: Note:238278.1
Problem Using Labels On OCFS2
Doc ID: 579153.1
-- OCFS/2 BLOCK SIZE
How to Query the blocksize of OCFS or OCFS2 Filesystem
Doc ID: 469404.1
-- OCFS2 SAN
OCFS2 and SAN Interactions
Doc ID: 603038.1
Host-Based Mirroring and OCFS2
Doc ID: 413195.1
-- OCFS2 SETUP, NETWORK, TIMEOUT
OCFS2 Fencing, Network, and Disk Heartbeat Timeout Configuration
Doc ID: 457423.1
Some Symptoms of OCFS2 Not Functioning when SELinux is Enabled
Doc ID: 432740.1
Using Bonded Network Device Can Cause OCFS2 to Detect Network Outage
Doc ID: 423183.1
Common reasons for OCFS2 o2net Idle Timeout
Doc ID: 734085.1
How to Use "tcpdump" to Log OCFS2 Interconnect (o2net) Messages
Doc ID: 789010.1
Heartbeat/Voting/Quorum Related Timeout Configuration for Linux, OCFS2, RAC Stack to avoid unnessary node fencing, panic and reboot
Doc ID: 395878.1
Common reasons for OCFS2 Kernel Panic or Reboot Issues
Doc ID: 434255.1
http://oss.oracle.com/pipermail/ocfs2-users/2007-January/001159.html
http://oss.oracle.com/projects/ocfs2/dist/documentation/ocfs2_faq.html#TIMEOUT
http://www.mail-archive.com/ocfs2-users@oss.oracle.com/msg00426.html <-- using tcpdump
http://www.mail-archive.com/ocfs2-users@oss.oracle.com/msg00409.html
-- OCFS2 DEBUG
Script to gather OCFS2 diagnostic information
Doc ID: 391292.1
OCFS2: df and du commands display different results
Doc ID: 558824.1
OCFS2 Performance: Measurement, Diagnosis and Tuning
Doc ID: 727866.1
Troubleshooting a multi-node OCFS2 installation
Doc ID: 806645.1
Trouble Mounting OCFS File System after changing Network Card
Doc ID: 298889.1
-- X
Enterprise Linux: Common GUI / X-Window Issues
Doc ID: Note:418963.1
How to configure, manage and secure user access to the Linux X server
Doc ID: Note:459029.1
-- KERNEL
Linux: Tainted Kernels, Definitions, Checking and Diagnosing
Doc ID: Note:395353.1
-- ORACLE VALIDATED
Linux OS Installation with Reduced Set of Packages for Running Oracle Database Server
Doc ID: Note:728346.1
Linux OS Installation with Reduced Set of Packages for Running Oracle Database Server without ULN/RHN
Doc ID: Note:579101.1
Defining a "default RPMs" installation of the Oracle Enterprise Linux (OEL) OS
Doc ID: Note:401167.1
Defining a "default RPMs" installation of the RHEL OS
Doc ID: Note:376183.1
Defining a "default RPMs" installation of the SLES OS
Doc ID: Note:386391.1
The 'oracle-validated' RPM Package for Installation Prerequisities
Doc ID: Note:437743.1
-- RELINK
How to Relink Oracle Database Software on UNIX
Doc ID: Note:131321.1
-- ASYNC IO
Kernel Parameter "aio-max-size" does not exist in RHEL4 / EL4 / RHEL5 /EL5
Doc ID: Note:549075.1
"Warning: OS async I/O limit 128 is lower than recovery batch 1024" in Alert log
Doc ID: Note:471846.1
Asynchronous I/O (aio) on RedHat Advanced Server 2.1 and RedHat Enterprise Linux 3
Doc ID: Note:225751.1
-- ORACLE VM
Oracle VM and External Storage Systems
Doc ID: Note:558041.1
Steps to Create Test RAC Setup On Oracle VM
Doc ID: Note:742603.1
-- SHUTDOWN ABORT HANG
Shutdown Abort Hangs
Doc ID: Note:161234.1
-- MEMORY
Oracle Background Processes Memory Consumption
Doc ID: 77547.1
Monitoring Memory Use
Doc ID: Note:2060096.6
TECH: Unix Virtual Memory, Paging & Swapping explained
Doc ID: Note:17094.1
UNIX: Determining the Size of an Oracle Process
Doc ID: Note:174555.1
How to Check the Environment Variables for an Oracle Process
Doc ID: Note:373303.1
How to Configure RHEL/OEL 4/5 32-bit for Very Large Memory with ramfs and HugePages
Doc ID: Note:317141.1
HugePages on Linux: What It Is... and What It Is Not...
Doc ID: Note:361323.1
Linux IA64 example of allocating 48GB SGA using hugepages
Doc ID: Note:397568.1
Shell Script to Calculate Values Recommended HugePages / HugeTLB Configuration
Doc ID: Note:401749.1
Linux: How to Check Current Shared Memory, Semaphore Values
Doc ID: Note:226209.1
Maximum SHMMAX values for Linux x86 and x86-64
Doc ID: Note:567506.1
TECH: Unix Semaphores and Shared Memory Explained
Doc ID: Note:15566.1
SHARED MEMORY REQUIREMENTS ON UNIX
Doc ID: Note:1011658.6
Linux Big SGA, Large Memory, VLM - White Paper
Doc ID: Note:260152.1
OS Configuration for large SGA
Doc ID: Note:225220.1
Configuring 2.7Gb SGA in RHEL by Relocating the SGA Attach Address
Doc ID: Note:329378.1
How To Set SHMMAX On SOLARIS 10 From CLI
Doc ID: Note:372972.1
How Important It Is To Set shmsys:shminfo_shmmax Above 4 GB
Doc ID: Note:467960.1
DETERMINING WHICH INSTANCE OWNS WHICH SHARED MEMORY & SEMAPHORE SEGMENTS
Doc ID: Note:68281.1
Operating System Tuning Issues on Unix
Doc ID: Note:1012819.6
Linux Big SGA, Large Memory, VLM - White Paper
Doc ID: Note:260152.1
How to Configure RHEL 3.0 32-bit for Very Large Memory and HugePages
Doc ID: Note:317055.1
How to Configure RHEL 3.0 32-bit for Very Large Memory and HugePages
Doc ID: Note:317055.1
ORA-824, ORA-1078 When Enabling PAE on VLM on 10g When Sga_Target Parameter is Set
Doc ID: Note:286093.1
Linux: How to Check Current Shared Memory, Semaphore Values
Doc ID: Note:226209.1
UNIX VIRTUAL MEMORY: UNDERSTANDING AND MEASURING MEMORY USAGE
Doc ID: Note:1012017.6
HOW TO INVESTIGATE THE USE OF SHARED MEMORY SEGMENTS AND SEMAPHORES AT A UNIX LEVEL?
Doc ID: Note:1007971.6
How To Identify Shared Memory Segments for Each Instance <-- dump it..
Doc ID: Note:1021010.6
-- SHARED MEMORY / SEMAPHORES
TECH: Calculating Oracle's SEMAPHORE Requirements
Doc ID: 15654.1
TECH: Unix Semaphores and Shared Memory Explained
Doc ID: 15566.1
Linux Big SGA, Large Memory, VLM - White Paper
Doc ID: Note:260152.1
Modifying Kernel Parameters on RHEL, SLES, and Oracle Enterprise Linux using sysctl
Doc ID: Note:390279.1
Linux: How to Check Current Shared Memory, Semaphore Values
Doc ID: Note:226209.1
How to permanently set kernel parameters on Linux
Doc ID: Note:242529.1
Configuring 2.7Gb SGA in RHEL by Relocating the SGA Attach Address
Doc ID: Note:329378.1
Linux IA64 example of allocating 48GB SGA using hugepages
Doc ID: Note:397568.1
How to Configure RHEL 3.0 32-bit for Very Large Memory and HugePages
Doc ID: Note:317055.1
-- HUGE PAGES, VLM
Configuring RHEL 3 and Oracle 9iR2 32-bit with Hugetlb and Remap_file_pages
Doc ID: Note:262004.1
Database Buffer Cache is not Loaded into Shared Memory when using VLM
Doc ID: Note:454465.1
OS Configuration for large SGA
Doc ID: Note:225220.1
Increasing Usable Address Space for Oracle on 32-bit Linux
Doc ID: Note:200266.1
How to Configure RHAS 2.1 32-bit for Very Large Memory (VLM) with shmfs and bigpages
Doc ID: Note:211424.1
ORA-27123: 3.6 GB SGA size on Red Hat 3.0
Doc ID: Note:273544.1
Red Hat Release 3.0; Advantages for Oracle
Doc ID: Note:259772.1
HugePages on Linux: What It Is... and What It Is Not...
Doc ID: Note:361323.1
Oracle Database Server and the Operating System Memory Limitations
Doc ID: Note:269495.1
-- REMOVE DISK
How to Dynamically Add and Remove SCSI Devices on Linux
Doc ID: 603868.1
-- DEVICE PERSISTENCE
How to set device persistence for RAC Oracle on Linux
Doc ID: 729613.1
-- DEBUG
How to generate and analyze the core files on linux
Doc ID: 278173.1
-- MDAM
Doc ID 759260.1 How to Configure Oracle Enterprise Linux to be Highly Available Using RAID1
Doc ID 343092.1 How to setup Linux md devices for CRS and ASM
-- SCSI
How to Dynamically Add and Remove SCSI Devices on Linux
Doc ID: 603868.1
Note 357472.1 - Configuring device-mapper for CRS/ASM
Note 414897.1 - How to Setup UDEV Rules for RAC OCR & Voting devices on SLES10, RHEL5, OEL5
Note 456239.1 - Understanding Device-mapper in Linux 2.6 Kernel
Note 465001.1 - Configuring raw devices (singlepath) for Oracle Clusterware 10g Release 2 (10.2.0) on RHEL5/OEL5
Note 564580.1 - Configuring raw devices (multipath) for Oracle Clusterware 10g Release 2 (10.2.0) on RHEL5/OEL5
Note 605828.1 - Configuring non-raw multipath devices for Oracle Clusterware 11g (11.1.0) on RHEL5/OEL5
udev(8) man page
mount(8) man page
-- x25-M - FLASH STORAGE
http://guyharrison.squarespace.com/blog/2009/11/24/using-the-oracle-11gr2-database-flash-cache.html
http://tholis.webnode.com/news/hardware-adventures/
http://www.hardwarezone.com/articles/view.php?cid=10&id=2990
http://www.hardwarezone.com/articles/view.php?cid=10&id=2697&pg=2
http://www.tipidpc.com/viewitem.php?iid=4580739
http://www.everyjoe.com/thegadgetblog/160gb-intel-x25-m-ssd-for-sale/
http://computerworld.com.ph/intel-releases-windows-7-ssd-optimization-toolbox/
http://www.villman.com/Product-Detail/Intel_80GB_SSD_X25-M
http://www.anandtech.com/cpuchipsets/Intel/showdoc.aspx?i=3403&cp=4
http://www.youtube.com/watch?v=-rCC9y1u-8c
-- SWAP
Swap Space on RedHat Advanced Server
Doc ID: Note:225451.1
-- CUSTOM SHUTDOWN / STARTUP
How to Automate Startup/Shutdown of Oracle Database on Linux
Doc ID: Note:222813.1
Customizing System Startup in RedHat Linux
Doc ID: Note:126146.1
-- HUGEMEM KERNEL
-- as per RHCE notes, hugemem is not anymore available in rhel5 when you use x86-64 kernel you have a really high limit
https://blogs.oracle.com/gverma/entry/common_incorrect_beliefs_about_1
https://blogs.oracle.com/gverma/entry/redhat_linux_kernels_and_proce_1
/***
|''Name:''|LoadRemoteFileThroughProxy (previous LoadRemoteFileHijack)|
|''Description:''|When the TiddlyWiki file is located on the web (view over http) the content of [[SiteProxy]] tiddler is added in front of the file url. If [[SiteProxy]] does not exist "/proxy/" is added. |
|''Version:''|1.1.0|
|''Date:''|mar 17, 2007|
|''Source:''|http://tiddlywiki.bidix.info/#LoadRemoteFileHijack|
|''Author:''|BidiX (BidiX (at) bidix (dot) info)|
|''License:''|[[BSD open source license|http://tiddlywiki.bidix.info/#%5B%5BBSD%20open%20source%20license%5D%5D ]]|
|''~CoreVersion:''|2.2.0|
***/
//{{{
version.extensions.LoadRemoteFileThroughProxy = {
major: 1, minor: 1, revision: 0,
date: new Date("mar 17, 2007"),
source: "http://tiddlywiki.bidix.info/#LoadRemoteFileThroughProxy"};
if (!window.bidix) window.bidix = {}; // bidix namespace
if (!bidix.core) bidix.core = {};
bidix.core.loadRemoteFile = loadRemoteFile;
loadRemoteFile = function(url,callback,params)
{
if ((document.location.toString().substr(0,4) == "http") && (url.substr(0,4) == "http")){
url = store.getTiddlerText("SiteProxy", "/proxy/") + url;
}
return bidix.core.loadRemoteFile(url,callback,params);
}
//}}}
A Locking Mechanism in Oracle 10g for Web Applications
http://husnusensoy.wordpress.com/2007/07/28/a-locking-mechanism-in-oracle-10g-for-web-applications/
-- simulate a logical corruption
http://goo.gl/bhXgh
{{{
create or replace
trigger sys.etl_logon
after logon
on database
begin
if user = 'CCMETL' then
execute immediate 'alter session set "_serial_direct_read" = ''ALWAYS''';
else null;
end if;
end;
}}}
http://www.oracle.com/us/products/servers-storage/storage/storage-software/031855.htm
http://wiki.lustre.org/index.php/Main_Page
http://lists.lustre.org/pipermail/lustre-announce/attachments/20100414/34394870/attachment-0001.pdf
http://lists.lustre.org/pipermail/lustre-discuss/2011-June/015655.html
''homepage'' http://www.oracle.com/technetwork/database/features/availability/maa-090890.html
''MAA Best Practices - Oracle Database '' http://www.oracle.com/technetwork/database/features/availability/oracle-database-maa-best-practices-155386.html
''High Availability Customer Case Studies, Presentations, Profiles, Analyst Reports, and Press Releases'' http://www.oracle.com/technetwork/database/features/availability/ha-casestudies-098033.html
''High Availability Demonstrations'' http://www.oracle.com/technetwork/database/features/availability/demonstrations-092317.html
''MAA Articles'' http://www.oracle.com/technetwork/database/features/availability/ha-articles-099205.html
http://hemantoracledba.blogspot.com/2010/08/adding-datafile-that-had-been-excluded.html
MPTW is a distribution or edition of TiddlyWiki that includes a standard TiddlyWiki core packaged with some plugins designed to improve usability and provide a better way to organise your information. For more information see http://mptw.tiddlyspot.com/.
http://office.microsoft.com/en-us/project-help/setting-working-times-and-days-off-by-using-project-calendars-HA001020995.aspx
http://forums.techarena.in/microsoft-project/1264277.htm
The silly IO test
http://www.facebook.com/photo.php?pid=6096927&l=5082945abc&id=552113028
<<<
A simple IO test on a Macbook Air 11" 2GB memory 64GB SSD..
the peak write IOPS is just too high for this small lightweight laptop..
For a clearer image http://lh3.ggpht.com/_F2x5WXOJ6Q8/TTwvCC02nWI/AAAAAAAABBU/WBP3z81nifM/SillyTest.jpg
Also you can compare the performance numbers of 4 disk spindles.. short stroked or not.. here http://karlarao.tiddlyspot.com/#OrionTestCases
<<<
Gaja buys MacAir with 1 CPU with 2 cores (2.18Ghz), 4GB of RAM and 256GB of flash storage
http://www.facebook.com/Leo4Evr/posts/10150123422217659
<<<
Karl Arao Hi Gaja.. I would be interested to see the output of this silly IO test on your new Mac http://goo.gl/lZdUw ;)
---------------------------------------------------------------------------------------------------------------------
Gaja Krishna Vaidyanatha @Karl - Silly Test...indeed...one of the reason for all of the memory being consumed is due to the excessive growth of the filesystem buffer cache (FSBC)/Page Cache, due to an increased amount of I/O load on the system. That in turn causes the paging/swapping daemon to be overactive, thus inflating the CPU consumption on the machine. It is a classic case of buffered I/O killing your system. Realistically, this test is more about creating an severe I/O bottleneck instead of measuring IOPS and transfer rates.
A true IOPS test will entail doing just direct I/O and bypassing the FSBC/Page cache. One way to simulate that(if the FSBC/Page cache cannot be bypassed) is to do a dd of a large file that has never been read before. Reboot the system and repeat as often as needed. I just did a few of those and got approx 10,000 - 20,000 IOPS (depending on the bs size) with a transfer rate of approx 200MB/sec. The dd bs (block size) that I tried were 8K and 16K. The numbers are good enough for me :)))
Gaja Krishna Vaidyanatha One more thing...if you run "dd" a very small blocksize (default), it will generate more overhead due to the large number of I/O requests, potentially spending more time under "%sys" instead of "%usr"
---------------------------------------------------------------------------------------------------------------------
Karl Arao That is awesome and the numbers are just impressive... I want to have one! :)
Yes, I made that IO test with the intention of bringing the system down to its knees and characterizing the IO performance on that level of stress. That time I want to know if a laptop on SSD will out number the IO performance of my R&D server http://goo.gl/eLVo2 (running lots of VMs) having 8GB memory, IntelCore2Quad Q9500 & 5 1TB short stroked disk (on 100GB area) on an LVM stripe that's about 900+ IOPS & 300+ MB/s on my Orion and dbms_resource_manager.calibrate_io runs and actually running 250 parallel sessions doing SELECT * on a 300GB table http://goo.gl/PYYyH (the same disks but as ASM disks on the next 100GB area - short stroked).
Also prior to running that IO test on a MacAir I ran the same DD command on my old laptop w/ 4GB memory, IntelCore2 T8100 & 160GB SATA.. just two DDs will instantly go IO WAIT% of 60% going to 90% and load average shooting up and will be completely unresponsive. I was monitoring the General workload, CPU, & Disk using COLLECTL and I can see that the disk is being hammered with lots of 4K blocks IO size & I'm really having high Qlen,Wait, & 100% Disk Utilization. And I have to restart the laptop to be usable again.
So on the IO test on MacAir, that's my first time seeing the GUI perf monitor which I noticed there's no IO WAIT% on the metrics and see SYS% shoot up as I invoke more DDs (I don't know if that's really the nature of machines on SSDs). And surprisingly after 60 DDs I can still move my mouse and the system is still responsive. Cool!
On the test you did that is interesting and you had really nice insights on your reply, I'd also like to try that sometime ;) Can you mail me the exact commands for the test case? karlarao@gmail.com
BTW for an R&D machine that weights 1+kg, 10K IOPS, 200MB/s that's not bad!
<<<
[[About]] [[TagCloud]] [[Oracle]] [[Linux]] [[etc..]] [[RSS]] [[TiddlyCheatSheet]]
''Management Repository Views'' http://docs.oracle.com/cd/B16240_01/doc/em.102/b40007/views.htm#BACCEIBI
http://kerryosborne.oracle-guy.com/2010/07/sqlt-coe_xfr_sql_profilesql/
http://kerryosborne.oracle-guy.com/2010/11/how-to-lock-sql-profiles-generated-by-sql-tuning-advisor/
http://bryangrenn.blogspot.com/2010/12/sql-profiles.html
<!-- Start of StatCounter Code -->
<script type="text/javascript">
var sc_project=5604557;
var sc_invisible=1;
var sc_partition=63;
var sc_click_stat=1;
var sc_security="e91e8daa";
</script>
<script type="text/javascript"
src="http://www.statcounter.com/counter/counter.js"></script><noscript><div
class="statcounter"><a title="create counter"
href="http://www.statcounter.com/free_hit_counter.html"
target="_blank"><img class="statcounter"
src="http://c.statcounter.com/5604557/0/e91e8daa/1/"
alt="create counter" ></a></div></noscript>
<!-- End of StatCounter Code -->
{{{
http://goo.gl/qxTw0
http://www.techimo.com/forum/technical-support/220605-new-hard-drive-not-detected-bios.html
http://www.sevenforums.com/hardware-devices/140312-hdd-sata3-working-win7-but-not-detected-bios.html
--crapy siig controller
http://goo.gl/3CwQc
http://www.newegg.com/Product/Product.aspx?Item=N82E16816150028
--sata3 backwards compatible
http://www.techpowerup.com/forums/showthread.php?t=125631
http://www.tomshardware.com/forum/262341-32-sata-hard-disk-pluged-sata-port
http://en.wikipedia.org/wiki/Serial_ATA#Backward_and_forward_compatibility
-- find disk on SATA slot, find disk SATA speed
http://serverfault.com/questions/194506/find-out-if-disk-is-ide-or-sata
http://hardforum.com/showthread.php?t=1619242
http://www.cyberciti.biz/tips/how-fast-is-linux-sata-hard-disk.html
http://forums.gentoo.org/viewtopic-t-883181-start-0.html <-- GOOD STUFF
http://ubuntuforums.org/archive/index.php/t-1635904.html
http://www.spinics.net/lists/raid/msg32885.html
http://www.linux-archive.org/centos/316405-how-map-ata-numbers-dev-sd-numbers.html
http://www.issociate.de/board/post/507665/Possible_HDD_error,_how_do_I_find_which_HDD_it_is?.html
http://serverfault.com/questions/5336/how-do-i-make-linux-recognize-a-new-sata-dev-sda-drive-i-hot-swapped-in-without
http://forums.fedoraforum.org/showthread.php?t=230618 <-- GOOD STUFF
-- WRITE FPDMA QUEUED
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/550559
http://us.generation-nt.com/answer/problem-reproduceable-storage-errors-high-io-load-help-203628822.html?page=2
http://www.linuxonlinehelp.de/?tag=write-fpdma-queued
http://ubuntuforums.org/archive/index.php/t-903198.html
http://web.archiveorange.com/archive/v/PqQ0RyEKwX1raCQooTfa
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/550559
http://forums.gentoo.org/viewtopic-p-4104334.html
http://lime-technology.com/wiki/index.php?title=The_Analysis_of_Drive_Issues
http://forums.fedoraforum.org/archive/index.php/t-220438.html <-- MAKES SENSE.. ERRORS ON NCQ
http://www.linuxquestions.org/questions/linux-hardware-18/sata-link-down-on-non-existing-sata-channel-694937/
http://ubuntuforums.org/archive/index.php/t-1037819.html
http://www.spinics.net/lists/linux-ide/msg41261.html
https://forums.openfiler.com/viewtopic.php?id=3551
http://www.linuxquestions.org/questions/linux-hardware-18/sata-link-down-on-non-existing-sata-channel-694937/
}}}
MATERIALIZED VIEW REFRESH: Locking, Performance, Monitoring
Doc ID: Note:258252.1
-- REPLICATION
Troubleshooting Guide: Replication Propagation
Doc ID: Note:1035874.6
-- DIAGNOSIS
ORA-00917 While Using using DBMS_MVIEW.EXPLAIN_REWRITE
Doc ID: 471056.1
ORA-12899 When Executing DBMS_MVIEW.EXPLAIN_REWRITE
Doc ID: 469448.1
Snapshot Refresh Fails with ORA-2055 and ORA-7445
Doc ID: 141086.1
Privileges To Refresh A Snapshot Or Materialized View
Doc ID: 1027174.6
Materialized View Refresh Fails With ORA-942: table or view does not exist
Doc ID: 236652.1
How To Use DBMS_MVIEW.EXPLAIN_REWRITE and EXPLAIN_MVIEW To Diagnose Query Rewrite Problems
Doc ID: 149815.1
check the firmware version
/opt/MegaRAID/MegaCli/MegaCli64 -LDInfo -Lall -a0
http://img339.imageshack.us/i/hynix2gb.jpg/sr=1
Here are the details you need to know when buying/upgrading memory for your machine
[img[picturename| https://lh3.googleusercontent.com/_F2x5WXOJ6Q8/TZwsfhjwZNI/AAAAAAAABLo/oHZs5EC7HRI/physicalmemory.png]]
SDRAM vs DIMM
http://forums.techguy.org/hardware/161660-sdram-vs-dimm.html
1333 just runs 1066?
http://forum.notebookreview.com/dell-latitude-vostro-precision/475324-e6410-owners-thread-149.html
http://forums.anandtech.com/showthread.php?t=2141483
http://www.liberidu.com/blog/?p=2343&utm_source=feedburner&utm_medium=feed&utm_campaign=Feed:+Bloggralikecom+(blog.gralike.com)
Migration Solutions Directory
http://www.oracle.com/technology/tech/migration/mti/index.html
http://www.oracle.com/technology/tech/migration/maps/index.html
Migration Workbench
Application Migration Assistant
Oracle Database Migration Verifier
* Migration Technology Center on OTN is the main entry point on OTN for all your migration requirements.
http://www.oracle.com/technology/tech/migration/index.html
* Migration Solutions Directory on OTN provides a quick and easy way to search for the migration solutions that are best suited to your particular migration.
http://www.oracle.com/technology/tech/migration/mti/index.html
* Migration Maps provide a set of step-by-step instructions to guide you through the recommended process for the migration of an existing third-party database to Oracle.
http://www.oracle.com/technology/tech/migration/maps/index.html
* Oracle Migration Knowledge Base offers a collection of technical articles to help you resolve any migration issue.
http://www.oracle.com/technology/tech/migration/kb/index.html
* Discussion Forums on OTN, monitored by developers
o Oracle Migration Workbench Forum
http://forums.oracle.com/forums/forum.jspa?forumID=1
o Application Migration Assistant Forum
http://forums.oracle.com/forums/forum.jspa?forumID=182
* Relational Migration Center of Excellence Introduction
http://www.oracle.com/technology/tech/migration/isv/mig_services.html
Migration Services
------------------
The PTS group has successfully completed over 1,000 partner migrations from Sybase, Informix, Microsoft, IBM DB2, Mumps, and other databases to Oracle-based solutions. PTS has also successfully completed over 300 partner migrations from BEA Weblogic, IBM Websphere, JBoss, and Sun iPlanet to Oracle Application Server 10g. PTS migration engagements typically last from a few days to a couple of weeks depending on the size, type, and complexity of the project. Technical resources such as on-site support, phone support, and e-mail support are all available.
When you have your solution running on Oracle, PTS also provides hands-on architecture and design reviews, database and middle-tier benchmarks, performance and tuning, Java/J2EE coding, RAC validations, proofs of concept, project planning and monitoring, product deployment, and new Oracle product release implementation.
---------------------------------------------------------------------------
Customer Information
Migration Reasons and Goals
Database Information
Operational Procedures and Requirements
Other Special Logic/Subsystems to Migrate
Documentation
----
Migration Lifecycle:
1) Evaluation
2) Assessment
3) Migration
4) Testing
5) Optimization
6) Customer Acceptance
7) Production
8) Project Support
Information and Guide for Finding Migration Information
Doc ID: Note:468083.1
Consolidated Reference List For Migration / Upgrade Service Requests
Doc ID: 762540.1
-- UPGRADE PLANNER
What is the Upgrade Planner and how do I use it? [ID 1277424.1]
http://supportweb.siebel.com/crmondemand/videos/Customer_Support/UITraining/MOS2010/upgradeplanner_introduction/upgradeplanner_introduction.htm
http://supportweb.siebel.com/crmondemand/videos/Customer_Support/UITraining/MOS2010/upgradeplanner_advanced/upgradeplanner_advanced.htm
-- UPGRADE ADVISOR
Upgrade Advisor: Database [ID 251.1]
Oracle Support Upgrade Advisors [ID 250.1]
Upgrade Advisor: OracleAS 10g Forms/Reports Services to FMW 11g [ID 252.1]
Oracle Support Lifecycle Advisors [ID 250.1] <-- ''new!''
-- UPGRADE COMPANION
Oracle 11gR2 Upgrade Companion
Doc ID: 785351.1
10g Upgrade Companion
Doc ID: Note:466181.1
Oracle 11g Upgrade Companion
Doc ID: Note:601807.1
Oracle 11gR2 Upgrade Companion
Doc ID: 785351.1
Compatibility Matrix for Export And Import Between Different Oracle Versions
Doc ID: 132904.1
-- UPGRADE METHODS
Different Upgrade Methods For Upgrading Your Database
Doc ID: Note:419550.1
How to Perform a Full Database Export Import during Upgrade, Migrate, Copy, or Move of a Database
Doc ID: 286775.1
-- UPGRADE WITH DATA GUARD
Upgrading to 10g with a Physical Standby in Place
Doc ID: Note:278521.1
Upgrading to 10g with a Logical Standby in Place
Doc ID: Note:278108.1
-- 7 to 8/8i
Note 122926.1 What Happens Inside Oracle when Migrating from 7 to 8/8i
-- CATCPU
Do I Need To Run catcpu.sql After Upgrading A Database?
Doc ID: Note:461082.1
-- UTLRP, UTLIRP, UTLIP
Difference between UTLRP.SQL - UTLIRP.SQL - UTLIP.SQL?
Doc ID: Note:272322.1
-- CONVERT SE TO EE
How to Convert Database from Standard to Enterprise Edition ?
Doc ID: Note:117048.1
How to convert a RAC database from Standard Edition (SE) to Enterprise Edition (EE)?
Doc ID: Note:451981.1
-- CONVERT EE TO SE
Converting from Enterprise Edition to Standard Edition
Doc ID: Note:139642.1
-- ISSUES on converting from SE to EE
Unable To Recompile Invalid Objects with UTLRP Script After Upgrading From 9i To 10g
Doc ID: Note:465050.1
ORA-07445 [zllcini] or ORA-04045 in a Database with OLS Set to FALSE
Doc ID: Note:233110.1
Queries Against Tables Protected by OLS Are Erroring Out
Doc ID: Note:577569.1
While compiling, Ora-04063: Package Body 'Lbacsys.Lbac_events' Has Errors
Doc ID: Note:359649.1
-- UPGRADE CHECKLIST
Complete Upgrade Checklist for Manual Upgrades from 8.X / 9.0.1 to Oracle9iR2 (9.2.0)
Doc ID: Note:159657.1
Upgrading Directly to a 9.2.0 Patch Set
Doc ID: Note:214887.1
Complete Upgrade Checklist for Manual Upgrades from 8.X / 9.0.1 to Oracle9iR2 (9.2.0)
Doc ID: Note:159657.1
-- MIGRATION FROM 32 to 64
Memory Requirements of Databases Migrated from 32-bit to 64-bit
Doc ID: 209766.1
How to convert a 32-bit database to 64-bit database on Linux?
Doc ID: Note:341880.1
Failure to Create new Control File Migrating From 32-Bit 10gr1 To 64-Bit 10gr2
Doc ID: Note:458401.1
How I Solved a Problem During a Migration of 32 bit to 64 bit on 10.2.0.2
Doc ID: Note:452416.1
How To Change The Platform From Linux X86 To Linux IA64 Itanium (RH or Suse)
Doc ID: Note:316358.1
How to Migrate Oracle 10.2 32bit to 10.2 64bit on Microsoft Windows
Doc ID: Note:403522.1
How I Solved a Problem During a Migration of 32 bit to 64 bit on 10.2.0.2
Doc ID: 452416.1
http://dba.5341.com/msg/66637.html
http://seilerwerks.wordpress.com/2007/03/06/fixing-a-32-to-64-bit-migration-with-utlirpsql/
http://www.oraclealchemist.com/2007/12/
http://www.miraclelinux.com/english/case/index.html
http://pat98.tistory.com/tag/oracle%2064bit
FULL EXPORT FAILS AFTER 32BIT TO 64BIT CONVERSION with ORA-7445
Doc ID: Note:559777.1
How to Migrate Oracle 10.2 32bit to 10.2 64bit on Microsoft Windows
Doc ID: Note:403522.1
Changing between 32-bit and 64-bit Word Sizes
Doc ID: Note:62290.1
How To Verify the Word Size(32bit vs 64bit) of Oracle and UNIX Operating Systems
Doc ID: Note:168604.1
AIX - 32bit vs 64bit
Doc ID: Note:225551.1
Upgrading OLAP from 32 to 64 bits
Doc ID: Note:352306.1
Can you restore RMAN backups taken on 32-bit Oracle with 64-bit Oracle?
Doc ID: Note:430278.1
Got Ora-600 [17069] While Migrating To 64bit From 32bit DB On 64bit Solaris.
Doc ID: Note:434458.1
ORA-25153: Temporary Tablespace is Empty during 32-Bit To 64-Bit 9iR2 on Linux Conversion
Doc ID: Note:602849.1
How To Change Oracle 11g Wordsize from 32-bit to 64-bit.
Doc ID: Note:548978.1
Changing between 32-bit and 64-bit Word Sizes
Doc ID: 62290.1
RMAN Restoring A 32 bit Database to 64 bit - An Example
Doc ID: 467676.1
How to convert a 32-bit database to 64-bit database on Linux?
Doc ID: 341880.1
Can you restore RMAN backups taken on 32-bit Oracle with 64-bit Oracle?
Doc ID: 430278.1
How to Upgrade a Database from 32 Bit Oracle to 64 Bit Oracle
Doc ID: 164997.1
-- DBA_REGISTRY, after wordsize change 10.2.0.4
How to check if Intermedia Audio/Image/Video is Installed Correctly?
Doc ID: 221337.1
Manual upgrade of the 10.2.x JVM fails with ORA-3113 and ORA-7445
Doc ID: 459060.1
Jserver Java Virtual Machine Become Invalid After Catpatch.Sql
Doc ID: 312140.1
How to Reload the JVM in 10.1.0.X and 10.2.0.X
Doc ID: 276554.1
Script to Check the Status of the JVM within the Database
Doc ID: 456949.1
How to Tell if Java Virtual Machine Has Been Installed Correctly
Doc ID: 102717.1
-- CROSS PLATFORM
Answers To FAQ For Restoring Or Duplicating Between Different Versions And Platforms
Doc ID: 369644.1
Migration of Oracle Database Instances Across OS Platforms
Doc ID: 733205.1
How to Use Export and Import when Transferring Data Across Platforms or Across 32-bit and 64-bit Servers
Doc ID: 277650.1
How to Perform a Full Database Export Import during Upgrade, Migrate, Copy, or Move of a Database
Doc ID: 286775.1
-- ITANIUM to X86-64
How To Migrate a Database From Linux Itanium 64-bit To Linux x86-64 (AMD64/EM64T)
Doc ID: Note:550042.1
-- HP-UX PA-RISC to ITANIUM
427712.1 pa-risc to itanium
-- DOWNGRADE
How to Downgrade from Oracle RDBMS 10gR2?
Doc ID: Note:398372.1
Complete Checklist For Downgrading The Database From 11g To Lower Releases
Doc ID: 443890.1
-- PARAMETERS
What is 'STARTUP MIGRATE'?
Doc ID: Note:252273.1
Difference Between Deprecated and Obsolete Parameters
Doc ID: Note:342875.1
-- PATCHING
Clarity On Database Patchset 10.2.0.3.0 Apply, Where The README Has References To Oracle Database Vault Option
Doc ID: Note:405042.1
How to rollback a patchset
Doc ID: Note:334598.1
Restoring a database to a higher patchset
Doc ID: 558408.1
-- MINIMAL DOWNTIME
My Experience in Moving a 1 Terabyte Database Across Platforms With Minimal Downtime
Doc ID: 431096.1
How I Create a Physical Standby Database for a 24/7 Shop
Doc ID: 580004.1
-- FORMS MIGRATE TO 9i/10g
FRM-10256: User is not authorized to run Oracle Forms Menu
Cause:
Forms menu is relying on the FRM50_ENABLED_ROLES view for the menu security; this view is
owned by SYSTEM. The application schemas are only imported on the 10.2.0.4 database and as a
result this view was not created.
Solution:
I found Metalink Note 28933.1, labeled “Implementing and Troubleshooting Menu Security in Forms”,
that suggested to run the FRMSEC.SQL to create the view. This script could be found in the
D:\$oracle_home$\tools\dbtab\forms directory of a Developer Suite installation on a client desktop.
Executed the FRMSEC.SQL on the 10.2.0.4 database as SYSTEM user and granted the
FRM50_ENABLED_ROLES view to PUBLIC
Migrating to Oracle Forms 9i / 10g - Forms Upgrade Center
Doc ID: Note:234540.1
''FREE online MindMap tool''
http://mind42.com/mindmaps
''MindMap offline viewer''
http://freemind.sourceforge.net/wiki/index.php/Download
''My Mind Maps:''
Mining the AWR repository for Capacity Planning, Visualization, & other real world stuff
https://sites.google.com/site/karlarao/mindmap/mining-the-awr-repository
http://karlarao.wordpress.com/2011/12/06/mining-emgc-notification-alerts/
* nice video on ''configuring rules'' http://www.oracle.com/webfolder/technetwork/tutorials/demos/em/gc/r10205/notifications/notifications_viewlet_swf.html
* tutorial on ''creating notification methods (os or snmp)'' and ''mapping it to notification rules'' http://www.oracle.com/webfolder/technetwork/tutorials/obe/em/emgc10gr2/quick_start/notification/notification.htm
* configure ''preferences'' http://www.oracle.com/webfolder/technetwork/tutorials/obe/em/emgc10gr2/quick_start/preferred_credentials/preferred_credentials.htm
http://arup.blogspot.com/2010/05/mining-listener-logs.html
https://docs.google.com/viewer?url=http://www.proligence.com/MiningListenerLogPart1.pdf&pli=1
https://docs.google.com/viewer?url=http://www.proligence.com/MiningListenerLogPart2.pdf&pli=1
https://docs.google.com/viewer?url=http://www.proligence.com/MiningListenerLogPart3.pdf&pli=1
''Some prereq readables''
* Metrics and DBA_HIST tables https://docs.google.com/viewer?url=http://www.perfvision.com/ftp/emea_2010_may/04_NEW_features.ppt
* http://dioncho.wordpress.com/2009/01/23/misunderstanding-on-top-sqls-of-awr-repository/
* http://www.freelists.org/post/oracle-l/SQLs-run-in-any-period,6
* http://www.freelists.org/post/oracle-l/Missing-SQL-in-DBA-HIST-SQLSTAT
* ''Slide 14 of the OOW presentation S317114 What Else Can I Do with System and Session Performance Data'' http://asktom.oracle.com/pls/apex/z?p_url=ASKTOM%2Edownload_file%3Fp_file%3D3400036420700662395&p_cat=oow_2010.zip&p_company=822925097021874 the presentation says "Remember they are snapshots, not movies.. DBA_HIST_SQLTEXT will not be 100% complete for example - especially if you have a poorly written application"
* http://kerryosborne.oracle-guy.com/2009/04/hidden-sql-why-cant-i-find-my-sql-text/
* ''Slide 45-59'' http://www.slideshare.net/karlarao/unconference-mining-the-awr-repository-for-capacity-planning-visualization-other-real-world-stuff the presentation shows the correlation of SQLs to the workload of the server in a time series manner.. that is, when tuned will have big impact on the workload reduction
* Andy Rivenes www.appsdba.com/papers/Oracle_Workload_Measurement.pdf good read about interval based monitoring
* http://oracledoug.com/serendipity/index.php?/archives/1402-MMON-Sampling-ASH-Data.html
''Object and SQLs used for the test case (by Dion Cho):''
{{{
-- create objects
create table t1(c1 int, c2 char(100));
insert into t1
select level, 'x'
from dual
connect by level <= 10000
;
commit;
}}}
{{{
set heading off
set timing off
set feedback off
spool select2.sql
select 'select /*+ top_sql_' || mod(level,10000) || ' */ count(*) from t1;'
from dual
connect by level <= 10000;
spool off
}}}
''Executed as follows:''
{{{
exec dbms_workload_repository.create_snapshot;
@select2
exec dbms_workload_repository.create_snapshot;
}}}
''The first test was done on SNAP_ID 1329, you'll notice the 33% Oracle CPU and 269.110 exec/s
the 2nd test was on SNAP_ID 1332 with 43% Oracle CPU and 315.847 exec/s
There was also a shutdown on period SNAP_ID 1330-1331 because I increased the SGA_MAX_SIZE from 300-700M
The increased SGA helped as I was able to have more SQLs appearing on the awr_topsql.sql
SNAP_ID 1329 -- 300M SGA -- 54sqls
SNAP_ID 1332 -- 700M SGA -- 106sqls''
{{{
AWR CPU and IO Workload Report
i *** *** ***
n Total Total Total U S
Snap s Snap C CPU A Oracle OS Physical Oracle RMAN OS S Y I
Snap Start t Dur P Time DB DB Bg RMAN A CPU OS CPU Memory IOPs IOPs IOPs IO r IO w Redo Exec CPU CPU CPU R S O
ID Time # (m) U (s) Time CPU CPU CPU S (s) Load (s) (mb) r w redo (mb)/s (mb)/s (mb)/s Sess /s % % % % % %
------ --------------- --- ---------- --- ----------- ---------- --------- --------- -------- ----- ----------- ------- ----------- ---------- --------- --------- --------- --------- --------- --------- ---- --------- ------ ---- ---- ---- ---- ----
1328 10/10/18 21:36 1 1.23 1 73.80 4.41 4.19 0.33 0.00 0.1 4.52 0.46 8.51 0.05 0.257 2.019 0.217 0.004 0.026 0.006 21 2.073 6 0 12 5 5 2
1329 10/10/18 21:37 1 1.46 1 87.60 29.04 28.73 0.43 0.00 0.3 29.16 0.97 43.35 0.03 0.342 1.906 0.148 0.004 0.019 0.006 21 269.110 33 0 49 21 27 2
1330 10/10/18 21:38 1 7.02 1 421.20 6.45 4.37 2.14 0.00 0.0 6.51 0.15 35.12 0.02 0.306 0.715 0.674 0.004 0.010 0.004 21 19.418 2 0 8 3 4 2
1331 10/10/18 21:45 1 12.77 1 766.20 -417.20 -100.73 -33.41 0.00 -0.5 -134.13 0.39 -663.97 0.07 -7.794 -2.536 -1.541 -0.230 -0.033 -0.014 22 -60.715 -18 0 -87 -14 -59 -20
1332 10/10/18 21:58 1 1.26 1 75.60 36.63 32.37 0.30 0.00 0.5 32.67 0.85 46.88 0.04 6.548 0.463 0.185 0.100 0.010 0.008 25 315.847 43 0 62 28 33 3
}}}
''Drilling down on SNAP_ID 1332 awr_topsql.sql output (below) the following are the filter options''
AND snap_id = 1332
AND lower(st.sql_text) like '%top_sql%'
''and it just shows 26 rows''
''notice the top_sql_7199 below.. the time rank is 9 and has the elapsed time of 0.04sec, notice that the query is arranged on Elapsed Time which really what matters
and on top_sql_7199 half of the time was on CPU .02sec (approximate, this may be different when you actually trace the SQL)
also notice the "SQL Text" column (far right).. the lowest from the 10K execution starts on the range of top_sql_6xxx and highest is top_sql_9xxx... this may happen as SQL goes in and out of the shared pool which could be aged out or cycled or simply because my shared pool is too small..
and then as per the official doc
//"DBA_HIST_SQLSTAT displays historical information about SQL statistics. This view captures the top SQL statements based on a set of criteria and captures the statistics information from V$SQL. The total value is the value of the statistics since instance startup. The delta value is the value of the statistics from the BEGIN_INTERVAL_TIME to the END_INTERVAL_TIME in the DBA_HIST_SNAPSHOT view."//
so this correlates with Tom Kyte's statement that they are based on snapshots... but the "top SQL statements based on a set of criteria" are only captured on this view (hmm have to check if there will be top_sql on v$sql with no load that are not captured on dba_hist_sqlstat)
"Remember they are snapshots, not movies.. DBA_HIST_SQLTEXT will not be 100% complete for example - especially if you have a poorly written application"
Note that these are not the only SQLs running on this SNAP period... you'll see on the next sections that on this snap period (1332) there are 90 rows selected
(You can have a better output by double clicking this whole page and copy paste it on a textpad)
''
{{{
AWR Top SQL Report
i
n Elapsed
Snap s Snap Plan Elapsed Time CPU A
Snap Start t Dur SQL Hash Time per exec Time Cluster Parse PX A Time SQL
ID Time # (m) ID Value Module (s) (s) (s) Wait LIO PIO Rows Exec Count Exec S Rank Text
------ --------------- --- ------- --------------- ------------ -------------------- ---------- ---------- ---------- ---------- ------------ ------------ ------------ -------- ---------- -------- ------- ---- ----------------------------------------
1332 10/10/18 21:58 1 1.26 6yd53x1zjqts9 3724264953 sqlplus@dbrocaix01.b 0.04 0.04 0.02 0 223 0 1 1 1 0 0.00 9 select /*+ top_sql_7199 */ count(*) from
xxxxxxx.com (TNS V1- t1
V3)
1332 10/10/18 21:58 1 1.26 bpxnmunkcywzg 3724264953 sqlplus@dbrocaix01.b 0.03 0.03 0.00 0 223 0 1 1 1 0 0.00 12 select /*+ top_sql_8170 */ count(*) from
xxxxxxx.com (TNS V1- t1
V3)
1332 10/10/18 21:58 1 1.26 7fa2r0xkfbs6b 3724264953 sqlplus@dbrocaix01.b 0.02 0.02 0.02 0 223 0 1 1 1 0 0.00 27 select /*+ top_sql_8314 */ count(*) from
xxxxxxx.com (TNS V1- t1
V3)
1332 10/10/18 21:58 1 1.26 f71p3w4xx1pfc 3724264953 sqlplus@dbrocaix01.b 0.02 0.02 0.02 0 223 0 1 1 1 0 0.00 33 select /*+ top_sql_8286 */ count(*) from
xxxxxxx.com (TNS V1- t1
V3)
1332 10/10/18 21:58 1 1.26 f3wcc30napt5a 3724264953 sqlplus@dbrocaix01.b 0.02 0.02 0.02 0 223 0 1 1 1 0 0.00 36 select /*+ top_sql_7198 */ count(*) from
xxxxxxx.com (TNS V1- t1
V3)
1332 10/10/18 21:58 1 1.26 ghvnum1dfm05q 3724264953 sqlplus@dbrocaix01.b 0.00 0.00 0.00 0 223 0 1 1 1 0 0.00 58 select /*+ top_sql_9331 */ count(*) from
xxxxxxx.com (TNS V1- t1
V3)
1332 10/10/18 21:58 1 1.26 2ta3r31t0z08a 3724264953 sqlplus@dbrocaix01.b 0.00 0.00 0.00 0 223 0 1 1 1 0 0.00 60 select /*+ top_sql_7523 */ count(*) from
xxxxxxx.com (TNS V1- t1
V3)
1332 10/10/18 21:58 1 1.26 59kybrhwdk040 3724264953 sqlplus@dbrocaix01.b 0.00 0.00 0.00 0 223 0 1 1 1 0 0.00 61 select /*+ top_sql_9853 */ count(*) from
xxxxxxx.com (TNS V1- t1
V3)
1332 10/10/18 21:58 1 1.26 9wf93m8rau04d 3724264953 sqlplus@dbrocaix01.b 0.00 0.00 0.00 0 223 0 1 1 1 0 0.00 62 select /*+ top_sql_8652 */ count(*) from
xxxxxxx.com (TNS V1- t1
V3)
1332 10/10/18 21:58 1 1.26 fuhanmqynt02p 3724264953 sqlplus@dbrocaix01.b 0.00 0.00 0.00 0 223 0 1 1 1 0 0.00 63 select /*+ top_sql_9743 */ count(*) from
xxxxxxx.com (TNS V1- t1
V3)
1332 10/10/18 21:58 1 1.26 1dzkrjdvjt03n 3724264953 sqlplus@dbrocaix01.b 0.00 0.00 0.00 0 223 0 1 1 1 0 0.00 65 select /*+ top_sql_8498 */ count(*) from
xxxxxxx.com (TNS V1- t1
V3)
1332 10/10/18 21:58 1 1.26 0s5uzug7cr029 3724264953 sqlplus@dbrocaix01.b 0.00 0.00 0.00 0 223 0 1 1 1 0 0.00 66 select /*+ top_sql_8896 */ count(*) from
xxxxxxx.com (TNS V1- t1
V3)
1332 10/10/18 21:58 1 1.26 gq6kp76f1307x 3724264953 sqlplus@dbrocaix01.b 0.00 0.00 0.00 0 223 0 1 1 1 0 0.00 67 select /*+ top_sql_8114 */ count(*) from
xxxxxxx.com (TNS V1- t1
V3)
1332 10/10/18 21:58 1 1.26 bfa3qt29jg07b 3724264953 sqlplus@dbrocaix01.b 0.00 0.00 0.00 0 223 0 1 1 1 0 0.00 68 select /*+ top_sql_9608 */ count(*) from
xxxxxxx.com (TNS V1- t1
V3)
1332 10/10/18 21:58 1 1.26 9nk1jwamsy02n 3724264953 sqlplus@dbrocaix01.b 0.00 0.00 0.00 0 223 0 1 1 1 0 0.00 69 select /*+ top_sql_9724 */ count(*) from
xxxxxxx.com (TNS V1- t1
V3)
1332 10/10/18 21:58 1 1.26 2sry32gac2079 3724264953 sqlplus@dbrocaix01.b 0.00 0.00 0.00 0 223 0 1 1 1 0 0.00 70 select /*+ top_sql_7316 */ count(*) from
xxxxxxx.com (TNS V1- t1
V3)
1332 10/10/18 21:58 1 1.26 atp84rb53u072 3724264953 sqlplus@dbrocaix01.b 0.00 0.00 0.00 0 223 0 1 1 1 0 0.00 71 select /*+ top_sql_9091 */ count(*) from
xxxxxxx.com (TNS V1- t1
V3)
1332 10/10/18 21:58 1 1.26 1wb6wx2nb8093 3724264953 sqlplus@dbrocaix01.b 0.00 0.00 0.00 0 223 0 1 1 1 0 0.00 73 select /*+ top_sql_9446 */ count(*) from
xxxxxxx.com (TNS V1- t1
V3)
1332 10/10/18 21:58 1 1.26 3czfc573u505f 3724264953 sqlplus@dbrocaix01.b 0.00 0.00 0.00 0 223 0 1 1 1 0 0.00 74 select /*+ top_sql_9702 */ count(*) from
xxxxxxx.com (TNS V1- t1
V3)
1332 10/10/18 21:58 1 1.26 c31xpspd8n08k 3724264953 sqlplus@dbrocaix01.b 0.00 0.00 0.00 0 223 0 1 1 1 0 0.00 75 select /*+ top_sql_8045 */ count(*) from
xxxxxxx.com (TNS V1- t1
V3)
1332 10/10/18 21:58 1 1.26 3k07s1fhv6043 3724264953 sqlplus@dbrocaix01.b 0.00 0.00 0.00 0 223 0 1 1 1 0 0.00 77 select /*+ top_sql_9321 */ count(*) from
xxxxxxx.com (TNS V1- t1
V3)
1332 10/10/18 21:58 1 1.26 0qh6dbs79n06s 3724264953 sqlplus@dbrocaix01.b 0.00 0.00 0.00 0 223 0 1 1 1 0 0.00 78 select /*+ top_sql_9052 */ count(*) from
xxxxxxx.com (TNS V1- t1
V3)
1332 10/10/18 21:58 1 1.26 9xt7tfmzut065 3724264953 sqlplus@dbrocaix01.b 0.00 0.00 0.00 0 223 0 1 1 1 0 0.00 79 select /*+ top_sql_9429 */ count(*) from
xxxxxxx.com (TNS V1- t1
V3)
1332 10/10/18 21:58 1 1.26 28hu85p69d047 3724264953 sqlplus@dbrocaix01.b 0.00 0.00 0.00 0 223 0 1 1 1 0 0.00 80 select /*+ top_sql_8978 */ count(*) from
xxxxxxx.com (TNS V1- t1
V3)
1332 10/10/18 21:58 1 1.26 4w2jxfhrfh037 3724264953 sqlplus@dbrocaix01.b 0.00 0.00 0.00 0 223 0 1 1 1 0 0.00 81 select /*+ top_sql_7464 */ count(*) from
xxxxxxx.com (TNS V1- t1
V3)
1332 10/10/18 21:58 1 1.26 5kzjxrqgqv03x 3724264953 sqlplus@dbrocaix01.b 0.00 0.00 0.00 0 223 0 1 1 1 0 0.00 83 select /*+ top_sql_6849 */ count(*) from
xxxxxxx.com (TNS V1- t1
V3)
26 rows selected.
}}}
''Below is the dba_hist_sqltext filtered output this only shows the '%top_sql%' SQLs
and only has 41 rows
as per the official doc //"the DBA_HIST_SQLTEXT displays the text of SQL statements belonging to shared SQL cursors captured in the Workload Repository. This view captures information from V$SQL and is used with the DBA_HIST_SQLSTAT view."//
and also when you do
''
select count(*) from dba_hist_sqltext — this view does not have SNAP_ID.. and the total row count is 3243
''for the script awr_topsqlx.sql I outer join it with the dba_hist_snapshot and dba_hist_sqlstat''
where st.sql_id(+) = sqt.sql_id
and st.dbid(+) = &_dbid
''to get the sql_text information on the SELECT portion''
, nvl(substr(st.sql_text,1,6), to_clob('** SQL Text Not Available **')) sql_text
''
on later sections, you'll see that even if I remove dba_hist_sqltext and dba_hist_snapshot from the join I will still get the same amount of SQL output (90 rows) on a specific SNAP_ID
''
(You can have a better output by double clicking this whole page and copy paste it on a textpad)
{{{
sys@IVRS> select * from dba_hist_sqltext where lower(sql_text) like '%top_sql%'
2 /
AWR Top SQL Report
SQL SQL
ID Text COMMAND_TYPE
--------------- ---------------------------------------- ------------
93s9k7wvfs05m select snap_interval, retention,most_rec 3
ent_snap_time, most_recent_snap_id, stat
us_flag, most_recent_purge_time, most_re
cent_split_id, most_recent_split_time, m
rct_snap_time_num, mrct_purge_time_num,
snapint_num, retention_num, swrf_version
, registration_status, mrct_baseline_id,
topnsql from wrm$_wr_control where dbid
= :dbid
7k5ymabz2vkgu update wrm$_wr_control set snap_inter 6
val = :bind1, snapint_num = :bind2, rete
ntion = :bind3, retention_num = :bi
nd4, most_recent_snap_id = :bind5,
most_recent_snap_time = :bind6, mrct_sna
p_time_num = :bind7, status_flag =
:bind8, most_recent_purge_time = :bind9,
mrct_purge_time_num = :bind10,
most_recent_split_id = :bind11, most_r
ecent_split_time = :bind12, swrf_ve
rsion = :bind13, registration_status = :
bind14, mrct_baseline_id = :bind15,
topnsql = :bind16 where dbid = :dbid
f83wtgbnb9usa select 'select /*+ top_sql_' || mod(leve 3
l,100) || ' */ count(*) from t1;'
from dual
connect by level <= 10000
89tw99zyhrcbz select 'select /*+ top_sql_' || mod(leve 3
l,10000) || ' */ count(*) from t1;'
from dual
connect by level <= 10000
1wb6wx2nb8093 select /*+ top_sql_9446 */ count(*) from 3
t1
2v0d7sukxs097 select /*+ top_sql_8504 */ count(*) from 3
t1
gw8hg6m5ur0ac select /*+ top_sql_9717 */ count(*) from 3
t1
7g2ssk0p2a0ap select /*+ top_sql_8764 */ count(*) from 3
t1
d8dw2zx62c0by select /*+ top_sql_9869 */ count(*) from 3
t1
6ucxssb64u0c3 select /*+ top_sql_9803 */ count(*) from 3
t1
8drg8cmfhj0c9 select /*+ top_sql_9336 */ count(*) from 3
t1
db1tvtsu2u0d2 select /*+ top_sql_8531 */ count(*) from 3
t1
b66tsa9sxa0dh select /*+ top_sql_9444 */ count(*) from 3
t1
bq0yu0jjry0fg select /*+ top_sql_8799 */ count(*) from 3
t1
0s5uzug7cr029 select /*+ top_sql_8896 */ count(*) from 3
t1
9nk1jwamsy02n select /*+ top_sql_9724 */ count(*) from 3
t1
fuhanmqynt02p select /*+ top_sql_9743 */ count(*) from 3
t1
4w2jxfhrfh037 select /*+ top_sql_7464 */ count(*) from 3
t1
1dzkrjdvjt03n select /*+ top_sql_8498 */ count(*) from 3
t1
5kzjxrqgqv03x select /*+ top_sql_6849 */ count(*) from 3
t1
59kybrhwdk040 select /*+ top_sql_9853 */ count(*) from 3
t1
3k07s1fhv6043 select /*+ top_sql_9321 */ count(*) from 3
t1
28hu85p69d047 select /*+ top_sql_8978 */ count(*) from 3
t1
9wf93m8rau04d select /*+ top_sql_8652 */ count(*) from 3
t1
3czfc573u505f select /*+ top_sql_9702 */ count(*) from 3
t1
ghvnum1dfm05q select /*+ top_sql_9331 */ count(*) from 3
t1
3qw7025q1tcf3 select /*+ top_sql_8865 */ count(*) from 3
t1
423v9vytv8064 select /*+ top_sql_6733 */ count(*) from 3
t1
9xt7tfmzut065 select /*+ top_sql_9429 */ count(*) from 3
t1
0qh6dbs79n06s select /*+ top_sql_9052 */ count(*) from 3
t1
atp84rb53u072 select /*+ top_sql_9091 */ count(*) from 3
t1
2sry32gac2079 select /*+ top_sql_7316 */ count(*) from 3
t1
bfa3qt29jg07b select /*+ top_sql_9608 */ count(*) from 3
t1
gq6kp76f1307x select /*+ top_sql_8114 */ count(*) from 3
t1
2ta3r31t0z08a select /*+ top_sql_7523 */ count(*) from 3
t1
c31xpspd8n08k select /*+ top_sql_8045 */ count(*) from 3
t1
f3wcc30napt5a select /*+ top_sql_7198 */ count(*) from 3
t1
7fa2r0xkfbs6b select /*+ top_sql_8314 */ count(*) from 3
t1
6yd53x1zjqts9 select /*+ top_sql_7199 */ count(*) from 3
t1
f71p3w4xx1pfc select /*+ top_sql_8286 */ count(*) from 3
t1
bpxnmunkcywzg select /*+ top_sql_8170 */ count(*) from 3
t1
41 rows selected.
}}}
(You can have a better output by double clicking this whole page and copy paste it on a textpad)
{{{
AWR Top SQL Report
i
n Elapsed
Snap s Snap Plan Elapsed Time CPU A
Snap Start t Dur SQL Hash Time per exec Time Cluster Parse PX A Time SQL
ID Time # (m) ID Value Module (s) (s) (s) Wait LIO PIO Rows Exec Count Exec S Rank Text
------ --------------- --- ------- --------------- ------------ -------------------- ---------- ---------- ---------- ---------- ------------ ------------ ------------ -------- ---------- -------- ------- ---- ----------------------------------------
1332 10/10/18 21:58 1 1.26 404qh4yx36y1v 2586623307 9.25 0.00 9.16 0 660002 134 10000 10000 10000 0 0.12 1 SELECT /* OPT_DYN_SAMP */ /*+ ALL_ROWS I
GNORE_WHERE_CLAUSE NO_PARALLEL(SAMPLESUB
) opt_param('parallel_execution_enabled'
, 'false') NO_PARALLEL_INDEX(SAMPLESUB)
NO_SQL_TUNE */ NVL(SUM(C1),0), NVL(SUM(C
2),0) FROM (SELECT /*+ NO_PARALLEL("T1")
FULL("T1") NO_PARALLEL_INDEX("T1") */ 1
AS C1, 1 AS C2 FROM "T1" SAMPLE BLOCK (
41.447368 , 1) SEED (1) "T1") SAMPLESUB
1332 10/10/18 21:58 1 1.26 bunssq950snhf 2694099131 0.80 0.80 0.80 0 146 0 8 1 1 0 0.01 2 insert into wrh$_sga_target_advice (sn
ap_id, dbid, instance_number, SGA_SIZ
E, SGA_SIZE_FACTOR, ESTD_DB_TIME, ESTD_P
HYSICAL_READS) select :snap_id, :dbi
d, :instance_number, SGA_SIZE, SGA_SI
ZE_FACTOR, ESTD_DB_TIME, ESTD_PHYSICAL_R
EADS from v$sga_target_advice
1332 10/10/18 21:58 1 1.26 7vgmvmy8vvb9s 43914496 0.08 0.08 0.08 0 168 0 1 1 1 0 0.00 3 insert into wrh$_tempstatxs (snap_id,
dbid, instance_number, file#, creation_c
hange#, phyrds, phywrts, singleblkrds
, readtim, writetim, singleblkrdtim, phy
blkrd, phyblkwrt, wait_count, time)
select :snap_id, :dbid, :instance_num
ber, tf.tfnum, to_number(tf.tfcrc_scn
) creation_change#, ts.kcftiopyr, ts.
kcftiopyw, ts.kcftiosbr, ts.kcftioprt, t
s.kcftiopwt, ts.kcftiosbt, ts.kcftiop
br, ts.kcftiopbw, fw.count, fw.time fro
m x$kcftio ts, x$kcctf tf, x$kcbfwait
fw where tf.tfdup != 0 and tf.tf
num = ts.kcftiofno and fw.indx+1 = (
ts.kcftiofno + :db_files)
1332 10/10/18 21:58 1 1.26 6hwjmjgrpsuaa 2721822575 0.05 0.05 0.02 0 196 5 57 1 1 0 0.00 4 insert into wrh$_enqueue_stat (snap_id
, dbid, instance_number, eq_type, req_re
ason, total_req#, total_wait#, succ_r
eq#, failed_req#, cum_wait_time, even
t#) select :snap_id, :dbid, :instanc
e_number, eq_type, req_reason, total_
req#, total_wait#, succ_req#, failed_req
#, cum_wait_time, event# from v$e
nqueue_statistics where total_req# !
= 0 order by eq_type, req_reason
1332 10/10/18 21:58 1 1.26 84qubbrsr0kfn 3385247542 0.04 0.04 0.04 0 372 0 388 1 1 0 0.00 5 insert into wrh$_latch (snap_id, dbid,
instance_number, latch_hash, level#, ge
ts, misses, sleeps, immediate_gets, i
mmediate_misses, spin_gets, sleep1, s
leep2, sleep3, sleep4, wait_time) selec
t :snap_id, :dbid, :instance_number,
hash, level#, gets, misses, sleeps, i
mmediate_gets, immediate_misses, spin_ge
ts, sleep1, sleep2, sleep3, sleep4, w
ait_time from v$latch order by h
ash
1332 10/10/18 21:58 1 1.26 db78fxqxwxt7r 3312420081 0.04 0.00 0.03 0 1163 3 5135 379 20 0 0.00 6 select /*+ rule */ bucket, endpoint, col
#, epvalue from histgrm$ where obj#=:1 a
nd intcol#=:2 and row#=:3 order by bucke
t
1332 10/10/18 21:58 1 1.26 96g93hntrzjtr 2239883476 0.04 0.00 0.04 0 3517 0 736 1346 20 0 0.00 7 select /*+ rule */ bucket_cnt, row_cnt,
cache_cnt, null_cnt, timestamp#, sample_
size, minimum, maximum, distcnt, lowval,
hival, density, col#, spare1, spare2, a
vgcln from hist_head$ where obj#=:1 and
intcol#=:2
1332 10/10/18 21:58 1 1.26 130dvvr5s8bgn 1160622595 0.04 0.00 0.04 0 1105 0 198 18 18 0 0.00 8 select obj#, dataobj#, part#, hiboundlen
, hiboundval, ts#, file#, block#, pctfre
e$, pctused$, initrans, maxtrans, flags,
analyzetime, samplesize, rowcnt, blkcnt
, empcnt, avgspc, chncnt, avgrln, length
(bhiboundval), bhiboundval from tabpart$
where bo# = :1 order by part#
1332 10/10/18 21:58 1 1.26 6yd53x1zjqts9 3724264953 sqlplus@dbrocaix01.b 0.04 0.04 0.02 0 223 0 1 1 1 0 0.00 9 select /*+ top_sql_7199 */ count(*) from
xxxxxxx.com (TNS V1- t1
V3)
1332 10/10/18 21:58 1 1.26 70utgu2587mhs 1395584798 0.04 0.04 0.01 0 173 10 4 1 1 0 0.00 10 insert into wrh$_java_pool_advice (s
nap_id, dbid, instance_number, java
_pool_size_for_estimate, java_pool_size_
factor, estd_lc_size, estd_lc_memor
y_objects, estd_lc_time_saved, estd
_lc_time_saved_factor, estd_lc_load_time
, estd_lc_load_time_factor, estd_lc
_memory_object_hits) select :snap_
id, :dbid, :instance_number, java_p
ool_size_for_estimate, java_pool_size_fa
ctor, estd_lc_size, estd_lc_memory_
objects, estd_lc_time_saved, estd_l
c_time_saved_factor, estd_lc_load_time,
estd_lc_load_time_factor, estd_lc_m
emory_object_hits from v$java_pool_advi
ce
1332 10/10/18 21:58 1 1.26 c3zymn7x3k6wy 3446064519 0.03 0.00 0.03 0 1035 0 209 19 19 0 0.00 11 select obj#, dataobj#, part#, hiboundlen
, hiboundval, flags, ts#, file#, block#,
pctfree$, initrans, maxtrans, analyzeti
me, samplesize, rowcnt, blevel, leafcnt,
distkey, lblkkey, dblkkey, clufac, pctt
hres$, length(bhiboundval), bhiboundval
from indpart$ where bo# = :1 order by pa
rt#
1332 10/10/18 21:58 1 1.26 bpxnmunkcywzg 3724264953 sqlplus@dbrocaix01.b 0.03 0.03 0.00 0 223 0 1 1 1 0 0.00 12 select /*+ top_sql_8170 */ count(*) from
xxxxxxx.com (TNS V1- t1
V3)
1332 10/10/18 21:58 1 1.26 3252fkazwq930 3220283061 0.03 0.03 0.02 0 34 0 0 1 1 0 0.00 13 UPDATE WRH$_SERVICE_NAME SET snap_id = :
lah_snap_id WHERE dbid = :dbid AND (
SERVICE_NAME_HASH) IN (SELECT NUM1_KEWRA
TTR FROM X$KEWRATTRSTALE)
1332 10/10/18 21:58 1 1.26 fdxrh8tzyw0yw 2786456350 0.03 0.03 0.03 0 38 0 0 1 1 0 0.00 14 SELECT snap_id , SERVICE_NAME_HASH FROM
(SELECT /*+ ordered use_nl(t2) index(t
2) */ t2.snap_id , t1.NAME_HASH SERVICE
_NAME_HASH FROM V$SERVICES t1, WRH$_SERV
ICE_NAME t2 WHERE t2.dbid(+) = :db
id AND t2.SERVICE_NAME_HASH(+) = t1.NAM
E_HASH) WHERE nvl(snap_id, 0) < :snap_id
1332 10/10/18 21:58 1 1.26 7k6zct1sya530 2444078832 0.03 0.03 0.03 0 152 0 0 1 1 0 0.00 15 insert into WRH$_STREAMS_APPLY_SUM (s
nap_id, dbid, instance_number, apply_nam
e, startup_time, reader_total_messag
es_dequeued, reader_lag, coord_total
_received, coord_total_applied, coord_to
tal_rollbacks, coord_total_wait_deps
, coord_total_wait_cmts, coord_lwm_lag,
server_total_messages_applied, serve
r_elapsed_dequeue_time, server_elaps
ed_apply_time) select * from (select
:snap_id, :dbid, :instance_number, ac.a
pply_name, ac.startup_time, a
r.total_messages_dequeued, ar
.dequeue_time - ar.dequeued_message_crea
te_time, ac.total_received, a
c.total_applied, ac.total_rollbacks,
ac.total_wait_deps, ac.total_wai
t_commits, ac.lwm_time - ac.l
wm_message_create_time, al.to
tal_messages_applied, al.elapsed_dequeue
_time, al.elapsed_apply_time
from v$streams_apply_coordinator a
c, v$streams_apply_reader ar,
(select apply_name,
sum(total_messages_applied) t
otal_messages_applied,
sum(elapsed_dequeue_time) elapsed_dequ
eue_time, sum(elapsed
_apply_time) elapsed_apply_time
from v$streams_apply_server
group by apply_name) al wher
e al.apply_name=ac.apply_name and
ar.apply_name=ac.apply_name
order by ac.total_applied desc) where
rownum <= 25
1332 10/10/18 21:58 1 1.26 7qjhf5dzmazsr 751380177 0.03 0.03 0.01 0 143 7 1 1 1 0 0.00 16 SELECT snap_id , OBJ#, DATAOBJ# FROM (
SELECT /*+ ordered use_nl(t2) index(t2)
*/ t2.snap_id , t1.OBJN_KEWRSEG OBJ#, t
1.OBJD_KEWRSEG DATAOBJ# FROM X$KEWRTSEG
STAT t1, WRH$_SEG_STAT_OBJ t2 WHERE
t2.dbid(+) = :dbid AND t2.OBJ#(+) = t
1.OBJN_KEWRSEG AND t2.DATAOBJ#(+) = t1.O
BJD_KEWRSEG) WHERE nvl(snap_id, 0) < :sn
ap_id
1332 10/10/18 21:58 1 1.26 32wqka2zwvu65 875704766 0.03 0.03 0.03 0 557 0 264 1 1 0 0.00 17 insert into wrh$_parameter (snap_id, d
bid, instance_number, parameter_hash, va
lue, isdefault, ismodified) select
:snap_id, :dbid, :instance_number, i.k
sppihash hash, sv.ksppstvl, sv.ksppst
df, decode(bitand(sv.ksppstvf,7), 1, 'MO
DIFIED', 'FALSE') from x$ksppi i, x$ksp
psv sv where i.indx = sv.indx and ((
(i.ksppinm not like '#_%' escape '#') or
(sv.ksppstdf = 'FALSE') or
(bitand(sv.ksppstvf,5) > 0)) or
(i.ksppinm like '#_#_%' escape '#'
)) order by hash
1332 10/10/18 21:58 1 1.26 53saa2zkr6wc3 1514015273 0.03 0.00 0.03 0 2192 0 633 463 15 0 0.00 18 select intcol#,nvl(pos#,0),col#,nvl(spar
e1,0) from ccol$ where con#=:1
1332 10/10/18 21:58 1 1.26 4qju99hqmn81x 4055547183 0.02 0.02 0.02 0 591 0 4 1 1 0 0.00 19 INSERT INTO WRH$_ACTIVE_SESSION_HISTORY
( snap_id, dbid, instance_number, sample
_id, sample_time, session_id, session
_serial#, user_id, sql_id, sql_child_
number, sql_plan_hash_value, force_ma
tching_signature, service_hash, sessi
on_type, sql_opcode, plsql_entry_obje
ct_id, plsql_entry_subprogram_id, pls
ql_object_id, plsql_subprogram_id, bl
ocking_session, blocking_session_serial#
, qc_session_id, qc_instance_id, x
id, current_obj#, current_file#, curr
ent_block#, event_id, seq#, p1, p2
, p3, wait_time, time_waited, program
, module, action, client_id ) (SELECT :
snap_id, :dbid, :instance_number, a.samp
le_id, a.sample_time, a.session
_id, a.session_serial#, a.user_id,
a.sql_id, a.sql_child_number,
a.sql_plan_hash_value, a.force_matchi
ng_signature, a.service_hash, a
.session_type, a.sql_opcode, a.
plsql_entry_object_id, a.plsql_entry_sub
program_id, a.plsql_object_id,
a.plsql_subprogram_id, a.blocki
ng_session, a.blocking_session_
serial#, a.qc_session_id, a.qc_instance_
id, a.xid, a.current_o
bj#, a.current_file#, a.current_block#,
a.event_id, a.seq#, a.
p1, a.p2, a.p3, a.wait_time, a.time_wait
ed, substrb(a.program, 1, 64),
a.module, a.action, a.client_id FROM
x$ash a, (SELECT h.sample_addr
, h.sample_id FROM x$kewash
h WHERE ( (h.s
ample_id >= :begin_flushing) and
(h.sample_id < :latest_sampl
e_id) ) and (MOD(h.sample_id
, :disk_filter_ratio) = 0) ) s
hdr WHERE shdr.sample_addr = a.sample_
addr and shdr.sample_id = a.sample
_id)
1332 10/10/18 21:58 1 1.26 32whwm2babwpt 183139296 0.02 0.02 0.02 0 420 0 0 1 1 0 0.00 20 insert into wrh$_seg_stat_obj (
snap_id , dbid , ts#
, obj# , dataobj#
, owner , object_name
, subobject_name , partiti
on_type , object_type
, tablespace_name) select :lah_snap_
id , :dbid , ss1.tsn_k
ewrseg , ss1.objn_kewrseg
, ss1.objd_kewrseg , ss1.ow
nername_kewrseg , ss1.objname_k
ewrseg , ss1.subobjname_kewrseg
, decode(po.parttype, 1, 'RANG
E', 2, 'HASH',
3, 'SYSTEM', 4, 'LIST',
NULL, 'NONE', 'U
NKNOWN') , decode(ss1.objtype_k
ewrseg, 0, 'NEXT OBJECT',
1, 'INDEX', 2, 'TABLE', 3, 'CLUSTER'
, 4, 'VIEW', 5,
'SYNONYM', 6, 'SEQUENCE',
7, 'PROCEDURE', 8, 'FUNCTION', 9
, 'PACKAGE', 11, 'PACKA
GE BODY', 12, 'TRIGGER',
13, 'TYPE', 14, 'TYPE BODY',
19, 'T
ABLE PARTITION',
20, 'INDEX PARTITION', 2
1, 'LOB', 22
, 'LIBRARY', 23, 'DIRECTORY', 24, 'QUEUE
', 28, 'JAVA SOURCE', 2
9, 'JAVA CLASS',
30, 'JAVA RESOURCE', 32, 'INDEXTYPE',
33, 'OPERATOR',
34, 'TABLE SUBPARTITION',
35, 'INDEX SUBPARTITION',
40, 'LOB PAR
TITION', 41, 'LOB SUBPARTITION',
42, 'MATERIALIZED VIEW',
43, 'DIMENSION',
44, 'CONTEXT', 47, 'RE
SOURCE PLAN', 48, 'CON
SUMER GROUP',
51, 'SUBSCRIPTION', 52, 'LOCATION'
, 55, 'XML SCHEMA', 56
, 'JAVA DATA', 57, 'S
ECURITY PROFILE', 'UND
EFINED') , ss1.tsname_kewrse
g from x$kewrattrnew at,
x$kewrtsegstat ss1, (selec
t tp.obj#, pob.parttype fr
om sys.tabpart$ tp, sys.partobj$ pob
where tp.bo# = pob.obj#
union all select
ip.obj#, pob.parttype fro
m sys.indpart$ ip, sys.partobj$ pob
where ip.bo# = pob.obj#)
po where at.num1_kewrattr = ss1.ob
jn_kewrseg and at.num2_kewrattr
= ss1.objd_kewrseg and at.num1_ke
wrattr = po.obj#(+) and (ss1.obj
type_kewrseg not in
(1 /* INDEX - handled below */,
10 /* NON-EXISTEN
T */) or (ss1.objtype_kewrse
g = 1 and 1
= (select 1 from ind$ i
where i.obj# = ss1.objn_k
ewrseg
and i.type# in
(1, 2, 3,
4, 6, 7, 9)))) and ss1.objname_
kewrseg != '_NEXT_OBJECT'
and ss1.objname_kewrseg != '_defa
ult_auditing_options_'
1332 10/10/18 21:58 1 1.26 fktqvw2wjxdxc 2042248707 0.02 0.02 0.02 0 293 0 13 1 1 0 0.00 21 insert into wrh$_filestatxs (snap_id,
dbid, instance_number, file#, creation_c
hange#, phyrds, phywrts, singleblkrds
, readtim, writetim, singleblkrdtim, phy
blkrd, phyblkwrt, wait_count, time)
select :snap_id, :dbid, :instance_num
ber, df.file#, (df.crscnbas + (df.crs
cnwrp * power(2,32))) creation_change#,
fs.kcfiopyr, fs.kcfiopyw, fs.kcfiosbr
, fs.kcfioprt, fs.kcfiopwt, fs.kcfios
bt, fs.kcfiopbr, fs.kcfiopbw, fw.count,
fw.time from x$kcfio fs, file$ df, x
$kcbfwait fw where fw.indx+1 = fs.k
cfiofno and df.file# = fs.kcfiofno
and df.status$ = 2
1332 10/10/18 21:58 1 1.26 2ym6hhaq30r73 3755742892 0.02 0.00 0.02 0 1428 0 476 476 476 0 0.00 22 select type#,blocks,extents,minexts,maxe
xts,extsize,extpct,user#,iniexts,NVL(lis
ts,65535),NVL(groups,65535),cachehint,hw
mincr, NVL(spare1,0),NVL(scanhint,0) fro
m seg$ where ts#=:1 and file#=:2 and blo
ck#=:3
1332 10/10/18 21:58 1 1.26 71y370j6428cb 3717298615 0.02 0.02 0.02 0 146 0 1 1 1 0 0.00 23 insert into wrh$_thread (snap_id, db
id, instance_number, thread#, threa
d_instance_number, status, open_tim
e, current_group#, sequence#) select
:snap_id, :dbid, :instance_number,
t.thread#, i.instance_number, t.statu
s, t.open_time, t.current_group#, t
.sequence# from v$thread t, v$instance
i where i.thread#(+) = t.thread#
1332 10/10/18 21:58 1 1.26 f9nzhpn9854xz 2614576983 0.02 0.02 0.02 0 499 5 57 1 1 0 0.00 24 insert into wrh$_seg_stat (snap_id, db
id, instance_number, ts#, obj#, dataobj#
, logical_reads_total, logical_reads_
delta, buffer_busy_waits_total, buffer_b
usy_waits_delta, db_block_changes_tot
al, db_block_changes_delta, physical_rea
ds_total, physical_reads_delta, physi
cal_writes_total, physical_writes_delta,
physical_reads_direct_total, physica
l_reads_direct_delta, physical_writes
_direct_total, physical_writes_direct_de
lta, itl_waits_total, itl_waits_delta
, row_lock_waits_total, row_lock_wait
s_delta, gc_buffer_busy_total, gc_buf
fer_busy_delta, gc_cr_blocks_received
_total, gc_cr_blocks_received_delta,
gc_cu_blocks_received_total, gc_cu_block
s_received_delta, space_used_total, s
pace_used_delta, space_allocated_tota
l, space_allocated_delta, table_scans
_total, table_scans_delta, chain_row_
excess_total, chain_row_excess_delta) s
elect :snap_id, :dbid, :instance_number,
tsn_kewrseg, objn_kewrseg, objd_kewr
seg, log_rds_kewrseg, log_rds_dl_kewr
seg, buf_busy_wts_kewrseg, buf_busy_w
ts_dl_kewrseg, db_blk_chgs_kewrseg, d
b_blk_chgs_dl_kewrseg, phy_rds_kewrse
g, phy_rds_dl_kewrseg, phy_wrts_kewrs
eg, phy_wrts_dl_kewrseg, phy_rds_drt_
kewrseg, phy_rds_drt_dl_kewrseg, phy_
wrts_drt_kewrseg, phy_wrts_drt_dl_kewrse
g, itl_wts_kewrseg, itl_wts_dl_kewrse
g, row_lck_wts_kewrseg, row_lck_wts_d
l_kewrseg, gc_buf_busy_kewrseg, gc_bu
f_busy_dl_kewrseg, gc_cr_blks_rcv_kew
rseg, gc_cr_blks_rcv_dl_kewrseg, gc_c
u_blks_rcv_kewrseg, gc_cu_blks_rcv_dl_ke
wrseg, space_used_kewrseg, space_used
_dl_kewrseg, space_alloc_kewrseg, spa
ce_alloc_dl_kewrseg, tbl_scns_kewrseg
, tbl_scns_dl_kewrseg, chn_exc_kewrse
g, chn_exc_dl_kewrseg from X$KEWRTSEGST
AT order by objn_kewrseg, objd_kewrseg
1332 10/10/18 21:58 1 1.26 bqnn4c3gjtmgu 592198678 0.02 0.02 0.02 0 129 0 23 1 1 0 0.00 25 insert into wrh$_bg_event_summary (sna
p_id, dbid, instance_number, event_id
, total_waits, total_timeouts, time_w
aited_micro) select /*+ ordered use_nl(
e) */ :snap_id, :dbid, :instance_numb
er, e.event_id, sum(e.total_waits),
sum(e.total_timeouts), sum(e.time_wait
ed_micro) from v$session bgsids, v$s
ession_event e where bgsids.type = '
BACKGROUND' and bgsids.sid = e.sid
group by e.event_id
1332 10/10/18 21:58 1 1.26 39m4sx9k63ba2 323350262 0.02 0.00 0.01 0 138 1 42 12 12 0 0.00 26 select /*+ index(idl_ub2$ i_idl_ub21) +*
/ piece#,length,piece from idl_ub2$ wher
e obj#=:1 and part=:2 and version=:3 ord
er by piece#
1332 10/10/18 21:58 1 1.26 7fa2r0xkfbs6b 3724264953 sqlplus@dbrocaix01.b 0.02 0.02 0.02 0 223 0 1 1 1 0 0.00 27 select /*+ top_sql_8314 */ count(*) from
xxxxxxx.com (TNS V1- t1
V3)
1332 10/10/18 21:58 1 1.26 1uk5m5qbzj1vt 0 sqlplus@dbrocaix01.b 0.02 0.02 0 155 0 0 0 1 0 0.00 28 BEGIN dbms_workload_repository.create_sn
xxxxxxx.com (TNS V1- apshot; END;
V3)
1332 10/10/18 21:58 1 1.26 cp3gpd7z878w8 1950636251 0.02 0.02 0.02 0 288 0 25 1 1 0 0.00 29 insert into wrh$_sgastat (snap_id, dbi
d, instance_number, pool, name, bytes)
select :snap_id, :dbid, :instance_num
ber, pool, name, bytes from (selec
t pool, name, bytes, 100*(by
tes) / (sum(bytes) over (partition by po
ol)) part_pct from v$sgastat) w
here part_pct >= 1 or pool is null
or name = 'free memory' order by
name, pool
1332 10/10/18 21:58 1 1.26 dsd2yqyggtc59 3648994037 0.02 0.02 0 5 0 0 0 1 0 0.00 30 select SERVICE_ID, NAME, NAME_HASH, NETW
ORK_NAME, CREATION_DATE, CREATION_DATE_H
ASH, GOAL, DTP, AQ_HA_NOTIFICATION, CLB
_GOAL from GV$SERVICES where inst_id =
USERENV('Instance')
1332 10/10/18 21:58 1 1.26 bu95jup1jp5t3 2436512634 0.02 0.02 0.02 0 338 3 21 1 1 0 0.00 31 insert into wrh$_db_cache_advice
(snap_id, dbid, instance_number,
bpid, buffers_for_estimate, name, block
_size, advice_status, size_for_e
stimate, size_factor, physical_r
eads, base_physical_reads, actual_physic
al_reads) select :snap_id, :dbid, :ins
tance_number, a.bpid, a.nbufs,
b.bp_name, a.blksz, decode(a.st
atus, 2, 'ON', 'OFF'), a.poolsz
, round((a.poolsz / a.actual_poolsz), 4)
, a.preads, a.base_preads, a.ac
tual_preads from x$kcbsc a, x$kcbwbp
d b where a.bpid = b.bp_id
1332 10/10/18 21:58 1 1.26 350myuyx0t1d6 1838802114 0.02 0.02 0.02 0 299 0 11 1 1 0 0.00 32 insert into wrh$_tablespace_stat (sna
p_id, dbid, instance_number, ts#, tsname
, contents, status, segment_space_ma
nagement, extent_management, is_back
up) select :snap_id, :dbid, :instanc
e_number, ts.ts#, ts.name as tsname,
decode(ts.contents$, 0, (decode(bitan
d(ts.flags, 16), 16, 'UNDO', '
PERMANENT')), 1, 'TEMPORARY')
as contents, decode(ts.online$, 1, '
ONLINE', 2, 'OFFLINE', 4, 'REA
D ONLY', 'UNDEFINED') as st
atus, decode(bitand(ts.flags,32), 32,
'AUTO', 'MANUAL') as segspace_mgmt, d
ecode(ts.bitmapped, 0, 'DICTIONARY', 'LO
CAL') as extent_management, (case w
hen b.active_count > 0 then 'TR
UE' else 'FALSE' end) as is
_backup from sys.ts$ ts, (select
dfile.ts#, sum( case when
bkup.status = 'ACTIVE'
then 1 else 0 end ) as active_cou
nt from v$backup bkup, file$ dfi
le where bkup.file# = dfile.file
# and dfile.status$ = 2
group by dfile.ts#) b where ts.online
$ != 3 and bitand(ts.flags, 2048) !=
2048 and ts.ts# = b.ts#
1332 10/10/18 21:58 1 1.26 f71p3w4xx1pfc 3724264953 sqlplus@dbrocaix01.b 0.02 0.02 0.02 0 223 0 1 1 1 0 0.00 33 select /*+ top_sql_8286 */ count(*) from
xxxxxxx.com (TNS V1- t1
V3)
1332 10/10/18 21:58 1 1.26 c6awqs517jpj0 1780865333 0.02 0.00 0.00 0 36 1 6 12 12 0 0.00 34 select /*+ index(idl_char$ i_idl_char1)
+*/ piece#,length,piece from idl_char$ w
here obj#=:1 and part=:2 and version=:3
order by piece#
1332 10/10/18 21:58 1 1.26 agpd044zj368m 3821145811 0.02 0.02 0.02 0 284 10 45 1 1 0 0.00 35 insert into wrh$_system_event (snap_id
, dbid, instance_number, event_id, total
_waits, total_timeouts, time_waited_m
icro) select :snap_id, :dbid, :insta
nce_number, event_id, total_waits, to
tal_timeouts, time_waited_micro from
v$system_event order by event_id
1332 10/10/18 21:58 1 1.26 f3wcc30napt5a 3724264953 sqlplus@dbrocaix01.b 0.02 0.02 0.02 0 223 0 1 1 1 0 0.00 36 select /*+ top_sql_7198 */ count(*) from
xxxxxxx.com (TNS V1- t1
V3)
1332 10/10/18 21:58 1 1.26 71k5024zn7c9a 3286887626 0.02 0.02 0.02 0 295 0 6 1 1 0 0.00 37 insert into wrh$_latch_misses_summary
(snap_id, dbid, instance_number, parent_
name, where_in_code, nwfail_count, sl
eep_count, wtr_slp_count) select :sn
ap_id, :dbid, :instance_number, parent_n
ame, "WHERE", sum(nwfail_count), sum(
sleep_count), sum(wtr_slp_count) from
v$latch_misses where sleep_count >
0 group by parent_name, "WHERE" or
der by parent_name, "WHERE"
1332 10/10/18 21:58 1 1.26 83taa7kaw59c1 3765558045 0.02 0.00 0.02 0 220 0 913 69 21 0 0.00 38 select name,intcol#,segcol#,type#,length
,nvl(precision#,0),decode(type#,2,nvl(sc
ale,-127/*MAXSB1MINAL*/),178,scale,179,s
cale,180,scale,181,scale,182,scale,183,s
cale,231,scale,0),null$,fixedstorage,nvl
(deflength,0),default$,rowid,col#,proper
ty, nvl(charsetid,0),nvl(charsetform,0),
spare1,spare2,nvl(spare3,0) from col$ wh
ere obj#=:1 order by intcol#
1332 10/10/18 21:58 1 1.26 cvn54b7yz0s8u 2334475966 0.02 0.00 0.00 0 62 7 20 12 12 0 0.00 39 select /*+ index(idl_ub1$ i_idl_ub11) +*
/ piece#,length,piece from idl_ub1$ wher
e obj#=:1 and part=:2 and version=:3 ord
er by piece#
1332 10/10/18 21:58 1 1.26 66gs90fyynks7 1662736584 0.02 0.02 0.02 0 202 0 1 1 1 0 0.00 40 insert into wrh$_instance_recovery (snap
_id, dbid, instance_number, recovery_est
imated_ios, actual_redo_blks, target_red
o_blks, log_file_size_redo_blks, log_chk
pt_timeout_redo_blks, log_chkpt_interval
_redo_blks, fast_start_io_target_redo_bl
ks, target_mttr, estimated_mttr, ckpt_bl
ock_writes, optimal_logfile_size, estd_c
luster_available_time, writes_mttr, writ
es_logfile_size, writes_log_checkpoint_s
ettings, writes_other_settings, writes_a
utotune, writes_full_thread_ckpt) select
:snap_id, :dbid, :instance_number, reco
very_estimated_ios, actual_redo_blks, ta
rget_redo_blks, log_file_size_redo_blks,
log_chkpt_timeout_redo_blks, log_chkpt_
interval_redo_blks, fast_start_io_target
_redo_blks, target_mttr, estimated_mttr,
ckpt_block_writes, optimal_logfile_size
, estd_cluster_available_time, writes_mt
tr, writes_logfile_size, writes_log_chec
kpoint_settings, writes_other_settings,
writes_autotune, writes_full_thread_ckpt
from v$instance_recovery
1332 10/10/18 21:58 1 1.26 5ngzsfstg8tmy 3317232865 0.01 0.00 0.01 0 321 0 107 107 19 0 0.00 41 select o.owner#,o.name,o.namespace,o.rem
oteowner,o.linkname,o.subname,o.dataobj#
,o.flags from obj$ o where o.obj#=:1
1332 10/10/18 21:58 1 1.26 7ng34ruy5awxq 306576078 0.01 0.00 0.01 0 566 0 78 68 18 0 0.00 42 select i.obj#,i.ts#,i.file#,i.block#,i.i
ntcols,i.type#,i.flags,i.property,i.pctf
ree$,i.initrans,i.maxtrans,i.blevel,i.le
afcnt,i.distkey,i.lblkkey,i.dblkkey,i.cl
ufac,i.cols,i.analyzetime,i.samplesize,i
.dataobj#,nvl(i.degree,1),nvl(i.instance
s,1),i.rowcnt,mod(i.pctthres$,256),i.ind
method#,i.trunccnt,nvl(c.unicols,0),nvl(
c.deferrable#+c.valid#,0),nvl(i.spare1,i
.intcols),i.spare4,i.spare2,i.spare6,dec
ode(i.pctthres$,null,null,mod(trunc(i.pc
tthres$/256),256)),ist.cachedblk,ist.cac
hehit,ist.logicalread from ind$ i, ind_s
tats$ ist, (select enabled, min(cols) un
icols,min(to_number(bitand(defer,1))) de
ferrable#,min(to_number(bitand(defer,4))
) valid# from cdef$ where obj#=:1 and en
abled > 1 group by enabled) c where i.ob
j#=c.enabled(+) and i.obj# = ist.obj#(+)
and i.bo#=:1 order by i.obj#
1332 10/10/18 21:58 1 1.26 79uvsz1g1c168 187762771 0.01 0.01 0.01 0 216 0 1 1 1 0 0.00 43 insert into wrh$_buffer_pool_statistics
(snap_id, dbid, instance_number, id, n
ame, block_size, set_msize, cnum_repl
, cnum_write, cnum_set, buf_got, sum_wri
te, sum_scan, free_buffer_wait, write
_complete_wait, buffer_busy_wait, fre
e_buffer_inspected, dirty_buffers_inspec
ted, db_block_change, db_block_gets,
consistent_gets, physical_reads, physica
l_writes) select :snap_id, :dbid, :i
nstance_number, id, name, block_size, se
t_msize, cnum_repl, cnum_write, cnum_
set, buf_got, sum_write, sum_scan, fr
ee_buffer_wait, write_complete_wait, buf
fer_busy_wait, free_buffer_inspected,
dirty_buffers_inspected, db_block_chang
e, db_block_gets, consistent_gets, ph
ysical_reads, physical_writes from v
$buffer_pool_statistics
1332 10/10/18 21:58 1 1.26 b0cxc52zmwaxs 3771206753 0.01 0.01 0.01 0 187 0 2 1 1 0 0.00 44 insert into wrh$_sess_time_stats (sna
p_id, dbid, instance_number, session_typ
e, min_logon_time, sum_cpu_time, sum
_sys_io_wait, sum_user_io_wait) select :
snap_id, :dbid, :instance_number, type,
min(logon_time) min_logon_time,
sum(cpu_time) cpu_time, sum(s
ys_io_wait) sys_io_wait, sum(user_io_
wait) user_io_wait from (select sid, se
rial#, max(type) type,
max(logon_time) logon_time,
max(cpu_time) cpu_time, s
um(case when kslcsclsname = 'System I/O'
then kslcstim else 0
end) as sys_io_wait, sum(case w
hen kslcsclsname ='User I/O'
then kslcstim else 0 end) as user
_io_wait from (select /*+ ordered
*/ allsids.sid sid, allsids.
serial# serial#, max(type)
type, max(logon_time) l
ogon_time, sum(kewsval) c
pu_time from (select type,
allsids.sid, sess.ksuseser as serial#,
sess.ksuseltm as logon_time from
(select /*+ ordered index(p) */
s.indx as sid, decode(l.ro
le, 'reader', 'Logminer Reader',
'preparer','Logminer
Preparer', 'bui
lder', 'Logminer Builder') as type
from x$logmnr_process l, x$ksupr p, x$ks
use s where l.role in ('reader','pr
eparer','builder') and l.pid = p.
indx and bitand(p.ksspaflg,1)!=0
and p.ksuprpid = s.ksusepid un
ion all select sid_knst as sid,
decode(type_knst, 8,'STREAMS Captur
e', 7,'STREA
MS Apply Reader',
2,'STREAMS Apply Server',
1,'STREAMS Apply Coo
rdinator') as type from x$knstcap
where type_knst in (8,7,2,1) unio
n all select indx as sid, (case when
ksusepnm like '%(q00%)'
then 'QMON Slaves'
else 'QMON Coordina
tor' end) as type from x$ksuse
where ksusepnm like '%(q00%)' o
r ksusepnm like '%(QMNC)' union all
select kwqpssid as sid, 'Propagation S
ender' as type from x$kwqps unio
n all select kwqpdsid as sid, 'Propag
ation Receiver' as type from x$kwqp
d) allsids, x$ksuse sess where bitand(
sess.ksspaflg,1) != 0 and bitand(ses
s.ksuseflg,1) != 0 and allsids.sid =
sess.indx) allsids, x$kewsse
sv sesv, x$kewssmap map
where allsids.sid = sesv.ksusenum
and sesv.kewsnum = map.soffst
and map.aggid = 1 and
(map.stype = 2 or map.stype = 3)
and map.sname in ('DB CPU', 'backgro
und cpu time') group by sid, seria
l#) allaggr, x$kslcs allio where
allaggr.sid = allio.kslcssid(+) and
allio.kslcsclsname in ('System I/O',
'User I/O') group by allaggr.sid, alla
ggr.serial#) group by type
1332 10/10/18 21:58 1 1.26 1tn90bbpyjshq 722989617 0.01 0.01 0.01 0 87 0 0 1 1 0 0.00 45 UPDATE wrh$_tempfile tfh SET (snap_id,
filename, tsname) = (SELECT :lah_sn
ap_id, tf.name name, ts.name tsname
FROM v$tempfile tf, ts$ ts WHERE
tf.ts# = ts.ts# AND tfh.file# =
tf.file# AND tfh.creation_chang
e# = tf.creation_change#) WHERE (file#,
creation_change#) IN (SELECT tf.
tfnum, to_number(tf.tfcrc_scn) creation_
change# FROM x$kcctf tf
WHERE tf.tfdup != 0) AND dbid
= :dbid AND snap_id < :snap_id
1332 10/10/18 21:58 1 1.26 a73wbv1yu8x5c 2570921597 0.01 0.00 0.01 0 680 0 463 71 5 0 0.00 46 select con#,type#,condlength,intcols,rob
j#,rcon#,match#,refact,nvl(enabled,0),ro
wid,cols,nvl(defer,0),mtime,nvl(spare1,0
) from cdef$ where obj#=:1
1332 10/10/18 21:58 1 1.26 6c06mfv01xt2h 2399945022 0.01 0.01 0.01 0 201 1 1 1 1 0 0.00 47 update wrh$_seg_stat_obj sso set (ind
ex_type, base_obj#, base_object_name, ba
se_object_owner) = (selec
t decode(ind.type#,
1, 'NORMAL'||
decode(bitand(ind.property, 4), 0, '',
4, '/REV'), 2, 'BIT
MAP', 3, 'CLUSTER', 4, 'IOT - TOP',
5, 'IOT - NESTED', 6,
'SECONDARY', 7, 'ANSI',
8, 'LOB', 9, 'DOMAIN') as index_ty
pe, base_obj.obj# as base
_obj#, base_obj.name as b
ase_object_name, base_own
er.name as base_object_owner fro
m sys.ind$ ind, sys.us
er$ base_owner, sys.obj$
base_obj where ind.obj# =
sso.obj# and ind.dataobj# = s
so.dataobj# and ind.bo#
= base_obj.obj# and base_obj.
owner# = base_owner.user#) where sso.d
bid = :dbid and (obj#, dataob
j#) in (select objn_kewrseg, obj
d_kewrseg from x$kewrtseg
stat ss1 where objtype_kewrseg = 1)
and sso.snap_id = :lah_snap_id a
nd sso.object_type = 'INDEX'
1332 10/10/18 21:58 1 1.26 45jb7msfn4x4m 669385525 0.01 0.01 0 5 0 0 0 1 0 0.00 48 select SADDR , SID , SERIAL# , AUDSID ,
PADDR , USER# , USERNAME , COMMAND , OW
NERID, TADDR , LOCKWAIT , STATUS , SERVE
R , SCHEMA# , SCHEMANAME ,OSUSER , PROCE
SS , MACHINE , TERMINAL , PROGRAM , TYPE
, SQL_ADDRESS , SQL_HASH_VALUE, SQL_ID,
SQL_CHILD_NUMBER , PREV_SQL_ADDR , PREV
_HASH_VALUE , PREV_SQL_ID, PREV_CHILD_NU
MBER , PLSQL_ENTRY_OBJECT_ID, PLSQL_ENTR
Y_SUBPROGRAM_ID, PLSQL_OBJECT_ID, PLSQL_
SUBPROGRAM_ID, MODULE , MODULE_HASH , AC
TION , ACTION_HASH , CLIENT_INFO , FIXED
_TABLE_SEQUENCE , ROW_WAIT_OBJ# , ROW_WA
IT_FILE# , ROW_WAIT_BLOCK# , ROW_WAIT_RO
W# , LOGON_TIME , LAST_CALL_ET , PDML_EN
ABLED , FAILOVER_TYPE , FAILOVER_METHOD
, FAILED_OVER, RESOURCE_CONSUMER_GROUP,
PDML_STATUS, PDDL_STATUS, PQ_STATUS, CUR
RENT_QUEUE_DURATION, CLIENT_IDENTIFIER,
BLOCKING_SESSION_STATUS, BLOCKING_INSTAN
CE,BLOCKING_SESSION,SEQ#, EVENT#,EVENT,P
1TEXT,P1,P1RAW,P2TEXT,P2,P2RAW, P3TEXT,P
3,P3RAW,WAIT_CLASS_ID, WAIT_CLASS#,WAIT_
CLASS,WAIT_TIME, SECONDS_IN_WAIT,STATE,S
ERVICE_NAME, SQL_TRACE, SQL_TRACE_WAITS,
SQL_TRACE_BINDS from GV$SESSION where i
nst_id = USERENV('Instance')
1332 10/10/18 21:58 1 1.26 asvzxj61dc5vs 3028786551 0.01 0.00 0.01 0 325 0 75 125 125 0 0.00 49 select timestamp, flags from fixed_obj$
where obj#=:1
1332 10/10/18 21:58 1 1.26 04xtrk7uyhknh 2853959010 0.01 0.00 0.01 0 125 1 41 42 22 0 0.00 50 select obj#,type#,ctime,mtime,stime,stat
us,dataobj#,flags,oid$, spare1, spare2 f
rom obj$ where owner#=:1 and name=:2 and
namespace=:3 and remoteowner is null an
d linkname is null and subname is null
1332 10/10/18 21:58 1 1.26 6769wyy3yf66f 299250003 0.01 0.00 0.01 0 704 0 274 78 20 0 0.00 51 select pos#,intcol#,col#,spare1,bo#,spar
e2 from icol$ where obj#=:1
1332 10/10/18 21:58 1 1.26 1gu8t96d0bdmu 3526770254 0.01 0.00 0.01 0 242 1 59 59 20 0 0.00 52 select t.ts#,t.file#,t.block#,nvl(t.bobj
#,0),nvl(t.tab#,0),t.intcols,nvl(t.cluco
ls,0),t.audit$,t.flags,t.pctfree$,t.pctu
sed$,t.initrans,t.maxtrans,t.rowcnt,t.bl
kcnt,t.empcnt,t.avgspc,t.chncnt,t.avgrln
,t.analyzetime,t.samplesize,t.cols,t.pro
perty,nvl(t.degree,1),nvl(t.instances,1)
,t.avgspc_flb,t.flbcnt,t.kernelcols,nvl(
t.trigflag, 0),nvl(t.spare1,0),nvl(t.spa
re2,0),t.spare4,t.spare6,ts.cachedblk,ts
.cachehit,ts.logicalread from tab$ t, ta
b_stats$ ts where t.obj#= :1 and t.obj#
= ts.obj# (+)
1332 10/10/18 21:58 1 1.26 88brhumsyg325 146261960 0.01 0.01 0 6 0 0 0 1 0 0.00 53 select d.inst_id,d.kslldadr,la.latch#,d.
kslldlvl,d.kslldnam,d.kslldhsh, l
a.gets,la.misses, la.sleeps,la.im
mediate_gets,la.immediate_misses,la.wait
ers_woken, la.waits_holding_latch
,la.spin_gets,la.sleep1,la.sleep2,
la.sleep3,la.sleep4,la.sleep5,la.sleep
6,la.sleep7,la.sleep8,la.sleep9,
la.sleep10, la.sleep11, la.wait_time fr
om x$kslld d, (select kslltnum latch#
, sum(kslltwgt) gets,sum(kslltwff
) misses,sum(kslltwsl) sleeps, su
m(kslltngt) immediate_gets,sum(kslltnfa)
immediate_misses, sum(kslltwkc)
waiters_woken,sum(kslltwth) waits_holdin
g_latch, sum(ksllthst0) spin_gets
,sum(ksllthst1) sleep1,sum(ksllthst2) sl
eep2, sum(ksllthst3) sleep3,sum(k
sllthst4) sleep4,sum(ksllthst5) sleep5,
sum(ksllthst6) sleep6,sum(ksllths
t7) sleep7,sum(ksllthst8) sleep8,
sum(ksllthst9) sleep9,sum(ksllthst10) s
leep10,sum(ksllthst11) sleep11, s
um(kslltwtt) wait_time from x$ksllt g
roup by kslltnum) la where la.latch# =
d.indx
1332 10/10/18 21:58 1 1.26 7rx9z1ddww1j2 2439216106 0.00 0.00 0 5 0 0 0 1 0 0.00 54 select SID, SERIAL#, APPLY#, APPLY_NAME,
SERVER_ID, STATE, XIDUSN, XIDSLT, XIDSQN
, COMMITSCN,DEP_XIDUSN, DEP_XIDSLT, DEP_
XIDSQN, DEP_COMMITSCN, MESSAGE_SEQUENCE,
TOTAL_ASSIGNED, TOTAL_ADMIN, TOTAL_ROLLB
ACKS,TOTAL_MESSAGES_APPLIED, APPLY_TIME,
APPLIED_MESSAGE_NUMBER, APPLIED_MESSAGE
_CREATE_TIME,ELAPSED_DEQUEUE_TIME, ELAPS
ED_APPLY_TIME from GV$STREAMS_APPLY_SERV
ER where INST_ID = USERENV('Instance')
1332 10/10/18 21:58 1 1.26 6aq34nj2zb2n7 2874733959 0.00 0.00 0.00 0 130 0 0 65 20 0 0.00 55 select col#, grantee#, privilege#,max(mo
d(nvl(option$,0),2)) from objauth$ where
obj#=:1 and col# is not null group by p
rivilege#, col#, grantee# order by col#,
grantee#
1332 10/10/18 21:58 1 1.26 17k8dh7vntd3w 669385525 0.00 0.00 0 3 0 0 0 1 0 0.00 56 select s.inst_id,s.addr,s.indx,s.ksusese
r,s.ksuudses,s.ksusepro,s.ksuudlui,s.ksu
udlna,s.ksuudoct,s.ksusesow, decode(s.ks
usetrn,hextoraw('00'),null,s.ksusetrn),d
ecode(s.ksqpswat,hextoraw('00'),null,s.k
sqpswat),decode(bitand(s.ksuseidl,11),1,
'ACTIVE',0,decode(bitand(s.ksuseflg,4096
),0,'INACTIVE','CACHED'),2,'SNIPED',3,'S
NIPED', 'KILLED'),decode(s.ksspatyp,1,'D
EDICATED',2,'SHARED',3,'PSEUDO','NONE'),
s.ksuudsid,s.ksuudsna,s.ksuseunm,s.ksu
sepid,s.ksusemnm,s.ksusetid,s.ksusepnm,
decode(bitand(s.ksuseflg,19),17,'BACKGRO
UND',1,'USER',2,'RECURSIVE','?'), s.ksus
esql, s.ksusesqh, s.ksusesqi, decode(s.k
susesch, 65535, to_number(null), s.ksuse
sch), s.ksusepsq, s.ksusepha, s.ksuseps
i, decode(s.ksusepch, 65535, to_number(
null), s.ksusepch), decode(s.ksusepeo,0
,to_number(null),s.ksusepeo), decode(s.
ksusepeo,0,to_number(null),s.ksusepes),
decode(s.ksusepco,0,to_number(null),s.k
susepco), decode(s.ksusepco,0,to_number
(null),s.ksusepcs), s.ksuseapp, s.ksuse
aph, s.ksuseact, s.ksuseach, s.ksusecli,
s.ksusefix, s.ksuseobj, s.ksusefil, s.k
suseblk, s.ksuseslt, s.ksuseltm, s.ksuse
ctm,decode(bitand(s.ksusepxopt, 12),0,'N
O','YES'),decode(s.ksuseft, 2,'SESSION',
4,'SELECT',8,'TRANSACTIONAL','NONE'),de
code(s.ksusefm,1,'BASIC',2,'PRECONNECT',
4,'PREPARSE','NONE'),decode(s.ksusefs, 1
, 'YES', 'NO'),s.ksusegrp,decode(bitand(
s.ksusepxopt,4),4,'ENABLED',decode(bitan
d(s.ksusepxopt,8),8,'FORCED','DISABLED')
),decode(bitand(s.ksusepxopt,2),2,'FORCE
D',decode(bitand(s.ksusepxopt,1),1,'DISA
BLED','ENABLED')),decode(bitand(s.ksusep
xopt,32),32,'FORCED',decode(bitand(s.ksu
sepxopt,16),16,'DISABLED','ENABLED')),
s.ksusecqd, s.ksuseclid, decode(s.ksuseb
locker,4294967295,'UNKNOWN', 4294967294
, 'UNKNOWN',4294967293,'UNKNOWN',4294967
292,'NO HOLDER', 4294967291,'NOT IN WAI
T','VALID'),decode(s.ksuseblocker, 42949
67295,to_number(null),4294967294,to_numb
er(null), 4294967293,to_number(null), 42
94967292,to_number(null),4294967291, to
_number(null),bitand(s.ksuseblocker, 214
7418112)/65536),decode(s.ksuseblocker, 4
294967295,to_number(null),4294967294,to_
number(null), 4294967293,to_number(null)
, 4294967292,to_number(null),4294967291,
to_number(null),bitand(s.ksuseblocker,
65535)),s.ksuseseq, s.ksuseopc,e.ksledn
am, e.ksledp1, s.ksusep1,s.ksusep1r,e.ks
ledp2, s.ksusep2,s.ksusep2r,e.ksledp3,s.
ksusep3,s.ksusep3r,e.ksledclassid, e.ks
ledclass#, e.ksledclass, decode(s.ksuset
im,0,0,-1,-1,-2,-2, decode(round(s.ksuse
tim/10000),0,-1,round(s.ksusetim/10000))
), s.ksusewtm,decode(s.ksusetim, 0, 'WAI
TING', -2, 'WAITED UNKNOWN TIME', -1, '
WAITED SHORT TIME', decode(round(s.ksu
setim/10000),0,'WAITED SHORT TIME','WAIT
ED KNOWN TIME')),s.ksusesvc, decode(bita
nd(s.ksuseflg2,32),32,'ENABLED','DISABLE
D'),decode(bitand(s.ksuseflg2,64),64,'TR
UE','FALSE'),decode(bitand(s.ksuseflg2,1
28),128,'TRUE','FALSE')from x$ksuse s, x
$ksled e where bitand(s.ksspaflg,1)!=0 a
nd bitand(s.ksuseflg,1)!=0 and s.ksuseop
c=e.indx
1332 10/10/18 21:58 1 1.26 7tc5u8t3mmzgf 2144485289 0.00 0.00 0.00 0 180 0 0 180 17 0 0.00 57 select cachedblk, cachehit, logicalread
from tab_stats$ where obj#=:1
1332 10/10/18 21:58 1 1.26 ghvnum1dfm05q 3724264953 sqlplus@dbrocaix01.b 0.00 0.00 0.00 0 223 0 1 1 1 0 0.00 58 select /*+ top_sql_9331 */ count(*) from
xxxxxxx.com (TNS V1- t1
V3)
1332 10/10/18 21:58 1 1.26 cqgv56fmuj63x 1310495014 0.00 0.00 0.00 0 156 1 39 22 22 0 0.00 59 select owner#,name,namespace,remoteowner
,linkname,p_timestamp,p_obj#, nvl(proper
ty,0),subname,d_attrs from dependency$ d
, obj$ o where d_obj#=:1 and p_obj#=obj#
(+) order by order#
1332 10/10/18 21:58 1 1.26 2ta3r31t0z08a 3724264953 sqlplus@dbrocaix01.b 0.00 0.00 0.00 0 223 0 1 1 1 0 0.00 60 select /*+ top_sql_7523 */ count(*) from
xxxxxxx.com (TNS V1- t1
V3)
1332 10/10/18 21:58 1 1.26 59kybrhwdk040 3724264953 sqlplus@dbrocaix01.b 0.00 0.00 0.00 0 223 0 1 1 1 0 0.00 61 select /*+ top_sql_9853 */ count(*) from
xxxxxxx.com (TNS V1- t1
V3)
1332 10/10/18 21:58 1 1.26 9wf93m8rau04d 3724264953 sqlplus@dbrocaix01.b 0.00 0.00 0.00 0 223 0 1 1 1 0 0.00 62 select /*+ top_sql_8652 */ count(*) from
xxxxxxx.com (TNS V1- t1
V3)
1332 10/10/18 21:58 1 1.26 fuhanmqynt02p 3724264953 sqlplus@dbrocaix01.b 0.00 0.00 0.00 0 223 0 1 1 1 0 0.00 63 select /*+ top_sql_9743 */ count(*) from
xxxxxxx.com (TNS V1- t1
V3)
1332 10/10/18 21:58 1 1.26 2q93zsrvbdw48 2874733959 0.00 0.00 0.00 0 136 0 6 65 20 0 0.00 64 select grantee#,privilege#,nvl(col#,0),m
ax(mod(nvl(option$,0),2))from objauth$ w
here obj#=:1 group by grantee#,privilege
#,nvl(col#,0) order by grantee#
1332 10/10/18 21:58 1 1.26 1dzkrjdvjt03n 3724264953 sqlplus@dbrocaix01.b 0.00 0.00 0.00 0 223 0 1 1 1 0 0.00 65 select /*+ top_sql_8498 */ count(*) from
xxxxxxx.com (TNS V1- t1
V3)
1332 10/10/18 21:58 1 1.26 0s5uzug7cr029 3724264953 sqlplus@dbrocaix01.b 0.00 0.00 0.00 0 223 0 1 1 1 0 0.00 66 select /*+ top_sql_8896 */ count(*) from
xxxxxxx.com (TNS V1- t1
V3)
1332 10/10/18 21:58 1 1.26 gq6kp76f1307x 3724264953 sqlplus@dbrocaix01.b 0.00 0.00 0.00 0 223 0 1 1 1 0 0.00 67 select /*+ top_sql_8114 */ count(*) from
xxxxxxx.com (TNS V1- t1
V3)
1332 10/10/18 21:58 1 1.26 bfa3qt29jg07b 3724264953 sqlplus@dbrocaix01.b 0.00 0.00 0.00 0 223 0 1 1 1 0 0.00 68 select /*+ top_sql_9608 */ count(*) from
xxxxxxx.com (TNS V1- t1
V3)
1332 10/10/18 21:58 1 1.26 9nk1jwamsy02n 3724264953 sqlplus@dbrocaix01.b 0.00 0.00 0.00 0 223 0 1 1 1 0 0.00 69 select /*+ top_sql_9724 */ count(*) from
xxxxxxx.com (TNS V1- t1
V3)
1332 10/10/18 21:58 1 1.26 2sry32gac2079 3724264953 sqlplus@dbrocaix01.b 0.00 0.00 0.00 0 223 0 1 1 1 0 0.00 70 select /*+ top_sql_7316 */ count(*) from
xxxxxxx.com (TNS V1- t1
V3)
1332 10/10/18 21:58 1 1.26 atp84rb53u072 3724264953 sqlplus@dbrocaix01.b 0.00 0.00 0.00 0 223 0 1 1 1 0 0.00 71 select /*+ top_sql_9091 */ count(*) from
xxxxxxx.com (TNS V1- t1
V3)
1332 10/10/18 21:58 1 1.26 f8pavn1bvsj7t 1224215794 0.00 0.00 0.00 0 144 0 1 71 15 0 0.00 72 select con#,obj#,rcon#,enabled,nvl(defer
,0) from cdef$ where robj#=:1
1332 10/10/18 21:58 1 1.26 1wb6wx2nb8093 3724264953 sqlplus@dbrocaix01.b 0.00 0.00 0.00 0 223 0 1 1 1 0 0.00 73 select /*+ top_sql_9446 */ count(*) from
xxxxxxx.com (TNS V1- t1
V3)
1332 10/10/18 21:58 1 1.26 3czfc573u505f 3724264953 sqlplus@dbrocaix01.b 0.00 0.00 0.00 0 223 0 1 1 1 0 0.00 74 select /*+ top_sql_9702 */ count(*) from
xxxxxxx.com (TNS V1- t1
V3)
1332 10/10/18 21:58 1 1.26 c31xpspd8n08k 3724264953 sqlplus@dbrocaix01.b 0.00 0.00 0.00 0 223 0 1 1 1 0 0.00 75 select /*+ top_sql_8045 */ count(*) from
xxxxxxx.com (TNS V1- t1
V3)
1332 10/10/18 21:58 1 1.26 cbdfcfcp1pgtp 142600749 0.00 0.00 0.00 0 74 0 74 37 37 0 0.00 76 select intcol#, col# , type#, spare1, se
gcol#, charsetform from partcol$ where
obj# = :1 order by pos#
1332 10/10/18 21:58 1 1.26 3k07s1fhv6043 3724264953 sqlplus@dbrocaix01.b 0.00 0.00 0.00 0 223 0 1 1 1 0 0.00 77 select /*+ top_sql_9321 */ count(*) from
xxxxxxx.com (TNS V1- t1
V3)
1332 10/10/18 21:58 1 1.26 0qh6dbs79n06s 3724264953 sqlplus@dbrocaix01.b 0.00 0.00 0.00 0 223 0 1 1 1 0 0.00 78 select /*+ top_sql_9052 */ count(*) from
xxxxxxx.com (TNS V1- t1
V3)
1332 10/10/18 21:58 1 1.26 9xt7tfmzut065 3724264953 sqlplus@dbrocaix01.b 0.00 0.00 0.00 0 223 0 1 1 1 0 0.00 79 select /*+ top_sql_9429 */ count(*) from
xxxxxxx.com (TNS V1- t1
V3)
1332 10/10/18 21:58 1 1.26 28hu85p69d047 3724264953 sqlplus@dbrocaix01.b 0.00 0.00 0.00 0 223 0 1 1 1 0 0.00 80 select /*+ top_sql_8978 */ count(*) from
xxxxxxx.com (TNS V1- t1
V3)
1332 10/10/18 21:58 1 1.26 4w2jxfhrfh037 3724264953 sqlplus@dbrocaix01.b 0.00 0.00 0.00 0 223 0 1 1 1 0 0.00 81 select /*+ top_sql_7464 */ count(*) from
xxxxxxx.com (TNS V1- t1
V3)
1332 10/10/18 21:58 1 1.26 5x83v19wj302c 2439216106 0.00 0.00 0 3 0 0 0 1 0 0.00 82 select inst_id,sid_knst,serial_knst,appl
ynum_knstasl, applyname_knstasl,slavid_k
nstasl,decode(state_knstasl,0,'IDLE',1,'
POLL SHUTDOWN',2,'RECORD LOW-WATERMARK',
3,'ADD PARTITION',4,'DROP PARTITION',5,'
EXECUTE TRANSACTION',6,'WAIT COMMIT',7,'
WAIT DEPENDENCY',8,'GET TRANSACTIONS',9,
'WAIT FOR NEXT CHUNK',12,'ROLLBACK TRANS
ACTION',13,'TRANSACTION CLEANUP',14,'REQ
UEST UA SESSION',15,'INITIALIZING'), xid
_usn_knstasl,xid_slt_knstasl,xid_sqn_kns
tasl,cscn_knstasl,depxid_usn_knstasl,dep
xid_slt_knstasl,depxid_sqn_knstasl,depcs
cn_knstasl,msg_num_knstasl,total_assigne
d_knstasl,total_admin_knstasl,total_roll
backs_knstasl,total_msg_knstasl, last_ap
ply_time_knstasl, last_apply_msg_num_kns
tasl,last_apply_msg_time_knstasl,elapsed
_dequeue_time_knstasl, elapsed_apply_tim
e_knstasl from x$knstasl x where type_kn
st=2 and exists (select 1 from v$session
s where s.sid=x.sid_knst and s.serial#=
x.serial_knst)
1332 10/10/18 21:58 1 1.26 5kzjxrqgqv03x 3724264953 sqlplus@dbrocaix01.b 0.00 0.00 0.00 0 223 0 1 1 1 0 0.00 83 select /*+ top_sql_6849 */ count(*) from
xxxxxxx.com (TNS V1- t1
V3)
1332 10/10/18 21:58 1 1.26 8hd36umbhpgsz 3362549386 0.00 0.00 0.00 0 74 0 37 37 37 0 0.00 84 select parttype, partcnt, partkeycols, f
lags, defts#, defpctfree, defpctused, de
finitrans, defmaxtrans, deftiniexts, def
extsize, defminexts, defmaxexts, defextp
ct, deflists, defgroups, deflogging, spa
re1, mod(spare2, 256) subparttype, mod(t
runc(spare2/256), 256) subpartkeycols, m
od(trunc(spare2/65536), 65536) defsubpar
tcnt, mod(trunc(spare2/4294967296), 256)
defhscflags from partobj$ where obj# =
:1
1332 10/10/18 21:58 1 1.26 ga9j9xk5cy9s0 1516415349 0.00 0.00 0.00 0 55 0 18 12 12 0 0.00 85 select /*+ index(idl_sb4$ i_idl_sb41) +*
/ piece#,length,piece from idl_sb4$ wher
e obj#=:1 and part=:2 and version=:3 ord
er by piece#
1332 10/10/18 21:58 1 1.26 1fkh93md0802n 2485227045 0.00 0.00 0 5 0 0 0 1 0 0.00 86 select LOW_OPTIMAL_SIZE, HIG
H_OPTIMAL_SIZE, OPTIMAL_EXECUT
IONS, ONEPASS_EXECUTIONS,
MULTIPASSES_EXECUTIONS,
TOTAL_EXECUTIONS from GV$SQL_WORKAR
EA_HISTOGRAM where INST_ID = USERENV
('Instance')
1332 10/10/18 21:58 1 1.26 8swypbbr0m372 893970548 0.00 0.00 0.00 0 106 0 31 22 22 0 0.00 87 select order#,columns,types from access$
where d_obj#=:1
1332 10/10/18 21:58 1 1.26 dpvv2ua0tfjcv 467914355 0.00 0.00 0.00 0 19 0 0 19 18 0 0.00 88 select cachedblk, cachehit, logicalread
from ind_stats$ where obj#=:1
1332 10/10/18 21:58 1 1.26 6qz82dptj0qr7 2819763574 0.00 0.00 0.00 0 16 0 4 5 5 0 0.00 89 select l.col#, l.intcol#, l.lobj#, l.ind
#, l.ts#, l.file#, l.block#, l.chunk, l.
pctversion$, l.flags, l.property, l.rete
ntion, l.freepools from lob$ l where l.o
bj# = :1 order by l.intcol# asc
1332 10/10/18 21:58 1 1.26 b1wc53ddd6h3p 1637390370 0.00 0.00 0.00 0 9 0 3 3 3 0 0.00 90 select audit$,options from procedure$ wh
ere obj#=:1
90 rows selected.
}}}
''Even if not joined with dba_hist_sqltext it still shows 90 rows''
{{{
select snap_id, sql_id, module, elap, cput, exec, time_rank
from
(
select s0.snap_id,
e.sql_id,
max(e.module) module,
sum(e.elapsed_time_delta)/1000000 elap,
sum(e.cpu_time_delta)/1000000 cput,
sum(e.executions_delta) exec,
DENSE_RANK() OVER (
PARTITION BY s0.snap_id ORDER BY e.elapsed_time_delta DESC) time_rank
from
dba_hist_snapshot s0,
dba_hist_sqlstat e
where e.dbid = s0.dbid
and e.instance_number = s0.instance_number
and e.snap_id = s0.snap_id + 1
group by s0.snap_id, e.sql_id, e.elapsed_time_delta
)
where
-- time_rank <= 5 and
snap_id in (1332)
SNAP_ID SQL_ID MODULE ELAP CPUT EXEC TIME_RANK
---------- ------------- ---------------------------------------------------------------- ---------- ---------- ---------- ----------
1332 404qh4yx36y1v 9.254373 9.155145 10000 1
1332 bunssq950snhf .801489 .801489 1 2
1332 7vgmvmy8vvb9s .083412 .083412 1 3
1332 6hwjmjgrpsuaa .050253 .015212 1 4
1332 84qubbrsr0kfn .044464 .044464 1 5
1332 db78fxqxwxt7r .04239 .031295 379 6
1332 96g93hntrzjtr .040821 .040821 1346 7
1332 130dvvr5s8bgn .04013 .04013 18 8
1332 6yd53x1zjqts9 sqlplus@dbrocaix01.xxxxxxxx.com (TNS V1-V3) .039 .016832 1 9
1332 70utgu2587mhs .035026 .012265 1 10
1332 c3zymn7x3k6wy .033542 .033542 19 11
1332 bpxnmunkcywzg sqlplus@dbrocaix01.xxxxxxxx.com (TNS V1-V3) .033223 .003645 1 12
1332 3252fkazwq930 .033124 .022902 1 13
1332 fdxrh8tzyw0yw .030767 .028199 1 14
1332 7k6zct1sya530 .028502 .028502 1 15
1332 7qjhf5dzmazsr .028234 .006275 1 16
1332 32wqka2zwvu65 .025672 .025672 1 17
1332 53saa2zkr6wc3 .025226 .025226 463 18
1332 4qju99hqmn81x .024763 .024763 1 19
1332 32whwm2babwpt .022436 .022436 1 20
1332 fktqvw2wjxdxc .022079 .022079 1 21
1332 2ym6hhaq30r73 .02171 .02171 476 22
1332 71y370j6428cb .021454 .017777 1 23
1332 f9nzhpn9854xz .021191 .020515 1 24
1332 bqnn4c3gjtmgu .02018 .02018 1 25
1332 39m4sx9k63ba2 .019843 .008332 12 26
1332 7fa2r0xkfbs6b sqlplus@dbrocaix01.xxxxxxxx.com (TNS V1-V3) .019497 .015929 1 27
1332 1uk5m5qbzj1vt sqlplus@dbrocaix01.xxxxxxxx.com (TNS V1-V3) .019044 .019044 0 28
1332 cp3gpd7z878w8 .018802 .018802 1 29
1332 dsd2yqyggtc59 .018707 .016998 0 30
1332 bu95jup1jp5t3 .018591 .018301 1 31
1332 350myuyx0t1d6 .01829 .017399 1 32
1332 f71p3w4xx1pfc sqlplus@dbrocaix01.xxxxxxxx.com (TNS V1-V3) .01743 .016771 1 33
1332 c6awqs517jpj0 .01715 .004729 12 34
1332 agpd044zj368m .0166 .016206 1 35
1332 f3wcc30napt5a sqlplus@dbrocaix01.xxxxxxxx.com (TNS V1-V3) .016506 .016506 1 36
1332 71k5024zn7c9a .016167 .016167 1 37
1332 83taa7kaw59c1 .016105 .016105 69 38
1332 cvn54b7yz0s8u .015882 .004263 12 39
1332 66gs90fyynks7 .015312 .015312 1 40
1332 5ngzsfstg8tmy .013302 .013302 107 41
1332 7ng34ruy5awxq .013015 .013015 68 42
1332 79uvsz1g1c168 .012924 .012924 1 43
1332 b0cxc52zmwaxs .01172 .011716 1 44
1332 1tn90bbpyjshq .010358 .010358 1 45
1332 a73wbv1yu8x5c .009111 .009111 71 46
1332 6c06mfv01xt2h .008496 .008496 1 47
SNAP_ID SQL_ID MODULE ELAP CPUT EXEC TIME_RANK
---------- ------------- ---------------------------------------------------------------- ---------- ---------- ---------- ----------
1332 45jb7msfn4x4m .007906 .007906 0 48
1332 asvzxj61dc5vs .007837 .007837 125 49
1332 04xtrk7uyhknh .00661 .00661 42 50
1332 6769wyy3yf66f .006371 .006371 78 51
1332 1gu8t96d0bdmu .006356 .006356 59 52
1332 88brhumsyg325 .005116 .005116 0 53
1332 7rx9z1ddww1j2 .004431 .004431 0 54
1332 6aq34nj2zb2n7 .004392 .004392 65 55
1332 17k8dh7vntd3w .003737 .003737 0 56
1332 7tc5u8t3mmzgf .003626 .003626 180 57
1332 ghvnum1dfm05q sqlplus@dbrocaix01.xxxxxxxx.com (TNS V1-V3) .003133 .003133 1 58
1332 cqgv56fmuj63x .003087 .003087 22 59
1332 2ta3r31t0z08a sqlplus@dbrocaix01.xxxxxxxx.com (TNS V1-V3) .002808 .002808 1 60
1332 59kybrhwdk040 sqlplus@dbrocaix01.xxxxxxxx.com (TNS V1-V3) .002756 .002756 1 61
1332 9wf93m8rau04d sqlplus@dbrocaix01.xxxxxxxx.com (TNS V1-V3) .002671 .002671 1 62
1332 fuhanmqynt02p sqlplus@dbrocaix01.xxxxxxxx.com (TNS V1-V3) .002665 .002665 1 63
1332 2q93zsrvbdw48 .002652 .002652 65 64
1332 1dzkrjdvjt03n sqlplus@dbrocaix01.xxxxxxxx.com (TNS V1-V3) .002596 .002596 1 65
1332 0s5uzug7cr029 sqlplus@dbrocaix01.xxxxxxxx.com (TNS V1-V3) .002508 .002508 1 66
1332 gq6kp76f1307x sqlplus@dbrocaix01.xxxxxxxx.com (TNS V1-V3) .002491 .002491 1 67
1332 bfa3qt29jg07b sqlplus@dbrocaix01.xxxxxxxx.com (TNS V1-V3) .002475 .002475 1 68
1332 9nk1jwamsy02n sqlplus@dbrocaix01.xxxxxxxx.com (TNS V1-V3) .002465 .002465 1 69
1332 2sry32gac2079 sqlplus@dbrocaix01.xxxxxxxx.com (TNS V1-V3) .002461 .002461 1 70
1332 atp84rb53u072 sqlplus@dbrocaix01.xxxxxxxx.com (TNS V1-V3) .002449 .002449 1 71
1332 f8pavn1bvsj7t .002441 .002441 71 72
1332 1wb6wx2nb8093 sqlplus@dbrocaix01.xxxxxxxx.com (TNS V1-V3) .00243 .00243 1 73
1332 3czfc573u505f sqlplus@dbrocaix01.xxxxxxxx.com (TNS V1-V3) .002369 .002369 1 74
1332 c31xpspd8n08k sqlplus@dbrocaix01.xxxxxxxx.com (TNS V1-V3) .002352 .002352 1 75
1332 cbdfcfcp1pgtp .002347 .002347 37 76
1332 3k07s1fhv6043 sqlplus@dbrocaix01.xxxxxxxx.com (TNS V1-V3) .002305 .002305 1 77
1332 0qh6dbs79n06s sqlplus@dbrocaix01.xxxxxxxx.com (TNS V1-V3) .002299 .002299 1 78
1332 9xt7tfmzut065 sqlplus@dbrocaix01.xxxxxxxx.com (TNS V1-V3) .002274 .002274 1 79
1332 28hu85p69d047 sqlplus@dbrocaix01.xxxxxxxx.com (TNS V1-V3) .002269 .002269 1 80
1332 4w2jxfhrfh037 sqlplus@dbrocaix01.xxxxxxxx.com (TNS V1-V3) .002238 .002238 1 81
1332 5x83v19wj302c .002196 .002196 0 82
1332 5kzjxrqgqv03x sqlplus@dbrocaix01.xxxxxxxx.com (TNS V1-V3) .002108 .002108 1 83
1332 8hd36umbhpgsz .002057 .002057 37 84
1332 ga9j9xk5cy9s0 .002001 .002001 12 85
1332 1fkh93md0802n .001568 .001568 0 86
1332 8swypbbr0m372 .001303 .001303 22 87
1332 dpvv2ua0tfjcv .000683 .000683 19 88
1332 6qz82dptj0qr7 .000329 .000329 5 89
1332 b1wc53ddd6h3p .000242 .000242 3 90
90 rows selected.
}}}
''Even if you query dba_hist_sqlstat alone, it will still return 90''
{{{
select count(*) from dba_hist_sqlstat where snap_id = 1333 -- returns 90
-- NOTE.. the values from snap 1333 is actually what you see in AWR report 1332-1333.. so it's just getting the end value..
-- need a way to show the 1332 that's why i have to do the SQL trick e.snap_id = s0.snap_id + 1
select count(*) -- also returns 90
from
(
select s0.snap_id,
e.sql_id,
max(e.module) module,
sum(e.elapsed_time_delta)/1000000 elap,
sum(e.cpu_time_delta)/1000000 cput,
sum(e.executions_delta) exec,
DENSE_RANK() OVER (
PARTITION BY s0.snap_id ORDER BY e.elapsed_time_delta DESC) time_rank
from
dba_hist_snapshot s0,
dba_hist_sqlstat e
where e.dbid = s0.dbid
and e.instance_number = s0.instance_number
and e.snap_id = s0.snap_id + 1
group by s0.snap_id, e.sql_id, e.elapsed_time_delta
)
where
-- time_rank <= 5 and
snap_id in (1332)
select * from dba_hist_sqlstat where snap_id = 1333 order by elapsed_time_delta desc -- will show SQL_ID 404qh4yx36y1v, bunssq950snhf, 7vgmvmy8vvb9s, 6hwjmjgrpsuaa, 84qubbrsr0kfn as top five
select snap_id, sql_id, module, elap, cput, exec, time_rank -- will show SQL_ID 404qh4yx36y1v, bunssq950snhf, 7vgmvmy8vvb9s, 6hwjmjgrpsuaa, 84qubbrsr0kfn as top five
from
(
select s0.snap_id,
e.sql_id,
max(e.module) module,
sum(e.elapsed_time_delta)/1000000 elap,
sum(e.cpu_time_delta)/1000000 cput,
sum(e.executions_delta) exec,
DENSE_RANK() OVER (
PARTITION BY s0.snap_id ORDER BY e.elapsed_time_delta DESC) time_rank
from
dba_hist_snapshot s0,
dba_hist_sqlstat e
where e.dbid = s0.dbid
and e.instance_number = s0.instance_number
and e.snap_id = s0.snap_id + 1
group by s0.snap_id, e.sql_id, e.elapsed_time_delta
)
where
-- time_rank <= 5 and
snap_id in (1332)
select sql_id from dba_hist_sqlstat where snap_id = 1333 -- will return zero
minus
select sql_id
from
(
select s0.snap_id,
e.sql_id,
max(e.module) module,
sum(e.elapsed_time_delta)/1000000 elap,
sum(e.cpu_time_delta)/1000000 cput,
sum(e.executions_delta) exec,
DENSE_RANK() OVER (
PARTITION BY s0.snap_id ORDER BY e.elapsed_time_delta DESC) time_rank
from
dba_hist_snapshot s0,
dba_hist_sqlstat e
where e.dbid = s0.dbid
and e.instance_number = s0.instance_number
and e.snap_id = s0.snap_id + 1
group by s0.snap_id, e.sql_id, e.elapsed_time_delta
)
where
-- time_rank <= 5 and
snap_id in (1332)
}}}
''some other queries i used''
select count(*) from DBA_HIST_SQLSTAT where snap_id = 1349
select count(*) from dba_hist_sqltext where snap_id = 1349
-- 50 appeared
select * from dba_hist_sqltext where lower(sql_text) like '% top_sql_%'
-- starts at 5505 - 9999 with 8KB sharable_mem per cursor that is when dynamic sampling 0
select * from v$sql where lower(sql_text) like '%top_sql%' order by sql_text
-- starts at 5505 - 9999 that is when dynamic sampling 0
select * from v$sqlstats where sql_text like '%top_sql%' order by sql_text
-- starts at 5505 - 9999 that is when dynamic sampling 0
select * from v$sqlarea where sql_text like '%top_sql%' order by sql_text
-- starts at 2890 - 9999 that is when dynamic sampling 0 ''if dynamic sampling 2 starts with 8266 ends at 9999''
select * from v$sqltext where sql_text like '%top_sql%' order by 6 -- starts with 8266 ends at 0
''also on the row count of the 10K execution''
select count(*) from v$sql -- 5853
select count(*) from v$sqlstats -- 5916
select count(*) from v$sqlarea -- 5839
select count(*) from dba_hist_sqltext -- this view does not have SNAP_ID.. but the total row count is 3243
How to mount an LVM partition on another system
http://www.techbytes.ca/techbyte118.html <-- first article i saw
http://tldp.org/HOWTO/LVM-HOWTO/recipemovevgtonewsys.html <-- lvm howto
http://forgetmenotes.blogspot.com/2009/06/how-to-mount-lvm-partition.html
http://www.thegibson.org/blog/archives/467 <-- "WARNING: Duplicate VG name"
http://forums.fedoraforum.org/archive/index.php/t-183575.html
http://www.linuxquestions.org/questions/linux-general-1/how-to-rename-a-vol-group-433993/ <-- rename VG
http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1286430324270+28353475&threadId=1133855
http://www.gossamer-threads.com/lists/gentoo/user/215444
http://www.linuxquestions.org/questions/linux-general-1/lvm-stop-functioning-after-unmounting-usr-660010/
http://evuraan.blogspot.com/2005/05/sbinlvmstatic-in-rhel40-systems.html <-- lvm.static
ubuntu
http://www.linuxquestions.org/questions/fedora-35/how-can-i-mount-lvm-partition-in-ubuntu-569507/
http://www.linux-sxs.org/storage/fedora2ubuntu.html
http://www.brandonhutchinson.com/Mounting_a_Linux_LVM_volume.html
http://linux.byexamples.com/archives/321/fstab-with-uuid/
http://ubuntuforums.org/showthread.php?t=283131 <-- great detail
http://www.g-loaded.eu/2009/01/04/always-use-a-block-device-label-or-its-uuid-in-fstab/
How To Setup LUN Persistence in non-Multipathing environment [ID 1076299.1]
How to Configure Oracle Enterprise Linux to be Highly Available Using RAID1 [ID 759260.1]
http://husnusensoy.wordpress.com/2008/06/13/moving-any-file-between-asm-diskgroups-1/
http://www.usn-it.de/index.php/2007/03/09/how-to-move-or-add-a-controlfile-when-asm-is-involved/
How To Move SQL Profiles From One Database To Another Database (Doc ID 457531.1)
Name: MptwBlack
Background: #000
Foreground: #fff
PrimaryPale: #333
PrimaryLight: #555
PrimaryMid: #888
PrimaryDark: #aaa
SecondaryPale: #111
SecondaryLight: #222
SecondaryMid: #555
SecondaryDark: #888
TertiaryPale: #222
TertiaryLight: #666
TertiaryMid: #888
TertiaryDark: #aaa
Error: #300
This is in progress. Help appreciated.
Name: MptwBlue
Background: #fff
Foreground: #000
PrimaryPale: #cdf
PrimaryLight: #57c
PrimaryMid: #114
PrimaryDark: #012
SecondaryPale: #ffc
SecondaryLight: #fe8
SecondaryMid: #db4
SecondaryDark: #841
TertiaryPale: #eee
TertiaryLight: #ccc
TertiaryMid: #999
TertiaryDark: #666
Error: #f88
/***
|Name:|MptwConfigPlugin|
|Description:|Miscellaneous tweaks used by MPTW|
|Version:|1.0 ($Rev: 3646 $)|
|Date:|$Date: 2008-02-27 02:34:38 +1000 (Wed, 27 Feb 2008) $|
|Source:|http://mptw.tiddlyspot.com/#MptwConfigPlugin|
|Author:|Simon Baird <simon.baird@gmail.com>|
|License:|http://mptw.tiddlyspot.com/#MptwConfigPlugin|
!!Note: instead of editing this you should put overrides in MptwUserConfigPlugin
***/
//{{{
var originalReadOnly = readOnly;
var originalShowBackstage = showBackstage;
config.options.chkHttpReadOnly = false; // means web visitors can experiment with your site by clicking edit
readOnly = false; // needed because the above doesn't work any more post 2.1 (??)
showBackstage = true; // show backstage for same reason
config.options.chkInsertTabs = true; // tab inserts a tab when editing a tiddler
config.views.wikified.defaultText = ""; // don't need message when a tiddler doesn't exist
config.views.editor.defaultText = ""; // don't need message when creating a new tiddler
config.options.chkSaveBackups = true; // do save backups
config.options.txtBackupFolder = 'twbackup'; // put backups in a backups folder
config.options.chkAutoSave = (window.location.protocol == "file:"); // do autosave if we're in local file
config.mptwVersion = "2.5.3";
config.macros.mptwVersion={handler:function(place){wikify(config.mptwVersion,place);}};
if (config.options.txtTheme == '')
config.options.txtTheme = 'MptwTheme';
// add to default GettingStarted
config.shadowTiddlers.GettingStarted += "\n\nSee also [[MPTW]].";
// add select theme and palette controls in default OptionsPanel
config.shadowTiddlers.OptionsPanel = config.shadowTiddlers.OptionsPanel.replace(/(\n\-\-\-\-\nAlso see AdvancedOptions)/, "{{select{<<selectTheme>>\n<<selectPalette>>}}}$1");
// these are used by ViewTemplate
config.mptwDateFormat = 'DD/MM/YY';
config.mptwJournalFormat = 'Journal DD/MM/YY';
//}}}
Name: MptwGreen
Background: #fff
Foreground: #000
PrimaryPale: #9b9
PrimaryLight: #385
PrimaryMid: #031
PrimaryDark: #020
SecondaryPale: #ffc
SecondaryLight: #fe8
SecondaryMid: #db4
SecondaryDark: #841
TertiaryPale: #eee
TertiaryLight: #ccc
TertiaryMid: #999
TertiaryDark: #666
Error: #f88
Name: MptwRed
Background: #fff
Foreground: #000
PrimaryPale: #eaa
PrimaryLight: #c55
PrimaryMid: #711
PrimaryDark: #500
SecondaryPale: #ffc
SecondaryLight: #fe8
SecondaryMid: #db4
SecondaryDark: #841
TertiaryPale: #eee
TertiaryLight: #ccc
TertiaryMid: #999
TertiaryDark: #666
Error: #f88
|Name|MptwRounded|
|Description|Mptw Theme with some rounded corners (Firefox only)|
|ViewTemplate|MptwTheme##ViewTemplate|
|EditTemplate|MptwTheme##EditTemplate|
|PageTemplate|MptwTheme##PageTemplate|
|StyleSheet|##StyleSheet|
!StyleSheet
/*{{{*/
[[MptwTheme##StyleSheet]]
.tiddler,
.sliderPanel,
.button,
.tiddlyLink,
.tabContents
{ -moz-border-radius: 1em; }
.tab {
-moz-border-radius-topleft: 0.5em;
-moz-border-radius-topright: 0.5em;
}
#topMenu {
-moz-border-radius-bottomleft: 2em;
-moz-border-radius-bottomright: 2em;
}
/*}}}*/
Name: MptwSmoke
Background: #fff
Foreground: #000
PrimaryPale: #F5F5F5
PrimaryLight: #228B22
PrimaryMid: #111
PrimaryDark: #000
SecondaryPale: #ffc
SecondaryLight: #fe8
SecondaryMid: #db4
SecondaryDark: #841
TertiaryPale: #eee
TertiaryLight: #ccc
TertiaryMid: #999
TertiaryDark: #666
Error: #f88
|Name|MptwStandard|
|Description|Mptw Theme with the default TiddlyWiki PageLayout and Styles|
|ViewTemplate|MptwTheme##ViewTemplate|
|EditTemplate|MptwTheme##EditTemplate|
Name: MptwTeal
Background: #fff
Foreground: #000
PrimaryPale: #B5D1DF
PrimaryLight: #618FA9
PrimaryMid: #1a3844
PrimaryDark: #000
SecondaryPale: #ffc
SecondaryLight: #fe8
SecondaryMid: #db4
SecondaryDark: #841
TertiaryPale: #f8f8f8
TertiaryLight: #bbb
TertiaryMid: #999
TertiaryDark: #888
Error: #f88
|Name|MptwTheme|
|Description|Mptw Theme including custom PageLayout|
|PageTemplate|##PageTemplate|
|ViewTemplate|##ViewTemplate|
|EditTemplate|##EditTemplate|
|StyleSheet|##StyleSheet|
http://mptw.tiddlyspot.com/#MptwTheme ($Rev: 1829 $)
!PageTemplate
<!--{{{-->
<div class='header' macro='gradient vert [[ColorPalette::PrimaryLight]] [[ColorPalette::PrimaryMid]]'>
<div class='headerShadow'>
<span class='siteTitle' refresh='content' tiddler='SiteTitle'></span>
<span class='siteSubtitle' refresh='content' tiddler='SiteSubtitle'></span>
</div>
<div class='headerForeground'>
<span class='siteTitle' refresh='content' tiddler='SiteTitle'></span>
<span class='siteSubtitle' refresh='content' tiddler='SiteSubtitle'></span>
</div>
</div>
<!-- horizontal MainMenu -->
<div id='topMenu' refresh='content' tiddler='MainMenu'></div>
<!-- original MainMenu menu -->
<!-- <div id='mainMenu' refresh='content' tiddler='MainMenu'></div> -->
<div id='sidebar'>
<div id='sidebarOptions' refresh='content' tiddler='SideBarOptions'></div>
<div id='sidebarTabs' refresh='content' force='true' tiddler='SideBarTabs'></div>
</div>
<div id='displayArea'>
<div id='messageArea'></div>
<div id='tiddlerDisplay'></div>
</div>
<!--}}}-->
!ViewTemplate
<!--{{{-->
[[MptwTheme##ViewTemplateToolbar]]
<div class="tagglyTagged" macro="tags"></div>
<div class='titleContainer'>
<span class='title' macro='view title'></span>
<span macro="miniTag"></span>
</div>
<div class='subtitle'>
(updated <span macro='view modified date {{config.mptwDateFormat?config.mptwDateFormat:"MM/0DD/YY"}}'></span>
by <span macro='view modifier link'></span>)
<!--
(<span macro='message views.wikified.createdPrompt'></span>
<span macro='view created date {{config.mptwDateFormat?config.mptwDateFormat:"MM/0DD/YY"}}'></span>)
-->
</div>
<div macro="showWhen tiddler.tags.containsAny(['css','html','pre','systemConfig']) && !tiddler.text.match('{{'+'{')">
<div class='viewer'><pre macro='view text'></pre></div>
</div>
<div macro="else">
<div class='viewer' macro='view text wikified'></div>
</div>
<div class="tagglyTagging" macro="tagglyTagging"></div>
<!--}}}-->
!ViewTemplateToolbar
<!--{{{-->
<div class='toolbar'>
<span macro="showWhenTagged systemConfig">
<span macro="toggleTag systemConfigDisable . '[[disable|systemConfigDisable]]'"></span>
</span>
<span macro="showWhenTagged systemTheme"><span macro="applyTheme"></span></span>
<span macro="showWhenTagged systemPalette"><span macro="applyPalette"></span></span>
<span macro="showWhen tiddler.tags.contains('css') || tiddler.title == 'StyleSheet'"><span macro="refreshAll"></span></span>
<span style="padding:1em;"></span>
<span macro='toolbar closeTiddler closeOthers +editTiddler deleteTiddler > fields syncing permalink references jump'></span> <span macro='newHere label:"new here"'></span>
<span macro='newJournalHere {{config.mptwJournalFormat?config.mptwJournalFormat:"MM/0DD/YY"}}'></span>
</div>
<!--}}}-->
!EditTemplate
<!--{{{-->
<div class="toolbar" macro="toolbar +saveTiddler saveCloseTiddler closeOthers -cancelTiddler cancelCloseTiddler deleteTiddler"></div>
<div class="title" macro="view title"></div>
<div class="editLabel">Title</div><div class="editor" macro="edit title"></div>
<div macro='annotations'></div>
<div class="editLabel">Content</div><div class="editor" macro="edit text"></div>
<div class="editLabel">Tags</div><div class="editor" macro="edit tags"></div>
<div class="editorFooter"><span macro="message views.editor.tagPrompt"></span><span macro="tagChooser"></span></div>
<!--}}}-->
!StyleSheet
/*{{{*/
/* a contrasting background so I can see where one tiddler ends and the other begins */
body {
background: [[ColorPalette::TertiaryLight]];
}
/* sexy colours and font for the header */
.headerForeground {
color: [[ColorPalette::PrimaryPale]];
}
.headerShadow, .headerShadow a {
color: [[ColorPalette::PrimaryMid]];
}
/* separate the top menu parts */
.headerForeground, .headerShadow {
padding: 1em 1em 0;
}
.headerForeground, .headerShadow {
font-family: 'Trebuchet MS' sans-serif;
font-weight:bold;
}
.headerForeground .siteSubtitle {
color: [[ColorPalette::PrimaryLight]];
}
.headerShadow .siteSubtitle {
color: [[ColorPalette::PrimaryMid]];
}
/* make shadow go and down right instead of up and left */
.headerShadow {
left: 1px;
top: 1px;
}
/* prefer monospace for editing */
.editor textarea, .editor input {
font-family: 'Consolas' monospace;
background-color:[[ColorPalette::TertiaryPale]];
}
/* sexy tiddler titles */
.title {
font-size: 250%;
color: [[ColorPalette::PrimaryLight]];
font-family: 'Trebuchet MS' sans-serif;
}
/* more subtle tiddler subtitle */
.subtitle {
padding:0px;
margin:0px;
padding-left:1em;
font-size: 90%;
color: [[ColorPalette::TertiaryMid]];
}
.subtitle .tiddlyLink {
color: [[ColorPalette::TertiaryMid]];
}
/* a little bit of extra whitespace */
.viewer {
padding-bottom:3px;
}
/* don't want any background color for headings */
h1,h2,h3,h4,h5,h6 {
background-color: transparent;
color: [[ColorPalette::Foreground]];
}
/* give tiddlers 3d style border and explicit background */
.tiddler {
background: [[ColorPalette::Background]];
border-right: 2px [[ColorPalette::TertiaryMid]] solid;
border-bottom: 2px [[ColorPalette::TertiaryMid]] solid;
margin-bottom: 1em;
padding:1em 2em 2em 1.5em;
}
/* make options slider look nicer */
#sidebarOptions .sliderPanel {
border:solid 1px [[ColorPalette::PrimaryLight]];
}
/* the borders look wrong with the body background */
#sidebar .button {
border-style: none;
}
/* this means you can put line breaks in SidebarOptions for readability */
#sidebarOptions br {
display:none;
}
/* undo the above in OptionsPanel */
#sidebarOptions .sliderPanel br {
display:inline;
}
/* horizontal main menu stuff */
#displayArea {
margin: 1em 15.7em 0em 1em; /* use the freed up space */
}
#topMenu br {
display: none;
}
#topMenu {
background: [[ColorPalette::PrimaryMid]];
color:[[ColorPalette::PrimaryPale]];
}
#topMenu {
padding:2px;
}
#topMenu .button, #topMenu .tiddlyLink, #topMenu a {
margin-left: 0.5em;
margin-right: 0.5em;
padding-left: 3px;
padding-right: 3px;
color: [[ColorPalette::PrimaryPale]];
font-size: 115%;
}
#topMenu .button:hover, #topMenu .tiddlyLink:hover {
background: [[ColorPalette::PrimaryDark]];
}
/* make 2.2 act like 2.1 with the invisible buttons */
.toolbar {
visibility:hidden;
}
.selected .toolbar {
visibility:visible;
}
/* experimental. this is a little borked in IE7 with the button
* borders but worth it I think for the extra screen realestate */
.toolbar { float:right; }
/* fix for TaggerPlugin. from sb56637. improved by FND */
.popup li .tagger a {
display:inline;
}
/* makes theme selector look a little better */
#sidebarOptions .sliderPanel .select .button {
padding:0.5em;
display:block;
}
#sidebarOptions .sliderPanel .select br {
display:none;
}
/* make it print a little cleaner */
@media print {
#topMenu {
display: none ! important;
}
/* not sure if we need all the importants */
.tiddler {
border-style: none ! important;
margin:0px ! important;
padding:0px ! important;
padding-bottom:2em ! important;
}
.tagglyTagging .button, .tagglyTagging .hidebutton {
display: none ! important;
}
.headerShadow {
visibility: hidden ! important;
}
.tagglyTagged .quickopentag, .tagged .quickopentag {
border-style: none ! important;
}
.quickopentag a.button, .miniTag {
display: none ! important;
}
}
/* get user styles specified in StyleSheet */
[[StyleSheet]]
/*}}}*/
|Name|MptwTrim|
|Description|Mptw Theme with a reduced header to increase useful space|
|ViewTemplate|MptwTheme##ViewTemplate|
|EditTemplate|MptwTheme##EditTemplate|
|StyleSheet|MptwTheme##StyleSheet|
|PageTemplate|##PageTemplate|
!PageTemplate
<!--{{{-->
<!-- horizontal MainMenu -->
<div id='topMenu' macro='gradient vert [[ColorPalette::PrimaryLight]] [[ColorPalette::PrimaryMid]]'>
<span refresh='content' tiddler='SiteTitle' style="padding-left:1em;font-weight:bold;"></span>:
<span refresh='content' tiddler='MainMenu'></span>
</div>
<div id='sidebar'>
<div id='sidebarOptions'>
<div refresh='content' tiddler='SideBarOptions'></div>
<div style="margin-left:0.1em;"
macro='slider chkTabSliderPanel SideBarTabs {{"tabs \u00bb"}} "Show Timeline, All, Tags, etc"'></div>
</div>
</div>
<div id='displayArea'>
<div id='messageArea'></div>
<div id='tiddlerDisplay'></div>
</div>
For upgrading. See [[ImportTiddlers]].
URL: http://mptw.tiddlyspot.com/upgrade.html
/***
|Description:|A place to put your config tweaks so they aren't overwritten when you upgrade MPTW|
See http://www.tiddlywiki.org/wiki/Configuration_Options for other options you can set. In some cases where there are clashes with other plugins it might help to rename this to zzMptwUserConfigPlugin so it gets executed last.
***/
//{{{
// example: set your preferred date format
//config.mptwDateFormat = 'MM/0DD/YY';
//config.mptwJournalFormat = 'Journal MM/0DD/YY';
// example: set the theme you want to start with
//config.options.txtTheme = 'MptwRoundTheme';
// example: switch off autosave, switch on backups and set a backup folder
//config.options.chkSaveBackups = true;
//config.options.chkAutoSave = false;
//config.options.txtBackupFolder = 'backups';
// uncomment to disable 'new means new' functionality for the new journal macro
//config.newMeansNewForJournalsToo = false;
//}}}
''-- software download''
http://method-r.com/downloads
''-- changelog''
http://method-r.com/component/content/article/157
''product home page''
http://method-r.com/software/mrtools
''-- useful commands''
{{{
-- show which sqlid consumes the most R across all your trace files
mrskew *.trc --group='$sqlid'
-- show which files have the most R for the sqlid(s) that the first query identified as interesting.
mrskew *.trc --where='$sqlid eq "96g93hntrzjtr"' --group='$file'
-- show you whether there's skew in the individual execution times of EXEC calls but giving you Accounted For time
mrskew *.trc --where='$sqlid eq "4c8mrs99xp26b"' --group='"$file $line"' --name=EXEC
-- or all calls.. It's possible that none of your executions bears any resemblance to the 218.10-second average response time per execution that AWR is reporting. It could be that one execution is responsible for almost all the response time, and the others are near zero. With mrskew, you'll know.
mrskew *.trc --where='$sqlid eq "4c8mrs99xp26b"' --group='"$file $line"'
-- you can count EXEC calls with mrskew using this ...That's in case you just want to reconcile the average per execution with the AWR data; this is how you can determine your denominator.
mrskew *.trc --name=EXEC --where='$sqlid eq "4c8mrs99xp26b"'
-- use --select='$dur' and see the total response time attributable to your sqlid. This figure should match what AWR is telling you
mrskew *.trc --select='$dur' --where='$sqlid eq "4c8mrs99xp26b"'
-- with --select='$uaf', you'll be able to see how much of that response time for the given sqlid is unaccounted for by the trace data
mrskew *.trc --select='$uaf' --where='$sqlid eq "4c8mrs99xp26b"'
-- show you whether there's skew in the individual execution times of EXEC calls but giving you the total duration RT
mrskew *.trc --where='$sqlid eq "4c8mrs99xp26b"' --group='"$file $line"' --name=EXEC --select='$dur'
-- show you whether there's skew in the individual execution times of EXEC calls but giving you the total duration UAF
mrskew *.trc --where='$sqlid eq "4c8mrs99xp26b"' --group='"$file $line"' --name=EXEC --select='$uaf'
-- command below would be similar to the "Profile by Subroutine" of the Method R profiler
mrskew *.trc --select='$dur'
-- below shows the total UAF
mrskew *.trc --select='$uaf'
-- drill down on the SQL that has the most unaccounted for time
mrskew *.trc --select='$dur' --group='$sqlid'
mrskew *.trc --select='$uaf' --group='$sqlid'
-- give the latency numbers of smart scan stats
mrskew --name='smart.*scan' --ebucket *trc
-- group by storage servers and will show the statistical distribution of calls, and time spent
mrskew --name='smart.*scan' --group='$p1' *trc
-- group by module and account
mrskew *.trc --where='$mod eq "xxx" and $act eq "yyy"' --group='"$file $line"' --name=EXEC --select='$dur'
-- you have to compare an integer with $tim. Therefore, you need to convert the human readable to a tim and then use that as a comparison with $tim.
$ mrtim '2011-05-10 05:00:00.000'
1305021600000000
$ mrtim '2011-05-10 05:15:00.000'
1305022500000000
$ mrskew *.trc --group='$sqlid' --where='1305021600000000 <= $tim and $tim <= 1305022500000000'
--
mrskew ODEV11_ora_14370.trc --group='"$sqlid $name"' --where='$tim == 1305035383.707178'
mrskew *.trc --group='$sqlid' --where='(1305035000.000000 <= $tim) and ($tim <= 1305035900.000000)'
}}}
* mrskew v1 doesn't recognize $sqlid, but you could use $hv in v1 to get the same kind of result.
* DURATION column is in seconds
* mrskew reports total elapsed times for the group clause that you use. It's not dividing by anything. That's one of the principle design criteria for this skew analysis tool.
* accounted-for (by c and ela) time
* unaccounted-for time (that is, difference between $e and $c + sum($ela for children of the calls)) ... In other words, I think that roughly 2/3 of your response time for that statement is being consumed by processes (42 of them) that want CPU time but have been preempted and can't get it.
* The AWR habit of reporting averages (such as response time divided by execution count) actually hides important phenomena that mrskew can help you find
''other examples...''
''mrls''
http://method-r.com/component/content/article/124#examples
''mrtim''
http://method-r.com/component/content/article/162#examples
''mrskew''
http://method-r.com/component/content/article/126#examples
''mrcallrm''
http://method-r.com/component/content/article/164#examples
''mrtimfix''
http://method-r.com/component/content/article/163#examples
''package requirements''
{{{
Other than Linux x86, there are no requirements that I'm aware of. We don't distribute it as an rpm and I'm not aware of any requirements because of the way we compile the tools.
I can let you know which rpm's we have installed on our build machine but there's a good chance your rpm's are newer.
Here are the shared libraries required by the most recent release:
$ ldd mrls
libnsl.so.1 => /lib/libnsl.so.1 (0x0083d000)
libdl.so.2 => /lib/libdl.so.2 (0x005c7000)
libm.so.6 => /lib/tls/libm.so.6 (0x005cd000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x00422000)
libutil.so.1 => /lib/libutil.so.1 (0x00a07000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0x006fd000)
libc.so.6 => /lib/tls/libc.so.6 (0x00496000)
/lib/ld-linux.so.2 (0x0047c000)
$ ldd mrnl
libnsl.so.1 => /lib/libnsl.so.1 (0x0083d000)
libdl.so.2 => /lib/libdl.so.2 (0x005c7000)
libm.so.6 => /lib/tls/libm.so.6 (0x005cd000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x00422000)
libutil.so.1 => /lib/libutil.so.1 (0x00a07000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0x006fd000)
libc.so.6 => /lib/tls/libc.so.6 (0x00496000)
/lib/ld-linux.so.2 (0x0047c000)
$ ldd mrskew
libnsl.so.1 => /lib/libnsl.so.1 (0x0083d000)
libdl.so.2 => /lib/libdl.so.2 (0x005c7000)
libm.so.6 => /lib/tls/libm.so.6 (0x005cd000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x00422000)
libutil.so.1 => /lib/libutil.so.1 (0x00a07000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0x006fd000)
libc.so.6 => /lib/tls/libc.so.6 (0x00111000)
/lib/ld-linux.so.2 (0x0047c000)
}}}
http://kbase.redhat.com/faq/docs/DOC-7715
http://kevinclosson.wordpress.com/2009/04/22/linux-thinks-its-a-cpu-but-what-is-it-really-mapping-xeon-5500-nehalem-processor-threads-to-linux-os-cpus/
''the script''
''for solaris use this'' https://blogs.oracle.com/sistare/entry/cpu_to_core_mapping
{{{
# cat /tmp/foo
function filter(){
sed 's/^.*://g' | xargs echo
}
grep processor /proc/cpuinfo | filter
grep 'physical id' /proc/cpuinfo | filter
grep siblings /proc/cpuinfo | filter
grep 'core id' /proc/cpuinfo | filter
grep 'cpu cores' /proc/cpuinfo | filter
# sh /tmp/foo
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1
8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8
0 1 2 3 0 1 2 3 0 1 2 3 0 1 2 3
4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4
}}}
''output on exadata v2 - db node & storage cell''
Intel® Xeon® Processor E5540 (8M Cache, 2.53 GHz, 5.86 GT/s Intel® QPI)
http://ark.intel.com/Product.aspx?id=37104
{{{
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1
8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8
0 1 2 3 0 1 2 3 0 1 2 3 0 1 2 3
4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4
processor : 15
vendor_id : GenuineIntel
cpu family : 6
model : 26
model name : Intel(R) Xeon(R) CPU E5540 @ 2.53GHz
stepping : 5
cpu MHz : 1600.000
cache size : 8192 KB
physical id : 1
siblings : 8
core id : 3
cpu cores : 4
apicid : 23
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx rdtscp lm constant_tsc ida nonstop_tsc pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr sse4_1 sse4_2 popcnt lahf_lm
bogomips : 5054.02
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management: [8]
}}}
''output on exadata x2 - db node''
Intel® Xeon® Processor X5670 (12M Cache, 2.93 GHz, 6.40 GT/s Intel® QPI)
http://ark.intel.com/Product.aspx?id=47920
{{{
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
0 0 0 0 0 0 1 1 1 1 1 1 0 0 0 0 0 0 1 1 1 1 1 1
12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12
0 1 2 8 9 10 0 1 2 8 9 10 0 1 2 8 9 10 0 1 2 8 9 10
6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6
processor : 23
vendor_id : GenuineIntel
cpu family : 6
model : 44
model name : Intel(R) Xeon(R) CPU X5670 @ 2.93GHz
stepping : 2
cpu MHz : 2926.096
cache size : 12288 KB
physical id : 1
siblings : 12
core id : 10
cpu cores : 6
apicid : 53
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx pdpe1gb rdtscp lm constant_tsc ida nonstop_tsc arat pni monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr sse4_1 sse4_2 popcnt lahf_lm
bogomips : 5852.00
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management: [8]
}}}
''output on exadata x2 - storage cell''
Intel® Xeon® Processor L5640 (12M Cache, 2.26 GHz, 5.86 GT/s Intel® QPI)
http://ark.intel.com/Product.aspx?id=47926
{{{
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
0 0 0 0 0 0 1 1 1 1 1 1 0 0 0 0 0 0 1 1 1 1 1 1
12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12
0 1 2 8 9 10 0 1 2 8 9 10 0 1 2 8 9 10 0 1 2 8 9 10
6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6
processor : 23
vendor_id : GenuineIntel
cpu family : 6
model : 44
model name : Intel(R) Xeon(R) CPU L5640 @ 2.27GHz
stepping : 2
cpu MHz : 2261.060
cache size : 12288 KB
physical id : 1
siblings : 12
core id : 10
cpu cores : 6
apicid : 53
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx pdpe1gb rdtscp lm constant_tsc ida nonstop_tsc arat pni monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr sse4_1 sse4_2 popcnt lahf_lm
bogomips : 4522.01
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management: [8]
}}}
''Orapub - core-vs-threadcpu-utilization''
http://shallahamer-orapub.blogspot.com/2011/04/core-vs-threadcpu-utilization-part-1.html
http://shallahamer-orapub.blogspot.com/2011/05/cores-vs-threads-util-differencespart-2.html
http://shallahamer-orapub.blogspot.com/2011/05/cores-vs-threads-util-differencepart2b.html
http://content.dell.com/us/en/enterprise/d/large-business/thread-cores-which-you-need.aspx, http://itexpertvoice.com/home/threads-or-cores-which-do-you-need/
https://plus.google.com/117773751083866603675/posts/HrEbMPTeVxp <-- greg rahn threads vs cores
-- CLUSTERING
http://blogs.oracle.com/mysql/2011/01/managing_database_clusters_-_a_whole_lot_simpler.html
High Performance MySQL
http://oreilly.com/catalog/9780596003067
http://mysql-dba-journey.blogspot.com/search/label/MySQL%20for%20Oracle%20DBAs
http://www.pythian.com/news/13369/notes-on-learning-mysql-as-an-oracle-dba/
http://ronaldbradford.com/mysql-oracle-dba/
http://www.ardentperf.com/2010/09/08/mysterious-oracle-net-errors/
connor's presentation on statistics
http://www.evernote.com/shard/s48/sh/dde62582-24a5-42dd-b401-7352f5caff87/38efb9575a9f6cfe8457ad20308bb3c8
http://www.brennan.id.au/04-Network_Configuration.html
http://www.redhat.com/magazine/010aug05/departments/tips_tricks/
UDP Versus TCP/IP: An Overview
Doc ID: Note:1080335.6
How to Configure Linux OS Ethernet TCP/IP Networking
Doc ID: 132044.1
ORA-12154 While Attempting to Connect to New Database Via SQL*Net
Doc ID: Note:464505.1
TROUBLESHOOTING GUIDE: TNS-12154 TNS:could not resolve service name
Doc ID: Note:114085.1
OERR: ORA 12154 "TNS:could not resolve service name"
Doc ID: Note:21321.1
-- TROUBLESHOOTING
Network Products and Error Stack Components
Doc ID: 39662.1
-- TNSPING
Comparison of Oracle's tnsping to TCP/IP's ping [ID 146264.1]
-- FIREWALL
Oracle Connections and Firewalls (Doc ID 125021.1
SQL*NET PACKET STRUCTURE: NS PACKET HEADER (Doc ID 1007807.6
Resolving Problems with Connection Idle Timeout With Firewall (Doc ID 257650.1
-- NETWORK PERFORMANCE
Oracle Net Performance Tuning (Doc ID 67983.1
Troubleshooting 9i Data Guard Network Issues
Doc ID: Note:241925.1
Oracle Net Performance Tuning
Doc ID: Note:67983.1
How can I automatically detect slow connections?
Doc ID: Note:305299.1
Network Performance Troubleshooting - SQL*NET And CORE/MFG
Doc ID: Note:101007.1
Bandwith Per User Session For Oracle Form Base Web Deployment In Oracle9ias
Doc ID: Note:287237.1
How to Find Out How Much Network Traffic is Created by Web Deployed Forms?
Doc ID: Note:109597.1
Few Basic Techniques to Improve Performance of Forms.
Doc ID: Note:221529.1
Troubleshooting Web Deployed Oracle Forms Performance Issues
Doc ID: Note:363285.1
High ARCH wait on SENDREQ wait events found in statspack report.
Doc ID: Note:418709.1
Refining Remote Archival Over a Slow Network with the ARCH Process
Doc ID: Note:260040.1
Poor Performance When Using CLOBS and Oracle Net
Doc ID: 398380.1
-- ARRAYSIZE
SET LONG, ARRAYSIZE, AND MAXDATA SYSTEM VARIABLES to display LONG columns
Doc ID: 2062061.6
Relationship of Longs/Arraysize/LongChunk when using Oracle Reports?
Doc ID: 10747.1
-- SDU, MTU
The relation between MTU (Maximum Transmission Unit), SDU (Session Data Unit) and TDU (Transmission Data Unit)
Doc ID: 274483.1
1) Note 67983.1 "Oracle Net Performance Tuning"
2) Note 125021.1 "SQL*Net Packet Sizes (SDU & TDU Parameters)"
Bug 1113588 - New SQLNET.ORA parameter DEFAULT_SDU_SIZE
Doc ID: 1113588.8
Net8 Assistant places SDU parameter incorrectly
Doc ID: Note:99220.1
Recommendation for the Real Application Cluster Interconnect and Jumbo Frames
Doc ID: 341788.1
Asm Does Not Start After Relinking With RDS/Infiniband
Doc ID: 741720.1
304235.1 How to configure and verify that SDU Setting Are Being Read
76412.1 Network Performance Considerations in Designing Client/Server Applications
99715.1 When to modify, when not to modify the Session data unit (SDU)
160738.1 How To Configure the Size of TCP/IP Packets
How to set MTU (Maximum Transmission Unit) size for interfaces (network interfaces). (Doc ID 1017799.1)
How to configure Jumbo Frames on 10-Gigabit Ethernet (Doc ID 1002594.1)
-- BANDWIDTH DELAY PRODUCT
http://forums.oracle.com/forums/thread.jspa?threadID=629524
Please find below some info on how to calculate the BDP, hope this would help
Note:
TCP/IP buffer data into send and receive buffers while sending and receiving to or from lower and upper layer protocols. The sizes of these buffers affect network performance, as these buffer sizes influence flow control decisions.
The parameters specify sizes of socket receive and send buffers, respectively, associated with Oracle Net connections RECV_BUF_SIZE and SEND_BUF_SIZE.
Please note that some operating systems have parameters that set the maximum size for all send and receive socket buffers. You must ensure that these values have been adjusted to allow Oracle Net to use a larger socket buffer size.
Oracle recommends to set RECV_BUF_SIZE and SEND_BUF_SIZE three time the BDP’s value (Bandwidth delay product) in order to fully use network bandwidth over TCP protocol.
how to calculate RECV_BUF_SIZE and SEND_BUF_SIZE find below the details
Bandwidth= 10mbps=10 000 000 bits /s
Assume RTT=10ms=10/1000 (0.01s) ( RTT obtain through ping @server)
BDP= 10 Mbps * 10msec (0.01 sec) --à 10 ,000,000 * .01=100, 000bits/s Note: I took the worst RTT value=10ms
BDP= 100,000 / 8 = 12, 500 bytes
The optimal send and receive socket buffer sizes are calculated as follows:
Socket buffer size (RECV_BUF_SIZE and SEND_BUF_SIZE ) = 3 * bandwidth * delay = 12,500 * 3 = 37500 bytes
-- BUFFER OVERFLOW
BUFFER OVERFLOW ERROR WHEN RUNNING QUERY
Doc ID: 1020381.6
SQL*Plus: 'BUFFER OVERFLOW' Explained
Doc ID: 2171.1
-- TIMEOUT
VMS: How to Lower Connect Retry Limit and/or Connect Timeout in SQL*Net
Doc ID: 1077706.6
-- LISTENER
TNS Listener Crashes Intermittantly with No Error Message
Doc ID: 237887.1
Dynamic Registration and TNS_ADMIN
Doc ID: 181129.1
How to Diagnose Slow TNS Listener / Connection Performance
Doc ID: 557416.1
Connections To 11g TNS Listener are Slow.
Doc ID: 561429.1
-- SERVICE
Issues Affecting Automatic Service Registration
Doc ID: 235562.1
-- PPP
Point-to-Point Protocol Internals
Doc ID: 47936.1
-- EMAIL
Oracle Email Basics
Doc ID: Note:217140.1
-- DEBUG
Troubleshooting Oracle Net
Doc ID: 779226.1
Note 69642.1 - UNIX: Checklist for Resolving Connect AS SYSDBA Issues
How to Perform a SQL*Net Loopback on Unix
Doc ID: 1004599.6
Finding the source of failed login attempts.
Doc ID: 352389.1
Taking Systemstate Dumps when You cannot Connect to Oracle
Doc ID: 121779.1
How To Track Dead Connection Detection(DCD) Mechanism Without Enabling Any Client/Server Network Tracing
Doc ID: 438923.1
-- ADVANCED NETWORKING OPTION
Setup and Testing Advanced Networking Option
Doc ID: 1068871.6
Oracle Advanced Security SSL Troubleshooting Guide
Doc ID: 166492.1
-- KERBEROS
Kerberos: High Level Introduction and Flow
Doc ID: 294136.1
-- 11g /etc/hosts
11g Network Layer Does Not Use /etc/hosts on UNIX
Doc ID: 803838.1
-- INBOUND_CONNECT_TIMEOUT
Description of Parameter SQLNET.INBOUND_CONNECT_TIMEOUT
Doc ID: 274303.1
ORA - 12170 Occured While Connecting to RAC DB using NAT external IP address
Doc ID: 453544.1
{{{
NOTE: you need the boot.iso to do the network install
########## PREPARE THE REPOSITORY (for FTP install) ##########
NOTE: in VSFTPD, the directory root for this service is
/var/ftp/pub you have to create the directory under this
1)
# mkdir -pv install/centos/4/{os,updates}/i386
2)
contents of the installation CD (RHEL4):
base
- contains key images required and must be in source tree, below are the contents of base
-r--r--r-- 1 oracle root 718621 Apr 17 04:31 comps.xml
-r--r--r-- 1 oracle root 15118336 Apr 17 04:43 netstg2.img
-r--r--r-- 1 oracle root 14835712 Apr 17 04:43 hdstg2.img
-r--r--r-- 1 oracle root 69660672 Apr 17 04:44 stage2.img
-r--r--r-- 1 oracle root 22358872 Apr 17 04:46 hdlist2
-r--r--r-- 1 oracle root 8716184 Apr 17 04:46 hdlist
-r--r--r-- 1 oracle root 9525755 Apr 17 04:54 comps.rpm
-r--r--r-- 1 oracle root 1546 Apr 17 05:00 TRANS.TBL
RPMS
SRPMS
- contains source RPMS
images
- create different type of boot disks
- boot.iso <-- create boot cdrom for network install
- diskboot.img <-- devices larget than floppy
- pxeboot <-- installed on the DHCP server
release notes
- copy all the release notes
3)
for RHEL4 and 5, you could just copy all the contents of the CD
# cp RELEASE-NOTES-* /install
4)
for http:
# cp -av /media/cdrecorder/RedHat/ /install
below will be the final contents of the directory
dr-xr-xr-x 2 oracle root 4096 Apr 17 04:54 base
dr-xr-xr-x 3 oracle root 94208 Apr 17 04:46 RPMS
-r--r--r-- 1 oracle root 432 Apr 17 05:00 TRANS.TBL
for ftp:
cp -a --reply=yes /mnt/discx/RedHat /var/ftp/pub
cp -a --reply=yes /mnt/discx/images /var/ftp/pub
cp -a /mnt/discx/* /var/ftp/pub/docs
5) eject and insert disk2
6)
# cp -av /media/cdrecorder/RedHat/ /install
########## HTTPD (apache) ##########
NOTE: in HTTPD (RHEL) the directory root is /var/www/html the config is in /etc/httpd/conf/httpd.conf
in SUSE the directory root is /srv/www/htdocs the config is in /etc/apache2/default-server.conf
1) edit the httpd.conf look for "alias"
2) add the following lines
<-- ALIAS, any request thats made to our server
redirect them to a location in the hard drive
because the document root is on a different location
so you have to redirect the files..
WEBSPACE MAPPING to FILESYSTEM MAPPING
Alias /install "/var/ftp/pub/install"
<Directory "/var/ftp/pub/install">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory> <-- if you dont specify this you'll not see the tree
OR.... this could be another directory outside of /var/ftp/pub/install... see below:
[root@oel4 ~]# vi /etc/httpd/conf/httpd.conf
# ADD THE LINE BELOW ON THE ALIAS PART
Alias /oel4.6 "/oracle/installers/oel/4.6/os/x86"
<Directory "/oracle/installers/oel/4.6/os/x86">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
[root@oel4 ~]# service httpd restart
Stopping httpd: [FAILED]
Starting httpd: [ OK ]
and have it as a YUM repository
[root@racnode1 yum.repos.d]# mv ULN-Base.repo ULN-Base.repo.bak
[root@racnode1 yum.repos.d]# vi oel46.repo
# ADD THE FOLLOWING LINES
[OEL4.6]
name=Enterprise-$releasever - Media
baseurl=http://192.168.203.24/oel4.6/Enterprise/RPMS
gpgcheck=1
gpgkey=http://192.168.203.24/oel4.6/RPM-GPG-KEY-oracle
3) restart the service, now you have installers ready for FTP and HTTP install
########## NFS install ##########
For NFS, export the directory by adding an entry to /etc/exports to export to a specific system:
/location/of/disk/space client.ip.address(ro,no_root_squash)
To export to all machines (not appropriate for all NFS systems), add:
/location/of/disk/space *(ro,no_root_squash)
# service nfs reload
}}}
/***
|Name:|NewHerePlugin|
|Description:|Creates the new here and new journal macros|
|Version:|3.0 ($Rev: 3861 $)|
|Date:|$Date: 2008-03-08 10:53:09 +1000 (Sat, 08 Mar 2008) $|
|Source:|http://mptw.tiddlyspot.com/#NewHerePlugin|
|Author:|Simon Baird <simon.baird@gmail.com>|
|License|http://mptw.tiddlyspot.com/#TheBSDLicense|
***/
//{{{
merge(config.macros, {
newHere: {
handler: function(place,macroName,params,wikifier,paramString,tiddler) {
wikify("<<newTiddler "+paramString+" tag:[["+tiddler.title+"]]>>",place,null,tiddler);
}
},
newJournalHere: {
handler: function(place,macroName,params,wikifier,paramString,tiddler) {
wikify("<<newJournal "+paramString+" tag:[["+tiddler.title+"]]>>",place,null,tiddler);
}
}
});
//}}}
/***
|Name:|NewMeansNewPlugin|
|Description:|If 'New Tiddler' already exists then create 'New Tiddler (1)' and so on|
|Version:|1.1.1 ($Rev: 2263 $)|
|Date:|$Date: 2007-06-13 04:22:32 +1000 (Wed, 13 Jun 2007) $|
|Source:|http://mptw.tiddlyspot.com/empty.html#NewMeansNewPlugin|
|Author:|Simon Baird <simon.baird@gmail.com>|
|License|http://mptw.tiddlyspot.com/#TheBSDLicense|
!!Note: I think this should be in the core
***/
//{{{
// change this or set config.newMeansNewForJournalsToo it in MptwUuserConfigPlugin
if (config.newMeansNewForJournalsToo == undefined) config.newMeansNewForJournalsToo = true;
String.prototype.getNextFreeName = function() {
var numberRegExp = / \(([0-9]+)\)$/;
var match = numberRegExp.exec(this);
if (match) {
var num = parseInt(match[1]) + 1;
return this.replace(numberRegExp," ("+num+")");
}
else {
return this + " (1)";
}
}
config.macros.newTiddler.checkForUnsaved = function(newName) {
var r = false;
story.forEachTiddler(function(title,element) {
if (title == newName)
r = true;
});
return r;
}
config.macros.newTiddler.getName = function(newName) {
while (store.getTiddler(newName) || config.macros.newTiddler.checkForUnsaved(newName))
newName = newName.getNextFreeName();
return newName;
}
config.macros.newTiddler.onClickNewTiddler = function()
{
var title = this.getAttribute("newTitle");
if(this.getAttribute("isJournal") == "true") {
title = new Date().formatString(title.trim());
}
// ---- these three lines should be the only difference between this and the core onClickNewTiddler
if (config.newMeansNewForJournalsToo || this.getAttribute("isJournal") != "true")
title = config.macros.newTiddler.getName(title);
var params = this.getAttribute("params");
var tags = params ? params.split("|") : [];
var focus = this.getAttribute("newFocus");
var template = this.getAttribute("newTemplate");
var customFields = this.getAttribute("customFields");
if(!customFields && !store.isShadowTiddler(title))
customFields = String.encodeHashMap(config.defaultCustomFields);
story.displayTiddler(null,title,template,false,null,null);
var tiddlerElem = story.getTiddler(title);
if(customFields)
story.addCustomFields(tiddlerElem,customFields);
var text = this.getAttribute("newText");
if(typeof text == "string")
story.getTiddlerField(title,"text").value = text.format([title]);
for(var t=0;t<tags.length;t++)
story.setTiddlerTag(title,tags[t],+1);
story.focusTiddler(title,focus);
return false;
};
//}}}
http://www.cpearson.com/excel/noblanks.aspx
http://chandoo.org/wp/2010/01/26/delete-blank-rows-excel/
=IFERROR(INDEX(CpuCoreBlank,SMALL((IF(LEN(CpuCoreBlank),ROW(INDIRECT("1:"&ROWS(CpuCoreBlank))))),ROW(A1)),1),"")
Videos about RAC performance tuning and Under the Hoods of Cache Fusion, GES, GCS and GRD
http://oraclenz.com/2010/07/26/nzoug-and-laouc-june-and-july-webinars-recording/
see also RACMetalink
see LinkedIn
http://www.linkedin.com/groupItem?view=&gid=2922607&type=member&item=16757466&qid=6465cd0e-4d67-4e50-a293-55f69c318507&goback=.gmp_2922607
{{{
Node Evictions on RAC , what to do and what to collect
We have worked with customers who have had node evictions and we have been asked to determine root cause of the same. First node evictions in RAC are part of a mechanism to prevent the nodes from corrupting the data when they get into a hung state or are no longer healthy to continue on as part of the cluster and start to cause performance as a whole on the cluster to degrade. Oracle uses its Clusterware as part of the GI (Grid Infrastructure) stack to decide if the nodes are healthy enough using a voting disk and a heartbeat mechanism across nodes. If either of these are missing or do not make it then Oracle initiates a voting cycle to decide which portion of the subcluster survives and then the remaining nodes continue as if nothing happened. There are couple of basic things which come to mind (I'll supplant this discussion with MYoracle notes later)
- /var/log/messages file from all nodes
- all the clusterware logs (diagcollection.pl does this for you)
- If this is an instance eviction then the logs from bdump and udump destinations of the database
- There is a daemon called oprocd which is no longer present in 11gR2 although for previous releases it exists when there is no vendor clusterware. The logs for the same are in /etc/oracle/oprocd , this tells us if the Clusterware or oprocd rebooted the node
- Most systems tend to have crash dumps and this illustrates which process took out the node , this can help to also determine what went wrong. The current process list , the active process on the runqueue also tell you more.
}}}
RACHELP - node eviction
http://www.rachelp.nl/index_kb.php?menu=articles&actie=show&id=25
{{{
Date 2008-12-06 09:42:43
Component CRS
Title What can cause a Node Eviction ?
Version 10.1.0 - 11.1.0.7
Problem
Node evictions can occur in a cluster environment, the main question is why did the eviction occured ? Below I try to make that part easier.
Solution
There are 4 possible causes why a node eviction can occur.
*
Kernel Hang/ extreem load on the system. (OPROCD and/or HANCHECK TIMER)
*
Heartbeat lost Interconnect
*
Heartbeat lost Voting Disk
*
OCLSMON detects CSSD hang.
The title start with cause, but an Node eviction is a symptom of another problem not the cause. Keep this always in mind when investigating why a node eviction can occur.
Kernel Hang depended on the Operation System used. For Window or Linux this can be done based on the Hangcheck Timer and other Unix environments OPROCD is started. From Oracle 10.2.0.4 and higher OPROCD is also active on LINUX. (Still install the hangcheck timer) To validate if HANGCHECK timer or OPROCD was causing the node eviction validate the OS logfiles for the hangcheck timer. For OPROCD validate the OPROCD logfile.
An other possible node eviction can be triggered by OCLSMON starting with the 10.2.0.3 patchset or higher. The Clusterware proces is validating if there is an issue with CSSD. When this is the case it will kill the CSSD deamon, which will lead to the eviction. When this issue occur validate the oclsmon logfile and contact Oracle support. In this note we don’t focus on these parts, but on heartbeat lost.
Below are two examples of a heartbeat lost symptom. The OCSSD background process is taking care of the heartbeats. In the cssd.log file you can find detail information about the node eviction. In case of an eviction validate all the cssd.log file on all the nodes in your cluster environment. But start with the evicted node. The logging information logged can be changed during patchset and Oracle releases.
Node eviction due to Interconnect lost symptom.
Oracle 11g
[ CSSD]2008-11-20 10:59:36.510 [1220598112] >TRACE: clssnmCheckDskSleepTime: Node 3, dbq0223,
dead, last DHB (1227175136, 73583764) after NHB (1227175121, 73568724), but LATS - current (39090) >
DTO (27000)
[ CSSD]2008-11-20 10:59:36.512 [1147169120] >TRACE: clssnmReadDskHeartbeat: node 1, dbq0123,
has a disk HB, but no network HB, DHB has rcfg 122475875, wrtcnt, 164452, LATS 58728604, lastSeqNo
164452, timestamp 1227175122/73251784
[ CSSD]2008-11-20 10:59:37.513 [1199618400] >WARNING: clssnmPollingThread: node dbq0227 (5) at
90% heartbeat fatal, eviction in 1.660 seconds
[ CSSD]2008-11-20 10:59:37.513 [1220598112] >TRACE: clssnmSendSync: syncSeqNo(122475875)
[ CSSD]2008-11-20 10:59:37.513 [1220598112] >TRACE: clssnm_print_syncacklist: syncacklist (4)
Oracle 10g
[ CSSD]2006-10-18 23:49:06.199 [3600] >TRACE: clssnmCheckDskInfo: Checking disk info...
[ CSSD]2006-10-18 23:49:06.199 [3600] >TRACE: clssnmCheckDskInfo: node(2) timeout(172) state_network(0) state_disk(3) missCount(30)
[ CSSD]2006-10-18 23:49:06.226 [1] >USER: NMEVENT_SUSPEND [00][00][00][06]
[ CSSD]2006-10-18 23:49:07.028 [1030] >TRACE: clssnmReadDskHeartbeat: node(2) is down. rcfg(23) wrtcnt(634353) LATS(2345204583) Disk lastSeqNo(634353)
[ CSSD]2006-10-18 23:49:07.199 [3600] >TRACE: clssnmCheckDskInfo: node(2) disk HB found, network state 0, disk state(3) missCount(31)
[ CSSD]2006-10-18 23:49:08.032 [1030] >TRACE: clssnmReadDskHeartbeat: node(2) is down. rcfg(23) wrtcnt(634354) LATS(2345205587) Disk lastSeqNo(634354)
[ CSSD]2006-10-18 23:49:08.199 [3600] >TRACE: clssnmCheckDskInfo: node(2) disk HB found, network state 0, disk state(3) missCount(32)
[ CSSD]2006-10-18 23:49:09.199 [3600] >TRACE: clssnmCheckDskInfo: node(2) timeout(1167) state_network(0) state_disk(3) missCount(33)
[ CSSD]2006-10-18 23:49:10.199 [3600] >TRACE: clssnmCheckDskInfo: node(2) timeout(2167) state_network(0) state_disk(3) missCount(33)
…….
[ CSSD]2006-10-18 23:49:18.571 [3086] >WARNING: clssnmPollingThread: state(0) clusterState(2) exit
[ CSSD]2006-10-18 23:49:18.572 [1287] >ERROR: clssnmvDiskKillCheck: Evicted by node 1, sync 23, stamp -1949751541,
[ CSSD]2006-10-18 23:49:18.698 [3600] >TRACE: 0x110013a80 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
Here we see that the Diskkillcheck is report by node 1 and this node is evicted.
The diskkillcheck is done using a poison packets trough the voting disk, as interconnect is lost.
Possible action: check the availability of the Adapters, large network load/port scans and the OS logfiles for reported errrors related to the interconnect.
Node eviction due to Voting disk lost symptom.
Below an example where we lose the heartbeat to the voting disk.
[ CSSD]2006-10-11 00:35:33.658 [1801] >TRACE: clssnmHandleSync: Acknowledging sync: src[1] srcName[alligator] seq[9] sync[15]
[ CSSD]2006-10-11 00:35:36.956 [1801] >TRACE: clssnmHandleSync: diskTimeout set to (27000)ms
[ CSSD]2006-10-11 00:35:36.957 [1801] >WARNING: CLSSNMCTX_NODEDB_UNLOCK: lock held for 3300 ms
[ CSSD]2006-10-11 00:35:36.956 [1544] >TRACE: clssnmDiskPMT: stale disk (32490 ms) (0//dev/rora_vote_raw)
[ CSSD]2006-10-11 00:35:36.966 [1544] >ERROR: clssnmDiskPMT: 1 of 1 voting disks unavailable (0/0/1)
[ CSSD]2006-10-11 00:35:37.043 [2058] >TRACE: clssgmClientConnectMsg: Connect from con(112a8a9f0) proc(112a8f9d0) pid(480150) proto(10:2:1:1)
[ CSSD]2006-10-11 00:35:37.960 [3343] >TRACE: clscsendx: (11145a3f0) Physical connection (111459b30) not active
[ CSSD]2006-10-11 00:35:37.051 [1] >USER: NMEVENT_SUSPEND [00][00][00]06]
Possible action: check the availability of the Disk subsystem and the OS logfiles for reported errrors related to the voting disk
Trace the heartbeat: If needed you can enable a higher level of tracing to debug the heartbeat part. This can be done using the command, level 5 tracing. Level 0 disables the extra trace again. Please keep in mind that this can make your cssd.log growth hard. (4 lines added every second).
crsctl debug log css CSSD:5
crsctl debug log css CSSD:0
NOTICE: Node evictions is a symptom for another problem !
}}}
''The Clusterware logs''
{{{
My CRS_HOME on my test environment is at /u01/app/oracle/product/crs
-- alert log
/u01/app/oracle/product/crs/log/racnode1/alertracnode1.log
-- CSS log
/u01/app/oracle/product/crs/log/racnode1/cssd/cssdOUT.log
/u01/app/oracle/product/crs/log/racnode1/cssd/ocssd.log
/u01/app/oracle/product/crs/log/racnode1/cssd/racnode1.pid
-- CRSD log
/u01/app/oracle/product/crs/log/racnode1/crsd/crsd.log
-- RACG log
/u01/app/oracle/product/crs/log/racnode1/racg/ora.racnode1.ons.log
-- CRS EVM log
/u01/app/oracle/product/crs/evm/log/racnode1_evmdaemon.log
/u01/app/oracle/product/crs/evm/log/racnode1_evmlogger.log
/u01/app/oracle/product/crs/log/racnode1/evmd/evmd.log
/u01/app/oracle/product/crs/log/racnode1/evmd/evmdOUT.log
-- client log
/u01/app/oracle/product/crs/log/racnode1/client/clsc.log
/u01/app/oracle/product/crs/log/racnode1/client/ocr_15504_3.log
/u01/app/oracle/product/crs/log/racnode1/client/oifcfg.log
-- oprocd logs
/etc/oracle/oprocd
}}}
''Things to check on node eviction (Karl's notes)'' (see also ClusterHealthMonitor and RDA-RemoteDiagnosticAgent and GetAlertLog)
{{{
- Execute GetAlertLog script, do this every end of the day or if you see any signs of a node eviction (on all nodes as oracle)
- Execute the AWR scripts, unzip the awrscripts.zip and execute the run_all.sql, zip the output files (on all nodes as oracle)
- Do a ClusterHealthMonitor dump (just on node1 as crfuser)
/usr/lib/oracrf/bin/oclumon dumpnodeview -allnodes -v -last "23:59:59" > <your-directory>/<your-filename>
- Execute multinode RDA-RemoteDiagnosticAgent (just on node1 as oracle)
ssh-agent $SHELL
ssh-add
./rda.sh -vX Remote setup_cluster
./rda.sh -vX Remote list
./rda.sh -v -e REMOTE_TRACE=1
- Do a zip of directory /etc/oracle/oprocd (on all nodes as oracle)
- Do a zip of directory /var/log/sa (on all nodes as oracle)
- Do a zip of /var/log/messages file (on all nodes as root)
- Execute $ORA_CRS_HOME/bin/diagcollection.pl --collect (on all nodes as root, see Doc ID 330358.1)
}}}
[img[picturename| http://lh5.ggpht.com/_F2x5WXOJ6Q8/TOuwimLbTYI/AAAAAAAAA9Y/C_TVPMxciho/RacNodeEviction.gif]]
Nologging in the E-Business Suite
Doc ID: Note:216211.1
Force_logging in Physical Standby Environment
Doc ID: Note:367560.1
Force Logging Feature in Oracle Database
Doc ID: Note:174951.1
Changing Storage Definition in a Logical Standby Database
Doc ID: Note:737460.1
The Gains and Pains of Nologging Operations
Doc ID: Note:290161.1
A Study of Non-Partitioned NOLOGGING DML/DDL on Primary/Standby Data Dictionary
Doc ID: Note:150694.1
Using Oracle7 UNRECOVERABLE and Oracle8 NOLOGGING Option
Doc ID: Note:147474.1
http://www.ehow.com/how_6915411_import-non-csv-file-excel.html
http://office.microsoft.com/en-us/excel-help/import-or-export-text-files-HP010099725.aspx
http://karlarao.wordpress.com/2010/06/28/the-not-a-problem-problem-and-other-related-stuff
http://www.samsalek.net/?p=2506
[img(30%,30%)[ http://www.samsalek.net/wp-content/uploads/2011/04/samsalek.net_notetakingv2.jpg ]]
* Exadata and Database Machine Version 2 Series - 1 of 25: Introduction to Smart Scan Demo 19-Sep-10 10 mins http://goo.gl/AA48J
<<<
{{{
-- start
set timing on
select a.name, b.value/1024/1024 MB from v$sysstat a,
v$mystat b
where a.statistic# = b.statistic#
and (a.name in
('physical read total bytes',
'physical write total bytes',
'cell IO uncompressed bytes')
or a.name like 'cell phy%');
-- do a non smart scan
select /*+ OPT_PARAM('cell_offload_processing' 'false') */
count(*) from sales
where time_id between '01-JAN-2003' and '31-DEC-2003'
and amount_sold = 1;
-- end
set timing on
select a.name, b.value/1024/1024 MB from v$sysstat a,
v$mystat b
where a.statistic# = b.statistic#
and (a.name in
('physical read total bytes',
'physical write total bytes',
'cell IO uncompressed bytes')
or a.name like 'cell phy%');
-- new session
connect sh/sh
-- start
set timing on
select a.name, b.value/1024/1024 MB from v$sysstat a,
v$mystat b
where a.statistic# = b.statistic#
and (a.name in
('physical read total bytes',
'physical write total bytes',
'cell IO uncompressed bytes')
or a.name like 'cell phy%');
-- do the smart scan
select count(*) from sales
where time_id between '01-JAN-2003' and '31-DEC-2003'
and amount_sold = 1;
-- end
select a.name, b.value/1024/1024 MB from v$sysstat a,
v$mystat b
where a.statistic# = b.statistic#
and (a.name in
('physical read total bytes',
'physical write total bytes',
'cell IO uncompressed bytes')
or a.name like 'cell phy%');
}}}
<<<
* Exadata and Database Machine Version 2 Series - 2 of 25: Introduction to Exadata Hybrid Columnar Compression Demo 19-Sep-10 10 mins http://goo.gl/jBKSM
<<<
{{{
select table_name, compression, compress_for
from user_tables
where table_name like '<table_name>';
-- ensure direct path read is done
alter session force parallel query;
alter session force parallel ddl;
alter session force parallel dml;
create table mycust_query compress for query high
parallel 16 as select * from mycustomers;
create table mycust_archive compress for archive high
parallel 16 as select * from mycustomers;
select table_name, compression, compress_for
from user_tables
where table_name like '<table_name>';
select segment_name, sum(bytes)/1024/1024
from user_segments;
}}}
<<<
* Exadata and Database Machine Version 2 Series - 3 of 25: Introduction to Exadata Smart Flash Cache Demo 19-Sep-10 12 mins http://goo.gl/4UBic
<<<
{{{
-- start
select a.name, b.value/1024/1024 MB from v$sysstat a,
v$mystat b
where a.statistic# = b.statistic#
and (a.name like '%flash cache read hits'
or a.name like 'cell phy%'
or a.name like 'physical read tot%'
or a.name like 'physical read req%');
-- ensure IO is satisfied using Exadata storage
alter system flush buffer_cache;
-- performs 10000 record lookups, typical OLTP load
set serveroutput on
set timing on
declare
a number;
s number := 0;
begin
for n in 1 .. 10000 loop
select cust_credit_limit into a from customers
where cust_id=n*5000;
s := s+a;
end loop;
dbms_output.put_line('Transaction total = '||s);
end;
/
-- end
select a.name, b.value/1024/1024 MB from v$sysstat a,
v$mystat b
where a.statistic# = b.statistic#
and (a.name like '%flash cache read hits'
or a.name like 'cell phy%'
or a.name like 'physical read tot%'
or a.name like 'physical read req%');
connect sh/sh
-- ensure IO is satisfied using Exadata storage
alter system flush buffer_cache;
-- then re execute the loop, you'll see better performance!
}}}
<<<
* Exadata and Database Machine Version 2 Series - 4 of 25: Exadata Process Introduction Demo 19-Sep-10 6 mins http://goo.gl/qQ6dk
<<<
{{{
connect <celladmin>
-- show processes associated with Exadata restart server (RS)
ps -ef | grep cellrs
-- show Management Server
-- the parent process of MS is RS
ps -ef | grep ms.err
-- the main CELLSRV process
-- the parent process of CELLSRV is RS
ps -ef | grep "/cellsrv "
-- the OSWatcher.. output files located at /opt/oracle.oswatcher
ps -ef | grep OSWatcher
cellcli
list cell detail <-- displays attributes of the cell
}}}
<<<
* Exadata and Database Machine Version 2 Series - 5 of 25: Hierarchy of Exadata Storage Objects Demo 19-Sep-10 8 mins http://goo.gl/KYoyV
<<<
{{{
connect <celladmin>
# LUN
cellcli
list lun <-- list all the LUN on a cell
<-- 12 disk based LUNs, 16 flash based LUNs
list lun where disktype = harddisk <-- only show disk based LUNs
list lun 0_0 detail <-- detailed attributes of the LUN
<-- isSystemLun=TRUE means it's part of system disk, around 29GB reserved for OS, cell SW
# PHYSICAL DISK
list physicaldisk 20:10 detail <-- detailed attributes of physical disk, associated with a LUN
# CELL DISK - a higher level storage abstraction, each cell disk is based on a LUN
list celldisk CD_10_exa9cel01 detail <-- detailed attributes
# GRID DISK
list griddisk where celldisk = CD_10_exa9cel01 detail
<-- a grid disk defines an area of storage on a cell disk
<-- grid disk are consumed by ASM and used as storage for ASM disk groups
<-- each cell disk can contain a number of grid disks
<-- grid disk are visible as disks inside ASM
select name,path,state,total_mb from v$asm_disk
where name like '%_CD_10_EXA9CEL01';
<-- path to the disk has the form o/<cell IP address>/<grid disk name>
select d.name disk, dg.name diskgroup
from v$asm_disk d, v$asm_diskgroup dg
where dg.group_number = d.group_number
and d.name like '%_CD_10_EXA9CEL01';
<-- grid disk to disk group mapping
}}}
<<<
* Exadata and Database Machine Version 2 Series - 6 of 25: Creating Interleaved Grid Disks Demo 19-Sep-10 8 mins http://goo.gl/FrHes
<<<
{{{
cellcli
list lun where celldisk = null <-- list all empty LUNs
-- interleaving option is specified in cell disk
create celldisk interleaving_test lun=0_11, INTERLEAVING='normal_redundancy'
list celldisk interleaving_test detail
create griddisk data1_interleaving_test celldisk=interleaving_test, size=200G
create griddisk data2_interleaving_test celldisk=interleaving_test
list griddisk where celldisk=interleaving_test detail
drop griddisk data1_interleaving_test
drop girddisk data2_interleaving_test
drop celldisk interleaving_test
<-- you cannot create non-interleaved grid disk on a cell disk that has the
INTERLEAVING='normal_redundancy' attribute
}}}
<<<
* Exadata and Database Machine Version 2 Series - 7 of 25: Examining Exadata Smart Flash Cache Demo 19-Sep-10 8 mins http://goo.gl/TC41l
<<<
{{{
cellcli
list celldisk where disktype=flashdisk
list flashcache detail <-- by default all flash-based disk are configured as Exadata Smart Flash Cache
list flashcachecontent detail <-- shows info about the data inside flash cache, can help assess cache efficiency for specific db objects
list flashcachecontent where objectnumber=74576 and tablespacenumber=7 and dbuniquename=ST01 detail <-- show info on specific db object
}}}
<<<
* Exadata and Database Machine Version 2 Series - 8 of 25: Exadata Cell Configuration Demo 19-Sep-10 6 mins http://goo.gl/yy2uh
<<<
{{{
list cell detail
> temperatureReading - current metrics
> notificationMethod - metrics that can be changed
> notificationPolicy
alter cell smtpToAddr='admin1@example.com, admin2@example.com' <-- set the adjustable cell attributes
alter cell validate mail <-- sends a test email
alter cell validate configuration <-- to do a complete internal check of the cell config settings
}}}
<<<
* Exadata and Database Machine Version 2 Series - 9 of 25: Exadata Storage Provisioning Demo 19-Sep-10 7 mins http://goo.gl/BiK0w
<<<
{{{
list lun where diskType = hardDisk and cellDisk = null <-- will show all disk based LUNs that do not contain cell disks!
typically cell disks and grid disks are created on each hard disk so that
data can be spread evenly across the cell
list celldisk where freeSpace != 0 <-- show unallocated free space on cell disks
create celldisk all harddisk interleaving='normal_redundancy' <-- the command creates cell disks on all the available hard disks.. the hard disks that dont already
contain cell disks. the new cell disks are configured in preparation for interleaved grid disks
list celldisk where freeSpace != 0 <-- will show the newly created cell disks
create griddisk all harddisk prefix=st01data2, size=280G <-- this command creates two sets of interleaved disks on the recently created cell disks, others will be skipped if
they dont have the required space
create griddisk all harddisk prefix=st02data2 <--
list griddisk attributes name, size, ASMModeStatus <-- list of all the grid disks, UNUSED means not yet consumed by ASM
}}}
<<<
Exadata and Database Machine Version 2 Series - 10 of 25: Consuming Exadata Grid Disks Using ASM Demo 19-Sep-10 10 mins http://goo.gl/Bmr7D
<<<
{{{
select name, header_status, path from v$asm_disk
where path like 'o/%/st01%'
and header_status = 'CANDIDATE'; <-- shows the list of CANDIDATE grid disks, the grid disk format is
o/<cell IP address>/<grid disk name> .. the IP represents the storage cell
alter diskgroup st01data add disk 'o/*/st01data2_CD_11_exa9cel01'; <-- adds grid disk to ASM disk group
alter diskgroup st01data drop disk st01data2_CD_11_exa9cel01 rebalance power 11 wait; <-- drops the disk
create diskgroup st01data2 normal redundancy
disk 'o/*/st01data2*'
attribute 'compatible.rdbms' = '11.2.0.0.0',
'compatible.asm' = '11.2.0.0.0',
'cell.smart_scan_capable' = 'TRUE',
'au_size' = '4M'; <-- creates disk group with the recommended disk group attributes!!! you'll also notice that grid disk are automatically
grouped into separate failure groups
}}}
<<<
Exadata and Database Machine Version 2 Series - 11 of 25: Exadata Cell User Accounts Demo 19-Sep-10 5 mins http://goo.gl/P5Dfi
<<<
{{{
cellmonitor <-- able to monitor Exadata using LIST
celladmin <-- can create, modify, drop exadata cell objects
root <-- can only execute the CALIBRATE command
}}}
<<<
Exadata and Database Machine Version 2 Series - 12 of 25: Monitoring Exadata Using Metrics, Alerts and Active Requests Demo 19-Sep-10 10 mins http://goo.gl/34Puy
<<<
{{{
list metricdefinition <-- metrics are recorded observations of important run-time properties or internal instrumentation
of the storage cell or its components (cell disks, grid disks)
list metricdefinition detail <-- provides more comprehensive info about all the metrics
list metricdefinition where name like 'CL_.*' detail <-- add a WHERE condition to view specific metrics
list metriccurrent <-- shows the most current metric observations
list metriccurrent where objecttype = 'CELL' <-- add WHERE to show subset of metrics
list metriccurrent where alertState != normal <-- shows metrics in abnormal state
list metriccurrent cl_temp <-- shows specific metric, shows current temperature measured inside the Exadata server
list metriccurrent <-- shows the space utilization of the cell OS and exadata software binaries
list metrichistory where alertState != normal <-- historical alerts, default retention is 7days. This command will determine if there where any
abnormal state on the past 7days!
list metrichistory where cl_temp memory <-- list historical, but the data which are still held in memory
list alerthistory <-- shows all the alerts maintained in the alert repository
drop alerthistory all <-- clear out unwanted alerts, this command clears the entire alert history
list threshold <-- list the defined threshold on exadata cell, default is none defined
list alertdefinition <-- list all available sources of the alerts on the cell
create threshold cl_fsut."/" comparison='>', warning=48 <-- creates threshold on the cell filesystem
list threshold detail <-- shows the definition of threshold
dd if=/dev/zero of=/tmp/file.out bs=1024 count=950000 <-- creates a big file
list alerthistory <-- check the alert generated!!!
list alerthistory detail
alter alerthistory 1_1 examinedby='st01' <-- modify the alert to indicate that you have examined it!
rm /tmp/file.out
list metriccurrent cl_fsut
list alerthistory
list alerthistory <-- will show the begin and end of the alert condition
alter session force parallel dml;
update customers set cust_credit=0.9*cust_credit_limit
where cust_id < 2000000;
list activerequest detail <-- view of IO requests that are currently being processed by a cell..
shows reason for IO, size of IO, grid disk accessed, TBS number, obj number, SQLID
}}}
<<<
Exadata and Database Machine Version 2 Series - 13 of 25: Monitoring Exadata From Within Oracle Database Demo 19-Sep-10 10 mins http://goo.gl/RNNqC
<<<
{{{
explain plan for
select avg(cust_credit_limit)
from customers where cust_credit_limit < 10000; <-- you can identify smart scan is used by looking at execution plan
select * from table(dbms_xplan.display);
select sql_text, physical_read_bytes, physical_write_bytes, io_interconnect_bytes, io_cell_offload_eligible_bytes, io_cell_uncompressed_bytes,
io_cell_offload_returned_bytes, optimized_phy_read_requests
from v$sql where sql_text like 'select avg%'; <-- you can determine the effectiveness of smart scan for a query by evaluating the ratio between
IO_CELL_OFFLOAD_ELIGIBLE_BYTES AND IO_CELL_OFFLOAD_RETURNED_BYTES. IOs optimized by the use of storage index or
exadata smart flash cache are counted under OPTIMIZED_PHY_READ_REQUESTS
select statistic_name, value
from v$segment_statistics
where owner='SH' and object_name='CUSTOMERS'
and statistic_name = 'optimized physical reads'; <-- shows number of IO requests optimized by exadata
"cell session smart scan efficiency" <-- sysstat value , the higher value.. better
select w.event, c.cell_path, d.name, w.p3
from v$session_wait w, v$event_name e, v$asm_disk d, v$cell c
where e.name like 'cell%'
and e.wait_class_id = w.wait_class_id
and w.p1 = c.cell_hashval
and w.p2 = d.hash_value; <-- shows WAITS related to Exadata IOs
}}}
<<<
Exadata and Database Machine Version 2 Series - 14 of 25: Exadata High Availability Demo 19-Sep-10 10 mins http://goo.gl/JrnN3
<<<
{{{
-- long running query
ps -ef | grep "/cellsrv "
kill cellsrv
ps -ef | grep "/cellsrv " <-- will create a new process
list alerthistory
alter cell restart services all
ps -ef | grep "/cellsrv " <-- will create a new process
-- long running query not interrupted and completed
}}}
<<<
Exadata and Database Machine Version 2 Series - 15 of 25: Intradatabase I/O Resource Management Demo 19-Sep-10 10 mins http://goo.gl/aqx2J
<<<
{{{
create user fred identified by fred account unlock;
create user dave identified by dave account unlock;
grant connect to fred, dave;
grant select any table to fred, dave;
-- then connect as fred and dave on separate windows and execute this
select count(*) from sh.sales where amount_sold=1; <-- with no intradatabase resource plan, both queries by users will have no effect
-- now as SYSDBA create a database resource plan, specified 80/20 split between two consumer groups HI and LO
begin
dbms_resource_manager.create_simple_plan(
simple_plan => 'my_plan',
consumer_group1 => 'HI', group1_percent => 80,
consumer_group2 => 'LO', group1_percent => 20)
end;
/
begin
dbms_resource_manager.create_pending_area();
dbms_resource_manager_privs.grant_switch_consumer_group(
grantee_name => 'FRED',
consumer_group => 'HI',
grant_option => true);
dbms_resource_manager_privs.grant_switch_consumer_group(
grantee_name => 'DAVE',
consumer_group => 'LO',
grant_option => true);
dbms_resource_manager.set_consumer_group_mapping(
dbms_resource_manager.oracle_user,'FRED','HI');
dbms_resource_manager.set_consumer_group_mapping(
dbms_resource_manager.oracle_user,'DAVE','LO');
dbms_resource_manager.submit_pending_area();
end;
/
alter system set resource_manager_plan = 'my_plan'; <-- the newly created db resource mgt plan is enabled!!! when you set the plan in the database
the plan is automatically propagated to the exadata cells to enable intradatabase io resource
management. for this to work you must have an active iormplan on your exadata cells even if its a null plan.
select * from dba_rsrc_consumer_group_privs; <-- confirm consumer group associations
select count(*) from sh.sales where amount_sold=1; <-- reexecute for both users will have elapsed time change
}}}
<<<
Exadata and Database Machine Version 2 Series - 16 of 25: Interdatabase I/O Resource Management Demo 19-Sep-10 12 mins http://goo.gl/jZptS
<<<
{{{
create bigfile tablespace test
datafile '+STO1DATA2' size 40g; <-- on both databases
list metriccurrent CD_IO_BY_W_LG_SEC where metricobjectname like 'CD.*' <-- shows large write throughtput
alter iormplan dbplan=((name=ST01, level=1, allocation=100), (name=other, level=2, allocation=100))
alter iormplan active
list iormplan detail
create bigfile tablespace test
datafile '+STO1DATA2' size 40g; <-- on both databases
}}}
<<<
Exadata and Database Machine Version 2 Series - 17 of 25: Configuring Flash-Based Disk Groups Demo 19-Sep-10 16 mins http://goo.gl/9Ve8c
<<<
{{{
list flashcache detail <-- each exadata server contains 384GB of high performance flash memory. by default all flash memory
is configured as exadata smart flash cache.
drop flashcache <-- drop flash cache
list celldisk attributes name,freeSpace,size where diskType=FlashDisk <-- after dropping, each flash based cell disk shows that all the usable space is free
create flashcache all size=100g <-- now a smaller than default, smart flash cache is configured spread across cell disk 6.25GB x 16 = 100
create griddisk all flashdisk prefix=st01flash, size=8G <-- will create flash based grid disk on the 100GB just created.. the same command used to create disk based grid disk
except the FLASHDISK keyword
create griddisk all flashdisk prefix=st02flash <-- this will create flash based grid disk on all of the remaining free space on the flash based cell disks
list griddisk attributes name,size,ASMModeStatus where disktype=flashdisk <-- this will list the newly created flash based grid disks! ready to be consumed by ASM
select path, header_status from v$asm_disk
where path like 'o/%/st01flash%'; <-- will list flash based grid disks.. from viewpoint of ASM flash and disk based grid disks are the same
create diskgroup st01flash normal redundancy
disk 'o/*/st01flash*'
attribute 'compatible.rdbms' = '11.2.0.0.0',
'compatible.asm' = '11.2.0.0.0',
'cell.smart_scan_capable' = 'TRUE',
'au_size' = '4M'; <-- this will create a flash based disk group!!! this will also be automatically grouped into separate failure groups
drop diskgroup st01flash; <-- drops the disk group
drop griddisk all prefix=st01flash
drop griddisk all prefix=st02flash
drop flashcache
create flashcache all <-- the default smart flash cache is configured on the cell
}}}
<<<
Exadata and Database Machine Version 2 Series - 18 of 25: Examining Exadata Hybrid Columnar Compression Demo 19-Sep-10 14 mins http://goo.gl/ppP3q
<<<
{{{
set serveroutput on
set timing on
declare
b_cmp number;
b_ucmp number;
r_cmp number;
r_ucmp number;
cmp_ratio number(6,2);
cmp_type varchar2(1024);
begin
dbms_compression.get_compression_ratio('SH','SH','MYCUSTOMERS',NULL,DBMS_COMPRESSION.COMP_FOR_QUERY_HIGH,b_cmp,b_ucmp,r_cmp,r_ucmp,cmp_ratio,cmp_type);
dbms_output.put_line('Table: MYCUSTOMERS');
dbms_output.put_line('Compression Ratio: '||cmp_ratio);
dbms_output.put_line('Compression Type: '||cmp_type);
dbms_compression.get_compression_ratio('SH','SH','MYCUSTOMERS',NULL,DBMS_COMPRESSION.COMP_FOR_ARCHIVE_HIGH,b_cmp,b_ucmp,r_cmp,r_ucmp,cmp_ratio,cmp_type);
dbms_output.put_line('Table: MYCUSTOMERS');
dbms_output.put_line('Compression Ratio: '||cmp_ratio);
dbms_output.put_line('Compression Type: '||cmp_type);
end;
/ <-- will show you the compression advisor rates!!! 5.3 and 6.6 respectively
select segment_name, sum(bytes)/1024/1024
from user_segments
where segment_name like 'MYCUST%'
group by segment_name; <-- will show the ratio
MYCUST_QUERY 1673 <-- 5.3 RATIO (8850/1673)
MYCUSTOMERS 8850
MYCUST_ARCHIVE 1301 <-- 6.7 RATIO
-- ensure direct path read is done
alter session force parallel query;
alter session force parallel ddl;
alter session force parallel dml;
insert /*+ APPEND */ into mycustomers
select * from seed_data; <-- 00:00:01.22 at 1000000 rows NORMAL
<-- 00:00:00.89 at 1000000 rows QUERY COMPRESSION.. performance is offset by less IO operations, suited for DW environments large data loads
<-- 00:00:03.57 at 1000000 rows ARCHIVE.. slower, uses more costly algorithm for high compression. suited for archiving
select avg(cust_credit_limit) from mycustomers; <-- 00.00.10.92 NORMAL
cell physical IO interconnect bytes 939MB <-- data returned by smart scan
cell physical IO interconnect bytes returned by smart scan 939MB
cell physical IO bytes eligible for predicate offload 8892MB <-- offloaded to exadata
<-- 00.00.02.03 QUERY.. IO reduction results better query performance
cell physical IO interconnect bytes 266MB <-- data returned by smart scan
cell physical IO interconnect bytes returned by smart scan 266MB
cell physical IO bytes eligible for predicate offload 1667MB <-- offloaded to exadata
<-- 00.00.01.86 ARCHIVE
cell physical IO interconnect bytes 239MB <-- data returned by smart scan
cell physical IO interconnect bytes returned by smart scan 239MB
cell physical IO bytes eligible for predicate offload 1297MB <-- offloaded to exadata
}}}
<<<
Exadata and Database Machine Version 2 Series - 19 of 25: Index Elimination with Exadata Demo 19-Sep-10 8 mins http://goo.gl/T0SFq
<<<
{{{
shows how to make an index invisible so that you can test the effect on your queries without actually dropping the index
set timing on
set autotrace on explain
select avg(cust_credit_limit) from customers
where cust_id between 2000000 and 2500000; <-- test query, 15.09 seconds elapsed.. shows index range scan
alter index customers_pk invisible; <-- makes index invisible, and not used by optimizer for queries
select status from user_constraints
where constraint_name = 'CUSTOMERS_PK'; <-- ENABLED and associated with PK constraint,
note that even though invisible the associated constraint is still ENABLED
select avg(cust_credit_limit) from customers
where cust_id between 2000000 and 2500000; <-- with invisible index, 23.99 seconds elapsed, and uses SMART SCAN!
alter index customers_pk visible; <-- makes it visible
}}}
<<<
Exadata and Database Machine Version 2 Series - 20 of 25: Database Machine Configuration Example using Configuration Worksheet Demo 19-Sep-10 14 mins http://goo.gl/cXgKu
<<<
{{{
.
}}}
<<<
Exadata and Database Machine Version 2 Series - 21 of 25: Migrating to Database Machine Using Transportable Tablespaces Demo 19-Sep-10 14 mins http://goo.gl/otDOF
<<<
{{{
this demo shows how to use RMAN in conjunction with TTS to migrate data from a bid endian platform to exadata
-- TTS dumps and metadata is created.. on real world scenario, you must dump the files to a DBFS!!!
-- The EXADATA is LITTLE ENDIAN!!!
select d.platform_name, endian_format
from v$transportable_platform tp, v$database d
where tp.platform_name = d.platform_namel;
RMAN> convert datafile '/home/st01/TTS/soe_TTS_AIX.dbf'
to platform="Linux x86 64-bit"
from platform="AIX-Based Systems (64-bit)"
parallelism=1
format '+ST01DATA'; <-- this converts from big to little endian and loads the converted file into ASM
-- For TTS work the same schema must pre-exist in the destination database
create user soe identified by soe account unlock;
grant connect,resource to soe;
create directory tts as '/home/st01/TTS'; <-- creates a directory object that houses the TTS files
impdp system dumpfile=expSOE_TTS.dmp directory=tts logfile=imp_SOE.log transport_datafiles='+ST01DATA/st01/datafile/soe.268.727217185' <-- Data Pump to import TTS metadata
alter tablespace soe read write;
}}}
<<<
Exadata and Database Machine Version 2 Series - 22 of 25: Bulk Data Loading with Database Machine Demo 19-Sep-10 20 mins http://goo.gl/KFWyu
<<<
{{{
-- configure DBFS!!! best practice is put it on a separate database
create bigfile tablespace dbfs datafile '+ST01DATA' size 10G;
grant create session, create table, create procedure, dbfs_role to dbfs; <-- should be installed in a dedicated schema
mkdir DBFS <-- this will be the filesystem mount point
cd $ORACLE_HOME/rdbms/admin
sqlplus dbfs/dbfs
@dbfs_create_filesystem_advanced.sql dbfs st01dbfs nocompress nodeduplicate noencrypt non-partition <-- this creates
the database objects for the dbfs store
1st - Tablespace where DBFS store is created
2nd - name of the DBFS store
3,4,5,6 - whether or not to enable the various features
typically it is recommended to leave the advanced features
DISABLED for a DBFS store that is used to stage data files
for BULK DATA loading
echo dbfs > passwd.txt
nohup $ORACLE_HOME/bin/dbfs_client dbfs@st01 -o allow_other,direct_io /home/st01/DBFS < passwd.txt & <-- dbfs_client has a mount interface that utilizes the FUSE kernel module
to implement a file system mount.
dbfs_client receives standard file system calls from FUSE and translates them
into calls to the DBFS PL/SQL API
ps -ef | grep dbfs_client
df -k
cp CSV/customers.csv DBFS/st01dbfs/ <-- transfer files to staging area
cd DBFS/st01dbfs/
ls -l
head customers.csv
sqlplus "/ as sysdba"
create directory staging as '/home/st01/DBFS/st01dbfs';
grant read, write on directory staging to sh; <-- create directory object which references to the DBFS
connect sh/sh
create table ext_customers
(
customer_id number(12),
cust_first_name varchar2(30),
cust_last_name varchar2(30),
nls_language varchar2(3),
nls_territory varchar2(30),
credit_limit number(9,2),
cust_email varchar2(100),
account_mgr_id number(6)
)
organization external
(
type oracle_loader
default directory staging
access parameters
(
records delimited by newline
badfile staging:'custxt%a_%p.bad'
logfile staging:'custxt%a_%p.log'
fields terminated by ',' optionally enclosed by '"'
missing field values are null
(
customer_id, cust_first_name, cust_last_name, nls_language,
nls_territory, credit_limit, cust_email, account_mgr_id
)
)
location ('customers.csv')
)
parallel
reject limit unlimited;
select count(*) from ext_customers; <-- query the external table, it is queried in parallel!!
create table loaded_customers
as select * from ext_customers; <-- actual data loading!!!
fusermount -u /home/st01/DBFS <-- to unmount!!!
df -k
ps -ef | grep dbfs_client
}}}
<<<
Exadata and Database Machine Version 2 Series - 23 of 25: Backup Optimization Using RMAN and Exadata Demo 19-Sep-10 15 mins http://goo.gl/q5Dz8
<<<
{{{
alter database enable block change tracking;
configure device type disk parallelism 2;
backup as backupset incremental level 0 tablespace sh; <-- full backup of the SH tablespace
list backup; <-- 90GB 00:04:17 elapsed
select a.name, sum(b.value/1024/1024) MB
from v$sysstat a, v$sesstat b, v$session c
where a.statistic# = b.statistic#
and b.sid = c.sid
and upper(c.program) like 'RMAN%'
and (a.name in
('physical read total bytes',
'physical write total bytes',
'cell IO uncompressed bytes',)
or a.name like 'cell phy%')
group by a.name; <-- at Level 0 no offloading
-- do a massive update on the table
backup as backupset incremental level 1 tablespace sh;
list backup; <-- 944KB
select a.name, sum(b.value/1024/1024) MB
from v$sysstat a, v$sesstat b, v$session c
where a.statistic# = b.statistic#
and b.sid = c.sid
and upper(c.program) like 'RMAN%'
and (a.name in
('physical read total bytes',
'physical write total bytes',
'cell IO uncompressed bytes',)
or a.name like 'cell phy%')
group by a.name; <-- at Level 1 very significant offloading!!! BCT also helped instead of reading 90GB, read only 488MB
Also smart scan also kicked in to optimize RMAN reads so that instead of returning 454 MB of data to RMAN
for further processing.. only 12.5MB was returned
cell physical IO bytes eligible for predicate offload 454MB
cell physical IO interconnect bytes 51MB
cell physical IO interconnect bytes returned by smart scan .89MB
physical write total bytes 12.49MB
physical read total bytes 487MB
select file#, incremental_level, datafile_blocks, blocks, blocks_read, blocks_skipped_in_cell
from v$backup_datafile; <-- BLOCKS_SKIPPED_IN_CELL is another good metric for backup optimization!
}}}
<<<
Exadata and Database Machine Version 2 Series - 24 of 25: Recovery Optimization Using RMAN and Exadata Demo 19-Sep-10 12 mins http://goo.gl/TOl2o
<<<
{{{
rm sh.dbf
restore tablespace sh;
select a.name, sum(b.value/1024/1024) MB
from v$sysstat a, v$sesstat b, v$session c
where a.statistic# = b.statistic#
and b.sid = c.sid
and upper(c.program) like 'RMAN%'
and (a.name in
('physical read total bytes',
'physical write total bytes',
'cell IO uncompressed bytes',)
or a.name like 'cell phy%')
group by a.name; <-- restore... cell physical IO bytes saved during optimized RMAN file restore 1753MB
when RMAN restores a file, any blocks in the file that have not been altered since the
file was first formatted can be re created by Exadata. This optimization removes the need
to transport empty formatted blocks across the storage network. Rather, RMAN is able to instruct
Exadata to conduct the IO on its behalf in the same way that optimized file creation is performed.
cell physical IO bytes eligible for predicate offload 1753MB
cell physical IO interconnect bytes 398395MB
cell physical IO interconnect bytes returned by smart scan 0MB
cell physical IO bytes saved during optimized RMAN file restore 1753MB
physical write total bytes 154479MB
physical read total bytes 92939.36MB
}}}
<<<
Exadata and Database Machine Version 2 Series - 25 of 25: Using the distributed command line utility (dcli) Demo 19-Sep-10 14 mins http://goo.gl/3vAUN
<<<
{{{
-- configure environment
ORACLE_SID=ST01
ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1
cat << END > mycells
exa9cel01
exa9cel02
END
ssh-keygen -t sda <-- if doing dcli 1st time, then create ssh key
dcli -g mycells -k <-- establish SSH equivalence
-- usage
dcli -g mycells cellcli -e list cell <-- list cells, BASIC CELLCLI COMMANDS
dcli -g mycells df -k <-- list filesystems, OS COMMANDS
dcli -g mycells cellcli -e list iormplan <-- can also be used for configuration changes across servers
dcli -g mycells cellcli -e alter iormplan active
dcli -g mycells cellcli -e alter iormplan inactive
dcli -g mycells "cellcli -e list metriccurrent where name like \'CD_IO_RQ_W_.?.?\' and metricobjectname like \'CD.*\'" <-- monitor across cells
dcli -g mycells -r '.*CD_0.*' "cellcli -e list metriccurrent where name like \'CD_IO_RQ_W_.?.?\' and metricobjectname like \'CD.*\'" <-- monitor across cells with regex exclude
dcli -g mycells "cellcli -e list metriccurrent where name like \'CD_IO_RQ_W_.?.?\' and metricobjectname like \'CD.*\' | grep CD_00" <-- with GREP
dcli -g mycells -f testfile.txt <-- distributed file transfer -f option
dcli -g mycells testfile.txt
cat << END > st01script.sh
HST=\`hostname -s\`
DTE=\`date\`
echo -n \`cat testfile.txt\`
echo " on ${HST} at ${DTE}."
END
chmod +x st01script.sh
dcli -g mycells -x st01script.sh <-- -x option causes the associated file to be copied to and run on the target system
a filename with .SCL extension is run by the CELLCLI UTILITY
a filename with different extension is run by the OPERATING SYSTEM SHELL on the target server
the file is copied to the default home directory on the target server
}}}
<<<
Upgrading OCFS2 - 1.4
http://www.idevelopment.info/data/Oracle/DBA_tips/OCFS2/OCFS2_1.shtml
http://www.idevelopment.info/data/Oracle/DBA_tips/OCFS2/OCFS2_5.shtml
http://translate.google.com/translate?langpair=zh-CN%7Cen&hl=zh-CN&ie=UTF8&u=http://www.oracledatabase12g.com/archives/11g-ocm-upgrade-exam-tips.html
The Cert Path
http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=198&p_org_id=&lang=
Upgrade program
http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=44
Oracle Database 11g: New Features for Administrators
http://education.oracle.com/pls/web_prod-plq-dad/show_desc.redirect?dc=D50081GC10&p_org_id=&lang=&source_call=
1Z0_050 - Oracle Database 11g: New Features for Administrators
http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=41&p_exam_id=1Z0_050
http://www.databasejournal.com/features/oracle/article.php/3630231/Oracle-RAC-Administration---Part-4-Administering-the-Clusterware--Components.htm
http://blogs.oracle.com/AlejandroVargas/archives.html
http://blogs.oracle.com/AlejandroVargas/2007/05/rac_with_asm_on_linux_crash_sc_2.html
http://blogs.oracle.com/AlejandroVargas/2007/05/rac_with_asm_on_linux_crash_sc_3.html
http://onlineappsdba.com/index.php/2009/06/09/backup-and-recovery-of-oracle-clusterware/
http://el-caro.blogspot.com/2006/07/ocr-backups.html
http://deepthinking99.wordpress.com/2008/09/20/recover-the-corruption-ocr/
http://askdba.org/weblog/2008/09/how-to-recover-from-corrupted-ocr-disk/
http://www.oracle-dba-database-administration.com/backup-recover-OCR.html
http://achatzia.blogspot.com/2007/06/scripts-for-rac-backup.html
http://www.pythian.com/news/832/how-to-recreate-the-oracle-clusterware-voting-disk/
http://www.databasejournal.com/features/oracle/article.php/3626471/Oracle-RAC-Administration---Part-3-Administering-the-Clusterware-Components.htm
http://www.idevelopment.info/data/Oracle/DBA_tips/Oracle10gRAC/CLUSTER_65.shtml#Backup the Voting Disk
What's in a voting disk http://orainternals.wordpress.com/2010/10/29/whats-in-a-voting-disk/
OCR & Voting Disk on ASM http://blog.ronnyegner-consulting.de/2010/10/20/oracle-11g-release-2-asm-best-practises/
How to restore Oracle Grid Infrastructure OCR and vote disk on ASM
http://oracleprof.blogspot.com/2011/09/after-reading-book-about-oracle-rac-see.html
Placement of Voting disk and OCR Files in Oracle RAC 10g and 11gR1 [ID 293819.1]
OCR / Vote disk Maintenance Operations: (ADD/REMOVE/REPLACE/MOVE) [ID 428681.1]
''Configure and Deploy Oracle Database Appliance'' http://apex.oracle.com/pls/apex/f?p=44785:24:2875967671743702::NO:24:P24_CONTENT_ID,P24_PREV_PAGE:5903,2
http://www.evernote.com/shard/s48/sh/372c667d-d4d0-4a51-a505-f7010f124f29/05ee84e49642f4d556da907c7d212e35
''Check out the offline configurator'' http://blogs.oracle.com/eSTEP/entry/oda_offline_configurator_for_demo
''Demo: How to Set Up ILOM on the Oracle Database Appliance'' http://download.oracle.com/technology/server-storage/ilom/ILOM-Setup-1-5-12.mp4
Pointed by Bjoern Rost, @karlarao How do you reduce planned downtime with #ODA when rolling patches are not (yet?) supported
Well that really sucks because you have to patch through the ''appliance manager'', as per this doc http://download.oracle.com/docs/cd/E22693_01/doc.21/e22692/undrstd.htm#CIHEFJBA it's not rolling patch yet and they haven't issued any new patches for it yet and that's the other problem :p
''hmm'' "At the time of this release, Oracle Appliance Manager Patching does not support rolling patching. The entire system must be taken down and both servers patched before restarting the database."
''even worse is this note:'' Caution: Only patch Oracle Database Appliance with an Oracle Database Appliance patch bundle. Do not use Oracle Grid Infrastructure, Oracle Database patches, or any Linux distribution patch with an Oracle Appliance. If you use non-Oracle Appliance patches with an Oracle Appliance using Opatch or an equivalent tool, then the Oracle Database Appliance inventory is not updated, and future Oracle Appliance patch updates cannot be completed.
Oracle Database Appliance Firmware Page [ID 1360299.1]
Certified Compilers
Doc ID: Note:43208.1
Client / Server / Interoperability Support Between Different Oracle Versions
Doc ID: Note:207303.1
Oracle Server (RDBMS) Releases Support Status Summary
Doc ID: Note:161818.1
Is Oracle10g Instant Client Certified With Oracle 9i or Oracle 8i Databases
Doc ID: Note:273972.1
Client Application Fails After Upgrade of Client Libraries
Doc ID: Note:268174.1
Basic OCI8 Testcase
Doc ID: Note:277543.1
Basic OCCI Testcase
Doc ID: Note:277544.1
OCI/OCCI/Precompilers Testcase FAQ
Doc ID: Note:271406.1
Where do I Find OCCI Support for Microsoft Visual Studio 2005 / Microsoft Visual C++ 8.0?
Doc ID: Note:362644.1
Which OCI Functions Where Introduced In What Release Starting With ORACLE RDBMS 8.0
Doc ID: Note:301983.1
On What Unix/Linux OS are Oracle ODBC Drivers Available ?
Doc ID: Note:396635.1
Supported ODBC Configurations
Doc ID: Note:66403.1
ODBC COMPATABILITY ISSUES
Doc ID: Note:1027811.6
"ORACLE CLIENT NETWORKING COMPONENTS WERE NOT FOUND" w/CONFIGURING ODBC
Doc ID: Note:1014690.102
Oracle� Database Client Certification Notes 10g Release 2 (10.2.0.3) for Microsoft Windows Vista
Doc ID: Note:415166.1
Can Instant Client 10g Run On Windows Vista?
Doc ID: Note:459507.1
Installation Instructions for Oracle ODBC Driver Release 9.2.0.5.4
Doc ID: Note:290886.1
ODBC and Oracle10g Supportability
Doc ID: Note:273215.1
How To Implement Expiration Of Passwords Using ODBC
Doc ID: Note:268240.1
Using ODBC From a Windows NT Service
Doc ID: Note:1016672.4
ODBC COMPATABILITY ISSUES
Doc ID: Note:1027811.6
ODBC Compatibility Matrix for the Macintosh Platform
Doc ID: Note:76570.1
Connection from ODBC Test Fails With TNS-12535
Doc ID: Note:170795.1
Unable to Use SET SAVEPOINT While Using ODBC Application
Doc ID: Note:163986.1
ODBC ARCHITECTURE FOR ORACLE DATABASE
Doc ID: Note:106110.1
Setting up the Oracle ODBC Driver and DSN on Windows 95/98/NT Client
Doc ID: Note:107364.1
Bug 3564573 - ORA-1017 when 10g client connects to 8i/9i server with EBCDIC <-> ASCII connection
Doc ID: Note:3564573.8
Bug 3437884 - 10g client cannot connect to 8.1.7.0 - 8.1.7.3 server
Doc ID: Note:3437884.8
ALERT: Connections from Oracle 9.2 to Oracle7 are Not Supported
Doc ID: Note:207319.1
Database, FMW, and OCS Software Error Correction Support Policy
Doc ID: Note:209768.1
Oracle Database Server support Matrix for Windows XP / 2003 64-Bit (Itanium)
Doc ID: Note:236183.1
Oracle Database Server and Networking Patches for Microsoft Platforms
Doc ID: Note:161549.1
"An Unsupported Operation was Attempted" Error When Trying to Create DSN With ODBC 10.2.0.3.0
Doc ID: Note:403021.1
Unable to Connect With Microsoft ODBC Driver for Oracle and 64-Bit Oracle Client
Doc ID: Note:417246.1
ODBC BASIC OVERVIEW
Doc ID: Note:1003717.6
http://support.microsoft.com/kb/190475
http://support.microsoft.com/kb/244661
http://support.microsoft.com/kb/259959/
http://support.microsoft.com/kb/306787/
Install ODI
http://avdeo.com/2009/01/19/installing-oracle-data-integrator-odi/
http://download.oracle.com/docs/cd/E15985_01/index.htm
http://download.oracle.com/docs/cd/E15985_01/doc.10136/release/ODIRN.pdf
How To Set Up ODI With Mainframes And Mid-Range Servers? [ID 423769.1]
Performance Optimization Strategies For ODI [ID 423726.1]
Compatibility Of Non Transactional Databases With ODI [ID 424454.1]
Version Compatibility Between ODI Components [ID 423825.1]
Where Are The Certification Matrices For ODI 10g and 11g Which Indicate Platform And Database Compatibilities [ID 424527.1]
What Are The Best Practices When Installing Oracle Data Integrator ? [ID 424598.1]
Oracle Data Integrator/Sunopsis, Releases and Patches [ID 456313.1]
-- from http://www.perfvision.com/info/oem.html
{{{
default OEM web port
http://host:1158/em/console/
OEM license
Database Diagnostics Pack
Automatic Workload Repository
ADDM (Automated Database Diagnostic Monitor)
Performance Monitoring (Database and Host)
Event Notifications: Notification Methods, Rules and Schedules
Event history/metric history (Database and Host)
Blackouts
Dynamic metric baselines
Memory performance monitoring
Database Tuning Pack
SQL Access Advisor
SQL Tuning Advisor
SQL Tuning Sets
Reorganize Objects
Configuration Management Pack
Database and Host Configuration
Deployments
Patch Database and View Patch Cache
Patch staging
Clone Database
Clone Oracle Home
Search configuration
Compare configuration
Policies
}}}
10205OMS Restarts When XMLLoader Times out For Repository Connection or 11G OMS login hangs via Cisco Firewall [ID 1073473.1]
http://wiki.oracle.com/page/Oracle+OpenWorld+Unconference
http://wiki.oracle.com/page/What+to+Expect+at+the+Unconference
2010 unconference
http://wikis.sun.com/display/JavaOne/Unconferences+at+JavaOne+and+Oracle+Develop+2010
http://oprofile.sourceforge.net/examples/
http://coskan.wordpress.com/2007/09/14/what-i-learned-about-shared-pool-management/
https://forums.oracle.com/forums/thread.jspa?threadID=369320&start=15&tstart=0
http://www.oracle.com/technetwork/database/enterprise-edition/calling-shell-commands-from-plsql-1-1-129519.pdf
<<<
{{{
Below is the list of activities on the OSB project
*** some observations
-
---
1) OSB installation
Read on the install guide
Installing and Configuring Oracle Secure Backup 10.2 http://st-curriculum.oracle.com/obe/db/11g/r1/prod/ha/osb10_2install/osb1.htm
2) testing of RMAN backups
Performing Encrypted Backups with Oracle Secure Backup 10.2 http://st-curriculum.oracle.com/obe/db/11g/r1/prod/ha/osb10_2encrypt/osb2.htm#t3
Performing Database and File System Backups and Restores Using Oracle Secure
Backup http://st-curriculum.oracle.com/obe/db/10g/r2/prod/ha/ob/ob_otn.htm
- RMAN backs up directly to tape using
backup incremental level 0 device type sbt_tape database plus archivelog;
OR
- Daily backup of recovery area to tape.. I noticed it pulls only new archivelogs to tape
backup device type sbt_tape recovery area;
OR
- Daily backup of recovery area and backup sets to tape <-- this is more promising!!!
backup device type sbt_tape recovery files;
3) testing of filesystem backups, possible to just pull the RMAN backups created on the filesystem
4) recovery testing of RMAN backups from tape (direct)
5) recovery testing of RMAN backups from tape-to-disk
6) media policy creation
7) creation of backup scripts for OSB
}}}
<<<
{{{
C:\Documents and Settings\Sopraadmin>sqlplus "/ as sysdba"
SQL*Plus: Release 11.1.0.7.0 - Production on Wed Nov 3 05:59:30 2010
Copyright (c) 1982, 2008, Oracle. All rights reserved.
Connected to an idle instance.
SQL>
SQL>
SQL> startup
ORACLE instance started.
Total System Global Area 535662592 bytes
Fixed Size 1348508 bytes
Variable Size 331353188 bytes
Database Buffers 197132288 bytes
Redo Buffers 5828608 bytes
Database mounted.
ORA-01157: cannot identify/lock data file 4 - see DBWR trace file
ORA-01110: data file 4: 'C:\ORACLE\ORADATA\OSBTEST\USERS01.DBF'
SQL>
SQL>
SQL> select * from v$instance;
INSTANCE_NUMBER INSTANCE_NAME
--------------- ----------------
HOST_NAME
----------------------------------------------------------------
VERSION STARTUP_T STATUS PAR THREAD# ARCHIVE LOG_SWITCH_WAIT
----------------- --------- ------------ --- ---------- ------- ---------------
LOGINS SHU DATABASE_STATUS INSTANCE_ROLE ACTIVE_ST BLO
---------- --- ----------------- ------------------ --------- ---
1 osbtest
PHBSPSERV010
11.1.0.7.0 03-NOV-10 MOUNTED NO 1 STARTED
ALLOWED NO ACTIVE PRIMARY_INSTANCE NORMAL NO
SQL>
SQL>
SQL> select name, status from v$datafile;
NAME
--------------------------------------------------------------------------------
STATUS
-------
C:\ORACLE\ORADATA\OSBTEST\SYSTEM01.DBF
SYSTEM
C:\ORACLE\ORADATA\OSBTEST\SYSAUX01.DBF
ONLINE
C:\ORACLE\ORADATA\OSBTEST\UNDOTBS01.DBF
ONLINE
NAME
--------------------------------------------------------------------------------
STATUS
-------
C:\ORACLE\ORADATA\OSBTEST\USERS01.DBF
ONLINE
C:\ORACLE\ORADATA\OSBTEST\EXAMPLE01.DBF
ONLINE
SQL>
SQL> set lines 300
SQL> r
1* select name, status from v$datafile
NAME
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
STATUS
-------
C:\ORACLE\ORADATA\OSBTEST\SYSTEM01.DBF
SYSTEM
C:\ORACLE\ORADATA\OSBTEST\SYSAUX01.DBF
ONLINE
C:\ORACLE\ORADATA\OSBTEST\UNDOTBS01.DBF
ONLINE
NAME
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
STATUS
-------
C:\ORACLE\ORADATA\OSBTEST\USERS01.DBF
ONLINE
C:\ORACLE\ORADATA\OSBTEST\EXAMPLE01.DBF
ONLINE
SQL>
SQL>
SQL> col name format a30
SQL> r
1* select name, status from v$datafile
NAME STATUS
------------------------------ -------
C:\ORACLE\ORADATA\OSBTEST\SYST SYSTEM
EM01.DBF
C:\ORACLE\ORADATA\OSBTEST\SYSA ONLINE
UX01.DBF
C:\ORACLE\ORADATA\OSBTEST\UNDO ONLINE
TBS01.DBF
C:\ORACLE\ORADATA\OSBTEST\USER ONLINE
S01.DBF
NAME STATUS
------------------------------ -------
C:\ORACLE\ORADATA\OSBTEST\EXAM ONLINE
PLE01.DBF
SQL>
SQL>
SQL> col name format a50
SQL> r
1* select name, status from v$datafile
NAME STATUS
-------------------------------------------------- -------
C:\ORACLE\ORADATA\OSBTEST\SYSTEM01.DBF SYSTEM
C:\ORACLE\ORADATA\OSBTEST\SYSAUX01.DBF ONLINE
C:\ORACLE\ORADATA\OSBTEST\UNDOTBS01.DBF ONLINE
C:\ORACLE\ORADATA\OSBTEST\USERS01.DBF ONLINE
C:\ORACLE\ORADATA\OSBTEST\EXAMPLE01.DBF ONLINE
SQL>
SQL>
SQL>
SQL>
SQL>
SQL>
SQL> desc v$datafile
Name N
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE#
CREATION_CHANGE#
CREATION_TIME
TS#
RFILE#
STATUS
ENABLED
CHECKPOINT_CHANGE#
CHECKPOINT_TIME
UNRECOVERABLE_CHANGE#
UNRECOVERABLE_TIME
LAST_CHANGE#
LAST_TIME
OFFLINE_CHANGE#
ONLINE_CHANGE#
ONLINE_TIME
BYTES
BLOCKS
CREATE_BYTES
BLOCK_SIZE
NAME
PLUGGED_IN
BLOCK1_OFFSET
AUX_NAME
FIRST_NONLOGGED_SCN
FIRST_NONLOGGED_TIME
FOREIGN_DBID
FOREIGN_CREATION_CHANGE#
FOREIGN_CREATION_TIME
PLUGGED_READONLY
PLUGIN_CHANGE#
PLUGIN_RESETLOGS_CHANGE#
PLUGIN_RESETLOGS_TIME
SQL> select * from v$recover_file;
FILE# ONLINE ONLINE_ ERROR CHANGE# TIME
---------- ------- ------- ----------------------------------------------------------------- ---------- ---------
4 ONLINE ONLINE FILE NOT FOUND 0
SQL>
SQL>
SQL>
SQL>
SQL> recover datafile 4;
ORA-00283: recovery session canceled due to errors
ORA-01110: data file 4: 'C:\ORACLE\ORADATA\OSBTEST\USERS01.DBF'
ORA-01157: cannot identify/lock data file 4 - see DBWR trace file
ORA-01110: data file 4: 'C:\ORACLE\ORADATA\OSBTEST\USERS01.DBF'
SQL>
SQL>
SQL>
SQL>
SQL> alter database open;
Database altered.
SQL> select * from v$recover_file;
no rows selected
SQL>
SQL>
SQL> create table test1 as select * from dba_objects;
Table created.
SQL>
SQL>
SQL>
SQL> alter system switch logfile;
System altered.
SQL>
SQL>
SQL>
SQL>
SQL>
SQL>
SQL>
SQL>
SQL> alter system switch logfile;
System altered.
SQL> alter system switch logfile;
System altered.
SQL> shutdown abort
ORACLE instance shut down.
SQL> startup
ORACLE instance started.
Total System Global Area 535662592 bytes
Fixed Size 1348508 bytes
Variable Size 331353188 bytes
Database Buffers 197132288 bytes
Redo Buffers 5828608 bytes
Database mounted.
Database opened.
SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORACLE instance started.
Total System Global Area 535662592 bytes
Fixed Size 1348508 bytes
Variable Size 331353188 bytes
Database Buffers 197132288 bytes
Redo Buffers 5828608 bytes
Database mounted.
ORA-01157: cannot identify/lock data file 4 - see DBWR trace file
ORA-01110: data file 4: 'C:\ORACLE\ORADATA\OSBTEST\USERS01.DBF'
SQL> alter database open;
alter database open
*
ERROR at line 1:
ORA-01113: file 4 needs media recovery
ORA-01110: data file 4: 'C:\ORACLE\ORADATA\OSBTEST\USERS01.DBF'
SQL> alter database open;
Database altered.
SQL> select count(*) from test1;
COUNT(*)
----------
69614
SQL>
RMAN SESSION
================================================================================
RMAN> list backup of database summary;
List of Backups
===============
Key TY LV S Device Type Completion Time #Pieces #Copies Compressed Tag
------- -- -- - ----------- --------------- ------- ------- ---------- ---
1 B 0 A * 28-OCT-10 1 2 YES TAG20101028T065752
4 B 0 A * 28-OCT-10 1 2 YES TAG20101028T070243
8 B F A SBT_TAPE 28-OCT-10 1 1 NO TEST4
9 B F A SBT_TAPE 28-OCT-10 1 1 NO TEST5
10 B 0 A SBT_TAPE 28-OCT-10 1 1 NO TEST6
12 B 0 A SBT_TAPE 28-OCT-10 1 1 NO TAG20101028T083340
14 B 0 A * 03-NOV-10 1 2 YES TAG20101103T035736
19 B 0 A SBT_TAPE 03-NOV-10 1 1 NO TAG20101103T042106
23 B 0 A * 03-NOV-10 1 2 YES TAG20101103T042801
30 B 1 A * 03-NOV-10 1 2 YES TAG20101103T052913
RMAN>
RMAN>
RMAN> exit
Recovery Manager complete.
C:\>
C:\>
C:\>rman target /
Recovery Manager: Release 11.1.0.7.0 - Production on Wed Nov 3 06:01:24 2010
Copyright (c) 1982, 2007, Oracle. All rights reserved.
connected to target database: OSBTEST (DBID=3880221928, not open)
RMAN>
RMAN>
RMAN> restore datafile 4;
Starting restore at 03-NOV-10
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=155 device type=DISK
allocated channel: ORA_SBT_TAPE_1
channel ORA_SBT_TAPE_1: SID=151 device type=SBT_TAPE
channel ORA_SBT_TAPE_1: Oracle Secure Backup
channel ORA_DISK_1: starting datafile backup set restore
channel ORA_DISK_1: specifying datafile(s) to restore from backup set
channel ORA_DISK_1: restoring datafile 00004 to C:\ORACLE\ORADATA\OSBTEST\USERS01.DBF
channel ORA_DISK_1: reading from backup piece C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\BACKUPSET\OSBTEST-20101103-16LS21MH_1_1
channel ORA_DISK_1: ORA-19870: error while restoring backup piece C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\BACKUPSET\OSBTEST-20101103-16LS21MH_1_1
ORA-19505: failed to identify file "C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\BACKUPSET\OSBTEST-20101103-16LS21MH_1_1"
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.
channel ORA_DISK_1: failover to duplicate backup on device SBT_TAPE
channel ORA_SBT_TAPE_1: starting datafile backup set restore
channel ORA_SBT_TAPE_1: specifying datafile(s) to restore from backup set
channel ORA_SBT_TAPE_1: restoring datafile 00004 to C:\ORACLE\ORADATA\OSBTEST\USERS01.DBF
channel ORA_SBT_TAPE_1: reading from backup piece 16ls21mh_1_2
channel ORA_SBT_TAPE_1: piece handle=16ls21mh_1_2 tag=TAG20101103T042801
channel ORA_SBT_TAPE_1: restored backup piece 1
channel ORA_SBT_TAPE_1: restore complete, elapsed time: 00:02:15
Finished restore at 03-NOV-10
RMAN>
RMAN>
RMAN> recover datafile 4;
Starting recover at 03-NOV-10
using channel ORA_DISK_1
using channel ORA_SBT_TAPE_1
channel ORA_DISK_1: starting incremental datafile backup set restore
channel ORA_DISK_1: specifying datafile(s) to restore from backup set
destination for restore of datafile 00004: C:\ORACLE\ORADATA\OSBTEST\USERS01.DBF
channel ORA_DISK_1: reading from backup piece C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\BACKUPSET\OSBTEST-20101103-1ELS259A_1_1
channel ORA_DISK_1: ORA-19870: error while restoring backup piece C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\BACKUPSET\OSBTEST-20101103-1ELS259A_1_1
ORA-19505: failed to identify file "C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\BACKUPSET\OSBTEST-20101103-1ELS259A_1_1"
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.
channel ORA_DISK_1: failover to duplicate backup on device SBT_TAPE
channel ORA_SBT_TAPE_1: starting incremental datafile backup set restore
channel ORA_SBT_TAPE_1: specifying datafile(s) to restore from backup set
destination for restore of datafile 00004: C:\ORACLE\ORADATA\OSBTEST\USERS01.DBF
channel ORA_SBT_TAPE_1: reading from backup piece 1els259a_1_2
channel ORA_SBT_TAPE_1: piece handle=1els259a_1_2 tag=TAG20101103T052913
channel ORA_SBT_TAPE_1: restored backup piece 1
channel ORA_SBT_TAPE_1: restore complete, elapsed time: 00:01:05
starting media recovery
media recovery complete, elapsed time: 00:00:01
Finished recover at 03-NOV-10
RMAN> exit
Recovery Manager complete.
C:\>rman target /
Recovery Manager: Release 11.1.0.7.0 - Production on Wed Nov 3 06:08:25 2010
Copyright (c) 1982, 2007, Oracle. All rights reserved.
connected to target database: OSBTEST (DBID=3880221928)
RMAN>
RMAN>
RMAN>
RMAN> backup device type sbt_tape recovery files;
Starting backup at 03-NOV-10
using target database control file instead of recovery catalog
allocated channel: ORA_SBT_TAPE_1
channel ORA_SBT_TAPE_1: SID=152 device type=SBT_TAPE
channel ORA_SBT_TAPE_1: Oracle Secure Backup
specification does not match any datafile copy in the repository
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_27\O1_MF_1_387_6DHMHOHV_.ARC; already backed up 6 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_27\O1_MF_1_388_6DJHMSCH_.ARC; already backed up 6 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_27\O1_MF_1_389_6DKDNSNX_.ARC; already backed up 6 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_27\O1_MF_1_390_6DKJOW98_.ARC; already backed up 6 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_27\O1_MF_1_391_6DKPBFO0_.ARC; already backed up 6 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_28\O1_MF_1_392_6DLCFW7Y_.ARC; already backed up 6 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_28\O1_MF_1_393_6DLO7W6O_.ARC; already backed up 6 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_28\O1_MF_1_394_6DLO8284_.ARC; already backed up 6 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_28\O1_MF_1_395_6DLOZJKC_.ARC; already backed up 6 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_28\O1_MF_1_396_6DLP1RR7_.ARC; already backed up 6 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_28\O1_MF_1_397_6DLP4C58_.ARC; already backed up 6 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_28\O1_MF_1_398_6DLQVS1F_.ARC; already backed up 5 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_28\O1_MF_1_399_6DLSG4J2_.ARC; already backed up 5 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_28\O1_MF_1_400_6DLVCC51_.ARC; already backed up 4 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_28\O1_MF_1_401_6DMPTGDZ_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_28\O1_MF_1_402_6DN53SQ7_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_28\O1_MF_1_403_6DNBPQDD_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_29\O1_MF_1_404_6DNXNSQK_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_29\O1_MF_1_405_6DORDFX3_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_29\O1_MF_1_406_6DPNJQGZ_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_29\O1_MF_1_407_6DPSL8RX_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_29\O1_MF_1_408_6DPZ407C_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_30\O1_MF_1_409_6DQQOW6P_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_30\O1_MF_1_410_6DR9ODQ0_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_30\O1_MF_1_411_6DS0YS5K_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_30\O1_MF_1_412_6DSG0WSO_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_30\O1_MF_1_413_6DSMWSGN_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_31\O1_MF_1_414_6DT12CKT_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_31\O1_MF_1_415_6DTVZHTY_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_31\O1_MF_1_416_6DVO555M_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_31\O1_MF_1_417_6DW2HM13_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_31\O1_MF_1_418_6DW8D7SM_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_01\O1_MF_1_419_6DX1O0J7_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_01\O1_MF_1_420_6DY4YX2O_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_01\O1_MF_1_421_6DYW68KR_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_01\O1_MF_1_422_6DYW7O4M_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_02\O1_MF_1_423_6DZKYR64_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_02\O1_MF_1_424_6F0O48W3_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_02\O1_MF_1_425_6F1JL1T8_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_02\O1_MF_1_426_6F1JOWCO_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_02\O1_MF_1_427_6F1THQ8F_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_03\O1_MF_1_428_6F28WM5V_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_03\O1_MF_1_429_6F2924RX_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_03\O1_MF_1_430_6F2B7XRK_.ARC; already backed up 2 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_03\O1_MF_1_431_6F2BGSRO_.ARC; already backed up 2 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_03\O1_MF_1_432_6F2BOOD3_.ARC; already backed up 2 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_03\O1_MF_1_433_6F2BV5OH_.ARC; already backed up 2 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_03\O1_MF_1_434_6F2FZC4D_.ARC; already backed up 1 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_03\O1_MF_1_435_6F2HGOOW_.ARC; already backed up 1 time(s)
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of backup command at 11/03/2010 06:08:43
RMAN-06059: expected archived log not found, lost of archived log compromises recoverability
ORA-19625: error identifying file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_03\O1_MF_1_436_6F2HZ807_.ARC
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.
RMAN>
RMAN>
RMAN>
RMAN>
RMAN> backup device type sbt_tape recovery files;
Starting backup at 03-NOV-10
using channel ORA_SBT_TAPE_1
specification does not match any datafile copy in the repository
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_27\O1_MF_1_387_6DHMHOHV_.ARC; already backed up 6 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_27\O1_MF_1_388_6DJHMSCH_.ARC; already backed up 6 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_27\O1_MF_1_389_6DKDNSNX_.ARC; already backed up 6 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_27\O1_MF_1_390_6DKJOW98_.ARC; already backed up 6 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_27\O1_MF_1_391_6DKPBFO0_.ARC; already backed up 6 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_28\O1_MF_1_392_6DLCFW7Y_.ARC; already backed up 6 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_28\O1_MF_1_393_6DLO7W6O_.ARC; already backed up 6 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_28\O1_MF_1_394_6DLO8284_.ARC; already backed up 6 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_28\O1_MF_1_395_6DLOZJKC_.ARC; already backed up 6 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_28\O1_MF_1_396_6DLP1RR7_.ARC; already backed up 6 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_28\O1_MF_1_397_6DLP4C58_.ARC; already backed up 6 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_28\O1_MF_1_398_6DLQVS1F_.ARC; already backed up 5 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_28\O1_MF_1_399_6DLSG4J2_.ARC; already backed up 5 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_28\O1_MF_1_400_6DLVCC51_.ARC; already backed up 4 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_28\O1_MF_1_401_6DMPTGDZ_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_28\O1_MF_1_402_6DN53SQ7_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_28\O1_MF_1_403_6DNBPQDD_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_29\O1_MF_1_404_6DNXNSQK_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_29\O1_MF_1_405_6DORDFX3_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_29\O1_MF_1_406_6DPNJQGZ_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_29\O1_MF_1_407_6DPSL8RX_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_29\O1_MF_1_408_6DPZ407C_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_30\O1_MF_1_409_6DQQOW6P_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_30\O1_MF_1_410_6DR9ODQ0_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_30\O1_MF_1_411_6DS0YS5K_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_30\O1_MF_1_412_6DSG0WSO_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_30\O1_MF_1_413_6DSMWSGN_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_31\O1_MF_1_414_6DT12CKT_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_31\O1_MF_1_415_6DTVZHTY_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_31\O1_MF_1_416_6DVO555M_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_31\O1_MF_1_417_6DW2HM13_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_31\O1_MF_1_418_6DW8D7SM_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_01\O1_MF_1_419_6DX1O0J7_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_01\O1_MF_1_420_6DY4YX2O_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_01\O1_MF_1_421_6DYW68KR_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_01\O1_MF_1_422_6DYW7O4M_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_02\O1_MF_1_423_6DZKYR64_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_02\O1_MF_1_424_6F0O48W3_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_02\O1_MF_1_425_6F1JL1T8_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_02\O1_MF_1_426_6F1JOWCO_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_02\O1_MF_1_427_6F1THQ8F_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_03\O1_MF_1_428_6F28WM5V_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_03\O1_MF_1_429_6F2924RX_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_03\O1_MF_1_430_6F2B7XRK_.ARC; already backed up 2 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_03\O1_MF_1_431_6F2BGSRO_.ARC; already backed up 2 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_03\O1_MF_1_432_6F2BOOD3_.ARC; already backed up 2 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_03\O1_MF_1_433_6F2BV5OH_.ARC; already backed up 2 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_03\O1_MF_1_434_6F2FZC4D_.ARC; already backed up 1 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_03\O1_MF_1_435_6F2HGOOW_.ARC; already backed up 1 time(s)
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of backup command at 11/03/2010 06:09:02
RMAN-06059: expected archived log not found, lost of archived log compromises recoverability
ORA-19625: error identifying file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_03\O1_MF_1_436_6F2HZ807_.ARC
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.
RMAN>
RMAN>
RMAN> backup device type sbt_tape recovery files;
Starting backup at 03-NOV-10
using channel ORA_SBT_TAPE_1
specification does not match any datafile copy in the repository
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_27\O1_MF_1_387_6DHMHOHV_.ARC; already backed up 6 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_27\O1_MF_1_388_6DJHMSCH_.ARC; already backed up 6 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_27\O1_MF_1_389_6DKDNSNX_.ARC; already backed up 6 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_27\O1_MF_1_390_6DKJOW98_.ARC; already backed up 6 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_27\O1_MF_1_391_6DKPBFO0_.ARC; already backed up 6 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_28\O1_MF_1_392_6DLCFW7Y_.ARC; already backed up 6 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_28\O1_MF_1_393_6DLO7W6O_.ARC; already backed up 6 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_28\O1_MF_1_394_6DLO8284_.ARC; already backed up 6 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_28\O1_MF_1_395_6DLOZJKC_.ARC; already backed up 6 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_28\O1_MF_1_396_6DLP1RR7_.ARC; already backed up 6 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_28\O1_MF_1_397_6DLP4C58_.ARC; already backed up 6 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_28\O1_MF_1_398_6DLQVS1F_.ARC; already backed up 5 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_28\O1_MF_1_399_6DLSG4J2_.ARC; already backed up 5 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_28\O1_MF_1_400_6DLVCC51_.ARC; already backed up 4 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_28\O1_MF_1_401_6DMPTGDZ_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_28\O1_MF_1_402_6DN53SQ7_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_28\O1_MF_1_403_6DNBPQDD_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_29\O1_MF_1_404_6DNXNSQK_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_29\O1_MF_1_405_6DORDFX3_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_29\O1_MF_1_406_6DPNJQGZ_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_29\O1_MF_1_407_6DPSL8RX_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_29\O1_MF_1_408_6DPZ407C_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_30\O1_MF_1_409_6DQQOW6P_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_30\O1_MF_1_410_6DR9ODQ0_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_30\O1_MF_1_411_6DS0YS5K_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_30\O1_MF_1_412_6DSG0WSO_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_30\O1_MF_1_413_6DSMWSGN_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_31\O1_MF_1_414_6DT12CKT_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_31\O1_MF_1_415_6DTVZHTY_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_31\O1_MF_1_416_6DVO555M_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_31\O1_MF_1_417_6DW2HM13_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_31\O1_MF_1_418_6DW8D7SM_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_01\O1_MF_1_419_6DX1O0J7_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_01\O1_MF_1_420_6DY4YX2O_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_01\O1_MF_1_421_6DYW68KR_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_01\O1_MF_1_422_6DYW7O4M_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_02\O1_MF_1_423_6DZKYR64_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_02\O1_MF_1_424_6F0O48W3_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_02\O1_MF_1_425_6F1JL1T8_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_02\O1_MF_1_426_6F1JOWCO_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_02\O1_MF_1_427_6F1THQ8F_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_03\O1_MF_1_428_6F28WM5V_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_03\O1_MF_1_429_6F2924RX_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_03\O1_MF_1_430_6F2B7XRK_.ARC; already backed up 2 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_03\O1_MF_1_431_6F2BGSRO_.ARC; already backed up 2 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_03\O1_MF_1_432_6F2BOOD3_.ARC; already backed up 2 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_03\O1_MF_1_433_6F2BV5OH_.ARC; already backed up 2 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_03\O1_MF_1_434_6F2FZC4D_.ARC; already backed up 1 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_03\O1_MF_1_435_6F2HGOOW_.ARC; already backed up 1 time(s)
skipping backup set key 1; already backed up 1 time(s)
skipping backup set key 2; already backed up 1 time(s)
skipping backup set key 3; already backed up 1 time(s)
skipping backup set key 4; already backed up 1 time(s)
skipping backup set key 5; already backed up 1 time(s)
skipping backup set key 6; already backed up 1 time(s)
skipping backup set key 13; already backed up 1 time(s)
skipping backup set key 14; already backed up 1 time(s)
skipping backup set key 15; already backed up 1 time(s)
skipping backup set key 16; already backed up 1 time(s)
skipping backup set key 17; already backed up 1 time(s)
skipping backup set key 22; already backed up 1 time(s)
skipping backup set key 23; already backed up 1 time(s)
skipping backup set key 24; already backed up 1 time(s)
skipping backup set key 25; already backed up 1 time(s)
skipping backup set key 30; already backed up 1 time(s)
skipping backup set key 31; already backed up 1 time(s)
channel ORA_SBT_TAPE_1: starting archived log backup set
channel ORA_SBT_TAPE_1: specifying archived log(s) in backup set
input archived log thread=1 sequence=436 RECID=433 STAMP=734075800
input archived log thread=1 sequence=437 RECID=434 STAMP=734076483
input archived log thread=1 sequence=438 RECID=435 STAMP=734076495
input archived log thread=1 sequence=439 RECID=436 STAMP=734076498
channel ORA_SBT_TAPE_1: starting piece 1 at 03-NOV-10
channel ORA_SBT_TAPE_1: finished piece 1 at 03-NOV-10
piece handle=1jls27la_1_1 tag=TAG20101103T060944 comment=API Version 2.0,MMS Version 10.3.0.2
channel ORA_SBT_TAPE_1: backup set complete, elapsed time: 00:01:55
Finished backup at 03-NOV-10
Starting Control File and SPFILE Autobackup at 03-NOV-10
piece handle=c-3880221928-20101103-08 comment=API Version 2.0,MMS Version 10.3.0.2
Finished Control File and SPFILE Autobackup at 03-NOV-10
RMAN> backup device type sbt_tape recovery files;
Starting backup at 03-NOV-10
using channel ORA_SBT_TAPE_1
specification does not match any datafile copy in the repository
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_27\O1_MF_1_387_6DHMHOHV_.ARC; already backed up 6 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_27\O1_MF_1_388_6DJHMSCH_.ARC; already backed up 6 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_27\O1_MF_1_389_6DKDNSNX_.ARC; already backed up 6 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_27\O1_MF_1_390_6DKJOW98_.ARC; already backed up 6 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_27\O1_MF_1_391_6DKPBFO0_.ARC; already backed up 6 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_28\O1_MF_1_392_6DLCFW7Y_.ARC; already backed up 6 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_28\O1_MF_1_393_6DLO7W6O_.ARC; already backed up 6 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_28\O1_MF_1_394_6DLO8284_.ARC; already backed up 6 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_28\O1_MF_1_395_6DLOZJKC_.ARC; already backed up 6 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_28\O1_MF_1_396_6DLP1RR7_.ARC; already backed up 6 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_28\O1_MF_1_397_6DLP4C58_.ARC; already backed up 6 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_28\O1_MF_1_398_6DLQVS1F_.ARC; already backed up 5 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_28\O1_MF_1_399_6DLSG4J2_.ARC; already backed up 5 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_28\O1_MF_1_400_6DLVCC51_.ARC; already backed up 4 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_28\O1_MF_1_401_6DMPTGDZ_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_28\O1_MF_1_402_6DN53SQ7_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_28\O1_MF_1_403_6DNBPQDD_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_29\O1_MF_1_404_6DNXNSQK_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_29\O1_MF_1_405_6DORDFX3_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_29\O1_MF_1_406_6DPNJQGZ_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_29\O1_MF_1_407_6DPSL8RX_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_29\O1_MF_1_408_6DPZ407C_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_30\O1_MF_1_409_6DQQOW6P_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_30\O1_MF_1_410_6DR9ODQ0_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_30\O1_MF_1_411_6DS0YS5K_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_30\O1_MF_1_412_6DSG0WSO_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_30\O1_MF_1_413_6DSMWSGN_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_31\O1_MF_1_414_6DT12CKT_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_31\O1_MF_1_415_6DTVZHTY_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_31\O1_MF_1_416_6DVO555M_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_31\O1_MF_1_417_6DW2HM13_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_31\O1_MF_1_418_6DW8D7SM_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_01\O1_MF_1_419_6DX1O0J7_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_01\O1_MF_1_420_6DY4YX2O_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_01\O1_MF_1_421_6DYW68KR_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_01\O1_MF_1_422_6DYW7O4M_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_02\O1_MF_1_423_6DZKYR64_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_02\O1_MF_1_424_6F0O48W3_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_02\O1_MF_1_425_6F1JL1T8_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_02\O1_MF_1_426_6F1JOWCO_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_02\O1_MF_1_427_6F1THQ8F_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_03\O1_MF_1_428_6F28WM5V_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_03\O1_MF_1_429_6F2924RX_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_03\O1_MF_1_430_6F2B7XRK_.ARC; already backed up 2 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_03\O1_MF_1_431_6F2BGSRO_.ARC; already backed up 2 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_03\O1_MF_1_432_6F2BOOD3_.ARC; already backed up 2 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_03\O1_MF_1_433_6F2BV5OH_.ARC; already backed up 2 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_03\O1_MF_1_434_6F2FZC4D_.ARC; already backed up 1 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_03\O1_MF_1_435_6F2HGOOW_.ARC; already backed up 1 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_03\O1_MF_1_436_6F2HZ807_.ARC; already backed up 1 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_03\O1_MF_1_437_6F2JNM41_.ARC; already backed up 1 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_03\O1_MF_1_438_6F2JNZBW_.ARC; already backed up 1 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_03\O1_MF_1_439_6F2JO2TJ_.ARC; already backed up 1 time(s)
skipping backup set key 1; already backed up 1 time(s)
skipping backup set key 2; already backed up 1 time(s)
skipping backup set key 3; already backed up 1 time(s)
skipping backup set key 4; already backed up 1 time(s)
skipping backup set key 5; already backed up 1 time(s)
skipping backup set key 6; already backed up 1 time(s)
skipping backup set key 13; already backed up 1 time(s)
skipping backup set key 14; already backed up 1 time(s)
skipping backup set key 15; already backed up 1 time(s)
skipping backup set key 16; already backed up 1 time(s)
skipping backup set key 17; already backed up 1 time(s)
skipping backup set key 22; already backed up 1 time(s)
skipping backup set key 23; already backed up 1 time(s)
skipping backup set key 24; already backed up 1 time(s)
skipping backup set key 25; already backed up 1 time(s)
skipping backup set key 30; already backed up 1 time(s)
skipping backup set key 31; already backed up 1 time(s)
Finished backup at 03-NOV-10
RMAN>
RMAN>
RMAN> exit
Recovery Manager complete.
C:\>rman target /
Recovery Manager: Release 11.1.0.7.0 - Production on Wed Nov 3 06:15:08 2010
Copyright (c) 1982, 2007, Oracle. All rights reserved.
connected to target database: OSBTEST (DBID=3880221928, not open)
RMAN> restore datafile 4;
Starting restore at 03-NOV-10
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=156 device type=DISK
allocated channel: ORA_SBT_TAPE_1
channel ORA_SBT_TAPE_1: SID=151 device type=SBT_TAPE
channel ORA_SBT_TAPE_1: Oracle Secure Backup
channel ORA_DISK_1: starting datafile backup set restore
channel ORA_DISK_1: specifying datafile(s) to restore from backup set
channel ORA_DISK_1: restoring datafile 00004 to C:\ORACLE\ORADATA\OSBTEST\USERS01.DBF
channel ORA_DISK_1: reading from backup piece C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\BACKUPSET\OSBTEST-20101103-16LS21MH_1_1
channel ORA_DISK_1: ORA-19870: error while restoring backup piece C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\BACKUPSET\OSBTEST-20101103-16LS21MH_1_1
ORA-19505: failed to identify file "C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\BACKUPSET\OSBTEST-20101103-16LS21MH_1_1"
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.
channel ORA_DISK_1: failover to duplicate backup on device SBT_TAPE
channel ORA_SBT_TAPE_1: starting datafile backup set restore
channel ORA_SBT_TAPE_1: specifying datafile(s) to restore from backup set
channel ORA_SBT_TAPE_1: restoring datafile 00004 to C:\ORACLE\ORADATA\OSBTEST\USERS01.DBF
channel ORA_SBT_TAPE_1: reading from backup piece 16ls21mh_1_2
channel ORA_SBT_TAPE_1: piece handle=16ls21mh_1_2 tag=TAG20101103T042801
channel ORA_SBT_TAPE_1: restored backup piece 1
channel ORA_SBT_TAPE_1: restore complete, elapsed time: 00:01:45
Finished restore at 03-NOV-10
RMAN>
RMAN>
RMAN> recover datafile 4;
Starting recover at 03-NOV-10
using channel ORA_DISK_1
using channel ORA_SBT_TAPE_1
channel ORA_DISK_1: starting incremental datafile backup set restore
channel ORA_DISK_1: specifying datafile(s) to restore from backup set
destination for restore of datafile 00004: C:\ORACLE\ORADATA\OSBTEST\USERS01.DBF
channel ORA_DISK_1: reading from backup piece C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\BACKUPSET\OSBTEST-20101103-1ELS259A_1_1
channel ORA_DISK_1: ORA-19870: error while restoring backup piece C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\BACKUPSET\OSBTEST-20101103-1ELS259A_1_1
ORA-19505: failed to identify file "C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\BACKUPSET\OSBTEST-20101103-1ELS259A_1_1"
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.
channel ORA_DISK_1: failover to duplicate backup on device SBT_TAPE
channel ORA_SBT_TAPE_1: starting incremental datafile backup set restore
channel ORA_SBT_TAPE_1: specifying datafile(s) to restore from backup set
destination for restore of datafile 00004: C:\ORACLE\ORADATA\OSBTEST\USERS01.DBF
channel ORA_SBT_TAPE_1: reading from backup piece 1els259a_1_2
channel ORA_SBT_TAPE_1: piece handle=1els259a_1_2 tag=TAG20101103T052913
channel ORA_SBT_TAPE_1: restored backup piece 1
channel ORA_SBT_TAPE_1: restore complete, elapsed time: 00:01:05
starting media recovery
archived log for thread 1 with sequence 440 is already on disk as file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_03\O1_MF_1_440_6F2K0239_.ARC
channel ORA_SBT_TAPE_1: starting archived log restore to default destination
channel ORA_SBT_TAPE_1: restoring archived log
archived log thread=1 sequence=435
channel ORA_SBT_TAPE_1: reading from backup piece 1hls26c7_1_1
channel ORA_SBT_TAPE_1: piece handle=1hls26c7_1_1 tag=TAG20101103T054751
channel ORA_SBT_TAPE_1: restored backup piece 1
channel ORA_SBT_TAPE_1: restore complete, elapsed time: 00:01:05
archived log file name=C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_03\O1_MF_1_435_6F2KCN7F_.ARC thread=1 sequence=435
channel default: deleting archived log(s)
archived log file name=C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_03\O1_MF_1_435_6F2KCN7F_.ARC RECID=438 STAMP=734077220
channel ORA_SBT_TAPE_1: starting archived log restore to default destination
channel ORA_SBT_TAPE_1: restoring archived log
archived log thread=1 sequence=436
channel ORA_SBT_TAPE_1: restoring archived log
archived log thread=1 sequence=437
channel ORA_SBT_TAPE_1: restoring archived log
archived log thread=1 sequence=438
channel ORA_SBT_TAPE_1: restoring archived log
archived log thread=1 sequence=439
channel ORA_SBT_TAPE_1: reading from backup piece 1jls27la_1_1
channel ORA_SBT_TAPE_1: piece handle=1jls27la_1_1 tag=TAG20101103T060944
channel ORA_SBT_TAPE_1: restored backup piece 1
channel ORA_SBT_TAPE_1: restore complete, elapsed time: 00:01:05
archived log file name=C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_03\O1_MF_1_436_6F2KFOXG_.ARC thread=1 sequence=436
channel default: deleting archived log(s)
archived log file name=C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_03\O1_MF_1_436_6F2KFOXG_.ARC RECID=439 STAMP=734077286
archived log file name=C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_03\O1_MF_1_437_6F2KFOS1_.ARC thread=1 sequence=437
channel default: deleting archived log(s)
archived log file name=C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_03\O1_MF_1_437_6F2KFOS1_.ARC RECID=442 STAMP=734077287
archived log file name=C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_03\O1_MF_1_438_6F2KFPJ8_.ARC thread=1 sequence=438
channel default: deleting archived log(s)
archived log file name=C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_03\O1_MF_1_438_6F2KFPJ8_.ARC RECID=441 STAMP=734077286
channel default: deleting archived log(s)
archived log file name=C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_03\O1_MF_1_439_6F2KFP0N_.ARC RECID=440 STAMP=734077286
media recovery complete, elapsed time: 00:00:03
Finished recover at 03-NOV-10
RMAN>
RMAN>
RMAN>
RMAN>
RMAN> backup device type sbt_tape recovery files;
Starting backup at 03-NOV-10
released channel: ORA_DISK_1
using channel ORA_SBT_TAPE_1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of backup command at 11/03/2010 06:29:28
RMAN-20021: database not set
RMAN> exit
Recovery Manager complete.
C:\>rman target /
Recovery Manager: Release 11.1.0.7.0 - Production on Wed Nov 3 06:29:31 2010
Copyright (c) 1982, 2007, Oracle. All rights reserved.
connected to target database: OSBTEST (DBID=3880221928)
RMAN> backup device type sbt_tape recovery files;
Starting backup at 03-NOV-10
using target database control file instead of recovery catalog
allocated channel: ORA_SBT_TAPE_1
channel ORA_SBT_TAPE_1: SID=152 device type=SBT_TAPE
channel ORA_SBT_TAPE_1: Oracle Secure Backup
specification does not match any datafile copy in the repository
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_27\O1_MF_1_387_6DHMHOHV_.ARC; already backed up 6 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_27\O1_MF_1_388_6DJHMSCH_.ARC; already backed up 6 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_27\O1_MF_1_389_6DKDNSNX_.ARC; already backed up 6 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_27\O1_MF_1_390_6DKJOW98_.ARC; already backed up 6 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_27\O1_MF_1_391_6DKPBFO0_.ARC; already backed up 6 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_28\O1_MF_1_392_6DLCFW7Y_.ARC; already backed up 6 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_28\O1_MF_1_393_6DLO7W6O_.ARC; already backed up 6 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_28\O1_MF_1_394_6DLO8284_.ARC; already backed up 6 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_28\O1_MF_1_395_6DLOZJKC_.ARC; already backed up 6 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_28\O1_MF_1_396_6DLP1RR7_.ARC; already backed up 6 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_28\O1_MF_1_397_6DLP4C58_.ARC; already backed up 6 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_28\O1_MF_1_398_6DLQVS1F_.ARC; already backed up 5 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_28\O1_MF_1_399_6DLSG4J2_.ARC; already backed up 5 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_28\O1_MF_1_400_6DLVCC51_.ARC; already backed up 4 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_28\O1_MF_1_401_6DMPTGDZ_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_28\O1_MF_1_402_6DN53SQ7_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_28\O1_MF_1_403_6DNBPQDD_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_29\O1_MF_1_404_6DNXNSQK_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_29\O1_MF_1_405_6DORDFX3_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_29\O1_MF_1_406_6DPNJQGZ_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_29\O1_MF_1_407_6DPSL8RX_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_29\O1_MF_1_408_6DPZ407C_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_30\O1_MF_1_409_6DQQOW6P_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_30\O1_MF_1_410_6DR9ODQ0_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_30\O1_MF_1_411_6DS0YS5K_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_30\O1_MF_1_412_6DSG0WSO_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_30\O1_MF_1_413_6DSMWSGN_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_31\O1_MF_1_414_6DT12CKT_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_31\O1_MF_1_415_6DTVZHTY_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_31\O1_MF_1_416_6DVO555M_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_31\O1_MF_1_417_6DW2HM13_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_10_31\O1_MF_1_418_6DW8D7SM_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_01\O1_MF_1_419_6DX1O0J7_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_01\O1_MF_1_420_6DY4YX2O_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_01\O1_MF_1_421_6DYW68KR_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_01\O1_MF_1_422_6DYW7O4M_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_02\O1_MF_1_423_6DZKYR64_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_02\O1_MF_1_424_6F0O48W3_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_02\O1_MF_1_425_6F1JL1T8_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_02\O1_MF_1_426_6F1JOWCO_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_02\O1_MF_1_427_6F1THQ8F_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_03\O1_MF_1_428_6F28WM5V_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_03\O1_MF_1_429_6F2924RX_.ARC; already backed up 3 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_03\O1_MF_1_430_6F2B7XRK_.ARC; already backed up 2 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_03\O1_MF_1_431_6F2BGSRO_.ARC; already backed up 2 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_03\O1_MF_1_432_6F2BOOD3_.ARC; already backed up 2 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_03\O1_MF_1_433_6F2BV5OH_.ARC; already backed up 2 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_03\O1_MF_1_434_6F2FZC4D_.ARC; already backed up 1 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_03\O1_MF_1_435_6F2HGOOW_.ARC; already backed up 1 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_03\O1_MF_1_436_6F2HZ807_.ARC; already backed up 1 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_03\O1_MF_1_437_6F2JNM41_.ARC; already backed up 1 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_03\O1_MF_1_438_6F2JNZBW_.ARC; already backed up 1 time(s)
skipping archived log file C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_03\O1_MF_1_439_6F2JO2TJ_.ARC; already backed up 1 time(s)
skipping backup set key 1; already backed up 1 time(s)
skipping backup set key 2; already backed up 1 time(s)
skipping backup set key 3; already backed up 1 time(s)
skipping backup set key 4; already backed up 1 time(s)
skipping backup set key 5; already backed up 1 time(s)
skipping backup set key 6; already backed up 1 time(s)
skipping backup set key 13; already backed up 1 time(s)
skipping backup set key 14; already backed up 1 time(s)
skipping backup set key 15; already backed up 1 time(s)
skipping backup set key 16; already backed up 1 time(s)
skipping backup set key 17; already backed up 1 time(s)
skipping backup set key 22; already backed up 1 time(s)
skipping backup set key 23; already backed up 1 time(s)
skipping backup set key 24; already backed up 1 time(s)
skipping backup set key 25; already backed up 1 time(s)
skipping backup set key 30; already backed up 1 time(s)
skipping backup set key 31; already backed up 1 time(s)
channel ORA_SBT_TAPE_1: starting archived log backup set
channel ORA_SBT_TAPE_1: specifying archived log(s) in backup set
input archived log thread=1 sequence=440 RECID=437 STAMP=734076850
channel ORA_SBT_TAPE_1: starting piece 1 at 03-NOV-10
channel ORA_SBT_TAPE_1: finished piece 1 at 03-NOV-10
piece handle=1lls28qf_1_1 tag=TAG20101103T062935 comment=API Version 2.0,MMS Version 10.3.0.2
channel ORA_SBT_TAPE_1: backup set complete, elapsed time: 00:02:15
Finished backup at 03-NOV-10
Starting Control File and SPFILE Autobackup at 03-NOV-10
piece handle=c-3880221928-20101103-09 comment=API Version 2.0,MMS Version 10.3.0.2
Finished Control File and SPFILE Autobackup at 03-NOV-10
RMAN>
ALERT LOG
===========================================
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 2
Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
Autotune of undo retention is turned on.
IMODE=BR
ILAT =18
LICENSE_MAX_USERS = 0
SYS auditing is disabled
Starting up ORACLE RDBMS Version: 11.1.0.7.0.
Using parameter settings in server-side spfile C:\APP\ORACLE\PRODUCT\11.1.0\DB_1\DATABASE\SPFILEOSBTEST.ORA
System parameters with non-default values:
processes = 150
resource_limit = TRUE
nls_territory = "PHILIPPINES"
memory_target = 820M
control_files = "C:\ORACLE\ORADATA\OSBTEST\CONTROL01.CTL"
control_files = "C:\ORACLE\ORADATA\OSBTEST\CONTROL02.CTL"
control_files = "C:\ORACLE\ORADATA\OSBTEST\CONTROL03.CTL"
db_block_size = 8192
compatible = "11.1.0.0.0"
log_archive_format = "ARC%S_%R.%T"
db_recovery_file_dest = "\oracle\flash_recovery_area"
db_recovery_file_dest_size= 40000M
undo_tablespace = "UNDOTBS1"
remote_login_passwordfile= "EXCLUSIVE"
db_domain = "epassport.ph"
dispatchers = "(PROTOCOL=TCP) (SERVICE=osbtestXDB)"
audit_file_dest = "C:\APP\ORACLE\ADMIN\OSBTEST\ADUMP"
audit_trail = "NONE"
db_name = "osbtest"
open_cursors = 300
diagnostic_dest = "C:\APP\ORACLE"
Wed Nov 03 05:56:30 2010
PMON started with pid=2, OS id=77428
Wed Nov 03 05:56:30 2010
VKTM started with pid=3, OS id=78532 at elevated priority
Wed Nov 03 05:56:30 2010
DIAG started with pid=4, OS id=76744
VKTM running at (20)ms precision
Wed Nov 03 05:56:30 2010
DBRM started with pid=5, OS id=72456
Wed Nov 03 05:56:30 2010
PSP0 started with pid=6, OS id=75816
Wed Nov 03 05:56:30 2010
DIA0 started with pid=7, OS id=77752
Wed Nov 03 05:56:30 2010
MMAN started with pid=8, OS id=75856
Wed Nov 03 05:56:30 2010
DBW0 started with pid=9, OS id=78564
Wed Nov 03 05:56:30 2010
LGWR started with pid=10, OS id=74368
Wed Nov 03 05:56:30 2010
CKPT started with pid=11, OS id=76372
Wed Nov 03 05:56:30 2010
SMON started with pid=12, OS id=77512
Wed Nov 03 05:56:30 2010
RECO started with pid=13, OS id=78396
Wed Nov 03 05:56:30 2010
MMON started with pid=14, OS id=79724
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
starting up 1 shared server(s) ...
ORACLE_BASE from environment = C:\app\oracle
Wed Nov 03 05:56:30 2010
ALTER DATABASE MOUNT
Wed Nov 03 05:56:30 2010
MMNL started with pid=15, OS id=73768
Wed Nov 03 05:56:34 2010
Sweep Incident[6004]: completed
Sweep Incident[5155]: completed
Sweep Incident[5154]: completed
Setting recovery target incarnation to 2
Successful mount of redo thread 1, with mount id 3888072718
Database mounted in Exclusive Mode
Lost write protection disabled
Completed: ALTER DATABASE MOUNT
Wed Nov 03 05:56:35 2010
ALTER DATABASE OPEN
Sweep Incident[5153]: completed
Beginning crash recovery of 1 threads
parallel recovery started with 7 processes
Started redo scan
Completed redo scan
8 redo blocks read, 3 data blocks need recovery
Started redo application at
Thread 1: logseq 436, block 372
Recovery of Online Redo Log: Thread 1 Group 1 Seq 436 Reading mem 0
Mem# 0: C:\ORACLE\ORADATA\OSBTEST\REDO01.LOG
Completed redo application of 0.00MB
Completed crash recovery at
Thread 1: logseq 436, block 380, scn 12289793
3 data blocks read, 3 data blocks written, 8 redo blocks read
LGWR: STARTING ARCH PROCESSES
Wed Nov 03 05:56:38 2010
ARC0 started with pid=21, OS id=77892
Wed Nov 03 05:56:38 2010
ARC1 started with pid=27, OS id=79792
Wed Nov 03 05:56:38 2010
ARC2 started with pid=28, OS id=78260
ARC0: Archival started
Wed Nov 03 05:56:38 2010
ARC3 started with pid=29, OS id=79212
ARC1: Archival started
ARC2: Archival started
ARC3: Archival started
LGWR: STARTING ARCH PROCESSES COMPLETE
Thread 1 advanced to log sequence 437 (thread open)
Thread 1 opened at log sequence 437
ARC0: Becoming the 'no FAL' ARCH
Current log# 2 seq# 437 mem# 0: C:\ORACLE\ORADATA\OSBTEST\REDO02.LOG
ARC0: Becoming the 'no SRL' ARCH
Successful open of redo thread 1
ARC3: Becoming the heartbeat ARCH
MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
SMON: enabling cache recovery
db_recovery_file_dest_size of 40000 MB is 44.23% used. This is a
user-specified limit on the amount of space that will be used by this
database for recovery-related files, and does not reflect the amount of
space available in the underlying filesystem or ASM diskgroup.
Successfully onlined Undo Tablespace 2.
Verifying file header compatibility for 11g tablespace encryption..
Verifying 11g file header compatibility for tablespace encryption completed
SMON: enabling tx recovery
Database Characterset is AL32UTF8
Opening with internal Resource Manager plan
Starting background process FBDA
Wed Nov 03 05:56:41 2010
FBDA started with pid=30, OS id=77832
replication_dependency_tracking turned off (no async multimaster replication found)
Starting background process QMNC
Wed Nov 03 05:56:42 2010
QMNC started with pid=31, OS id=77904
Wed Nov 03 05:56:56 2010
Completed: ALTER DATABASE OPEN
Stopping background process FBDA
Shutting down instance: further logons disabled
Stopping background process QMNC
Wed Nov 03 05:57:06 2010
Stopping background process MMNL
Stopping background process MMON
Shutting down instance (immediate)
License high water mark = 8
Waiting for dispatcher 'D000' to shutdown
All dispatchers and shared servers shutdown
ALTER DATABASE CLOSE NORMAL
Wed Nov 03 05:57:10 2010
SMON: disabling tx recovery
SMON: disabling cache recovery
Wed Nov 03 05:57:11 2010
Shutting down archive processes
Archiving is disabled
Wed Nov 03 05:57:11 2010
ARCH shutting down
Wed Nov 03 05:57:11 2010
ARCH shutting down
ARC0: Archival stopped
ARC1: Archival stopped
Wed Nov 03 05:57:11 2010
ARCH shutting down
ARC2: Archival stopped
Wed Nov 03 05:57:11 2010
ARCH shutting down
ARC3: Archival stopped
Thread 1 closed at log sequence 437
Successful close of redo thread 1
Completed: ALTER DATABASE CLOSE NORMAL
ALTER DATABASE DISMOUNT
Completed: ALTER DATABASE DISMOUNT
ARCH: Archival disabled due to shutdown: 1089
Shutting down archive processes
Archiving is disabled
Archive process shutdown avoided: 0 active
ARCH: Archival disabled due to shutdown: 1089
Shutting down archive processes
Wed Nov 03 05:57:16 2010
Stopping background process VKTM:
Archiving is disabled
Archive process shutdown avoided: 0 active
Wed Nov 03 05:57:18 2010
Instance shutdown complete
Wed Nov 03 05:59:32 2010
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 2
Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
Autotune of undo retention is turned on.
IMODE=BR
ILAT =18
LICENSE_MAX_USERS = 0
SYS auditing is disabled
Starting up ORACLE RDBMS Version: 11.1.0.7.0.
Using parameter settings in server-side spfile C:\APP\ORACLE\PRODUCT\11.1.0\DB_1\DATABASE\SPFILEOSBTEST.ORA
System parameters with non-default values:
processes = 150
resource_limit = TRUE
nls_territory = "PHILIPPINES"
memory_target = 820M
control_files = "C:\ORACLE\ORADATA\OSBTEST\CONTROL01.CTL"
control_files = "C:\ORACLE\ORADATA\OSBTEST\CONTROL02.CTL"
control_files = "C:\ORACLE\ORADATA\OSBTEST\CONTROL03.CTL"
db_block_size = 8192
compatible = "11.1.0.0.0"
log_archive_format = "ARC%S_%R.%T"
db_recovery_file_dest = "\oracle\flash_recovery_area"
db_recovery_file_dest_size= 40000M
undo_tablespace = "UNDOTBS1"
remote_login_passwordfile= "EXCLUSIVE"
db_domain = "epassport.ph"
dispatchers = "(PROTOCOL=TCP) (SERVICE=osbtestXDB)"
audit_file_dest = "C:\APP\ORACLE\ADMIN\OSBTEST\ADUMP"
audit_trail = "NONE"
db_name = "osbtest"
open_cursors = 300
diagnostic_dest = "C:\APP\ORACLE"
Wed Nov 03 05:59:32 2010
PMON started with pid=2, OS id=78020
Wed Nov 03 05:59:32 2010
VKTM started with pid=3, OS id=77528 at elevated priority
Wed Nov 03 05:59:32 2010
DIAG started with pid=4, OS id=79056
VKTM running at (20)ms precision
Wed Nov 03 05:59:32 2010
DBRM started with pid=5, OS id=78224
Wed Nov 03 05:59:32 2010
PSP0 started with pid=6, OS id=79316
Wed Nov 03 05:59:32 2010
DIA0 started with pid=7, OS id=76608
Wed Nov 03 05:59:32 2010
MMAN started with pid=8, OS id=78704
Wed Nov 03 05:59:33 2010
DBW0 started with pid=9, OS id=79276
Wed Nov 03 05:59:33 2010
LGWR started with pid=10, OS id=78604
Wed Nov 03 05:59:33 2010
CKPT started with pid=11, OS id=79412
Wed Nov 03 05:59:33 2010
SMON started with pid=12, OS id=77836
Wed Nov 03 05:59:33 2010
RECO started with pid=13, OS id=78544
Wed Nov 03 05:59:33 2010
MMON started with pid=14, OS id=77560
Wed Nov 03 05:59:33 2010
MMNL started with pid=15, OS id=79556
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
starting up 1 shared server(s) ...
ORACLE_BASE from environment = C:\app\oracle
Wed Nov 03 05:59:33 2010
ALTER DATABASE MOUNT
Setting recovery target incarnation to 2
Successful mount of redo thread 1, with mount id 3888089029
Database mounted in Exclusive Mode
Lost write protection disabled
Completed: ALTER DATABASE MOUNT
Wed Nov 03 05:59:37 2010
ALTER DATABASE OPEN
Errors in file c:\app\oracle\diag\rdbms\osbtest\osbtest\trace\osbtest_dbw0_79276.trc:
ORA-01157: cannot identify/lock data file 4 - see DBWR trace file
ORA-01110: data file 4: 'C:\ORACLE\ORADATA\OSBTEST\USERS01.DBF'
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.
ORA-1157 signalled during: ALTER DATABASE OPEN...
Wed Nov 03 05:59:39 2010
Checker run found 1 new persistent data failures
Wed Nov 03 06:01:14 2010
ALTER DATABASE RECOVER datafile 4
Media Recovery Start
Fast Parallel Media Recovery NOT enabled
Wed Nov 03 06:01:14 2010
Errors in file c:\app\oracle\diag\rdbms\osbtest\osbtest\trace\osbtest_dbw0_79276.trc:
ORA-01157: cannot identify/lock data file 4 - see DBWR trace file
ORA-01110: data file 4: 'C:\ORACLE\ORADATA\OSBTEST\USERS01.DBF'
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.
Media Recovery failed with error 1110
ORA-283 signalled during: ALTER DATABASE RECOVER datafile 4 ...
Wed Nov 03 06:03:34 2010
Full restore complete of datafile 4 C:\ORACLE\ORADATA\OSBTEST\USERS01.DBF. Elapsed time: 0:00:01
checkpoint is 12264222
Wed Nov 03 06:05:06 2010
Incremental restore complete of datafile 4 C:\ORACLE\ORADATA\OSBTEST\USERS01.DBF
checkpoint is 12268354
Wed Nov 03 06:05:21 2010
alter database recover datafile list clear
Completed: alter database recover datafile list clear
alter database recover if needed
datafile 4
Media Recovery Start
Fast Parallel Media Recovery NOT enabled
parallel recovery started with 7 processes
Recovery of Online Redo Log: Thread 1 Group 3 Seq 435 Reading mem 0
Mem# 0: C:\ORACLE\ORADATA\OSBTEST\REDO03.LOG
Recovery of Online Redo Log: Thread 1 Group 1 Seq 436 Reading mem 0
Mem# 0: C:\ORACLE\ORADATA\OSBTEST\REDO01.LOG
Recovery of Online Redo Log: Thread 1 Group 2 Seq 437 Reading mem 0
Mem# 0: C:\ORACLE\ORADATA\OSBTEST\REDO02.LOG
Completed: alter database recover if needed
datafile 4
Wed Nov 03 06:05:43 2010
alter database open
Wed Nov 03 06:05:43 2010
LGWR: STARTING ARCH PROCESSES
Wed Nov 03 06:05:43 2010
ARC0 started with pid=30, OS id=78636
Wed Nov 03 06:05:43 2010
ARC1 started with pid=31, OS id=78152
Wed Nov 03 06:05:43 2010
ARC2 started with pid=32, OS id=79756
ARC0: Archival started
Wed Nov 03 06:05:43 2010
ARC3 started with pid=33, OS id=78272
ARC1: Archival started
ARC2: Archival started
ARC3: Archival started
LGWR: STARTING ARCH PROCESSES COMPLETE
Thread 1 opened at log sequence 437
ARC2: Becoming the 'no FAL' ARCH
Current log# 2 seq# 437 mem# 0: C:\ORACLE\ORADATA\OSBTEST\REDO02.LOG
ARC2: Becoming the 'no SRL' ARCH
Successful open of redo thread 1
ARC3: Becoming the heartbeat ARCH
MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
Wed Nov 03 06:05:44 2010
SMON: enabling cache recovery
Successfully onlined Undo Tablespace 2.
Verifying file header compatibility for 11g tablespace encryption..
Verifying 11g file header compatibility for tablespace encryption completed
SMON: enabling tx recovery
Database Characterset is AL32UTF8
Opening with internal Resource Manager plan
Starting background process FBDA
Wed Nov 03 06:05:45 2010
FBDA started with pid=34, OS id=79520
replication_dependency_tracking turned off (no async multimaster replication found)
Starting background process QMNC
Wed Nov 03 06:05:46 2010
QMNC started with pid=35, OS id=78484
Wed Nov 03 06:05:50 2010
db_recovery_file_dest_size of 40000 MB is 44.23% used. This is a
user-specified limit on the amount of space that will be used by this
database for recovery-related files, and does not reflect the amount of
space available in the underlying filesystem or ASM diskgroup.
Wed Nov 03 06:06:00 2010
Completed: alter database open
Wed Nov 03 06:08:02 2010
Thread 1 advanced to log sequence 438 (LGWR switch)
Current log# 3 seq# 438 mem# 0: C:\ORACLE\ORADATA\OSBTEST\REDO03.LOG
Wed Nov 03 06:08:15 2010
Thread 1 advanced to log sequence 439 (LGWR switch)
Current log# 1 seq# 439 mem# 0: C:\ORACLE\ORADATA\OSBTEST\REDO01.LOG
Thread 1 cannot allocate new log, sequence 440
Checkpoint not complete
Current log# 1 seq# 439 mem# 0: C:\ORACLE\ORADATA\OSBTEST\REDO01.LOG
Thread 1 advanced to log sequence 440 (LGWR switch)
Current log# 2 seq# 440 mem# 0: C:\ORACLE\ORADATA\OSBTEST\REDO02.LOG
Wed Nov 03 06:09:39 2010
Starting background process CJQ0
Wed Nov 03 06:09:39 2010
CJQ0 started with pid=22, OS id=77120
Wed Nov 03 06:10:48 2010
Starting background process SMCO
Wed Nov 03 06:10:48 2010
SMCO started with pid=23, OS id=79416
Wed Nov 03 06:13:38 2010
Shutting down instance (abort)
License high water mark = 12
USER (ospid: 78892): terminating the instance
Instance terminated by USER, pid = 78892
Wed Nov 03 06:13:41 2010
Instance shutdown complete
Wed Nov 03 06:14:00 2010
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 2
Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
Autotune of undo retention is turned on.
IMODE=BR
ILAT =18
LICENSE_MAX_USERS = 0
SYS auditing is disabled
Starting up ORACLE RDBMS Version: 11.1.0.7.0.
Using parameter settings in server-side spfile C:\APP\ORACLE\PRODUCT\11.1.0\DB_1\DATABASE\SPFILEOSBTEST.ORA
System parameters with non-default values:
processes = 150
resource_limit = TRUE
nls_territory = "PHILIPPINES"
memory_target = 820M
control_files = "C:\ORACLE\ORADATA\OSBTEST\CONTROL01.CTL"
control_files = "C:\ORACLE\ORADATA\OSBTEST\CONTROL02.CTL"
control_files = "C:\ORACLE\ORADATA\OSBTEST\CONTROL03.CTL"
db_block_size = 8192
compatible = "11.1.0.0.0"
log_archive_format = "ARC%S_%R.%T"
db_recovery_file_dest = "\oracle\flash_recovery_area"
db_recovery_file_dest_size= 40000M
undo_tablespace = "UNDOTBS1"
remote_login_passwordfile= "EXCLUSIVE"
db_domain = "epassport.ph"
dispatchers = "(PROTOCOL=TCP) (SERVICE=osbtestXDB)"
audit_file_dest = "C:\APP\ORACLE\ADMIN\OSBTEST\ADUMP"
audit_trail = "NONE"
db_name = "osbtest"
open_cursors = 300
diagnostic_dest = "C:\APP\ORACLE"
Wed Nov 03 06:14:00 2010
PMON started with pid=2, OS id=79700
Wed Nov 03 06:14:00 2010
VKTM started with pid=3, OS id=80292 at elevated priority
Wed Nov 03 06:14:00 2010
DIAG started with pid=4, OS id=77928
Wed Nov 03 06:14:00 2010
DBRM started with pid=5, OS id=79248
VKTM running at (20)ms precision
Wed Nov 03 06:14:00 2010
PSP0 started with pid=6, OS id=78088
Wed Nov 03 06:14:00 2010
DIA0 started with pid=7, OS id=79172
Wed Nov 03 06:14:00 2010
MMAN started with pid=8, OS id=80988
Wed Nov 03 06:14:00 2010
DBW0 started with pid=9, OS id=74844
Wed Nov 03 06:14:01 2010
LGWR started with pid=10, OS id=67128
Wed Nov 03 06:14:01 2010
CKPT started with pid=11, OS id=80376
Wed Nov 03 06:14:01 2010
SMON started with pid=12, OS id=78936
Wed Nov 03 06:14:01 2010
RECO started with pid=13, OS id=76408
Wed Nov 03 06:14:01 2010
MMON started with pid=14, OS id=80164
Wed Nov 03 06:14:01 2010
MMNL started with pid=15, OS id=79160
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
starting up 1 shared server(s) ...
ORACLE_BASE from environment = C:\app\oracle
Wed Nov 03 06:14:01 2010
ALTER DATABASE MOUNT
Setting recovery target incarnation to 2
Successful mount of redo thread 1, with mount id 3888103977
Database mounted in Exclusive Mode
Lost write protection disabled
Completed: ALTER DATABASE MOUNT
Wed Nov 03 06:14:05 2010
ALTER DATABASE OPEN
Beginning crash recovery of 1 threads
parallel recovery started with 7 processes
Started redo scan
Completed redo scan
477 redo blocks read, 144 data blocks need recovery
Started redo application at
Thread 1: logseq 440, block 3
Recovery of Online Redo Log: Thread 1 Group 2 Seq 440 Reading mem 0
Mem# 0: C:\ORACLE\ORADATA\OSBTEST\REDO02.LOG
Completed redo application of 0.20MB
Completed crash recovery at
Thread 1: logseq 440, block 480, scn 12311039
144 data blocks read, 144 data blocks written, 477 redo blocks read
LGWR: STARTING ARCH PROCESSES
Wed Nov 03 06:14:08 2010
ARC0 started with pid=26, OS id=80964
Wed Nov 03 06:14:08 2010
ARC1 started with pid=27, OS id=80512
Wed Nov 03 06:14:08 2010
ARC2 started with pid=28, OS id=80416
ARC0: Archival started
Wed Nov 03 06:14:08 2010
ARC3 started with pid=29, OS id=81440
ARC1: Archival started
ARC2: Archival started
ARC3: Archival started
LGWR: STARTING ARCH PROCESSES COMPLETE
Thread 1 advanced to log sequence 441 (thread open)
Thread 1 opened at log sequence 441
ARC1: Becoming the 'no FAL' ARCH
Current log# 3 seq# 441 mem# 0: C:\ORACLE\ORADATA\OSBTEST\REDO03.LOG
ARC1: Becoming the 'no SRL' ARCH
Successful open of redo thread 1
ARC0: Becoming the heartbeat ARCH
MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
SMON: enabling cache recovery
db_recovery_file_dest_size of 40000 MB is 44.23% used. This is a
user-specified limit on the amount of space that will be used by this
database for recovery-related files, and does not reflect the amount of
space available in the underlying filesystem or ASM diskgroup.
Successfully onlined Undo Tablespace 2.
Verifying file header compatibility for 11g tablespace encryption..
Verifying 11g file header compatibility for tablespace encryption completed
SMON: enabling tx recovery
Database Characterset is AL32UTF8
Opening with internal Resource Manager plan
Starting background process FBDA
Wed Nov 03 06:14:11 2010
FBDA started with pid=30, OS id=79456
replication_dependency_tracking turned off (no async multimaster replication found)
Starting background process QMNC
Wed Nov 03 06:14:12 2010
QMNC started with pid=31, OS id=81280
Wed Nov 03 06:14:25 2010
Completed: ALTER DATABASE OPEN
Stopping background process FBDA
Shutting down instance: further logons disabled
Stopping background process QMNC
Stopping background process MMNL
Wed Nov 03 06:14:36 2010
Stopping background process MMON
Shutting down instance (immediate)
License high water mark = 8
Waiting for dispatcher 'D000' to shutdown
All dispatchers and shared servers shutdown
ALTER DATABASE CLOSE NORMAL
Wed Nov 03 06:14:39 2010
SMON: disabling tx recovery
SMON: disabling cache recovery
Wed Nov 03 06:14:39 2010
Shutting down archive processes
Archiving is disabled
Wed Nov 03 06:14:39 2010
ARCH shutting down
ARC3: Archival stopped
Wed Nov 03 06:14:39 2010
ARCH shutting down
ARC0: Archival stopped
Wed Nov 03 06:14:39 2010
ARCH shutting down
ARC1: Archival stopped
Wed Nov 03 06:14:39 2010
ARCH shutting down
ARC2: Archival stopped
Thread 1 closed at log sequence 441
Successful close of redo thread 1
Completed: ALTER DATABASE CLOSE NORMAL
ALTER DATABASE DISMOUNT
Completed: ALTER DATABASE DISMOUNT
ARCH: Archival disabled due to shutdown: 1089
Shutting down archive processes
Archiving is disabled
Archive process shutdown avoided: 0 active
ARCH: Archival disabled due to shutdown: 1089
Shutting down archive processes
Archiving is disabled
Wed Nov 03 06:14:45 2010
Stopping background process VKTM:
Archive process shutdown avoided: 0 active
Wed Nov 03 06:14:47 2010
Instance shutdown complete
Wed Nov 03 06:14:54 2010
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 2
Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
Autotune of undo retention is turned on.
IMODE=BR
ILAT =18
LICENSE_MAX_USERS = 0
SYS auditing is disabled
Starting up ORACLE RDBMS Version: 11.1.0.7.0.
Using parameter settings in server-side spfile C:\APP\ORACLE\PRODUCT\11.1.0\DB_1\DATABASE\SPFILEOSBTEST.ORA
System parameters with non-default values:
processes = 150
resource_limit = TRUE
nls_territory = "PHILIPPINES"
memory_target = 820M
control_files = "C:\ORACLE\ORADATA\OSBTEST\CONTROL01.CTL"
control_files = "C:\ORACLE\ORADATA\OSBTEST\CONTROL02.CTL"
control_files = "C:\ORACLE\ORADATA\OSBTEST\CONTROL03.CTL"
db_block_size = 8192
compatible = "11.1.0.0.0"
log_archive_format = "ARC%S_%R.%T"
db_recovery_file_dest = "\oracle\flash_recovery_area"
db_recovery_file_dest_size= 40000M
undo_tablespace = "UNDOTBS1"
remote_login_passwordfile= "EXCLUSIVE"
db_domain = "epassport.ph"
dispatchers = "(PROTOCOL=TCP) (SERVICE=osbtestXDB)"
audit_file_dest = "C:\APP\ORACLE\ADMIN\OSBTEST\ADUMP"
audit_trail = "NONE"
db_name = "osbtest"
open_cursors = 300
diagnostic_dest = "C:\APP\ORACLE"
Wed Nov 03 06:14:55 2010
PMON started with pid=2, OS id=80900
Wed Nov 03 06:14:55 2010
VKTM started with pid=3, OS id=81160 at elevated priority
Wed Nov 03 06:14:55 2010
DIAG started with pid=4, OS id=80624
VKTM running at (20)ms precision
Wed Nov 03 06:14:55 2010
DBRM started with pid=5, OS id=81604
Wed Nov 03 06:14:55 2010
PSP0 started with pid=6, OS id=80676
Wed Nov 03 06:14:55 2010
DIA0 started with pid=7, OS id=81684
Wed Nov 03 06:14:55 2010
MMAN started with pid=8, OS id=80892
Wed Nov 03 06:14:55 2010
DBW0 started with pid=9, OS id=80360
Wed Nov 03 06:14:55 2010
LGWR started with pid=10, OS id=81376
Wed Nov 03 06:14:55 2010
CKPT started with pid=11, OS id=80732
Wed Nov 03 06:14:55 2010
SMON started with pid=12, OS id=80852
Wed Nov 03 06:14:55 2010
RECO started with pid=13, OS id=80636
Wed Nov 03 06:14:55 2010
MMON started with pid=14, OS id=81796
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
starting up 1 shared server(s) ...
ORACLE_BASE from environment = C:\app\oracle
Wed Nov 03 06:14:55 2010
ALTER DATABASE MOUNT
Wed Nov 03 06:14:55 2010
MMNL started with pid=15, OS id=80088
Setting recovery target incarnation to 2
Successful mount of redo thread 1, with mount id 3888118879
Database mounted in Exclusive Mode
Lost write protection disabled
Completed: ALTER DATABASE MOUNT
Wed Nov 03 06:15:00 2010
ALTER DATABASE OPEN
Errors in file c:\app\oracle\diag\rdbms\osbtest\osbtest\trace\osbtest_dbw0_80360.trc:
ORA-01157: cannot identify/lock data file 4 - see DBWR trace file
ORA-01110: data file 4: 'C:\ORACLE\ORADATA\OSBTEST\USERS01.DBF'
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.
ORA-1157 signalled during: ALTER DATABASE OPEN...
Wed Nov 03 06:17:27 2010
Full restore complete of datafile 4 C:\ORACLE\ORADATA\OSBTEST\USERS01.DBF. Elapsed time: 0:00:01
checkpoint is 12264222
Wed Nov 03 06:18:14 2010
alter database open
ORA-1113 signalled during: alter database open...
Wed Nov 03 06:18:15 2010
Checker run found 1 new persistent data failures
Wed Nov 03 06:19:14 2010
Incremental restore complete of datafile 4 C:\ORACLE\ORADATA\OSBTEST\USERS01.DBF
checkpoint is 12268354
Wed Nov 03 06:19:28 2010
alter database recover datafile list clear
Completed: alter database recover datafile list clear
alter database recover if needed
datafile 4
Media Recovery Start
Fast Parallel Media Recovery NOT enabled
parallel recovery started with 7 processes
ORA-279 signalled during: alter database recover if needed
datafile 4
...
Wed Nov 03 06:20:20 2010
db_recovery_file_dest_size of 40000 MB is 44.23% used. This is a
user-specified limit on the amount of space that will be used by this
database for recovery-related files, and does not reflect the amount of
space available in the underlying filesystem or ASM diskgroup.
Wed Nov 03 06:20:35 2010
alter database recover logfile 'C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_03\O1_MF_1_435_6F2KCN7F_.ARC'
Media Recovery Log C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_03\O1_MF_1_435_6F2KCN7F_.ARC
ORA-279 signalled during: alter database recover logfile 'C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_03\O1_MF_1_435_6F2KCN7F_.ARC'...
Wed Nov 03 06:21:40 2010
alter database recover logfile 'C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_03\O1_MF_1_436_6F2KFOXG_.ARC'
Media Recovery Log C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_03\O1_MF_1_436_6F2KFOXG_.ARC
ORA-279 signalled during: alter database recover logfile 'C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_03\O1_MF_1_436_6F2KFOXG_.ARC'...
alter database recover logfile 'C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_03\O1_MF_1_437_6F2KFOS1_.ARC'
Media Recovery Log C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_03\O1_MF_1_437_6F2KFOS1_.ARC
ORA-279 signalled during: alter database recover logfile 'C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_03\O1_MF_1_437_6F2KFOS1_.ARC'...
alter database recover logfile 'C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_03\O1_MF_1_438_6F2KFPJ8_.ARC'
Media Recovery Log C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_03\O1_MF_1_438_6F2KFPJ8_.ARC
Recovery of Online Redo Log: Thread 1 Group 1 Seq 439 Reading mem 0
Mem# 0: C:\ORACLE\ORADATA\OSBTEST\REDO01.LOG
Recovery of Online Redo Log: Thread 1 Group 2 Seq 440 Reading mem 0
Mem# 0: C:\ORACLE\ORADATA\OSBTEST\REDO02.LOG
Recovery of Online Redo Log: Thread 1 Group 3 Seq 441 Reading mem 0
Mem# 0: C:\ORACLE\ORADATA\OSBTEST\REDO03.LOG
Completed: alter database recover logfile 'C:\ORACLE\FLASH_RECOVERY_AREA\OSBTEST\ARCHIVELOG\2010_11_03\O1_MF_1_438_6F2KFPJ8_.ARC'
Wed Nov 03 06:24:26 2010
alter database open
Wed Nov 03 06:24:27 2010
LGWR: STARTING ARCH PROCESSES
Wed Nov 03 06:24:27 2010
ARC0 started with pid=30, OS id=82388
Wed Nov 03 06:24:27 2010
ARC1 started with pid=31, OS id=79392
Wed Nov 03 06:24:27 2010
ARC2 started with pid=32, OS id=83504
ARC0: Archival started
Wed Nov 03 06:24:27 2010
ARC3 started with pid=33, OS id=80064
ARC1: Archival started
ARC2: Archival started
ARC3: Archival started
LGWR: STARTING ARCH PROCESSES COMPLETE
Thread 1 opened at log sequence 441
ARC0: Becoming the 'no FAL' ARCH
Current log# 3 seq# 441 mem# 0: C:\ORACLE\ORADATA\OSBTEST\REDO03.LOG
ARC0: Becoming the 'no SRL' ARCH
Successful open of redo thread 1
ARC3: Becoming the heartbeat ARCH
MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
Wed Nov 03 06:24:27 2010
SMON: enabling cache recovery
Successfully onlined Undo Tablespace 2.
Verifying file header compatibility for 11g tablespace encryption..
Verifying 11g file header compatibility for tablespace encryption completed
SMON: enabling tx recovery
Database Characterset is AL32UTF8
Opening with internal Resource Manager plan
Starting background process FBDA
Wed Nov 03 06:24:28 2010
FBDA started with pid=34, OS id=83160
replication_dependency_tracking turned off (no async multimaster replication found)
Starting background process QMNC
Wed Nov 03 06:24:29 2010
QMNC started with pid=35, OS id=83316
Wed Nov 03 06:24:42 2010
Completed: alter database open
Wed Nov 03 06:25:01 2010
Starting background process CJQ0
Wed Nov 03 06:25:01 2010
CJQ0 started with pid=37, OS id=82416
Wed Nov 03 06:29:31 2010
Starting background process SMCO
Wed Nov 03 06:29:31 2010
SMCO started with pid=20, OS id=83932
}}}
{{{
[oracle@dbrocaix01 ~]$ obtool
ob>
ob>
ob> lsdev
ob>
ob> obtool -u admin chhost -r client,admin,mediaserver "dbrocaix01.bayantel.com"
Error: unknown command, obtool
ob> chhost -r client,admin,mediaserver "dbrocaix01.bayantel.com"
Error: can't fetch host dbrocaix01.bayantel.com - name not found
ob>
ob>
ob> chhost -r client,admin,mediaserver "dbrocaix01"
[oracle@dbrocaix01 ~]$ obtool -u admin mkdev -t library -o -S 36 -I 4 -a dbrocaix01:/flash_reco/vlib -v vlib > NULL
Password:
[oracle@dbrocaix01 ~]$ obtool -u admin mkdev -t tape -o -a dbrocaix01:/flash_reco/vdte1 -v -l vlib -d 1 vdte1 > NULL
Password:
[oracle@dbrocaix01 ~]$ obtool -u admin mkdev -t tape -o -a dbrocaix01:/flash_reco/vdte2 -v -l vlib -d 2 vdte2 > NULL
Password:
[oracle@dbrocaix01 ~]$ obtool -u admin mkdev -t tape -o -a dbrocaix01:/flash_reco/vdte3 -v -l vlib -d 3 vdte3 > NULL
Password:
[oracle@dbrocaix01 ~]$ obtool -u admin mkdev -t tape -o -a dbrocaix01:/flash_reco/vdte4 -v -l vlib -d 4 vdte4 > NULL
Password:
[oracle@dbrocaix01 ~]$ obtool -u admin mkdev -t library -o -I 4 -a dbrocaix01:/flash_reco/vlib2 -v vlib2 > NULL
Password:
[oracle@dbrocaix01 ~]$ obtool -u admin mkdev -t tape -o -a dbrocaix01:/flash_reco/vdrive1 -v -l vlib2 -d 1 vdrive1 > NULL
Password:
[oracle@dbrocaix01 ~]$ obtool -u admin mkdev -t tape -o -a dbrocaix01:/flash_reco/vdrive2 -v -l vlib2 -d 2 vdrive2 > NULL
Password:
[oracle@dbrocaix01 ~]$ obtool
ob> lsdev
library vlib in service
drive 1 vdte1 in service
drive 2 vdte2 in service
drive 3 vdte3 in service
drive 4 vdte4 in service
library vlib2 in service
drive 1 vdrive1 in service
drive 2 vdrive2 in service
ob> lshost
dbrocaix01 admin,mediaserver,client (via OB) in service
ob>
ob>
ob> lsdev
library vlib in service
drive 1 vdte1 in service
drive 2 vdte2 in service
drive 3 vdte3 in service
drive 4 vdte4 in service
library vlib2 in service
drive 1 vdrive1 in service
drive 2 vdrive2 in service
ob>
ob>
ob> insertvol -L vlib -c 250 unlabeled 1-32
ob> insertvol -L vlib2 -c 250 unlabeled 1-14
ob>
ob>
ob> lsmf --long
OFFSITE_7Y:
Keep volume set: 7 years
Appendable: yes
Volume ID used: unique to this media family
Comment: Store for 7 years offsite - for compliance with XYZ law
UUID: 00cee284-7185-102d-9cae-000c293b8104
OFFSITE_TEST:
Keep volume set: 10 minutes
Appendable: yes
Volume ID used: unique to this media family
Comment: Edit the test values later
UUID: 319d2c68-7185-102d-9cae-000c293b8104
OSB-CATALOG-MF:
Write window: 7 days
Keep volume set: 14 days
Appendable: yes
Volume ID used: unique to this media family
Comment: OSB catalog backup media family
UUID: 2bab93d0-717b-102d-b17d-000c293b8104
RMAN-DEFAULT:
Keep volume set: content manages reuse
Appendable: yes
Volume ID used: unique to this media family
Comment: Default RMAN backup media family
UUID: 2a824562-717b-102d-b17d-000c293b8104
}}}
Thread: Drive or volume on Which mount attempted is unusable
http://forums.oracle.com/forums/thread.jspa?threadID=475197
Thread: Oracle Secure Backup
http://forums.oracle.com/forums/thread.jspa?threadID=672792&start=0&tstart=0
''Error: waiting for snapshot controlfile enqueue''
http://www.dbasupport.com/forums/archive/index.php/t-12492.html <-- this solved it
http://surachartopun.com/2008/03/rman-waiting-for-snapshot-control-file.html
http://www.symantec.com/business/support/index?page=content&id=TECH18161
http://www.freelists.org/post/oracle-l/ORA00230-during-RMAN-backup,4
SELECT s.SID, USERNAME AS "User", PROGRAM, MODULE, ACTION, LOGON_TIME "Logon", l.*
FROM V$SESSION s, V$ENQUEUE_LOCK l
WHERE l.SID = s.SID AND l.TYPE = 'CF' AND l.ID1 = 0 AND l.ID2 = 2;
''Thread: Unable to open qlm connection - drive database is corrupted''
http://forums.oracle.com/forums/thread.jspa?messageID=1515577
http://forums.oracle.com/forums/thread.jspa?messageID=4296914
http://forums.oracle.com/forums/thread.jspa?messageID=2436266
http://forums.oracle.com/forums/thread.jspa?threadID=587033&tstart=210
''ORA-600 krbb3crw_inv_blk when compressed backupet is on''
- workaround is to turn off compression..
''References''
http://www.idevelopment.info/data/Oracle/DBA_tips/Oracle_Secure_Backup/OSB_10.shtml
http://download.oracle.com/docs/cd/E10317_01/doc/backup.102/e05410/obtool_commands.htm#insertedID41
Backup Recovery Area
http://download.oracle.com/docs/cd/B28359_01/backup.111/b28270/rcmbckad.htm#i1006854
http://download.oracle.com/docs/cd/B19306_01/backup.102/b14192/bkscenar002.htm
http://download.oracle.com/docs/cd/B19306_01/backup.102/b14192/rpfbdb003.htm#BABCAGIB
http://www.orafaq.com/forum/t/75250/2/
{{{
some obtool commands:
lsdev -lvg <-- shows detailed info of the devices
catxcr -fl0 oracle/5.1 <-- shows the error messages
lsvol --library libraryname <-- shows storage element address
insertvol -L libraryname <storage element range> <-- inserts volume
inventory libraryname <-- inventory the library
}}}
When your query takes too long ...
http://forums.oracle.com/forums/thread.jspa?threadID=501834
HOW TO: Post a SQL statement tuning request - template posting
http://forums.oracle.com/forums/thread.jspa?threadID=863295
Basic SQL statement performance diagnosis - HOW TO, step by step instructions
http://oracle-randolf.blogspot.com/2009/02/basic-sql-statement-performance.html
http://oracleprof.blogspot.com/2010/11/unsafe-deinstall-using-oracle-univeral.html
Example1 - Online Redefinition - partition example - manually create indexes (no constraints)
http://www.evernote.com/shard/s48/sh/c2ffc788-7d1e-44df-8bd0-c04b62401eb6/48b56fe63e1c28d2e8ee2276c2c0955d
Example 2 - Online Redefinition - Employees Table - all automatic
http://www.evernote.com/shard/s48/sh/8d9633bb-178a-484c-b83f-2fe526d680e7/596829d7f1bd43f60bb3917897df5dcd
Example 3 - Online Redefinition - Employees Table - manually create constraints and indexes
http://www.evernote.com/shard/s48/sh/d80aeaef-03d3-47b8-a6f2-6941c25a75b3/2939053a281a59f6701fc947128293a4
http://asktom.oracle.com/pls/asktom/f?p=100:11:1930891738933501::::P11_QUESTION_ID:7490088329317
Best Practices for Online Table Redefinition [ID 1080969.1]
Metadata scripts are here [[dbms_metadata]]
What Are The Possible Ways To Find Out An Oracle Database Patchset/Patch And Download It?
Doc ID: Note:423016.1
FAQs on OPatch Version : 11.1
Doc ID: Note:453495.1
How to download and install opatch (generic platform).
Doc ID: Note:274526.1
How to find whether the one-off Patches will conflict or not?
Doc ID: Note:458485.1
OPatch version 10.2 - FAQ
Doc ID: Note:334108.1
How To Do The Prerequisite/Conflicts Checks Using OUI(Oracle Universal Installer) And Opatch Before Applying/Rolling Back A Patch
Doc ID: Note:459360.1
Location Of Logs For Opatch And OUI
Doc ID: Note:403212.1
Critical Patch Update - Introduction to Database n-Apply CPUs
Doc ID: Note:438314.1
Critical Patch Update January 2008 – Database Patch Security Vulnerability Molecule Mapping
Doc ID: Note:466764.1
SUDO utility in 10gR2 Grid Control
Doc ID: Note:377934.1
Can Root.Sh Be Run Via SUDO?
Doc ID: Note:413855.1
IS THE ROOT.SH ABSOLUTELY NECESSARY? OR RUN 2ND TIME?
Doc ID: Note:1007934.6
How to setup Linux md devices for CRS and ASM
Doc ID: Note:343092.1
-- DISK FULL
MetaLink Note 550522.1 (Subject: How To Avoid Disk Full Issues Because OPatch Backups Take Big Amount Of Disk Space.
-- VERIFY
Good practices applying patches and patchsets
Doc ID: 176311.1
How To Verify The Integrity Of A Patch/Software Download?
Doc ID: 549617.1
What Is The Difference Between ftp'ing An Unzipped File And A Zipped File, From One Machine To Another?
Doc ID: 787775.1
-- DATABASE VAULT
Note 726568.1 How to Install Database Vault Patches on top of 11.1.0.6
How to Install Database Vault Patches on top of 10.2.0.4
Doc ID: 731466.1
How to Install Database Vault Patches on top of 9.2.0.8.1 and 10.2.0.3
Doc ID: 445092.1
http://openvpn.net/
http://openvpn.net/index.php/open-source/documentation/howto.html#install
http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch35_:_Configuring_Linux_VPNs
http://www.throx.net/2008/04/13/openvpn-and-centos-5-installation-and-configuration-guide/
http://blog.wains.be/2006/10/08/simple-vpn-tunnel-using-openvpn/
http://blog.laimbock.com/2008/05/27/howto-add-firewall-rules-to-rhel-5-or-centos-5/
Gathering Statistics for the Cost Based Optimizer
Doc ID: Note:114671.1
ORA-20000 when running DBMS_STATS.GATHER_DATABASE_STATS
Doc ID: Note:462496.1
Getting ORA-01031 when gathering database stats in 9i using SYSTEM user
Doc ID: Note:455221.1
Poor performance after gathering statistics
Doc ID: Note:278020.1
Poor Database Performance after running DBMS_STATS.GATHER_DATABASE_STATS
Doc ID: Note:223069.1
Monitoring Statistics in 10g
Doc ID: Note:295249.1
Bug 4706964 - DBMS_STATS.GATHER_DICTIONARY_STATS errors if schema name has special characters
Doc ID: Note:4706964.8
ERROR:" WARNING: --> Database contains stale optimizer statistics.Refer to the 10g Upgrade Guide for instructions to update"
Doc ID: Note:437371.1
Script to Check Schemas with Stale Statistics
Doc ID: Note:560336.1
http://www.globusz.com/ebooks/Oracle/00000015.htm
http://hungrydba.com/databasestats.aspx
http://www.fadalti.com/oracle/database/how_to_statistics.htm
http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:1154434873552
http://www.dbanotes.net/mirrors/www.psoug.org/reference/dbms_stats.html
http://www.pafumi.net/Gather_Statistics.html
http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:27658118048105
http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:60121137844769
http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:735625536552
http://tonguc.wordpress.com/2007/10/09/oracle-best-practices-part-5/
http://www.maroc-it.ma/blogs/fahd/?p=42
http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:247162600346210706
http://www.dba-oracle.com/t_worst_practices.htm
http://structureddata.org/
http://structureddata.org/category/oracle/optimizer/
http://structureddata.org/2008/03/26/choosing-an-optimal-stats-gathering-strategy/
http://structureddata.org/2008/01/02/what-are-your-system-statistics/
http://structureddata.org/2007/12/05/oracle-optimizer-development-team-starts-a-blog/
http://optimizermagic.blogspot.com/2007/11/welcome-to-our-blog.html
-- GATHER STATISTICS FOR SYS
Gather Optimizer Statistics For Sys And System
Doc ID: Note:457926.1
Gathering Statistics For All fixed Objects In The Data Dictionary.
Doc ID: Note:272479.1
Is ANALYZE on the Data Dictionary Supported (TABLES OWNED BY SYS)?
Doc ID: 35272.1
-- MIGRATE TO CBO
Migrating to the Cost-Based Optimizer
Doc ID: Note:222627.1
Rule Based Optimizer is to be Desupported in Oracle10g
Doc ID: Note:189702.1
Cost Based Optimizer - Common Misconceptions and Issues
Doc ID: Note:35934.1
-- GATHER SYSTEM STATISTICS
System Statistics: Collect and Display System Statistics (CPU and IO) for CBO us
Doc ID: Note:149560.1
System Statistics: Scaling the System to Improve CBO optimizer
Doc ID: Note:153761.1
Using Actual System Statistics (Collected CPU and IO information)
Doc ID: 470316.1
-- GATHER STATISTICS
How to Move from ANALYZE to DBMS_STATS - Introduction
Doc ID: 237293.1
Gathering Schema or Database Statistics Automatically in 8i and 9i - Examples
Doc ID: 237901.1
Statistics Gathering: Frequency and Strategy Guidelines
Doc ID: 44961.1
What are the Default Parameters when Gathering Table Statistics on 9i and 10g?
Doc ID: 406475.1
http://awads.net/wp/2006/04/17/orana-powered-by-google-and-feedburner/
-- MONITOR STATISTICS
Monitoring Statistics in 10g
Doc ID: 295249.1
How to Automate Change Based Statistic Gathering - Monitoring Tables
Doc ID: 102334.1
-- GATHER STALE
Differences between GATHER STALE and GATHER AUTO
Doc ID: 228186.1
Best Practices to Minimize Downtime during Upgrade
Doc ID: 455744.1
-- HISTOGRAMS
Histograms: An Overview
Doc ID: 1031826.6
-- DUPLICATE ROWS
http://www.jlcomp.demon.co.uk/faq/duplicates.html
-- DISABLE AUTO STATS IN 10G
How to Disable Automatic Statistics Collection in 10G ?
Doc ID: 311836.1
-- CHAINED ROWS
How to Identify, Avoid and Eliminate Chained and Migrated Rows ?
Doc ID: 746778.1
Monitoring Chained Rows on IOTs
Doc ID: 102932.1
Row Chaining and Row Migration
Doc ID: 122020.1
Analyze Table List chained rows Into chained_rows Gives ORA-947
Doc ID: 265707.1
http://blogs.oracle.com/optimizer/entry/optimizer_technical_papers1
Choosing An Optimal Stats Gathering Strategy
http://structureddata.org/2008/03/26/choosing-an-optimal-stats-gathering-strategy/ <-- good stuff
Restoring the statistics – Oracle Database 10g
http://avdeo.com/2010/11/01/restoring-the-statistics-oracle-database-10g
http://blogs.oracle.com/mt/mt-search.cgi?IncludeBlogs=3361&tag=optimizer%20transformations&limit=20
http://radar.oreilly.com/2011/10/oracles-big-data-appliance.html
http://www.oracle.com/us/corporate/press/512001#sf2272790
http://www.oracle.com/us/technologies/big-data/index.html?origref=http://www.oracle.com/us/corporate/press/512001#sf2272790
The Lifetime Support Policy provides access to technical experts for as long
as you license your Oracle products and consists of three support stages:
Premier Support,
Extended Support,
and Sustaining Support.
Expect Lifetime Support
With Oracle Support, you know up front and with certainty how long your Oracle products
are supported. The Lifetime Support Policy provides access to technical experts for as long
as you license your Oracle products and consists of three support stages: Premier Support,
Extended Support, and Sustaining Support. It delivers maximum value by providing you
with rights to major product releases so you can take full advantage of technology and
product enhancements. Your technology and your business keep moving forward together.
Premier Support provides a standard five-year support policy for Oracle Technology and
Oracle Applications products. You can extend support for an additional three years with
Extended Support for specific releases, or receive indefinite technical support with
Sustaining Support.
Premier Support
As an Oracle customer, you can expect the best with Premier Support, our award-winning,
next-generation support program. Premier Support provides you with maintenance and
support of your Oracle Database, Oracle Fusion Middleware, and Oracle Applications for five
years from their general availability date. You benefit from
� Major product and technology releases
� Technical support
� Updates, fixes, security alerts, data fixes, and critical patch updates
� Tax, legal, and regulatory updates
� Upgrade scripts
� Certification with most new third-party products/versions
� Certification with most new Oracle products
Extended Support
Your technology future is assured with Oracle�s Extended Support. Extended Support lets
you stay competitive, with the freedom to upgrade on your timetable. If you take advantage
of Extended Support, it provides you with an extra three years of support for specific Oracle
releases for an additional fee. You benefit from
� Major product and technology releases
� Technical support
� Updates, fixes, security alerts, data fixes, and critical patch updates
� Tax, legal, and regulatory updates
� Upgrade scripts
� Certification with most existing third-party products/versions
� Certification with most existing Oracle products
Extended Support may not include certification with some new third-party
products/versions.
Sustaining Support
Sustaining Support puts you in control of your upgrade strategy. When Premier Support
expires, if you choose not to purchase Extended Support, or when Extended Support expires,
Sustaining Support will be available for as long as you license your Oracle products. With
Sustaining Support, you receive technical support, including access to our online support
tools, knowledgebases, and technical support experts. You benefit from
� Major product and technology releases
� Technical support
� Access to OracleMetaLink/PeopleSoft Customer Connection/Hyperion e-Support
� Fixes, updates, and critical patch updates created during the Premier Support stage
� Upgrade scripts created during the Premier Support stage
Sustaining Support does not include
� New updates, fixes, security alerts, data fixes, and critical patch updates
� New tax, legal, and regulatory updates
� New upgrade scripts
� Certification with new third-party products/versions
� Certification with new Oracle products
For more specifics on Premier Support, Extended Support, and Sustaining Support, please refer to
Oracle�s Technical Support Policies.
11g
https://docs.google.com/viewer?url=http://www.oracle.com/us/products/database/039449.pdf
Differences Between Enterprise, Standard and Standard One Editions on Oracle 11.2 [ID 1084132.1]
10g
https://docs.google.com/viewer?url=http://www.oracle.com/technetwork/database/database10g/overview/twp-general-10gdb-product-family-132973.pdf
9i
https://docs.google.com/viewer?url=http://www.magnifix.com/pdf/9idb_features.pdf
To ramp up my Exadata learning I have to make use of various media and do multiple reads/references across them. One useful media is Oracle by Example they have tons of video tutorials/demos available. Just go to this site http://goo.gl/Egd1W and copy paste the topics that are mentioned here http://goo.gl/WGNaw
!
! ''Exadata''
The Magic of Exadata
Configuring DCLI
Installing and Configuring Enterprise Manager Exadata Plug-in (Part 1)
Installing and Configuring Enterprise Manager Exadata Plug-in (Part 2)
Exadata Cell First Boot Initialization
Exadata Calibrate and Cell/Grid Disks Configuration
Configuring ASM Disk Groups for Exadata
IORM and Exadata
Possible Execution Plans with Exadata Offloading http://goo.gl/FT2wj
<<<
{{{
show parameter offload
cell_offload_plan_display
cell_offload_processing
-- for future use params
cell_partition_large_extents
cell_offload_compaction
cell_offload_parameters
-- possibilities would be
offloading a FTS - table access storage full /*+ PARALLEL FULL(s) */
offloading a Full index scans - index storage fast full scan /*+ PARALLEL INDEX_FFS(s mysales_cust_id_indx) */
offload in HASH JOINS /*+ PARALLEL */
bloom filter - SYS_OP_BLOOM_FILTER on predicate /*+ PARALLEL */
}}}
<<<
Exadata Automatic Reconnect
Exadata Cell Failure Scenario
''-- "tagged as Exadata"''
Check out the series here [[OBE Exadata 1 to 25]] and here [[Exadata Best Practices Series]] ! ! !
Managing Parallel Processing with the Database Resource Manager Demo 19-Nov-10 60 mins
Using Exadata Smart Scan Video 19-Aug-10 4 mins
Hybrid Columnar Compression Demo 01-Oct-09 22 mins
Smart Flash Cache Architecture Demo 01-Oct-09 8 mins
Cell First Boot Demo 01-Sep-09 5 mins
Cell Configuration Demo 01-Sep-09 10 mins
Smart Scan Scale Out Example Demo 01-Sep-09 10 mins
Smart Flash Cache Monitoring Demo 01-Sep-09 25 mins
Configuring DCLI Demo 01-Jul-07 5 mins
Installing and Configuring Enterprise Manager Exadata Plug-in (Part 2) Demo 01-Jul-07 30 mins
Installing and Configuring Enterprise Manager Exadata Plug-in (Part 1) Demo 01-Jul-07 24 mins
Exadata Cell First Boot Initialization Demo 01-Jul-07 12 mins
Exadata Calibrate and Cell/Grid Disks Configuration Demo 01-Jul-07 12 mins
Configuring ASM Disk Groups for Exadata Demo 01-Jul-07 8 mins
IORM and Exadata Demo 01-Jul-07 40 mins
Real Performance Tests with Exadata Demo 01-Jul-07 42 mins http://goo.gl/roFLK
<<<
{{{
cat ./mon
./dcli -g cells -l root --vmstat="2"
cat test.sh
#!/bin/bash
B=$SECONDS
sqlplus test/test @ss_q1.sql
sqlplus test/test @ss_q2.sql
sqlplus test/test @ss_q3.sql
sqlplus test/test @ss_q4.sql
(( TM = $SECONDS - $B ))
echo "All queries completed in $TM seconds"
cat ss_q1.sql
spool ss_q1
set timing on
spool off
}}}
<<<
Exadata Automatic Reconnect Demo 01-Jul-07 12 mins
Exadata Cell Failure Scenario Demo 01-Jul-07 10 mins
!
! ''Manageability:''
Using SQL Baselines
Using Metric Baselines
Transport a tablespace version to another database
!
! ''Automatic Storage Management (ASM):''
Install ASM single instance in its own home
Install ASM single instance in the same home
Migrate a database to ASM
Setup XML DB to access ASM
Access ASM files using ASMCMD
Real Application Clusters (RAC)
!
! ''RAC Deployment Series (Beta):''
Setting Up RAC Storage
Setting Up Openfiler Storage
Setting Up iSCSI On Client Side
Using fdisk to Partition Storage
Setting Up Multipathing On Client Side
Installing and Configuring ASMLib
Setting Up Storage Permissions On Client Side
Installing Oracle Clusterware
Installing Real Application Clusters
Configuring ASM Storage
Installing Oracle Database Single Instance Software (Part I)
Installing Oracle Database Single Instance Software (Part II)
Creating Single Instance Database
Protecting Single Instance Database Using Oracle Clusterware
Converting Single Instance Database to RAC Database
Adding a Node to Your Cluster
Extending Oracle Clusterware to Third Node
Extending RAC Software to Third Node
Extending RAC Database to Third Node
Rolling Upgrade Your Entire Cluster
Creating a RAC Physical Standby Database
Installing and Configuring OCFS2
Setting Up RAC Primary Database in Archivelog Mode
Backing Up RAC Primary Database
Configuring Oracle Network Services on Clustered Standby Site
Creating RAC Physical Standby Database Using OCFS2 Storage
Checking RAC Physical to RAC Standby databases Communication
Converting RAC Physical Standby Database to RAC Logical Standby Database
Rolling Upgrade Oracle Clusterware
Rolling Upgrade Oracle Clusterware on Clustered Primary Site (10.2.0.1 to 10.2.0.2)
Rolling Upgrade Oracle Clusterware on Clustered Standby Site (10.2.0.1 to 10.2.0.2)
Upgrading your RAC Standby Site
Upgrading RAC Standby Database From 10.2.0.1 to 10.2.0.2 (Part I)
Upgrading RAC Standby Database From 10.2.0.1 to 10.2.0.2 (Part II)
Switching Primary and Standby Databases Roles
Upgrading your old RAC Primary Site
Upgrading RAC Old Primary Database From 10.2.0.1 to 10.2.0.2 (Part I)
Upgrading RAC Old Primary Database From 10.2.0.1 to 10.2.0.2 (Part II)
Switching Back Primary and Standby Databases Roles
!
! ''Miscellaneous:''
RAC scale example
RAC speedup example
Use Transparent Application Failover (TAF) with SELECT statements
!
! ''Oracle Clusterware:''
Use Oracle Clusterware to protect the apache application
Use Oracle Clusterware to protect the Xclock application
RAC Voting Disk Multiplexing
Patch Oracle Clusterware in a Rolling Fashion
CSS Diagnostic Case Study
RAC OCR Mirroring
!
! ''Services:''
Runtime Connection Load Balancing example
Basic use of services in your RAC environment
!
! ''Installs and Enterprise Manager:''
Install ASM in its own home in a RAC environment
Convert a single-instance database to a RAC database using Grid Control
Push Management Agent software using Grid Control
Clone Oracle Clusterware to extend your cluster using Grid Control
Clone ASM home to extend your cluster using Grid Control
Clone database home to extend your cluster using Grid Control
Add a database instance to your RAC database using Grid Control
!
! ''RAC Concepts:''
RAC VIP Concepts
RAC Object Affinity Concepts
Rolling Release Upgrade (Beta): 10.2.0.1 to 10.2.0.2:
Upgrading your Standby Site
Upgrading RAC Standby Database From 10.2.0.1 to 10.2.0.2 (Part I)
Upgrading RAC Standby Database From 10.2.0.1 to 10.2.0.2 (Part II)
Switching Primary and Standby Databases Roles
Upgrading your old Primary Site
Upgrading RAC Old Primary Database From 10.2.0.1 to 10.2.0.2 (Part I)
Upgrading RAC Old Primary Database From 10.2.0.1 to 10.2.0.2 (Part II)
Switching Back Primary and Standby Databases Roles
Product announcement
http://www.ome-b.nl/2011/09/22/finally-the-oracle-database-appliance/?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+orana+%28OraNA%29
Step by Step install and some other screenshots
http://www.evernote.com/shard/s48/sh/0d565394-1a58-4578-9fc8-e53aa52c4eca/8f360ef4395fa999e32d2c77358ee613
Video intros
http://goo.gl/kWlT3
Unloading history - old Oracle7 dictionary
http://www.ora600.be/node/10707
http://oss.oracle.com/ksplice/docs/ksplice-quickstart.pdf
Using Oracle Ksplice to Update Oracle Linux Systems Without Rebooting
http://www.oracle.com/technetwork/articles/servers-storage-admin/ksplice-linux-518455.html
http://www.freelists.org/post/oracle-l/Reinstall-OS-completely-without-reinstalling-Oracle,6
{{{
I thought of this article as a full OS upgrade just like your case.. but it
seems like it is really just the kernel upgrade/patches..
then I tweeted @wimcoekaerts just out of curiosity.. @wimcoekaerts Do I
still have to relink my Oracle Home even I use ksplice for OS upgrade?
goo.gl/R13Op
this is his response @karlarao <http://twitter.com/karlarao> No. ksplice
isn't really "os upgrade" in the normal sense. it updates the running kernel
(in memory). no need to relink or restart
So on my notes on the section "APPENDIX A - Some FAQs about relinking"
http://docs.google.com/fileview?id5H46jS7ZPdJNGU0NDljZDktMzUwMC00ZWQ4LWIwZDgtNjFlYzNhMzQyMjg0&hl=en
I had this question before:
6) What if I just did a kernel upgrade (2.6.9-old to 2.6.9-newer), and not a
full OS upgrade (from oel4.4 to 4.6), would I still have to relink? The
kernel upgrade just updates the
hardware modules (/lib/modules) which is not related to the gcc binaries or
libraries used to compile the binaries of Oracle? the /usr/lib/gcc-lib is
not affected when you do a
kernel upgrade?
Answer: If you are just upgrading the kernel, no need to relink. If it's
affecting the system libraries, then you have to relink
}}}
http://www.akadia.com/services/solaris_tips.html
Transparent Failover with Solaris MPxIO and Oracle ASM
http://blogs.sun.com/BestPerf/entry/transparent_failover_with_solaris_mpxio
Running Oracle Database in Solaris 10 Containers - Best Practices
Doc ID: Note:317257.1
-- 2GB limit
http://www.sunsolarisadmin.com/general/ufs-maximum-file-size-2gb-restriction-in-sun-solaris/
-- OS TOOLS , SOLARIS
http://developers.sun.com/solaris/articles/tuning_solaris.html
Get Started With Oracle Restart
http://dbatrain.wordpress.com/2010/08/13/get-started-with-oracle-restart/
Data Guard & Oracle Restart in 11gR2
http://uhesse.wordpress.com/2010/09/
-- ORACLE SUPPORT
Working Effectively With Global Customer Support
Doc ID: 166650.1
How To Monitor Bugs / Enhancement Requests through Metalink
Doc ID: 602038.1
http://www.oracle.com/us/technologies/linux/uek-for-linux-177034.pdf
http://www.oraclenerd.com/2011/03/oel-6-virtualbox-guest-additions.html
-- some entries on otn forum saying you need to have ULN subscription
https://forums.oracle.com/forums/thread.jspa?threadID=2146476
https://forums.oracle.com/forums/thread.jspa?threadID=2183312
Underground Book
http://itnewscast.com/chapter-5-oracle-vm-manager-sizing-and-installation#Oracle_VM_Manager_Introduction
http://www.freelists.org/post/oracle-l/oracle-orion-tool
http://www.freelists.org/post/oracle-l/ORION,1
https://twiki.cern.ch/twiki/bin/view/PSSGroup/HAandPerf
https://twiki.cern.ch/twiki/bin/view/PSSGroup/SwingBench
http://www.freelists.org/post/oracle-l/ORION-num-disks
https://twiki.cern.ch/twiki/bin/view/PDBService/OrionTests
<<<
* Please see below for the details on how to use Orion to measure IO numbers, in particular the small random IOPS (Orion will measure the maximum IOPS obtained 'at saturation' by submitting hundreds of concurrent async IO requests of 8KB blocks).
* Sequential IO performance is almost inevitably the HBA speed, that is typically 400 MB per sec, or 800 MB when multipathing is used.
<<<
<<<
How to read Orion output and common gotchas
----------------------------------------------------------------------
* The summary file for a simple run you will produce 3 numbers: Maximum Large MBPS, Maximum Small IOPS, Minimum Small Latency
* Plotting metrics aginst load in excel (from ORION cvs files) is a better way to understand the read the results
* Maximum MBPS typically saturates to the HBA speed. For a single ported 4Gbps HBA you will see something less than 400 MBPS. If the HBA is dual ported and you are using multipathing the number should be close to 800 MBPS
* IOPS is the most critical number. That's is the measurement of the max number of small IO (8KB, i.e. 1 Oracle block) operations per second that the IO subsystem can sustain. It is similar to what is needed for a OLTP-like workload in Oracle, although Orion uses async IO for this tests unlike typical RDBMS operations)
* The storage array cache can play a very important role in producing bogus results (tested). The parameter -cache_size in Orion tests should be set appropriately (in MB). If you can make a test with the array cache disabled.
* Average latency is of little use, latency vs load will instead provide a curve that should be flat for load < N# spindles and then starts to grow linearly.
* When running read-only tests on a new system an optimization can kick in where unformatted blocks are read very quickly. I advise to run a at least one write-only test (that is with -write 100) on a new system.
<<<
http://husnusensoy.wordpress.com/2009/03/31/orion-io-calibration-over-sas-disks/
<<<
To interpret Figure 4, let’s think that our storage array is capable of serving only 8K requests. Any larger requests will be chopped into 8K pieces. That means a large IO request will be corresponding to 125 small IO requests. Moreover think that the total capacity of our storage array is 2000 small IOPS. Now by simple division you can either yield 2000 small (8K) IOPS or 16 large (1M) IOPS from this storage array or somewhere between.
So when the number of total large IO requesters increase, the number of total IOPS will decrease.
Now assume that sustaining 1500 IOPS requires 10 ms, 3000 IOPS requires 20 ms service time on the average. While we are sustaining 1500 IOPS, we can either move on large requester axis and with an addition of 12 IOPS we can reach 20 ms latency, or we can move on small requester axis and with an addition of 1500 IOPS we can reach 20 ms latency (We may choose a third option somewhere between also). As a result increase in large IO results in an increase in service time also.
<<<
http://forums.oracle.com/forums/thread.jspa?messageID=2249899
<<<
If you want to emulate 1MB scans then use this:
-run advanced -type rand -testname mytest -num_disks X -matrix point -num_large Y -num_small 0 -duration 300
where X is the number of physical drives and Y is say 2 or 4 times the number of LUNs. This will give you 2 or 4 outstanding (in-flight) IOs LUN. You can tweak Y as you see fit based on what you see in iostat.
--
Regards,
Greg Rahn
http://structureddata.org
<<<
''Outstanding IO''
http://kevinclosson.wordpress.com/2006/12/11/a-tip-about-the-orion-io-generator-tool/
<<<
"With Orion an outstanding I/O is one issued by io_submit(). You can tune the size of the “flurry” of I/O submitted through io_submit() by tuning outstanding I/O. The way it works is everytime I/O completions are processed Orion issues N number more I/Os where N is the number of completions in the reaped batch. It’s just a way to keep constant pressure on the I/O subsystem."
-- Kevin Closson
<<<
<<<
Stuart,
I don’t understand how your SAN guys can say there is 2GB bandwidth when you are citing the plumbing for your LPAR is 4x2Gb HBAs. That is 800MB/s. Perhaps they mean the entire SAN array can sustain 2GB because maybe it has a total of 10 active 2Gb ports? I don’t know. All that aside, this can only be one of two things I think. Either a) the LPAR you live in has enough RAM to cache all 5GB of your FS files. This seams reasonable as p595s are some real whoppers or b) Orion is failing silently and calculating as if it is doing I/O.
I recommend you monitor sar –b breads and sar –d for physical reads. I think the odds are very good that there is no physical I/O.
<<<
Jim Czuprynski
http://www.databasejournal.com/article.php/2237601
Oracle Database I/O Performance Tuning: Capturing Extra-Database I/O Performance Metrics
http://www.dbasupport.com/oracle/ora11g/Oracle-Database-11gR2-IO-Tuning03.shtml
! The output files
[img[picturename| http://lh3.ggpht.com/_F2x5WXOJ6Q8/TSLtQC4c9VI/AAAAAAAABAI/IGGccAPt89g/s400/OrionGraph.JPG]]
! Supported types of IO
- Small random IO
- Large sequential IO
- Large random IO
- Mixed workloads
Check this out for the details of IO types http://www.evernote.com/shard/s48/sh/7a7a05d2-d08a-4a0c-ac65-de0d8b119f85/4fe95aeed62bd5c0512db073f468f885
http://eval.veritas.com/webfiles/presentations/oracle/ioug-a_odm.pdf
http://www.slideshare.net/WhizBob/io-micro-preso07
! Answer the following questions to properly configure the database storage
__1) Will the I/O requests be primarily single-block or multi-block?__
''DSS'' - multiblock IO operations (''MBPS''), sequential IO throughput issued by multiple users
* parallel queries
* queries on large tables that require table scans
* direct data loads
* backups
* restores
''OLTP'' - single block IO (''IOPS'')
__2) What is your average and peak IOPS requirement? What percentage of this traffic are writes?__
__3) What is your average and peak throughput (in MBPS) requirement? What percentage of this traffic are writes?__
If your database's IO req. are primarily single-block, then you should focus on ensuring that the storage can accommodate your I/O request rate (IOPS),
if multiblock then focus on throughput capacity MBPS
! SYSSTAT metrics
''reads''
* single-block reads: physical read total IO requests - physical read total multi block requests
* multi-block reads: physical read total multi block requests
* bytes read: physical read total bytes
''writes''
* single-block writes: physical write total IO requests - physical write total multi block requests
* multi-block writes: physical write total multi block requests
* bytes written: physical write total bytes
__other metrics:__
* redo blocks written: redo blocks written
* redo IO requests: redo writes
* backup IO: in v$backup_async_io and v$backup_sync_io, the IO_COUNT field specifies the number of IO req. and the TOTAL_BYTES field specifies the number of bytes read or written. Note that each row of this view corresponds to a data file, the aggregate over all data files, or the output backup piece.
* flashback log IO: in v$flashback_database_stat, FLASHBACK_DATA, DB_DATA, and REDO_DATA show the number of bytes read or written from the flashback logs, data files and redo logs, respectively, in the given time interval. In SYSSTAT the "flashback log writes" statistic specifies the number of write IO req. to the flashback log.
! Data Warehouse and Orion
''run this multiple IO simulations:''
* __Daily workload__ when end-users and/or other applications query the system: ''read-only workload with possibly many individual parallel IOs''
* __Data Load__, when end-users may or may not access the system: ''write workload with possibly parallel reads'' (by the load program and/or by end-users)
* __Index and materialized view builds__, when end-users may or may not access the system: ''read/write workload''
* __Backups__: ''read workload with likely few other processes, but a possible high degree of parallelism''
In a clustered environment you will have to __invoke Orion in parallel on all nodes__ in order to simulate a clustered workload.
Example, ''a typical Data Warehouse workload'' - simulates __4 parallel sessions__ (-num_large 4) running a statement with a degree of __parallelism of 8__ (-num_streamIO 8), also simulates __raid0 striping__. The internal disks in this case do not have cache.
./orion -run advanced \
-testname orion14 \
-matrix point \
-num_small 0 \
-num_large 4 \
-size_large 1024 \
-num_disks 4 \
-type seq \
-num_streamIO 8 \
-simulate raid0 \
-cache_size 0 \
-verbose
------------------------------------------------------------------------------------------------
''num_large'' (# of parallel sessions)
''num_streamIO'' (# of PARALLEL hint) increase this parameter in order to simulate parallel execution for individual operations. Specify a DOP that you plan to use for your database operations, a good starting point for DOP is ''# of CPU x Parallel threads per CPU''
------------------------------------------------------------------------------------------------
In other words, the maximum throughput for this specific case with that workload is 57.30 MB/sec. In ideal conditions, Oracle will be able to achieve up to 95% of that number. For this particular case, having __4 parallel sessions__ running the following statement would approach the same throughput:
select /*+ NO_MERGE(sales) */ count(*)
from
(select /*+ FULL (s) PARALLEL (s,8) */ *
from all_sales s) sales
/
In a well-balanced Data Warehouse hardware config, there is __sufficient IO bandwidth to feed the CPUs__. As a starting point, you can use the __basic rule that ''every Ghz of CPU power can drive at least 100 MB/sec''__. I.e, for a sinlge server configuration with four 3Ghz CPUs, your storage configuration should at least be able to provide 4*3*100 = 1200 MB/s throughput. __This number should be multiplied by the number of nodes in a RAC configuration__.
! Some Orion command errors
Can only specify -num_streamIO with -type seq
Can only specify -stripe with -simulate RAID0
count (this is num_large) * nstream must be < 2048
Must specify -num_small and cannot specify -num_large when specified -matrix col
{{{
Orion does support filesystems and has done so for years. All you have
to do is create a file that is a multiple of the block size you'll be
testing, e.g.:
Create a 4GB file:
dd if=/dev/zero of=/u01/oracle/mytest.dbf bs=8k count=524288
Then, put this file in your test.lun file:
>cat mytest.lun
/u01/oracle/mytest.dbf
Then, run orion:
orion -run simple -testname mytest -num_disks 1
Regards,
Brandon
}}}
{{{
From my experience, it seems that all num_disks does is increase the max
load orion will run up to when you run with "-run simple/normal", or
"-matrix basic/detailed" tests, for example, with num_disks 1 on a
simple run, it will perform tests of single-block IOs at loads of
1,2,3,4,5 and then multi-block IOs at loads of 1 & 2. If you increase
to num_disks 2, then it will run single-block IOs at loads
1,2,3,4,5,6,7,8,9,10 and multi-block at 1,2,3,4, and it just keeps going
higher as you continue to increase num_disks. Beware it also takes much
longer since each run takes 1 minute by default, however with the larger
num_disks values, it does begin to skip data points, so, for example,
instead of doing every point between 1-20, it will do something like
1,2,4,6,8,10,12,16,20.
In the case of an advanced run like you have below with a specific point
of 45 large IOs and 0 small IOs, I don't think the num_disks parameter
does anything, but please let me know if I'm wrong.
Thanks,
Brandon
}}}
{{{
No prob - I know the documentation doesn't make it very clear. One
thing to be careful with - most filesystems are cached, so you'll
probably get unbelievably good numbers from Orion. The way I usually
workaround this is to create files for testing that are much larger than
my RAM, and clear the OS buffer cache prior to testing. You could also
try playing with the cache_size parameter for Orion, but that never
seemed to do much for me. Hopefully in a future version of orion,
they'll support using directio on a filesystem where supported by the
OS, just like the Oracle database does (e.g.
filesystemio_options=directio).
One more thing to beware of - if you configure orion to run write tests
(it does read-only by default with the simple/normal type tests), it
will destroy any data in the specified test files - so make sure you
don't have it pointed to anything you want to keep, like a real Oracle
datafile.
Regards,
Brandon
}}}
{{{
I believe num_disks has to do with the number of I/O threads that are
spawned and num_large has to do with the number of outstanding I/Os
that are targeted to be issued.
For what I use the tool for (I/O bandwidth testing) I generally run
the sequential workload to get a best possible data point and then use
the rand workload to get numbers closer to what a PQ workload would
be.
On Fri, Sep 12, 2008 at 10:47 AM, Allen, Brandon
<Brandon.Allen@xxxxxxxxxxx> wrote:
> In the case of an advanced run like you have below with a specific point
> of 45 large IOs and 0 small IOs, I don't think the num_disks parameter
> does anything, but please let me know if I'm wrong.
--
Regards,
Greg Rahn
http://structureddata.org
}}}
{{{
You could be right, I'm really not sure and have just come to most of my
current conclusions through trial and error. One thing I've noticed, at
least on Linux (OEL4 & 5) is that orion seems to return pretty
consistent results regardless of how high I push the load for a single
execution, e.g., even if I run with num_small 50 (I usually focus more
on IOPS since I work with OLTP systems) and/or num_disks 50, I'll get
about the same throughput as if I run with 5 or 10. I also never see it
spawn multiple processes/threads at the OS level, so it seems to just be
doing AIO from a single process. I've found that I can push the system
much harder if I run multiple orion processes concurrently, so what I'll
usually do is something like this:
1) Create four 4GB files with dd
2) Create for lun files, e.g. test1.lun, test2.lun, test3.lun and
test4.lun, each pointing to 1 of the 4 test files I created
3) Put four orion commands in a script like this to run four orion
commands in the background:
orion -run advanced -matrix point -num_large 0 -num_small 5
-testname mytest1 -num_disks 1 &
orion -run advanced -matrix point -num_large 0 -num_small 5
-testname mytest2 -num_disks 1 &
orion -run advanced -matrix point -num_large 0 -num_small 5
-testname mytest3 -num_disks 1 &
orion -run advanced -matrix point -num_large 0 -num_small 5
-testname mytest4 -num_disks 1 &
4) Run the script
I'll repeat the above test, increasing the number of concurrent
executions until I find the peak performance. Maybe I'm just doing
something wrong with the standard load-setting parameters, but this
seems to be the only way I can get orion to max out my systems.
}}}
{{{
Normally it is set to the number of physical drives, but it can be
adjusted higher or lower depending on how much load you want to drive.
Here is a couple command lines and summary that I used from a Sun
Thumper(http://www.sun.com/servers/x64/x4500/) for testing I/O
bandwidth using 1MB reads for a data warehouse workload.
-run advanced -type seq -testname thumper_seq -num_disks 45 -matrix
point -num_large 45 -num_small 0 -num_streamIO 16 -disk_start 0
-disk_end 150 -cache_size 0
Maximum Large MBPS=2668.88 @ Small=0 and Large=45
-run advanced -type rand -testname thumper_rand -num_disks 180 -matrix
point -num_large 720 -num_small 0 -duration 60 -disk_start 0 -disk_end
150 -cache_size 0
Maximum Large MBPS=1758.35 @ Small=0 and Large=720
}}}
http://husnusensoy.wordpress.com/2009/03/31/orion-io-calibration-over-sas-disks/
{{{
[oracle@consol10g orion]$ cat mytest.lun
/dev/dm-2
/dev/dm-3
/dev/dm-4
/dev/dm-5
/dev/dm-6
}}}
Small Random & Large Sequential Read Load
{{{
[oracle@consol10g orion]$ ./orion_lnx -run advanced -testname mytest -num_disks 40 -simulate raid0 -write 0 -type seq -matrix basic -cache_size 67108864 -verbose
}}}
Mix Read Load
{{{
[oracle@consol10g orion]$ ./orion_lnx -run advanced -testname mytest -num_disks 40 -simulate raid0 -write 0 -type seq -matrix detailed -cache_size 67108864 -verbose
}}}
For MySQL DW
http://www.pythian.com/news/15161/determining-io-throughput-for-a-system/
{{{
./orion –run advanced –testname mytest –num_small 0 –size_large 1024 –type rand –simulate contact –write 0 –duration 60 –matrix column
-num_small is 0 because you don’t usually do small transactions in a dw.
-type rand for random I/O’s because data warehouse queries usually don’t do sequential reads
-write 0 – no writes, because you do not write often to the dw, that is what the ETL is for.
-duration is in seconds
-matrix column shows you how much you can sustain
}}}
{{{
run Type of workload to run (simple, normal, advanced, dss, oltp)
simple - tests random 8K small IOs at various loads,
then random 1M large IOs at various loads.
normal - tests combinations of random 8K small
IOs and random 1M large IOs
advanced - run the workload specified by the user
using optional parameters
dss - run with random 1M large IOs at increasing loads
to determine the maximum throughput
oltp - run with random 8K small IOs at increasing loads
to determine the maximum IOPS
Optional parameters:
testname Name of the test run
num_disks Number of disks (physical spindles). Default is
the number of LUNs in <testname>.lun
size_small Size of small IOs (in KB) - default 8
size_large Size of large IOs (in KB) - default 1024
type Type of large IOs (rand, seq) - default rand
rand - Random large IOs
seq - Sequential streams of large IOs
num_streamIO Number of concurrent IOs per stream (only if type is
seq) - default 4
simulate Orion tests on a virtual volume formed by combining the
provided volumes in one of these ways (default concat):
concat - A serial concatenation of the volumes
raid0 - A RAID-0 mapping across the volumes
write Percentage of writes (SEE WARNING ABOVE) - default 0
cache_size Size *IN MEGABYTES* of the array's cache.
Unless this option is set to 0, Orion does a number
of (unmeasured) random IO before each large sequential
data point. This is done in order to fill up the array
cache with random data. This way, the blocks from one
data point do not result in cache hits for the next
data point. Read tests are preceded with junk reads
and write tests are preceded with junk writes. If
specified, this 'cache warming' is done until
cache_size worth of IO has been read or written.
Default behavior: fill up cache for 2 minutes before
each data point.
duration Duration of each data point (in seconds) - default 60
num_small Number of outstanding small IOs (only if matrix is
point, col, or max) - no default
num_large For random, number of outstanding large IOs.
For sequential, number of streams (only if matrix is
point, row, or max) - no default
matrix An Orion test consists of data points at various small
and large IO load levels. These points can be
represented as a two-dimensional matrix: Each column
in the matrix represents a fixed small IO load. Each
row represents a fixed large IO load. The first row
is with no large IO load and the first column is with
no small IO load. An Orion test can be a single point,
a row, a column or the whole matrix, depending on the
matrix option setting below (default basic):
basic - test the first row and the first column
detailed - test the entire matrix
point - test at load level num_small, num_large
col - varying large IO load with num_small small IOs
row - varying small IO load with num_large large IOs
max - test varying loads up to num_small, num_large
verbose Prints tracing information to standard output if set.
Default -- not set
ORION runs IO performance tests that model Oracle RDBMS IO workloads.
It measures the performance of small (2-32K) IOs and large (128K+) IOs
at various load levels. Each Orion data point is done at a specific
mix of small and large IO loads sustained for a duration. Anywhere
from a single data point to a two-dimensional array of data points can
be tested by setting the right options.
An Orion test consists of data points at various small and large IO
load levels. These points can be represented as a two-dimensional
matrix: Each column in the matrix represents a fixed small IO load.
Each row represents a fixed large IO load. The first row is with no
large IO load and the first column is with no small IO load. An Orion
test can be a single point, a row, a column or the whole matrix.
The 'run' parameter is the only mandatory parameter. Defaults
are indicated for all other parameters. For additional information on
the user interface, see the Orion User Guide.
<testname> is a filename prefix. By default, it is "orion". It can be
specified with the 'testname' parameter.
<testname>.lun should contain a carriage-return-separated list of LUNs
The output files for a test run are prefixed by <testname>_<date> where
date is "yyyymmdd_hhmm".
The output files are:
<testname>_<date>_summary.txt - Summary of the input parameters along with
min. small latency, max large MBPS
and/or max. small IOPS.
<testname>_<date>_mbps.csv - Performance results of large IOs in MBPS
<testname>_<date>_iops.csv - Performance results of small IOs in IOPS
<testname>_<date>_lat.csv - Latency of small IOs
<testname>_<date>_tradeoff.csv - Shows large MBPS / small IOPS
combinations that can be achieved at
certain small latencies
<testname>_trace.txt - Extended, unprocessed output
WARNING: IF YOU ARE PERFORMING WRITE TESTS, BE PREPARED TO LOSE ANY DATA STORED
ON THE LUNS.
Mandatory parameters:
Examples
For a preliminary set of data
-run simple
For a basic set of data
-run normal
To evaluate storage for an OLTP database
-run oltp
To evaluate storage for a data warehouse
-run dss
To generate combinations of 32KB and 1MB reads to random locations:
-run advanced
-size_small 32 -size_large 1024 -type rand -matrix detailed
To generate multiple sequential 1MB write streams, simulating 1MB RAID0 stripes
-run advanced
-simulate RAID0 -stripe 1024 -write 100 -type seq
-matrix col -num_small 0
}}}
Here's the HD used
Barracuda 7200 SATA 3Gb/s (375MB/s) interface 1TB Hard Drive
http://www.seagate.com/ww/v/index.jsp?vgnextoid=20b92d0ca8dce110VgnVCM100000f5ee0a0aRCRD#tTabContentOverview
see also LVMalaASM
I have also created a simple toolkit to characterize the existing storage subsystem if it meets the Application storage performance requirements, it does the following:
-- params_dss_randomwrites
-- params_dss_seqwrites
-- params_dss_randomreads
-- params_dss_seqreads
-- params_oltp_randomwrites
-- params_oltp_seqwrites
-- params_oltp_randomreads
-- params_oltp_seqreads
-- params_dss
-- params_oltp
Get the toolkit here http://karlarao.wordpress.com/scripts-resources/ named ''oriontoolkit.zip''
! Following is the summary of the Orion runs:
------------------------------------------
{{{
+++1 - a run on one datafile created on a filesystem, this is on VMWARE.. mysteriously giving optimistic results
+++2 - a run on the four 1TB hard disk, compare the numbers on the short stroked values!!! whew! way too low!
+++3 - a run on four 1TB hard disk.. but num_disk is 8
+++4 - cool, a raw short stroked partition (3 GB each disk) and not putting it on LVM is at the same performance with LVM magic! but I notice less IO% could be because there is no LVM layer
+++5 - short stroked 4 disks, applied the LVM stripe script trick and turned it into 1 piece of 12 GB LVM
+++6 - a simple orion benchmark on one disk.. not really impresive..
+++7 - 2nd run of a simple orion benchmark on one disk! but this time num_disk = 4
+++8 - 3rd run, this time num_disk = 8
+++9 - 4th run, this time num_disk = 16
+++10 - 5th run, this time num_disk = 32
+++11 - 6th run, this time num disk 64
+++12 - 7th run, this time num disk 128
+++13 DW sequential run, matrix point, duration 60, raid 0, cache 0, streamio 8, large 4, 285.10 MBPS
+++14 DW sequential run, matrix point, duration 60, raid 0, cache 0, streamio 8, large 8, 262.08 MBPS
+++15 DW sequential run, matrix point, duration 60, raid 0, cache 0, streamio 8, large 16, 217.93 MBPS
+++16 DW sequential run, matrix point, duration 60, raid 0, cache 0, streamio 8, large 24, 198.45 MBPS
+++17 DW sequential run, matrix point, duration 60, raid 0, cache 0, streamio 8, large 32, 194.99 MBPS
+++18 DW sequential run, matrix point, duration 60, raid 0, cache 0, streamio 8, large 64, 184.84 MBPS
+++19 DW sequential run, matrix point, duration 60, raid 0, cache 0, streamio 8, large 128, 154.78 MBPS
+++20 DW sequential run, matrix point, duration 60, raid 0, cache 0, streamio 8, large 256, 165.18 MBPS
+++21 DW sequential run, matrix point, duration 60, raid 0, cache 0, streamio 8, large 256, 162.33 MBPS
+++22 DW sequential run, matrix point, duration 60, raid 0, cache 0, streamio 8, large 1, 458.25 MBPS
+++23 DW sequential run, matrix point, duration 60, raid 0, cache 0, streamio 8, large 2, 294.11 MBPS
+++24 DW sequential run, matrix col, raid 0, cache 0, streamio 8, large 0-9, 457.89 MBPS
+++31 DW sequential run, matrix point, duration 300, raid 0, cache 0, streamio 8, large 8, 256.72 MBPS
+++25 FAIL, run normal
+++26 run OLTP, 487 IOPS, 19.99ms lat
+++27 run DSS, 181.19 MBPS
+++28 FAIL, generate combinations of 32KB and 1MB reads to random locations, 340 IOPS, 40 MBPS
+++30 Greg Rahn - emulate 1MB random scans, matrix point, duration 300, CONCAT, cache NE, streamio N/A, large 8, 139.28 MBPS
+++44 Greg Rahn - emulate 1MB random scans, matrix point, duration 300, CONCAT, cache 0, streamio N/A, large 8, 138.71 MBPS
+++45 Greg Rahn - emulate 1MB random scans, matrix point, duration 300, raid 0, cache 0, streamio N/A, large 8, 138.47 MBPS
+++46 Greg Rahn - emulate 1MB random scans, matrix point, duration 300, raid 0, cache 0, streamio N/A, large 256, 151.89 MBPS <<< RANDOM READS
+++52 Greg Rahn - random scans, matrix point, duration 60, raid 0, cache 0, streamio N/A, large 720, 160.88 MBPS
+++53 Greg Rahn - random scans, matrix point, duration 300, raid 0, cache 0, streamio N/A, large 720, 151.22 MBPS <<<
+++32 Greg Rahn - emulate 1MB sequential scans, matrix point, duration 300, CONCAT, cache NE, streamio 4, large 8, 440.50 MBPS
+++33 Greg Rahn - emulate 1MB sequential scans, matrix point, duration 300, CONCAT, cache 0, streamio 4, large 8, 441.24 MBPS
+++34 Greg Rahn - emulate 1MB sequential scans, matrix point, duration 300, RAID0, cache 0, streamio 4, large 8, 221.29 MBPS
+++35 Greg Rahn - emulate 1MB sequential scans, matrix point, duration 300, RAID0, cache 0, streamio 8, large 8, 254.70 MBPS
+++36 Greg Rahn - emulate 1MB sequential scans, matrix point, duration 300, RAID0, cache 0, streamio 8, large 256, 157.62 MBPS
+++37 Greg Rahn - emulate 1MB sequential scans, matrix point, duration 3600, RAID0, cache 0, streamio 8, large 256, 159.09 MBPS <<< SEQUENTIAL READS
+++38 Greg Rahn - emulate 1MB sequential scans, matrix point, duration 300, RAID0, cache NE, streamio 8, large 256, 157.65 MBPS
+++51 Greg Rahn - sequential scans, matrix point, duration 60, RAID0, cache 0, streamio 16, large 45, 347.92 MBPS
+++54 Greg Rahn - sequential scans, matrix point, duration 300, RAID0, cache 0, streamio 16, large 45, 358.31 MBPS
+++55 Greg Rahn - sequential scans, matrix point, duration 300, RAID0, cache 0, streamio 32, large 45, 359.01 MBPS
+++56 Greg Rahn - sequential scans, matrix point, duration 300, RAID0, cache 0, streamio 45, large 45, 352.05 MBPS <<<
+++49 generate multiple random 1MB write streams, matrix point, duration 300, raid 0, cache 0, streamio N/A, large 8, 147.55 MBPS
+++50 generate multiple random 1MB write streams, matrix point, duration 300, raid 0, cache 0, streamio N/A, large 256, 109.53 MBPS <<< RANDOM WRITES
+++57 generate multiple random 1MB write streams, matrix point, duration 300, raid 0, cache 0, streamio N/A, large 720, 107.31 MBPS <<<
+++47 generate multiple sequential 1MB write streams, matrix col, duration 60, CONCAT, cache NE, streamio 4, large 1-8, 421.80 MBPS
+++29 generate multiple sequential 1MB write streams, simulating 1MB RAID0 stripes, matrix col, cache NE, streamio 4, large 1-8, 370.14 MBPS
+++39 generate multiple sequential 1MB write streams, simulating 1MB RAID0 stripes, matrix col, cache 0, streamio 4, large 1-8, 369.68 MBPS
+++48 generate multiple sequential 1MB write streams, matrix point, duration 60, CONCAT, cache 0, streamio 8, large 8, 419.17 MBPS
+++40 generate multiple sequential 1MB write streams, simulating 1MB RAID0 stripes, matrix col, cache 0, streamio 8, large 1-8, 387.46 MBPS
+++41 generate multiple sequential 1MB write streams, simulating 1MB RAID0 stripes, matrix point, duration 60, cache 0, streamio 8, large 8, 251.69 MBPS
+++42 generate multiple sequential 1MB write streams, simulating 1MB RAID0 stripes, matrix point, duration 300, cache 0, streamio 8, large 8, 249.08 MBPS
+++43 generate multiple sequential 1MB write streams, simulating 1MB RAID0 stripes, matrix point, duration 300, cache 0, streamio 8, large 256, 106.62 MBPS <<< SEQUENTIAL WRITES
+++58 generate multiple sequential 1MB write streams, simulating 1MB RAID0 stripes, matrix point, duration 300, cache 0, streamio 45, large 45, 165.57 MBPS <<<
+++59 FAIL, husnu matrix basic (seq and iops test), stopped at point4, 211.56 MBPS, 365 IOPS, 54.77 lat
+++60 FAIL, husnu matrix detailed (seq and iops test), stopped at point24 out of 189, no MBPS, 370 IOPS, 53.91 lat
+++61 SINGLE DISK RUN seq matrix point, num large 256, streamio 8, raid 0, cache0, duration 300, 53.20 MBPS
+++62 MULTIPLE ORION (4) SESSION RUN seq matrix point, num large 256, streamio 8, raid 0, cache0, duration 300, on the OS, around 200 MBPS
+++63 IOPS - read (random, seq), write (random, seq)
+++ observations: seems like when you do OLTP runs, the collectl-all outputs the wsec/s (sector writes) and not the IOPS write..
+++ I've checked it with the iostat output
+++ params_oltp_randomwrites Maximum Small IOPS=309 @ Small=256 and Large=0 Minimum Small Latency=825.24 @ Small=256 and Large=0
+++ params_oltp_seqwrites Maximum Small IOPS=312 @ Small=256 and Large=0 Minimum Small Latency=818.04 @ Small=256 and Large=0
+++ params_oltp_randomreads Maximum Small IOPS=532 @ Small=256 and Large=0 Minimum Small Latency=480.28 @ Small=256 and Large=0
+++ params_oltp_seqreads Maximum Small IOPS=527 @ Small=256 and Large=0 Minimum Small Latency=485.31 @ Small=256 and Large=0
+++ params_oltp Maximum Small IOPS=481 @ Small=80 and Large=0 Minimum Small Latency=20.34 @ Small=4 and Large=0
+++64 FAIL, increasing random writes
+++65 FULL run of oriontoolkit
+++ params_dss_randomwrites Maximum Large MBPS=108.17 @ Small=0 and Large=256
+++ params_dss_seqwrites Maximum Large MBPS=111.59 @ Small=0 and Large=256
+++ params_dss_randomreads Maximum Large MBPS=148.50 @ Small=0 and Large=256
+++ params_dss_seqreads Maximum Large MBPS=156.24 @ Small=0 and Large=256
+++ params_oltp_randomwrites Maximum Small IOPS=312 @ Small=256 and Large=0 Minimum Small Latency=816.17 @ Small=256 and Large=0
+++ params_oltp_seqwrites Maximum Small IOPS=314 @ Small=256 and Large=0 Minimum Small Latency=812.39 @ Small=256 and Large=0
+++ params_oltp_randomreads Maximum Small IOPS=530 @ Small=256 and Large=0 Minimum Small Latency=482.69 @ Small=256 and Large=0
+++ params_oltp_seqreads Maximum Small IOPS=526 @ Small=256 and Large=0 Minimum Small Latency=486.29 @ Small=256 and Large=0
+++ params_dss Maximum Large MBPS=177.65 @ Small=0 and Large=32
+++ params_oltp Maximum Small IOPS=480 @ Small=80 and Large=0 Minimum Small Latency=20.42 @ Small=4 and Large=0
+++66 ShortStroked disks 150GB/1000GB
+++ params_dss_randomwrites Maximum Large MBPS=151.57 @ Small=0 and Large=256
+++ params_dss_seqwrites Maximum Large MBPS=163.09 @ Small=0 and Large=256
+++ params_dss_randomreads Maximum Large MBPS=192.11 @ Small=0 and Large=256
+++ params_dss_seqreads Maximum Large MBPS=207.77 @ Small=0 and Large=256
+++ params_oltp_randomwrites Maximum Small IOPS=431 @ Small=256 and Large=0 Minimum Small Latency=592.28 @ Small=256 and Large=0
+++ params_oltp_seqwrites Maximum Small IOPS=427 @ Small=256 and Large=0 Minimum Small Latency=597.92 @ Small=256 and Large=0
+++ params_oltp_randomreads Maximum Small IOPS=792 @ Small=256 and Large=0 Minimum Small Latency=323.08 @ Small=256 and Large=0
+++ params_oltp_seqreads Maximum Small IOPS=794 @ Small=256 and Large=0 Minimum Small Latency=322.24 @ Small=256 and Large=0
+++ params_dss Maximum Large MBPS=216.53 @ Small=0 and Large=28
+++ params_oltp Maximum Small IOPS=711 @ Small=80 and Large=0 Minimum Small Latency=14.32 @ Small=4 and Large=0
+++ a short stroked single disk
+++ create regression on OLTP Write and DSS Write
}}}
! Following are the details of the Orion runs:
------------------------------------------
{{{
#################################################################################################################
drwxr-xr-x 2 oracle oracle 4096 Jul 8 12:23 OrionTest1
+++1 - a run on one datafile created on a filesystem, this is on VMWARE.. mysteriously giving optimistic results
-----------------------------------------------------------------------------------------------------------------
Commandline:
-run simple -testname mytest -num_disks 1
This maps to this test:
Test: mytest
Small IO size: 8 KB
Large IO size: 1024 KB
IO Types: Small Random IOs, Large Random IOs
Simulated Array Type: CONCAT
Write: 0%
Cache Size: Not Entered
Duration for each Data Point: 60 seconds
Small Columns:, 0
Large Columns:, 0, 1, 2
Total Data Points: 8
Name: /home/oracle/mytest.dbf Size: 4294967296
1 FILEs found.
Maximum Large MBPS=181.83 @ Small=0 and Large=2
Maximum Small IOPS=1377 @ Small=5 and Large=0
Minimum Small Latency=0.79 @ Small=1 and Large=0
#################################################################################################################
drwxr-xr-x 2 root root 4096 Jul 13 20:42 OrionTest2
+++2 - a run on the four 1TB hard disk, compare the numbers on the short stroked values!!! whew! way too low!
-----------------------------------------------------------------------------------------------------------------
Commandline:
-run simple -testname mytest -num_disks 4
This maps to this test:
Test: mytest
Small IO size: 8 KB
Large IO size: 1024 KB
IO Types: Small Random IOs, Large Random IOs
Simulated Array Type: CONCAT
Write: 0%
Cache Size: Not Entered
Duration for each Data Point: 60 seconds
Small Columns:, 0
Large Columns:, 0, 1, 2, 3, 4, 5, 6, 7, 8
Total Data Points: 29
Name: /dev/sdb Size: 1000204886016
Name: /dev/sdc Size: 1000204886016
Name: /dev/sdd Size: 1000204886016
Name: /dev/sde Size: 1000204886016
4 FILEs found.
Maximum Large MBPS=143.28 @ Small=0 and Large=8
Maximum Small IOPS=387 @ Small=20 and Large=0
Minimum Small Latency=13.61 @ Small=1 and Large=0
#################################################################################################################
drwxr-xr-x 2 root root 4096 Jul 14 12:25 OrionTest3
+++3 - a run on four 1TB hard disk.. but num_disk is 8
-----------------------------------------------------------------------------------------------------------------
Commandline:
-run simple -testname mytest -num_disks 8
This maps to this test:
Test: mytest
Small IO size: 8 KB
Large IO size: 1024 KB
IO Types: Small Random IOs, Large Random IOs
Simulated Array Type: CONCAT
Write: 0%
Cache Size: Not Entered
Duration for each Data Point: 60 seconds
Small Columns:, 0
Large Columns:, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16
Total Data Points: 38
Name: /dev/sdb Size: 1000204886016
Name: /dev/sdc Size: 1000204886016
Name: /dev/sdd Size: 1000204886016
Name: /dev/sde Size: 1000204886016
4 FILEs found.
Maximum Large MBPS=171.55 @ Small=0 and Large=16
Maximum Small IOPS=456 @ Small=40 and Large=0
Minimum Small Latency=13.63 @ Small=1 and Large=0
#################################################################################################################
drwxr-xr-x 2 root root 4096 Jul 16 07:42 OrionTest4
+++4 - cool, a raw short stroked partition (3 GB each disk) and not putting it on LVM is at the same performance with LVM magic! but I notice less IO% could be because there is no LVM layer
-----------------------------------------------------------------------------------------------------------------
Commandline:
-run simple -testname mytest -num_disks 4
This maps to this test:
Test: mytest
Small IO size: 8 KB
Large IO size: 1024 KB
IO Types: Small Random IOs, Large Random IOs
Simulated Array Type: CONCAT
Write: 0%
Cache Size: Not Entered
Duration for each Data Point: 60 seconds
Small Columns:, 0
Large Columns:, 0, 1, 2, 3, 4, 5, 6, 7, 8
Total Data Points: 29
Name: /dev/sdb1 Size: 3257178624
Name: /dev/sdc1 Size: 3257178624
Name: /dev/sdd1 Size: 3257178624
Name: /dev/sde1 Size: 3257178624
4 FILEs found.
Maximum Large MBPS=232.07 @ Small=0 and Large=8
Maximum Small IOPS=954 @ Small=20 and Large=0
Minimum Small Latency=6.62 @ Small=1 and Large=0
#################################################################################################################
drwxr-xr-x 2 root root 4096 Dec 20 18:13 OrionTest5
+++5 - short stroked 4 disks, applied the LVM stripe script trick and turned it into 1 piece of 12 GB LVM
-----------------------------------------------------------------------------------------------------------------
Commandline:
-run simple -testname mytest -num_disks 4
This maps to this test:
Test: mytest
Small IO size: 8 KB
Large IO size: 1024 KB
IO Types: Small Random IOs, Large Random IOs
Simulated Array Type: CONCAT
Write: 0%
Cache Size: Not Entered
Duration for each Data Point: 60 seconds
Small Columns:, 0
Large Columns:, 0, 1, 2, 3, 4, 5, 6, 7, 8
Total Data Points: 29
Name: /dev/vgshortstroke/shortstroke Size: 13514047488
1 FILEs found.
Maximum Large MBPS=232.00 @ Small=0 and Large=8
Maximum Small IOPS=942 @ Small=20 and Large=0
Minimum Small Latency=6.61 @ Small=1 and Large=0
#################################################################################################################
drwxr-xr-x 2 root root 4096 Dec 21 16:59 OrionTest6
+++6 - a simple orion benchmark on one disk.. not really impresive..
-----------------------------------------------------------------------------------------------------------------
Commandline:
-run simple -testname mytest -num_disks 1
This maps to this test:
Test: mytest
Small IO size: 8 KB
Large IO size: 1024 KB
IO Types: Small Random IOs, Large Random IOs
Simulated Array Type: CONCAT
Write: 0%
Cache Size: Not Entered
Duration for each Data Point: 60 seconds
Small Columns:, 0
Large Columns:, 0, 1, 2
Total Data Points: 8
Name: /dev/sdb Size: 1000204886016
1 FILEs found.
Maximum Large MBPS=42.64 @ Small=0 and Large=2
Maximum Small IOPS=103 @ Small=5 and Large=0
Minimum Small Latency=13.62 @ Small=1 and Large=0
#################################################################################################################
drwxr-xr-x 2 root root 4096 Dec 21 18:15 OrionTest7
+++7 - 2nd run of a simple orion benchmark on one disk! but this time num_disk = 4
-----------------------------------------------------------------------------------------------------------------
Commandline:
-run simple -testname mytest -num_disks 4
This maps to this test:
Test: mytest
Small IO size: 8 KB
Large IO size: 1024 KB
IO Types: Small Random IOs, Large Random IOs
Simulated Array Type: CONCAT
Write: 0%
Cache Size: Not Entered
Duration for each Data Point: 60 seconds
Small Columns:, 0
Large Columns:, 0, 1, 2, 3, 4, 5, 6, 7, 8
Total Data Points: 29
Name: /dev/sdb Size: 1000204886016
1 FILEs found.
Maximum Large MBPS=52.80 @ Small=0 and Large=8
Maximum Small IOPS=135 @ Small=20 and Large=0
Minimum Small Latency=13.67 @ Small=1 and Large=0
#################################################################################################################
drwxr-xr-x 2 root root 4096 Dec 21 19:19 OrionTest8
+++8 - 3rd run, this time num_disk = 8
-----------------------------------------------------------------------------------------------------------------
Commandline:
-run simple -testname mytest -num_disks 8
This maps to this test:
Test: mytest
Small IO size: 8 KB
Large IO size: 1024 KB
IO Types: Small Random IOs, Large Random IOs
Simulated Array Type: CONCAT
Write: 0%
Cache Size: Not Entered
Duration for each Data Point: 60 seconds
Small Columns:, 0
Large Columns:, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16
Total Data Points: 38
Name: /dev/sdb Size: 1000204886016
1 FILEs found.
Maximum Large MBPS=56.74 @ Small=0 and Large=16
Maximum Small IOPS=148 @ Small=36 and Large=0
Minimum Small Latency=13.57 @ Small=1 and Large=0
#################################################################################################################
drwxr-xr-x 2 root root 4096 Dec 21 20:36 OrionTest9
+++9 - 4th run, this time num_disk = 16
-----------------------------------------------------------------------------------------------------------------
Commandline:
-run simple -testname mytest -num_disks 16
This maps to this test:
Test: mytest
Small IO size: 8 KB
Large IO size: 1024 KB
IO Types: Small Random IOs, Large Random IOs
Simulated Array Type: CONCAT
Write: 0%
Cache Size: Not Entered
Duration for each Data Point: 60 seconds
Small Columns:, 0
Large Columns:, 0, 1, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32
Total Data Points: 41
Name: /dev/sdb Size: 1000204886016
1 FILEs found.
Maximum Large MBPS=56.62 @ Small=0 and Large=18
Maximum Small IOPS=154 @ Small=80 and Large=0
Minimum Small Latency=13.62 @ Small=1 and Large=0
#################################################################################################################
drwxr-xr-x 2 root root 4096 Dec 22 14:04 OrionTest10
+++10 - 5th run, this time num_disk = 32
-----------------------------------------------------------------------------------------------------------------
Commandline:
-run simple -testname mytest -num_disks 32
This maps to this test:
Test: mytest
Small IO size: 8 KB
Large IO size: 1024 KB
IO Types: Small Random IOs, Large Random IOs
Simulated Array Type: CONCAT
Write: 0%
Cache Size: Not Entered
Duration for each Data Point: 60 seconds
Small Columns:, 0
Large Columns:, 0, 1, 2, 3, 4, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60
Total Data Points: 44
Name: /dev/sdb Size: 1000204886016
1 FILEs found.
Maximum Large MBPS=56.11 @ Small=0 and Large=15
Maximum Small IOPS=159 @ Small=128 and Large=0
Minimum Small Latency=13.69 @ Small=1 and Large=0
#################################################################################################################
drwxr-xr-x 2 root root 4096 Dec 22 16:51 OrionTest11
+++11 - 6th run, this time num disk 64
-----------------------------------------------------------------------------------------------------------------
Commandline:
-run simple -testname mytest -num_disks 64
This maps to this test:
Test: mytest
Small IO size: 8 KB
Large IO size: 1024 KB
IO Types: Small Random IOs, Large Random IOs
Simulated Array Type: CONCAT
Write: 0%
Cache Size: Not Entered
Duration for each Data Point: 60 seconds
Small Columns:, 0
Large Columns:, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 110, 120
Total Data Points: 57
Name: /dev/sdb Size: 1000204886016
1 FILEs found.
Maximum Large MBPS=55.89 @ Small=0 and Large=20
Maximum Small IOPS=160 @ Small=272 and Large=0
Minimum Small Latency=13.65 @ Small=1 and Large=0
#################################################################################################################
drwxr-xr-x 2 root root 4096 Dec 23 14:30 OrionTest12
+++12 - 7th run, this time num disk 128
-----------------------------------------------------------------------------------------------------------------
Commandline:
-run simple -testname mytest -num_disks 128
This maps to this test:
Test: mytest
Small IO size: 8 KB
Large IO size: 1024 KB
IO Types: Small Random IOs, Large Random IOs
Simulated Array Type: CONCAT
Write: 0%
Cache Size: Not Entered
Duration for each Data Point: 60 seconds
Small Columns:, 0
Large Columns:, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 42, 63, 84, 105, 126, 147, 168, 189, 210, 231, 252
Total Data Points: 84
Name: /dev/sdb Size: 1000204886016
1 FILEs found.
Maximum Large MBPS=56.41 @ Small=0 and Large=18
Maximum Small IOPS=160 @ Small=352 and Large=0
Minimum Small Latency=13.61 @ Small=1 and Large=0
#################################################################################################################
+++13 DW sequential run, matrix point, duration 60, raid 0, cache 0, streamio 8, large 4, 285.10 MBPS
-----------------------------------------------------------------------------------------------------------------
Commandline:
-run advanced -testname mytest -matrix point -num_small 0 -num_large 4 -size_large 1024 -num_disks 4 -type seq -num_streamIO 8 -simulate raid0 -cache_size 0 -verbose
This maps to this test:
Test: mytest
Small IO size: 8 KB
Large IO size: 1024 KB
IO Types: Small Random IOs, Large Sequential Streams
Number of Concurrent IOs Per Stream: 8
Force streams to separate disks: No
Simulated Array Type: RAID 0
Stripe Depth: 1024 KB
Write: 0%
Cache Size: 0 MB
Duration for each Data Point: 60 seconds
Small Columns:, 0
Large Columns:, 4
Total Data Points: 1
Name: /dev/sdb Size: 1000204886016
Name: /dev/sdc Size: 1000204886016
Name: /dev/sdd Size: 1000204886016
Name: /dev/sde Size: 1000204886016
4 FILEs found.
Maximum Large MBPS=285.10 @ Small=0 and Large=4
#################################################################################################################
+++14 DW sequential run, matrix point, duration 60, raid 0, cache 0, streamio 8, large 8, 262.08 MBPS
-----------------------------------------------------------------------------------------------------------------
Commandline:
-run advanced -testname mytest -matrix point -num_small 0 -num_large 8 -size_large 1024 -num_disks 4 -type seq -num_streamIO 8 -simulate raid0 -cache_size 0 -verbose
This maps to this test:
Test: mytest
Small IO size: 8 KB
Large IO size: 1024 KB
IO Types: Small Random IOs, Large Sequential Streams
Number of Concurrent IOs Per Stream: 8
Force streams to separate disks: No
Simulated Array Type: RAID 0
Stripe Depth: 1024 KB
Write: 0%
Cache Size: 0 MB
Duration for each Data Point: 60 seconds
Small Columns:, 0
Large Columns:, 8
Total Data Points: 1
Name: /dev/sdb Size: 1000204886016
Name: /dev/sdc Size: 1000204886016
Name: /dev/sdd Size: 1000204886016
Name: /dev/sde Size: 1000204886016
4 FILEs found.
Maximum Large MBPS=262.08 @ Small=0 and Large=8
#################################################################################################################
+++15 DW sequential run, matrix point, duration 60, raid 0, cache 0, streamio 8, large 16, 217.93 MBPS
-----------------------------------------------------------------------------------------------------------------
Commandline:
-run advanced -testname mytest -matrix point -num_small 0 -num_large 16 -size_large 1024 -num_disks 4 -type seq -num_streamIO 8 -simulate raid0 -cache_size 0 -verbose
This maps to this test:
Test: mytest
Small IO size: 8 KB
Large IO size: 1024 KB
IO Types: Small Random IOs, Large Sequential Streams
Number of Concurrent IOs Per Stream: 8
Force streams to separate disks: No
Simulated Array Type: RAID 0
Stripe Depth: 1024 KB
Write: 0%
Cache Size: 0 MB
Duration for each Data Point: 60 seconds
Small Columns:, 0
Large Columns:, 16
Total Data Points: 1
Name: /dev/sdb Size: 1000204886016
Name: /dev/sdc Size: 1000204886016
Name: /dev/sdd Size: 1000204886016
Name: /dev/sde Size: 1000204886016
4 FILEs found.
Maximum Large MBPS=217.93 @ Small=0 and Large=16
#################################################################################################################
+++16 DW sequential run, matrix point, duration 60, raid 0, cache 0, streamio 8, large 24, 198.45 MBPS
-----------------------------------------------------------------------------------------------------------------
Commandline:
-run advanced -testname mytest -matrix point -num_small 0 -num_large 24 -size_large 1024 -num_disks 4 -type seq -num_streamIO 8 -simulate raid0 -cache_size 0 -verbose
This maps to this test:
Test: mytest
Small IO size: 8 KB
Large IO size: 1024 KB
IO Types: Small Random IOs, Large Sequential Streams
Number of Concurrent IOs Per Stream: 8
Force streams to separate disks: No
Simulated Array Type: RAID 0
Stripe Depth: 1024 KB
Write: 0%
Cache Size: 0 MB
Duration for each Data Point: 60 seconds
Small Columns:, 0
Large Columns:, 24
Total Data Points: 1
Name: /dev/sdb Size: 1000204886016
Name: /dev/sdc Size: 1000204886016
Name: /dev/sdd Size: 1000204886016
Name: /dev/sde Size: 1000204886016
4 FILEs found.
Maximum Large MBPS=198.45 @ Small=0 and Large=24
#################################################################################################################
+++17 DW sequential run, matrix point, duration 60, raid 0, cache 0, streamio 8, large 32, 194.99 MBPS
-----------------------------------------------------------------------------------------------------------------
Commandline:
-run advanced -testname mytest -matrix point -num_small 0 -num_large 32 -size_large 1024 -num_disks 4 -type seq -num_streamIO 8 -simulate raid0 -cache_size 0 -verbose
This maps to this test:
Test: mytest
Small IO size: 8 KB
Large IO size: 1024 KB
IO Types: Small Random IOs, Large Sequential Streams
Number of Concurrent IOs Per Stream: 8
Force streams to separate disks: No
Simulated Array Type: RAID 0
Stripe Depth: 1024 KB
Write: 0%
Cache Size: 0 MB
Duration for each Data Point: 60 seconds
Small Columns:, 0
Large Columns:, 32
Total Data Points: 1
Name: /dev/sdb Size: 1000204886016
Name: /dev/sdc Size: 1000204886016
Name: /dev/sdd Size: 1000204886016
Name: /dev/sde Size: 1000204886016
4 FILEs found.
Maximum Large MBPS=194.99 @ Small=0 and Large=32
#################################################################################################################
+++18 DW sequential run, matrix point, duration 60, raid 0, cache 0, streamio 8, large 64, 184.84 MBPS
-----------------------------------------------------------------------------------------------------------------
Commandline:
-run advanced -testname mytest -matrix point -num_small 0 -num_large 64 -size_large 1024 -num_disks 4 -type seq -num_streamIO 8 -simulate raid0 -cache_size 0 -verbose
This maps to this test:
Test: mytest
Small IO size: 8 KB
Large IO size: 1024 KB
IO Types: Small Random IOs, Large Sequential Streams
Number of Concurrent IOs Per Stream: 8
Force streams to separate disks: No
Simulated Array Type: RAID 0
Stripe Depth: 1024 KB
Write: 0%
Cache Size: 0 MB
Duration for each Data Point: 60 seconds
Small Columns:, 0
Large Columns:, 64
Total Data Points: 1
Name: /dev/sdb Size: 1000204886016
Name: /dev/sdc Size: 1000204886016
Name: /dev/sdd Size: 1000204886016
Name: /dev/sde Size: 1000204886016
4 FILEs found.
Maximum Large MBPS=184.84 @ Small=0 and Large=64
#################################################################################################################
+++19 DW sequential run, matrix point, duration 60, raid 0, cache 0, streamio 8, large 128, 154.78 MBPS
-----------------------------------------------------------------------------------------------------------------
Commandline:
-run advanced -testname mytest -matrix point -num_small 0 -num_large 128 -size_large 1024 -num_disks 4 -type seq -num_streamIO 8 -simulate raid0 -cache_size 0 -verbose
This maps to this test:
Test: mytest
Small IO size: 8 KB
Large IO size: 1024 KB
IO Types: Small Random IOs, Large Sequential Streams
Number of Concurrent IOs Per Stream: 8
Force streams to separate disks: No
Simulated Array Type: RAID 0
Stripe Depth: 1024 KB
Write: 0%
Cache Size: 0 MB
Duration for each Data Point: 60 seconds
Small Columns:, 0
Large Columns:, 128
Total Data Points: 1
Name: /dev/sdb Size: 1000204886016
Name: /dev/sdc Size: 1000204886016
Name: /dev/sdd Size: 1000204886016
Name: /dev/sde Size: 1000204886016
4 FILEs found.
Maximum Large MBPS=154.78 @ Small=0 and Large=128
#################################################################################################################
+++20 DW sequential run, matrix point, duration 60, raid 0, cache 0, streamio 8, large 256, 165.18 MBPS
-----------------------------------------------------------------------------------------------------------------
Commandline:
-run advanced -testname mytest -matrix point -num_small 0 -num_large 256 -size_large 1024 -num_disks 4 -type seq -num_streamIO 8 -simulate raid0 -cache_size 0 -verbose
This maps to this test:
Test: mytest
Small IO size: 8 KB
Large IO size: 1024 KB
IO Types: Small Random IOs, Large Sequential Streams
Number of Concurrent IOs Per Stream: 8
Force streams to separate disks: No
Simulated Array Type: RAID 0
Stripe Depth: 1024 KB
Write: 0%
Cache Size: 0 MB
Duration for each Data Point: 60 seconds
Small Columns:, 0
Large Columns:, 256
Total Data Points: 1
Name: /dev/sdb Size: 1000204886016
Name: /dev/sdc Size: 1000204886016
Name: /dev/sdd Size: 1000204886016
Name: /dev/sde Size: 1000204886016
4 FILEs found.
Maximum Large MBPS=165.18 @ Small=0 and Large=256
#################################################################################################################
+++21 DW sequential run, matrix point, duration 60, raid 0, cache 0, streamio 8, large 256, 162.33 MBPS
-----------------------------------------------------------------------------------------------------------------
Commandline:
-run advanced -testname mytest -matrix point -num_small 0 -num_large 256 -size_large 1024 -num_disks 4 -type seq -num_streamIO 8 -simulate raid0 -cache_size 0 -verbose
This maps to this test:
Test: mytest
Small IO size: 8 KB
Large IO size: 1024 KB
IO Types: Small Random IOs, Large Sequential Streams
Number of Concurrent IOs Per Stream: 8
Force streams to separate disks: No
Simulated Array Type: RAID 0
Stripe Depth: 1024 KB
Write: 0%
Cache Size: 0 MB
Duration for each Data Point: 60 seconds
Small Columns:, 0
Large Columns:, 256
Total Data Points: 1
Name: /dev/sdb Size: 1000204886016
Name: /dev/sdc Size: 1000204886016
Name: /dev/sdd Size: 1000204886016
Name: /dev/sde Size: 1000204886016
4 FILEs found.
Maximum Large MBPS=162.33 @ Small=0 and Large=256
#################################################################################################################
+++22 DW sequential run, matrix point, duration 60, raid 0, cache 0, streamio 8, large 1, 458.25 MBPS
-----------------------------------------------------------------------------------------------------------------
Commandline:
-run advanced -testname mytest -matrix point -num_small 0 -num_large 1 -size_large 1024 -num_disks 4 -type seq -num_streamIO 8 -simulate raid0 -cache_size 0 -verbose
This maps to this test:
Test: mytest
Small IO size: 8 KB
Large IO size: 1024 KB
IO Types: Small Random IOs, Large Sequential Streams
Number of Concurrent IOs Per Stream: 8
Force streams to separate disks: No
Simulated Array Type: RAID 0
Stripe Depth: 1024 KB
Write: 0%
Cache Size: 0 MB
Duration for each Data Point: 60 seconds
Small Columns:, 0
Large Columns:, 1
Total Data Points: 1
Name: /dev/sdb Size: 1000204886016
Name: /dev/sdc Size: 1000204886016
Name: /dev/sdd Size: 1000204886016
Name: /dev/sde Size: 1000204886016
4 FILEs found.
Maximum Large MBPS=458.25 @ Small=0 and Large=1
#################################################################################################################
+++23 DW sequential run, matrix point, duration 60, raid 0, cache 0, streamio 8, large 2, 294.11 MBPS
-----------------------------------------------------------------------------------------------------------------
Commandline:
-run advanced -testname mytest -matrix point -num_small 0 -num_large 2 -size_large 1024 -num_disks 4 -type seq -num_streamIO 8 -simulate raid0 -cache_size 0 -verbose
This maps to this test:
Test: mytest
Small IO size: 8 KB
Large IO size: 1024 KB
IO Types: Small Random IOs, Large Sequential Streams
Number of Concurrent IOs Per Stream: 8
Force streams to separate disks: No
Simulated Array Type: RAID 0
Stripe Depth: 1024 KB
Write: 0%
Cache Size: 0 MB
Duration for each Data Point: 60 seconds
Small Columns:, 0
Large Columns:, 2
Total Data Points: 1
Name: /dev/sdb Size: 1000204886016
Name: /dev/sdc Size: 1000204886016
Name: /dev/sdd Size: 1000204886016
Name: /dev/sde Size: 1000204886016
4 FILEs found.
Maximum Large MBPS=294.11 @ Small=0 and Large=2
#################################################################################################################
+++24 DW sequential run, matrix col, raid 0, cache 0, streamio 8, large 0-9, 457.89 MBPS
-----------------------------------------------------------------------------------------------------------------
Commandline:
-run advanced -testname mytest -matrix col -num_small 0 -size_large 1024 -num_disks 4 -type seq -num_streamIO 8 -simulate raid0 -cache_size 0 -verbose
This maps to this test:
Test: mytest
Small IO size: 8 KB
Large IO size: 1024 KB
IO Types: Small Random IOs, Large Sequential Streams
Number of Concurrent IOs Per Stream: 8
Force streams to separate disks: No
Simulated Array Type: RAID 0
Stripe Depth: 1024 KB
Write: 0%
Cache Size: 0 MB
Duration for each Data Point: 60 seconds
Small Columns:, 0
Large Columns:, 0, 1, 2, 3, 4, 5, 6, 7, 8
Total Data Points: 9
Name: /dev/sdb Size: 1000204886016
Name: /dev/sdc Size: 1000204886016
Name: /dev/sdd Size: 1000204886016
Name: /dev/sde Size: 1000204886016
4 FILEs found.
Maximum Large MBPS=457.89 @ Small=0 and Large=1
#################################################################################################################
+++31 DW sequential run, matrix point, duration 300, raid 0, cache 0, streamio 8, large 8, 256.72 MBPS
-----------------------------------------------------------------------------------------------------------------
Commandline:
-run advanced -duration 300 -testname mytest -matrix point -num_small 0 -num_large 8 -size_large 1024 -num_disks 4 -type seq -num_streamIO 8 -simulate raid0 -cache_size 0 -verbose
This maps to this test:
Test: mytest
Small IO size: 8 KB
Large IO size: 1024 KB
IO Types: Small Random IOs, Large Sequential Streams
Number of Concurrent IOs Per Stream: 8
Force streams to separate disks: No
Simulated Array Type: RAID 0
Stripe Depth: 1024 KB
Write: 0%
Cache Size: 0 MB
Duration for each Data Point: 300 seconds
Small Columns:, 0
Large Columns:, 8
Total Data Points: 1
Name: /dev/sdb Size: 1000204886016
Name: /dev/sdc Size: 1000204886016
Name: /dev/sdd Size: 1000204886016
Name: /dev/sde Size: 1000204886016
4 FILEs found.
Maximum Large MBPS=256.72 @ Small=0 and Large=8
#################################################################################################################
+++25 FAIL, run normal
-----------------------------------------------------------------------------------------------------------------
#################################################################################################################
+++26 run OLTP, 487 IOPS, 19.99ms lat
-----------------------------------------------------------------------------------------------------------------
-run oltp -testname mytest
This maps to this test:
Test: mytest
Small IO size: 8 KB
Large IO size: 1024 KB
IO Types: Small Random IOs, Large Random IOs
Simulated Array Type: CONCAT
Write: 0%
Cache Size: Not Entered
Duration for each Data Point: 60 seconds
Small Columns:, 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 48, 52, 56, 60, 64, 68, 72, 76, 80
Large Columns:, 0
Total Data Points: 24
Name: /dev/sdb Size: 1000204886016
Name: /dev/sdc Size: 1000204886016
Name: /dev/sdd Size: 1000204886016
Name: /dev/sde Size: 1000204886016
4 FILEs found.
Maximum Small IOPS=487 @ Small=80 and Large=0
Minimum Small Latency=19.99 @ Small=4 and Large=0
#################################################################################################################
+++27 run DSS, 181.19 MBPS
-----------------------------------------------------------------------------------------------------------------
Commandline:
-run dss -testname mytest
This maps to this test:
Test: mytest
Small IO size: 8 KB
Large IO size: 1024 KB
IO Types: Small Random IOs, Large Random IOs
Simulated Array Type: CONCAT
Write: 0%
Cache Size: Not Entered
Duration for each Data Point: 240 seconds
Small Columns:, 0
Large Columns:, 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 48, 52, 56, 60
Total Data Points: 19
Name: /dev/sdb Size: 1000204886016
Name: /dev/sdc Size: 1000204886016
Name: /dev/sdd Size: 1000204886016
Name: /dev/sde Size: 1000204886016
4 FILEs found.
Maximum Large MBPS=181.19 @ Small=0 and Large=32
#################################################################################################################
+++28 FAIL, generate combinations of 32KB and 1MB reads to random locations, 340 IOPS, 40 MBPS
-----------------------------------------------------------------------------------------------------------------
Commandline:
-run advanced -size_small 32 -size_large 1024 -type rand -matrix detailed -testname mytest
#################################################################################################################
+++30 Greg Rahn - emulate 1MB random scans, matrix point, duration 300, CONCAT, cache NE, streamio N/A, large 8, 139.28 MBPS
-----------------------------------------------------------------------------------------------------------------
Commandline:
-run advanced -type rand -testname mytest -num_disks 4 -matrix point -num_large 8 -num_small 0 -duration 300
This maps to this test:
Test: mytest
Small IO size: 8 KB
Large IO size: 1024 KB
IO Types: Small Random IOs, Large Random IOs
Simulated Array Type: CONCAT
Write: 0%
Cache Size: Not Entered
Duration for each Data Point: 300 seconds
Small Columns:, 0
Large Columns:, 8
Total Data Points: 1
Name: /dev/sdb Size: 1000204886016
Name: /dev/sdc Size: 1000204886016
Name: /dev/sdd Size: 1000204886016
Name: /dev/sde Size: 1000204886016
4 FILEs found.
Maximum Large MBPS=139.28 @ Small=0 and Large=8
#################################################################################################################
+++44 Greg Rahn - emulate 1MB random scans, matrix point, duration 300, CONCAT, cache 0, streamio N/A, large 8, 138.71 MBPS
-----------------------------------------------------------------------------------------------------------------
Commandline:
-run advanced -type rand -testname mytest -num_disks 4 -matrix point -num_large 8 -num_small 0 -duration 300 -cache_size 0 -simulate concat
This maps to this test:
Test: mytest
Small IO size: 8 KB
Large IO size: 1024 KB
IO Types: Small Random IOs, Large Random IOs
Simulated Array Type: CONCAT
Write: 0%
Cache Size: 0 MB
Duration for each Data Point: 300 seconds
Small Columns:, 0
Large Columns:, 8
Total Data Points: 1
Name: /dev/sdb Size: 1000204886016
Name: /dev/sdc Size: 1000204886016
Name: /dev/sdd Size: 1000204886016
Name: /dev/sde Size: 1000204886016
4 FILEs found.
Maximum Large MBPS=138.71 @ Small=0 and Large=8
#################################################################################################################
+++45 Greg Rahn - emulate 1MB random scans, matrix point, duration 300, raid 0, cache 0, streamio N/A, large 8, 138.47 MBPS
-----------------------------------------------------------------------------------------------------------------
Commandline:
-run advanced -type rand -testname mytest -num_disks 4 -matrix point -num_large 8 -num_small 0 -duration 300 -cache_size 0 -simulate raid0
This maps to this test:
Test: mytest
Small IO size: 8 KB
Large IO size: 1024 KB
IO Types: Small Random IOs, Large Random IOs
Simulated Array Type: RAID 0
Stripe Depth: 1024 KB
Write: 0%
Cache Size: 0 MB
Duration for each Data Point: 300 seconds
Small Columns:, 0
Large Columns:, 8
Total Data Points: 1
Name: /dev/sdb Size: 1000204886016
Name: /dev/sdc Size: 1000204886016
Name: /dev/sdd Size: 1000204886016
Name: /dev/sde Size: 1000204886016
4 FILEs found.
Maximum Large MBPS=138.47 @ Small=0 and Large=8
#################################################################################################################
+++46 Greg Rahn - emulate 1MB random scans, matrix point, duration 300, raid 0, cache 0, streamio N/A, large 256, 151.89 MBPS <<< RANDOM READS
-----------------------------------------------------------------------------------------------------------------
Commandline:
-run advanced -type rand -testname mytest -num_disks 4 -matrix point -num_large 256 -num_small 0 -duration 300 -cache_size 0 -simulate raid0
This maps to this test:
Test: mytest
Small IO size: 8 KB
Large IO size: 1024 KB
IO Types: Small Random IOs, Large Random IOs
Simulated Array Type: RAID 0
Stripe Depth: 1024 KB
Write: 0%
Cache Size: 0 MB
Duration for each Data Point: 300 seconds
Small Columns:, 0
Large Columns:, 256
Total Data Points: 1
Name: /dev/sdb Size: 1000204886016
Name: /dev/sdc Size: 1000204886016
Name: /dev/sdd Size: 1000204886016
Name: /dev/sde Size: 1000204886016
4 FILEs found.
Maximum Large MBPS=151.89 @ Small=0 and Large=256
#################################################################################################################
+++52 Greg Rahn - random scans, matrix point, duration 60, raid 0, cache 0, streamio N/A, large 720, 160.88 MBPS
-----------------------------------------------------------------------------------------------------------------
Commandline:
-run advanced -type rand -testname mytest -num_disks 4 -matrix point -num_large 720 -num_small 0 -duration 60 -cache_size 0
This maps to this test:
Test: mytest
Small IO size: 8 KB
Large IO size: 1024 KB
IO Types: Small Random IOs, Large Random IOs
Simulated Array Type: CONCAT
Write: 0%
Cache Size: 0 MB
Duration for each Data Point: 60 seconds
Small Columns:, 0
Large Columns:, 720
Total Data Points: 1
Name: /dev/sdb Size: 1000204886016
Name: /dev/sdc Size: 1000204886016
Name: /dev/sdd Size: 1000204886016
Name: /dev/sde Size: 1000204886016
4 FILEs found.
Maximum Large MBPS=160.88 @ Small=0 and Large=720
#################################################################################################################
+++53 Greg Rahn - random scans, matrix point, duration 300, raid 0, cache 0, streamio N/A, large 720, 151.22 MBPS <<<
-----------------------------------------------------------------------------------------------------------------
Commandline:
-run advanced -type rand -testname mytest -num_disks 4 -matrix point -num_large 720 -num_small 0 -duration 300 -cache_size 0
This maps to this test:
Test: mytest
Small IO size: 8 KB
Large IO size: 1024 KB
IO Types: Small Random IOs, Large Random IOs
Simulated Array Type: CONCAT
Write: 0%
Cache Size: 0 MB
Duration for each Data Point: 300 seconds
Small Columns:, 0
Large Columns:, 720
Total Data Points: 1
Name: /dev/sdb Size: 1000204886016
Name: /dev/sdc Size: 1000204886016
Name: /dev/sdd Size: 1000204886016
Name: /dev/sde Size: 1000204886016
4 FILEs found.
Maximum Large MBPS=151.22 @ Small=0 and Large=720
#################################################################################################################
+++32 Greg Rahn - emulate 1MB sequential scans, matrix point, duration 300, CONCAT, cache NE, streamio 4, large 8, 440.50 MBPS
-----------------------------------------------------------------------------------------------------------------
Commandline:
-run advanced -type seq -testname mytest -num_disks 4 -matrix point -num_large 8 -num_small 0 -duration 300
This maps to this test:
Test: mytest
Small IO size: 8 KB
Large IO size: 1024 KB
IO Types: Small Random IOs, Large Sequential Streams
Number of Concurrent IOs Per Stream: 4
Force streams to separate disks: No
Simulated Array Type: CONCAT
Write: 0%
Cache Size: Not Entered
Duration for each Data Point: 300 seconds
Small Columns:, 0
Large Columns:, 8
Total Data Points: 1
Name: /dev/sdb Size: 1000204886016
Name: /dev/sdc Size: 1000204886016
Name: /dev/sdd Size: 1000204886016
Name: /dev/sde Size: 1000204886016
4 FILEs found.
Maximum Large MBPS=440.50 @ Small=0 and Large=8
#################################################################################################################
+++33 Greg Rahn - emulate 1MB sequential scans, matrix point, duration 300, CONCAT, cache 0, streamio 4, large 8, 441.24 MBPS
-----------------------------------------------------------------------------------------------------------------
Commandline:
-run advanced -type seq -testname mytest -num_disks 4 -matrix point -num_large 8 -num_small 0 -duration 300 -cache_size 0
This maps to this test:
Test: mytest
Small IO size: 8 KB
Large IO size: 1024 KB
IO Types: Small Random IOs, Large Sequential Streams
Number of Concurrent IOs Per Stream: 4
Force streams to separate disks: No
Simulated Array Type: CONCAT
Write: 0%
Cache Size: 0 MB
Duration for each Data Point: 300 seconds
Small Columns:, 0
Large Columns:, 8
Total Data Points: 1
Name: /dev/sdb Size: 1000204886016
Name: /dev/sdc Size: 1000204886016
Name: /dev/sdd Size: 1000204886016
Name: /dev/sde Size: 1000204886016
4 FILEs found.
Maximum Large MBPS=441.24 @ Small=0 and Large=8
#################################################################################################################
+++34 Greg Rahn - emulate 1MB sequential scans, matrix point, duration 300, RAID0, cache 0, streamio 4, large 8, 221.29 MBPS
-----------------------------------------------------------------------------------------------------------------
Commandline:
-run advanced -type seq -simulate raid0 -testname mytest -num_disks 4 -matrix point -num_large 8 -num_small 0 -duration 300 -cache_size 0
This maps to this test:
Test: mytest
Small IO size: 8 KB
Large IO size: 1024 KB
IO Types: Small Random IOs, Large Sequential Streams
Number of Concurrent IOs Per Stream: 4
Force streams to separate disks: No
Simulated Array Type: RAID 0
Stripe Depth: 1024 KB
Write: 0%
Cache Size: 0 MB
Duration for each Data Point: 300 seconds
Small Columns:, 0
Large Columns:, 8
Total Data Points: 1
Name: /dev/sdb Size: 1000204886016
Name: /dev/sdc Size: 1000204886016
Name: /dev/sdd Size: 1000204886016
Name: /dev/sde Size: 1000204886016
4 FILEs found.
Maximum Large MBPS=221.29 @ Small=0 and Large=8
#################################################################################################################
+++35 Greg Rahn - emulate 1MB sequential scans, matrix point, duration 300, RAID0, cache 0, streamio 8, large 8, 254.70 MBPS
-----------------------------------------------------------------------------------------------------------------
Commandline:
-run advanced -type seq -num_streamIO 8 -simulate raid0 -testname mytest -num_disks 4 -matrix point -num_large 8 -num_small 0 -duration 300 -cache_size 0
This maps to this test:
Test: mytest
Small IO size: 8 KB
Large IO size: 1024 KB
IO Types: Small Random IOs, Large Sequential Streams
Number of Concurrent IOs Per Stream: 8
Force streams to separate disks: No
Simulated Array Type: RAID 0
Stripe Depth: 1024 KB
Write: 0%
Cache Size: 0 MB
Duration for each Data Point: 300 seconds
Small Columns:, 0
Large Columns:, 8
Total Data Points: 1
Name: /dev/sdb Size: 1000204886016
Name: /dev/sdc Size: 1000204886016
Name: /dev/sdd Size: 1000204886016
Name: /dev/sde Size: 1000204886016
4 FILEs found.
Maximum Large MBPS=254.70 @ Small=0 and Large=8
#################################################################################################################
+++36 Greg Rahn - emulate 1MB sequential scans, matrix point, duration 300, RAID0, cache 0, streamio 8, large 256, 157.62 MBPS
-----------------------------------------------------------------------------------------------------------------
Commandline:
-run advanced -type seq -num_streamIO 8 -simulate raid0 -testname mytest -num_disks 4 -matrix point -num_large 256 -num_small 0 -duration 300 -cache_size 0
This maps to this test:
Test: mytest
Small IO size: 8 KB
Large IO size: 1024 KB
IO Types: Small Random IOs, Large Sequential Streams
Number of Concurrent IOs Per Stream: 8
Force streams to separate disks: No
Simulated Array Type: RAID 0
Stripe Depth: 1024 KB
Write: 0%
Cache Size: 0 MB
Duration for each Data Point: 300 seconds
Small Columns:, 0
Large Columns:, 256
Total Data Points: 1
Name: /dev/sdb Size: 1000204886016
Name: /dev/sdc Size: 1000204886016
Name: /dev/sdd Size: 1000204886016
Name: /dev/sde Size: 1000204886016
4 FILEs found.
Maximum Large MBPS=157.62 @ Small=0 and Large=256
#################################################################################################################
+++37 Greg Rahn - emulate 1MB sequential scans, matrix point, duration 3600, RAID0, cache 0, streamio 8, large 256, 159.09 MBPS <<< SEQUENTIAL READS
-----------------------------------------------------------------------------------------------------------------
Commandline:
-run advanced -type seq -num_streamIO 8 -simulate raid0 -testname mytest -num_disks 4 -matrix point -num_large 256 -num_small 0 -duration 3600 -cache_size 0
This maps to this test:
Test: mytest
Small IO size: 8 KB
Large IO size: 1024 KB
IO Types: Small Random IOs, Large Sequential Streams
Number of Concurrent IOs Per Stream: 8
Force streams to separate disks: No
Simulated Array Type: RAID 0
Stripe Depth: 1024 KB
Write: 0%
Cache Size: 0 MB
Duration for each Data Point: 3600 seconds
Small Columns:, 0
Large Columns:, 256
Total Data Points: 1
Name: /dev/sdb Size: 1000204886016
Name: /dev/sdc Size: 1000204886016
Name: /dev/sdd Size: 1000204886016
Name: /dev/sde Size: 1000204886016
4 FILEs found.
Maximum Large MBPS=159.09 @ Small=0 and Large=256
#################################################################################################################
+++38 Greg Rahn - emulate 1MB sequential scans, matrix point, duration 300, RAID0, cache NE, streamio 8, large 256, 157.65 MBPS
-----------------------------------------------------------------------------------------------------------------
Commandline:
-run advanced -type seq -num_streamIO 8 -simulate raid0 -testname mytest -num_disks 4 -matrix point -num_large 256 -num_small 0 -duration 300
This maps to this test:
Test: mytest
Small IO size: 8 KB
Large IO size: 1024 KB
IO Types: Small Random IOs, Large Sequential Streams
Number of Concurrent IOs Per Stream: 8
Force streams to separate disks: No
Simulated Array Type: RAID 0
Stripe Depth: 1024 KB
Write: 0%
Cache Size: Not Entered
Duration for each Data Point: 300 seconds
Small Columns:, 0
Large Columns:, 256
Total Data Points: 1
Name: /dev/sdb Size: 1000204886016
Name: /dev/sdc Size: 1000204886016
Name: /dev/sdd Size: 1000204886016
Name: /dev/sde Size: 1000204886016
4 FILEs found.
Maximum Large MBPS=157.65 @ Small=0 and Large=256
#################################################################################################################
+++51 Greg Rahn - sequential scans, matrix point, duration 60, RAID0, cache 0, streamio 16, large 45, 347.92 MBPS
-----------------------------------------------------------------------------------------------------------------
Commandline:
-run advanced -type seq -testname mytest -num_disks 4 -matrix point -num_large 45 -num_small 0 -num_streamIO 16 -cache_size 0
This maps to this test:
Test: mytest
Small IO size: 8 KB
Large IO size: 1024 KB
IO Types: Small Random IOs, Large Sequential Streams
Number of Concurrent IOs Per Stream: 16
Force streams to separate disks: No
Simulated Array Type: CONCAT
Write: 0%
Cache Size: 0 MB
Duration for each Data Point: 60 seconds
Small Columns:, 0
Large Columns:, 45
Total Data Points: 1
Name: /dev/sdb Size: 1000204886016
Name: /dev/sdc Size: 1000204886016
Name: /dev/sdd Size: 1000204886016
Name: /dev/sde Size: 1000204886016
4 FILEs found.
Maximum Large MBPS=347.92 @ Small=0 and Large=45
#################################################################################################################
+++54 Greg Rahn - sequential scans, matrix point, duration 300, RAID0, cache 0, streamio 16, large 45, 358.31 MBPS
-----------------------------------------------------------------------------------------------------------------
Commandline:
-run advanced -type seq -testname mytest -num_disks 4 -matrix point -num_large 45 -num_small 0 -num_streamIO 16 -cache_size 0 -duration 300
This maps to this test:
Test: mytest
Small IO size: 8 KB
Large IO size: 1024 KB
IO Types: Small Random IOs, Large Sequential Streams
Number of Concurrent IOs Per Stream: 16
Force streams to separate disks: No
Simulated Array Type: CONCAT
Write: 0%
Cache Size: 0 MB
Duration for each Data Point: 300 seconds
Small Columns:, 0
Large Columns:, 45
Total Data Points: 1
Name: /dev/sdb Size: 1000204886016
Name: /dev/sdc Size: 1000204886016
Name: /dev/sdd Size: 1000204886016
Name: /dev/sde Size: 1000204886016
4 FILEs found.
Maximum Large MBPS=358.31 @ Small=0 and Large=45
#################################################################################################################
+++55 Greg Rahn - sequential scans, matrix point, duration 300, RAID0, cache 0, streamio 32, large 45, 359.01 MBPS
-----------------------------------------------------------------------------------------------------------------
Commandline:
-run advanced -type seq -testname mytest -num_disks 4 -matrix point -num_large 45 -num_small 0 -num_streamIO 32 -cache_size 0 -duration 300
This maps to this test:
Test: mytest
Small IO size: 8 KB
Large IO size: 1024 KB
IO Types: Small Random IOs, Large Sequential Streams
Number of Concurrent IOs Per Stream: 32
Force streams to separate disks: No
Simulated Array Type: CONCAT
Write: 0%
Cache Size: 0 MB
Duration for each Data Point: 300 seconds
Small Columns:, 0
Large Columns:, 45
Total Data Points: 1
Name: /dev/sdb Size: 1000204886016
Name: /dev/sdc Size: 1000204886016
Name: /dev/sdd Size: 1000204886016
Name: /dev/sde Size: 1000204886016
4 FILEs found.
Maximum Large MBPS=359.01 @ Small=0 and Large=45
#################################################################################################################
+++56 Greg Rahn - sequential scans, matrix point, duration 300, RAID0, cache 0, streamio 45, large 45, 352.05 MBPS <<<
-----------------------------------------------------------------------------------------------------------------
Commandline:
-run advanced -type seq -testname mytest -num_disks 4 -matrix point -num_large 45 -num_small 0 -num_streamIO 45 -cache_size 0 -duration 300
This maps to this test:
Test: mytest
Small IO size: 8 KB
Large IO size: 1024 KB
IO Types: Small Random IOs, Large Sequential Streams
Number of Concurrent IOs Per Stream: 45
Force streams to separate disks: No
Simulated Array Type: CONCAT
Write: 0%
Cache Size: 0 MB
Duration for each Data Point: 300 seconds
Small Columns:, 0
Large Columns:, 45
Total Data Points: 1
Name: /dev/sdb Size: 1000204886016
Name: /dev/sdc Size: 1000204886016
Name: /dev/sdd Size: 1000204886016
Name: /dev/sde Size: 1000204886016
4 FILEs found.
Maximum Large MBPS=352.05 @ Small=0 and Large=45
#################################################################################################################
+++49 generate multiple random 1MB write streams, matrix point, duration 300, raid 0, cache 0, streamio N/A, large 8, 147.55 MBPS
-----------------------------------------------------------------------------------------------------------------
Commandline:
-testname mytest -run advanced -simulate raid0 -stripe 1024 -write 100 -type rand -matrix point -num_small 0 -cache_size 0 -num_large 8 -duration 300
This maps to this test:
Test: mytest
Small IO size: 8 KB
Large IO size: 1024 KB
IO Types: Small Random IOs, Large Random IOs
Simulated Array Type: RAID 0
Stripe Depth: 1024 KB
Write: 100%
Cache Size: 0 MB
Duration for each Data Point: 300 seconds
Small Columns:, 0
Large Columns:, 8
Total Data Points: 1
Name: /dev/sdb Size: 1000204886016
Name: /dev/sdc Size: 1000204886016
Name: /dev/sdd Size: 1000204886016
Name: /dev/sde Size: 1000204886016
4 FILEs found.
Maximum Large MBPS=147.55 @ Small=0 and Large=8
#################################################################################################################
+++50 generate multiple random 1MB write streams, matrix point, duration 300, raid 0, cache 0, streamio N/A, large 256, 109.53 MBPS <<< RANDOM WRITES
-----------------------------------------------------------------------------------------------------------------
Commandline:
-testname mytest -run advanced -simulate raid0 -stripe 1024 -write 100 -type rand -matrix point -num_small 0 -cache_size 0 -num_large 256 -duration 300
This maps to this test:
Test: mytest
Small IO size: 8 KB
Large IO size: 1024 KB
IO Types: Small Random IOs, Large Random IOs
Simulated Array Type: RAID 0
Stripe Depth: 1024 KB
Write: 100%
Cache Size: 0 MB
Duration for each Data Point: 300 seconds
Small Columns:, 0
Large Columns:, 256
Total Data Points: 1
Name: /dev/sdb Size: 1000204886016
Name: /dev/sdc Size: 1000204886016
Name: /dev/sdd Size: 1000204886016
Name: /dev/sde Size: 1000204886016
4 FILEs found.
Maximum Large MBPS=109.53 @ Small=0 and Large=256
#################################################################################################################
+++57 generate multiple random 1MB write streams, matrix point, duration 300, raid 0, cache 0, streamio N/A, large 720, 107.31 MBPS <<<
-----------------------------------------------------------------------------------------------------------------
Commandline:
-testname mytest -run advanced -simulate raid0 -stripe 1024 -write 100 -type rand -matrix point -num_small 0 -cache_size 0 -num_large 720 -duration 300
This maps to this test:
Test: mytest
Small IO size: 8 KB
Large IO size: 1024 KB
IO Types: Small Random IOs, Large Random IOs
Simulated Array Type: RAID 0
Stripe Depth: 1024 KB
Write: 100%
Cache Size: 0 MB
Duration for each Data Point: 300 seconds
Small Columns:, 0
Large Columns:, 720
Total Data Points: 1
Name: /dev/sdb Size: 1000204886016
Name: /dev/sdc Size: 1000204886016
Name: /dev/sdd Size: 1000204886016
Name: /dev/sde Size: 1000204886016
4 FILEs found.
Maximum Large MBPS=107.31 @ Small=0 and Large=720
#################################################################################################################
+++47 generate multiple sequential 1MB write streams, matrix col, duration 60, CONCAT, cache NE, streamio 4, large 1-8, 421.80 MBPS
-----------------------------------------------------------------------------------------------------------------
Commandline:
-testname mytest -run advanced -simulate concat -write 100 -type seq -matrix col -num_small 0
This maps to this test:
Test: mytest
Small IO size: 8 KB
Large IO size: 1024 KB
IO Types: Small Random IOs, Large Sequential Streams
Number of Concurrent IOs Per Stream: 4
Force streams to separate disks: No
Simulated Array Type: CONCAT
Write: 100%
Cache Size: Not Entered
Duration for each Data Point: 60 seconds
Small Columns:, 0
Large Columns:, 0, 1, 2, 3, 4, 5, 6, 7, 8
Total Data Points: 9
Name: /dev/sdb Size: 1000204886016
Name: /dev/sdc Size: 1000204886016
Name: /dev/sdd Size: 1000204886016
Name: /dev/sde Size: 1000204886016
4 FILEs found.
Maximum Large MBPS=421.80 @ Small=0 and Large=5
#################################################################################################################
+++29 generate multiple sequential 1MB write streams, simulating 1MB RAID0 stripes, matrix col, cache NE, streamio 4, large 1-8, 370.14 MBPS
-----------------------------------------------------------------------------------------------------------------
Commandline:
-testname mytest -run advanced -simulate raid0 -stripe 1024 -write 100 -type seq -matrix col -num_small 0
This maps to this test:
Test: mytest
Small IO size: 8 KB
Large IO size: 1024 KB
IO Types: Small Random IOs, Large Sequential Streams
Number of Concurrent IOs Per Stream: 4
Force streams to separate disks: No
Simulated Array Type: RAID 0
Stripe Depth: 1024 KB
Write: 100%
Cache Size: Not Entered
Duration for each Data Point: 60 seconds
Small Columns:, 0
Large Columns:, 0, 1, 2, 3, 4, 5, 6, 7, 8
Total Data Points: 9
Name: /dev/sdb Size: 1000204886016
Name: /dev/sdc Size: 1000204886016
Name: /dev/sdd Size: 1000204886016
Name: /dev/sde Size: 1000204886016
4 FILEs found.
Maximum Large MBPS=370.14 @ Small=0 and Large=1
#################################################################################################################
+++39 generate multiple sequential 1MB write streams, simulating 1MB RAID0 stripes, matrix col, cache 0, streamio 4, large 1-8, 369.68 MBPS
-----------------------------------------------------------------------------------------------------------------
Commandline:
-testname mytest -run advanced -simulate raid0 -stripe 1024 -write 100 -type seq -matrix col -num_small 0 -cache_size 0
This maps to this test:
Test: mytest
Small IO size: 8 KB
Large IO size: 1024 KB
IO Types: Small Random IOs, Large Sequential Streams
Number of Concurrent IOs Per Stream: 4
Force streams to separate disks: No
Simulated Array Type: RAID 0
Stripe Depth: 1024 KB
Write: 100%
Cache Size: 0 MB
Duration for each Data Point: 60 seconds
Small Columns:, 0
Large Columns:, 0, 1, 2, 3, 4, 5, 6, 7, 8
Total Data Points: 9
Name: /dev/sdb Size: 1000204886016
Name: /dev/sdc Size: 1000204886016
Name: /dev/sdd Size: 1000204886016
Name: /dev/sde Size: 1000204886016
4 FILEs found.
Maximum Large MBPS=369.68 @ Small=0 and Large=1
#################################################################################################################
+++48 generate multiple sequential 1MB write streams, matrix point, duration 60, CONCAT, cache 0, streamio 8, large 8, 419.17 MBPS
-----------------------------------------------------------------------------------------------------------------
Commandline:
-testname mytest -run advanced -simulate concat -write 100 -type seq -matrix point -num_small 0 -cache_size 0 -num_streamIO 8 -num_large 8
This maps to this test:
Test: mytest
Small IO size: 8 KB
Large IO size: 1024 KB
IO Types: Small Random IOs, Large Sequential Streams
Number of Concurrent IOs Per Stream: 8
Force streams to separate disks: No
Simulated Array Type: CONCAT
Write: 100%
Cache Size: 0 MB
Duration for each Data Point: 60 seconds
Small Columns:, 0
Large Columns:, 8
Total Data Points: 1
Name: /dev/sdb Size: 1000204886016
Name: /dev/sdc Size: 1000204886016
Name: /dev/sdd Size: 1000204886016
Name: /dev/sde Size: 1000204886016
4 FILEs found.
Maximum Large MBPS=419.17 @ Small=0 and Large=8
#################################################################################################################
+++40 generate multiple sequential 1MB write streams, simulating 1MB RAID0 stripes, matrix col, cache 0, streamio 8, large 1-8, 387.46 MBPS
-----------------------------------------------------------------------------------------------------------------
Commandline:
-testname mytest -run advanced -simulate raid0 -stripe 1024 -write 100 -type seq -matrix col -num_small 0 -cache_size 0 -num_streamIO 8
This maps to this test:
Test: mytest
Small IO size: 8 KB
Large IO size: 1024 KB
IO Types: Small Random IOs, Large Sequential Streams
Number of Concurrent IOs Per Stream: 8
Force streams to separate disks: No
Simulated Array Type: RAID 0
Stripe Depth: 1024 KB
Write: 100%
Cache Size: 0 MB
Duration for each Data Point: 60 seconds
Small Columns:, 0
Large Columns:, 0, 1, 2, 3, 4, 5, 6, 7, 8
Total Data Points: 9
Name: /dev/sdb Size: 1000204886016
Name: /dev/sdc Size: 1000204886016
Name: /dev/sdd Size: 1000204886016
Name: /dev/sde Size: 1000204886016
4 FILEs found.
Maximum Large MBPS=387.46 @ Small=0 and Large=1
#################################################################################################################
+++41 generate multiple sequential 1MB write streams, simulating 1MB RAID0 stripes, matrix point, duration 60, cache 0, streamio 8, large 8, 251.69 MBPS
-----------------------------------------------------------------------------------------------------------------
Commandline:
-testname mytest -run advanced -simulate raid0 -stripe 1024 -write 100 -type seq -matrix point -num_small 0 -cache_size 0 -num_streamIO 8 -num_large 8
This maps to this test:
Test: mytest
Small IO size: 8 KB
Large IO size: 1024 KB
IO Types: Small Random IOs, Large Sequential Streams
Number of Concurrent IOs Per Stream: 8
Force streams to separate disks: No
Simulated Array Type: RAID 0
Stripe Depth: 1024 KB
Write: 100%
Cache Size: 0 MB
Duration for each Data Point: 60 seconds
Small Columns:, 0
Large Columns:, 8
Total Data Points: 1
Name: /dev/sdb Size: 1000204886016
Name: /dev/sdc Size: 1000204886016
Name: /dev/sdd Size: 1000204886016
Name: /dev/sde Size: 1000204886016
4 FILEs found.
Maximum Large MBPS=251.69 @ Small=0 and Large=8
#################################################################################################################
+++42 generate multiple sequential 1MB write streams, simulating 1MB RAID0 stripes, matrix point, duration 300, cache 0, streamio 8, large 8, 249.08 MBPS
-----------------------------------------------------------------------------------------------------------------
Commandline:
-testname mytest -run advanced -simulate raid0 -stripe 1024 -write 100 -type seq -matrix point -num_small 0 -cache_size 0 -num_streamIO 8 -num_large 8 -duration 300
This maps to this test:
Test: mytest
Small IO size: 8 KB
Large IO size: 1024 KB
IO Types: Small Random IOs, Large Sequential Streams
Number of Concurrent IOs Per Stream: 8
Force streams to separate disks: No
Simulated Array Type: RAID 0
Stripe Depth: 1024 KB
Write: 100%
Cache Size: 0 MB
Duration for each Data Point: 300 seconds
Small Columns:, 0
Large Columns:, 8
Total Data Points: 1
Name: /dev/sdb Size: 1000204886016
Name: /dev/sdc Size: 1000204886016
Name: /dev/sdd Size: 1000204886016
Name: /dev/sde Size: 1000204886016
4 FILEs found.
Maximum Large MBPS=249.08 @ Small=0 and Large=8
#################################################################################################################
+++43 generate multiple sequential 1MB write streams, simulating 1MB RAID0 stripes, matrix point, duration 300, cache 0, streamio 8, large 256, 106.62 MBPS <<< SEQUENTIAL WRITES
-----------------------------------------------------------------------------------------------------------------
Commandline:
-testname mytest -run advanced -simulate raid0 -stripe 1024 -write 100 -type seq -matrix point -num_small 0 -cache_size 0 -num_streamIO 8 -num_large 256 -duration 300
This maps to this test:
Test: mytest
Small IO size: 8 KB
Large IO size: 1024 KB
IO Types: Small Random IOs, Large Sequential Streams
Number of Concurrent IOs Per Stream: 8
Force streams to separate disks: No
Simulated Array Type: RAID 0
Stripe Depth: 1024 KB
Write: 100%
Cache Size: 0 MB
Duration for each Data Point: 300 seconds
Small Columns:, 0
Large Columns:, 256
Total Data Points: 1
Name: /dev/sdb Size: 1000204886016
Name: /dev/sdc Size: 1000204886016
Name: /dev/sdd Size: 1000204886016
Name: /dev/sde Size: 1000204886016
4 FILEs found.
Maximum Large MBPS=106.62 @ Small=0 and Large=256
#################################################################################################################
+++58 generate multiple sequential 1MB write streams, simulating 1MB RAID0 stripes, matrix point, duration 300, cache 0, streamio 45, large 45, 165.57 MBPS <<<
-----------------------------------------------------------------------------------------------------------------
Commandline:
-testname mytest -run advanced -simulate raid0 -stripe 1024 -write 100 -type seq -matrix point -num_small 0 -cache_size 0 -num_streamIO 45 -num_large 45 -duration 300
This maps to this test:
Test: mytest
Small IO size: 8 KB
Large IO size: 1024 KB
IO Types: Small Random IOs, Large Sequential Streams
Number of Concurrent IOs Per Stream: 45
Force streams to separate disks: No
Simulated Array Type: RAID 0
Stripe Depth: 1024 KB
Write: 100%
Cache Size: 0 MB
Duration for each Data Point: 300 seconds
Small Columns:, 0
Large Columns:, 45
Total Data Points: 1
Name: /dev/sdb Size: 1000204886016
Name: /dev/sdc Size: 1000204886016
Name: /dev/sdd Size: 1000204886016
Name: /dev/sde Size: 1000204886016
4 FILEs found.
Maximum Large MBPS=165.57 @ Small=0 and Large=45
#################################################################################################################
+++59 FAIL, husnu matrix basic (seq and iops test), stopped at point4, 211.56 MBPS, 365 IOPS, 54.77 lat
-----------------------------------------------------------------------------------------------------------------
1, 454.68
2, 202.64
3, 207.06
4, 211.56
Commandline:
-run advanced -testname mytest -num_disks 4 -simulate raid0 -write 0 -type seq -matrix basic -cache_size 0 -verbose
This maps to this test:
Test: mytest
Small IO size: 8 KB
Large IO size: 1024 KB
IO Types: Small Random IOs, Large Sequential Streams
Number of Concurrent IOs Per Stream: 4
Force streams to separate disks: No
Simulated Array Type: RAID 0
Stripe Depth: 1024 KB
Write: 0%
Cache Size: 0 MB
Duration for each Data Point: 60 seconds
#################################################################################################################
+++60 FAIL, husnu matrix detailed (seq and iops test), stopped at point24 out of 189, no MBPS, 370 IOPS, 53.91 lat
-----------------------------------------------------------------------------------------------------------------
Commandline:
-run advanced -testname mytest -num_disks 4 -simulate raid0 -write 0 -type seq -matrix detailed -cache_size 0 -verbose
This maps to this test:
Test: mytest
Small IO size: 8 KB
Large IO size: 1024 KB
IO Types: Small Random IOs, Large Sequential Streams
Number of Concurrent IOs Per Stream: 4
Force streams to separate disks: No
Simulated Array Type: RAID 0
Stripe Depth: 1024 KB
Write: 0%
Cache Size: 0 MB
Duration for each Data Point: 60 seconds
#################################################################################################################
+++61 SINGLE DISK RUN seq matrix point, num large 256, streamio 8, raid 0, cache0, duration 300, 53.20 MBPS
-----------------------------------------------------------------------------------------------------------------
Commandline:
-run advanced -type seq -num_streamIO 8 -simulate raid0 -testname mytest -num_disks 1 -matrix point -num_large 256 -num_small 0 -duration 300 -cache_size 0
This maps to this test:
Test: mytest
Small IO size: 8 KB
Large IO size: 1024 KB
IO Types: Small Random IOs, Large Sequential Streams
Number of Concurrent IOs Per Stream: 8
Force streams to separate disks: No
Simulated Array Type: RAID 0
Stripe Depth: 1024 KB
Write: 0%
Cache Size: 0 MB
Duration for each Data Point: 300 seconds
Small Columns:, 0
Large Columns:, 256
Total Data Points: 1
Name: /dev/sdb Size: 1000204886016
1 FILEs found.
Maximum Large MBPS=53.20 @ Small=0 and Large=256
#################################################################################################################
+++62 MULTIPLE ORION (4) SESSION RUN seq matrix point, num large 256, streamio 8, raid 0, cache0, duration 300, on the OS, around 200 MBPS
-----------------------------------------------------------------------------------------------------------------
Commandline:
-run advanced -type seq -num_streamIO 8 -simulate raid0 -testname mytest1 -num_disks 1 -matrix point -num_large 256 -num_small 0 -duration 300 -cache_size 0
This maps to this test:
Test: mytest1
Small IO size: 8 KB
Large IO size: 1024 KB
IO Types: Small Random IOs, Large Sequential Streams
Number of Concurrent IOs Per Stream: 8
Force streams to separate disks: No
Simulated Array Type: RAID 0
Stripe Depth: 1024 KB
Write: 0%
Cache Size: 0 MB
Duration for each Data Point: 300 seconds
Small Columns:, 0
Large Columns:, 256
Total Data Points: 1
Name: /dev/sdb Size: 1000204886016
1 FILEs found.
Maximum Large MBPS=51.03 @ Small=0 and Large=256
Commandline:
-run advanced -type seq -num_streamIO 8 -simulate raid0 -testname mytest2 -num_disks 1 -matrix point -num_large 256 -num_small 0 -duration 300 -cache_size 0
This maps to this test:
Test: mytest2
Small IO size: 8 KB
Large IO size: 1024 KB
IO Types: Small Random IOs, Large Sequential Streams
Number of Concurrent IOs Per Stream: 8
Force streams to separate disks: No
Simulated Array Type: RAID 0
Stripe Depth: 1024 KB
Write: 0%
Cache Size: 0 MB
Duration for each Data Point: 300 seconds
Small Columns:, 0
Large Columns:, 256
Total Data Points: 1
Name: /dev/sdc Size: 1000204886016
1 FILEs found.
Maximum Large MBPS=48.03 @ Small=0 and Large=256
Commandline:
-run advanced -type seq -num_streamIO 8 -simulate raid0 -testname mytest3 -num_disks 1 -matrix point -num_large 256 -num_small 0 -duration 300 -cache_size 0
This maps to this test:
Test: mytest3
Small IO size: 8 KB
Large IO size: 1024 KB
IO Types: Small Random IOs, Large Sequential Streams
Number of Concurrent IOs Per Stream: 8
Force streams to separate disks: No
Simulated Array Type: RAID 0
Stripe Depth: 1024 KB
Write: 0%
Cache Size: 0 MB
Duration for each Data Point: 300 seconds
Small Columns:, 0
Large Columns:, 256
Total Data Points: 1
Name: /dev/sdd Size: 1000204886016
1 FILEs found.
Maximum Large MBPS=44.43 @ Small=0 and Large=256
Commandline:
-run advanced -type seq -num_streamIO 8 -simulate raid0 -testname mytest4 -num_disks 1 -matrix point -num_large 256 -num_small 0 -duration 300 -cache_size 0
This maps to this test:
Test: mytest4
Small IO size: 8 KB
Large IO size: 1024 KB
IO Types: Small Random IOs, Large Sequential Streams
Number of Concurrent IOs Per Stream: 8
Force streams to separate disks: No
Simulated Array Type: RAID 0
Stripe Depth: 1024 KB
Write: 0%
Cache Size: 0 MB
Duration for each Data Point: 300 seconds
Small Columns:, 0
Large Columns:, 256
Total Data Points: 1
Name: /dev/sde Size: 1000204886016
1 FILEs found.
Maximum Large MBPS=41.20 @ Small=0 and Large=256
#################################################################################################################
+++63 IOPS - read (random, seq), write (random, seq)
+++ observations: seems like when you do OLTP runs, the collectl-all outputs the wsec/s (sector writes) and not the IOPS write..
+++ I've checked it with the iostat output
-----------------------------------------------------------------------------------------------------------------
+++ params_oltp_randomwrites Maximum Small IOPS=309 @ Small=256 and Large=0 Minimum Small Latency=825.24 @ Small=256 and Large=0
+++ params_oltp_seqwrites Maximum Small IOPS=312 @ Small=256 and Large=0 Minimum Small Latency=818.04 @ Small=256 and Large=0
+++ params_oltp_randomreads Maximum Small IOPS=532 @ Small=256 and Large=0 Minimum Small Latency=480.28 @ Small=256 and Large=0
+++ params_oltp_seqreads Maximum Small IOPS=527 @ Small=256 and Large=0 Minimum Small Latency=485.31 @ Small=256 and Large=0
+++ params_oltp Maximum Small IOPS=481 @ Small=80 and Large=0 Minimum Small Latency=20.34 @ Small=4 and Large=0
#################################################################################################################
+++64 FAIL, increasing random writes
-----------------------------------------------------------------------------------------------------------------
-run advanced -testname mytest -type rand -matrix col -simulate raid0 -num_disks 4 -cache_size 0 -num_small 256 -stripe 1024 -write 100 -duration 300
#################################################################################################################
+++65 FULL run of oriontoolkit
-----------------------------------------------------------------------------------------------------------------
+++ params_dss_randomwrites Maximum Large MBPS=108.17 @ Small=0 and Large=256
+++ params_dss_seqwrites Maximum Large MBPS=111.59 @ Small=0 and Large=256
+++ params_dss_randomreads Maximum Large MBPS=148.50 @ Small=0 and Large=256
+++ params_dss_seqreads Maximum Large MBPS=156.24 @ Small=0 and Large=256
+++ params_oltp_randomwrites Maximum Small IOPS=312 @ Small=256 and Large=0 Minimum Small Latency=816.17 @ Small=256 and Large=0
+++ params_oltp_seqwrites Maximum Small IOPS=314 @ Small=256 and Large=0 Minimum Small Latency=812.39 @ Small=256 and Large=0
+++ params_oltp_randomreads Maximum Small IOPS=530 @ Small=256 and Large=0 Minimum Small Latency=482.69 @ Small=256 and Large=0
+++ params_oltp_seqreads Maximum Small IOPS=526 @ Small=256 and Large=0 Minimum Small Latency=486.29 @ Small=256 and Large=0
+++ params_dss Maximum Large MBPS=177.65 @ Small=0 and Large=32
+++ params_oltp Maximum Small IOPS=480 @ Small=80 and Large=0 Minimum Small Latency=20.42 @ Small=4 and Large=0
#################################################################################################################
+++66 ShortStroked disks 150GB/1000GB
-----------------------------------------------------------------------------------------------------------------
+++ params_dss_randomwrites Maximum Large MBPS=151.57 @ Small=0 and Large=256
+++ params_dss_seqwrites Maximum Large MBPS=163.09 @ Small=0 and Large=256
+++ params_dss_randomreads Maximum Large MBPS=192.11 @ Small=0 and Large=256
+++ params_dss_seqreads Maximum Large MBPS=207.77 @ Small=0 and Large=256
+++ params_oltp_randomwrites Maximum Small IOPS=431 @ Small=256 and Large=0 Minimum Small Latency=592.28 @ Small=256 and Large=0
+++ params_oltp_seqwrites Maximum Small IOPS=427 @ Small=256 and Large=0 Minimum Small Latency=597.92 @ Small=256 and Large=0
+++ params_oltp_randomreads Maximum Small IOPS=792 @ Small=256 and Large=0 Minimum Small Latency=323.08 @ Small=256 and Large=0
+++ params_oltp_seqreads Maximum Small IOPS=794 @ Small=256 and Large=0 Minimum Small Latency=322.24 @ Small=256 and Large=0
+++ params_dss Maximum Large MBPS=216.53 @ Small=0 and Large=28
+++ params_oltp Maximum Small IOPS=711 @ Small=80 and Large=0 Minimum Small Latency=14.32 @ Small=4 and Large=0
#################################################################################################################
+++ a short stroked single disk
-----------------------------------------------------------------------------------------------------------------
#################################################################################################################
+++ create regression on OLTP Write and DSS Write
-----------------------------------------------------------------------------------------------------------------
#################################################################################################################
}}}
{{{
Here is a repeat of a post I made back in November 2005 - in case anyone
is having trouble getting it to work on Windows. I haven't checked
lately, but at the time, it wasn't clearly documented. In retrospect,
maybe it should have been more obvious to me that I had to specify a
datafile, but it wasn't obvious at the time:
########################################################################
#######
In case anyone else wants to use ORION on Windows, I finally figured out
how to get it to work. Apparently you have to specify an actual Oracle
datafile, not just a directory or empty text file. I put
"C:\oracle\oradata\orcl\example01.dbf" in my mytest.lun file, and then
ORION worked, giving me the following command-line output:
C:\Program Files\Oracle\Orion>orion -run simple -testname mytest
-num_disks 1
ORION: ORacle IO Numbers -- Version 10.2.0.1.0
Test will take approximately 9 minutes
Larger caches may take longer
And the following results in mytest_summary.txt:
ORION VERSION 10.2.0.1.0
Commandline:
-run simple -testname mytest -num_disks 1
This maps to this test:
Test: mytest
Small IO size: 8 KB
Large IO size: 1024 KB
IO Types: Small Random IOs, Large Random IOs
Simulated Array Type: CONCAT
Write: 0%
Cache Size: Not Entered
Duration for each Data Point: 60 seconds
Small Columns:, 0
Large Columns:, 0, 1, 2
Total Data Points: 8
Name: C:\oracle\oradata\orcl\example01.dbf Size: 157294592
1 FILEs found.
Maximum Large MBPS=9.01 @ Small=0 and Large=2
Maximum Small IOPS=52 @ Small=2 and Large=0
Minimum Small Latency=20.45 @ Small=1 and Large=0
########################################################################
#######
}}}
http://blogs.oracle.com/optimizer/2010/07/outerjoins_in_oracle.html
http://en.wikipedia.org/wiki/PCI_Express#Current_status
http://en.wikipedia.org/wiki/List_of_device_bandwidths
http://www.iphonetechie.com/2010/10/pdanet-4-18-cracked-deb-file-and-installation-tutorial-great-alternative-to-mywi-4-8-3-works-awesome/
From Yong Huang...
http://yong321.freeshell.org/oranotes/LargePoolMtsPga.txt
http://yong321.freeshell.org/oranotes/PGA_and_PrivateMemViewedFromOS.txt <-- good stuff
http://yong321.freeshell.org/oranotes/PGAIncreaseWithPLSQLTable.txt
Hmm... his investigations are awesome, I wonder how DBA_HIST_PGASTAT will be useful for time series analysis
Top 5 Basic Concept Job Interview Questions for Oracle Database PL/SQL Developers
http://www.dbasupport.com/oracle/ora11g/Basic-Concept-Interview-Questions.shtml
Converting a PV vm back into an HVM vm
http://blogs.oracle.com/wim/2011/01/converting_a_pv_vm_back_into_a.html
Using Parallel Execution [ID 203238.1]
Parallel Execution the Large/Shared Pool and ORA-4031 [ID 238680.1]
What does the parameter parallel_automatic_tuning ? [ID 577869.1]
Master Note Parallel Execution Wait Events [ID 1097154.1]
WAITEVENT: "PX Deq Credit: send blkd" [ID 271767.1]
SELECTING FROM EXTERNAL TABLE WITH CLOB perform very slow and High Wait On 'Px Deq Credit: Send Blkd ' [ID 1300645.1]
Tips to Reduce Waits for "PX DEQ CREDIT SEND BLKD" at Database Level [ID 738464.1]
Old and new Syntax for setting Degree of Parallelism [ID 260845.1]
PARALLEL_EXECUTION_MESSAGE_SIZE Usage [ID 756242.1]
Report for the Degree of Parallelism on Tables and Indexes [ID 270837.1] <-- AWESOME script..
http://fahdmirza.blogspot.com/2011/04/px-deq-credit-send-blkd-tuning.html
http://dbaspot.com/oracle-server/268584-px-deq-credit-send-blkd.html
http://iamsys.wordpress.com/2010/03/24/px-deq-credit-send-blkd-caused-by-ide-sql-developer-toad-plsql-developer/
http://www.dbacomp.com.br/blog/?p=34 <-- GOOD STUFF EXPLANATION
http://oracle-dba-yi.blogspot.com/2011/01/px-deq-credit-send-blkd.html
http://webcache.googleusercontent.com/search?q=cache:UtGFixYN_PEJ:www.asktherealtom.ch/%3Fp%3D8+PX+Deq+Credit:+send+blkd&cd=1&hl=en&ct=clnk&gl=us
http://iamsys.wordpress.com/2010/03/24/px-deq-credit-send-blkd-caused-by-ide-sql-developer-toad-plsql-developer/
http://www.freelists.org/post/oracle-l/PX-Deq-Credit-send-blkd,27
http://www.freelists.org/post/oracle-l/best-way-to-invoke-parallel-in-DW-loads,13
http://www.mail-archive.com/oracle-l@fatcity.com/msg64774.html <-- tuning large pool
also check out tiddlers here [[Parallel]]
Parallel Troubleshooting
http://www.oracledatabase12g.com/archives/checklist-for-performance-problems-with-parallel-execution.html
Parallel Processing With Standard Edition
http://antognini.ch/2010/09/parallel-processing-with-standard-edition/
Parallel_degree_limit hierarchy – CPU, IO, Auto or Integer
http://blogs.oracle.com/datawarehousing/2011/01/parallel_degree_limit_hierarch.html
Some noteworthy tweets ... blog summary here http://www.oraclenerd.com/2011/03/fun-with-tuning.html
{{{
@DBAKevlar Shouldn't need that or any tricks. Defaults of CREATE TABLESPACE should work just fine. /cc @oraclenerd
@oraclenerd Likely because the writer slave set is slower than the reader slave set. Readers want to send more data, writers not ready.
Issue of a Balance HW config or too much PX? RT @GregRahn: @oraclenerd Likely because the writer slave set is slower than the reader slave set. Readers want to send more data, writers not ready
-- OR not proper PX
@GregRahn can you dumb that down for me? slow disks? slow part of disks?
@oraclenerd Seems likely that the disk writes are the slow side of the execution. The read side probably faster. Got SQL Monitor report?
@GregRahn I have the Real Time SQL Monitoring report from SQL Dev. Didn't configure EM or anything else
observing @tomroachoracle run sar reports on my VM
@oraclenerd That should work. Email me that
OH: "Solutions are only useful when the problem is well understood"
@GregRahn could you improve @oraclenerd s parallel query?
@martinberx Indeed. Mr @oraclenerd did not have PARALLEL in the CTAS, only on the SELECT side. Many readers, 1 writer. He's much wiser now.
@GregRahn @oraclenerd top wait events (AWR): DB CPU (82%) - direct path read (15%) - direct path write (2%) can we avoid CPU work somehow?
replacing NULL with constant (-999) in DWH like env to avoid outer joins. Your ideas?
@martinberx Can use NOCOMPRESS. Better option - use more CPU cores. /cc @oraclenerd
@GregRahn good idea! trade CPU vs. IO @oraclenerd has to decide if he wants faster CTAS or query afterwards.
@martinberx If lots are null, you'll skew num_rows/NDV by using a constant instead. Histogram for col?
}}}
Parallel Load
{{{
alter table <table_name> parallel;
alter session enable parallel dml;
insert /*+ APPEND */ into parallel_t1
select level, 'x'
from dual
connect by level <= 1000000
;
}}}
Also Consider the following illustration.
{{{
Both tables below have "nologging" set at table level.
SQL> desc redo1
Name Null? Type
----------------------------------------- -------- ----------
X NUMBER
Y NUMBER
SQL> desc redotesttab
Name Null? Type
----------------------------------------- -------- -------
X NUMBER
Y NUMBER
begin
for x in 1..10000 loop
insert into scott.redotesttab values(x,x+1);
-- or
-- insert /*+ APPEND */ into scott.redotesttab values(x,x+1);
end loop;
end;
Note: This will generate redo even if you provide the hint because this
is not a direct-load insert.
Now, consider the following bulk inserts, direct and simple.
SQL> select name,value from v$sysstat where name like '%redo size%';
NAME VALUE
----------------------------------------------------------- ----------
redo size 27556720
SQL> insert into scott.redo1 select * from scott.redotesttab;
50000 rows created.
SQL> select name,value from v$sysstat where name like '%redo size%';
NAME VALUE
----------------------------------------------------------- ----------
redo size 28536820
SQL> insert /*+ APPEND */ into scott.redo1 select * from scott.redotesttab;
50000 rows created.
SQL> select name,value from v$sysstat where name like '%redo size%';
NAME VALUE
----------------------------------------------------------- ----------
redo size 28539944
You will notice that the redo generated via the simple insert is "980100" while
a direct insert generates only "3124".
}}}
Obsolete / Deprecated Initialization Parameters in 10G
Doc ID: Note:268581.1
-- COMPATIBLE
How To Change The COMPATIBLE Parameter And What Is The Significance?
Doc ID: 733987.1
Master Note for Partitioning [ID 1312352.1]
http://blogs.oracle.com/db/entry/master_note_for_partitioning_id
Top Partition Performance Issues
Doc ID: Note:166215.1
How to Implement Partitioning in Oracle Versions 8 and 8i
Doc ID: Note:105317.1
How I Designed Table and Index Partitions Using Analytics
Doc ID: 729847.1
http://blogs.sun.com/dlutz/entry/partition_alignment_guidelines_for_unified
A Comprehensive Guide to Oracle Partitioning with Samples
http://noriegaaoracleexpert.blogspot.com/2009/06/comprehensive-guide-to-oracle_16.html
Compressing Subpartition Segments
http://husnusensoy.wordpress.com/2008/01/23/compressing-subpartition-segments/
From Doug, Randolf, Kerry
http://jonathanlewis.wordpress.com/2010/03/17/partition-stats/
More on Interval Partitioning
http://www.rittmanmead.com/2010/08/07/more-on-interval-partitioning/
non-partitioned to partitioned table
http://www.dbapool.com/articles/031003.html
http://arjudba.blogspot.com/2008/11/how-to-convert-non-partitioned-table-to.html
http://www.oracle-base.com/articles/8i/PartitionedTablesAndIndexes.php
https://agilebits.com/home/licenses
http://alternativeto.net/software/1password/
https://lastpass.com
http://keepass.info/features.html
http://keepass.info/download.html
http://www.vilepickle.com/blog/2011/04/19/00105-using-dropbox-and-keepass-synchronize-passwords-while-staying-secure
/***
|''Name:''|PasswordOptionPlugin|
|''Description:''|Extends TiddlyWiki options with non encrypted password option.|
|''Version:''|1.0.2|
|''Date:''|Apr 19, 2007|
|''Source:''|http://tiddlywiki.bidix.info/#PasswordOptionPlugin|
|''Author:''|BidiX (BidiX (at) bidix (dot) info)|
|''License:''|[[BSD open source license|http://tiddlywiki.bidix.info/#%5B%5BBSD%20open%20source%20license%5D%5D ]]|
|''~CoreVersion:''|2.2.0 (Beta 5)|
***/
//{{{
version.extensions.PasswordOptionPlugin = {
major: 1, minor: 0, revision: 2,
date: new Date("Apr 19, 2007"),
source: 'http://tiddlywiki.bidix.info/#PasswordOptionPlugin',
author: 'BidiX (BidiX (at) bidix (dot) info',
license: '[[BSD open source license|http://tiddlywiki.bidix.info/#%5B%5BBSD%20open%20source%20license%5D%5D]]',
coreVersion: '2.2.0 (Beta 5)'
};
config.macros.option.passwordCheckboxLabel = "Save this password on this computer";
config.macros.option.passwordInputType = "password"; // password | text
setStylesheet(".pasOptionInput {width: 11em;}\n","passwordInputTypeStyle");
merge(config.macros.option.types, {
'pas': {
elementType: "input",
valueField: "value",
eventName: "onkeyup",
className: "pasOptionInput",
typeValue: config.macros.option.passwordInputType,
create: function(place,type,opt,className,desc) {
// password field
config.macros.option.genericCreate(place,'pas',opt,className,desc);
// checkbox linked with this password "save this password on this computer"
config.macros.option.genericCreate(place,'chk','chk'+opt,className,desc);
// text savePasswordCheckboxLabel
place.appendChild(document.createTextNode(config.macros.option.passwordCheckboxLabel));
},
onChange: config.macros.option.genericOnChange
}
});
merge(config.optionHandlers['chk'], {
get: function(name) {
// is there an option linked with this chk ?
var opt = name.substr(3);
if (config.options[opt])
saveOptionCookie(opt);
return config.options[name] ? "true" : "false";
}
});
merge(config.optionHandlers, {
'pas': {
get: function(name) {
if (config.options["chk"+name]) {
return encodeCookie(config.options[name].toString());
} else {
return "";
}
},
set: function(name,value) {config.options[name] = decodeCookie(value);}
}
});
// need to reload options to load passwordOptions
loadOptionsCookie();
/*
if (!config.options['pasPassword'])
config.options['pasPassword'] = '';
merge(config.optionsDesc,{
pasPassword: "Test password"
});
*/
//}}}
-- PERFORMANCE
PeopleSoft Enterprise Performance on Oracle 10g Database (Doc ID 747254.1)
E-ORACLE:10g Master Performance Solution for Oracle 10g (Doc ID 656639.1)
EGP8.x: Performance issue while running Paycalc in GP with Oracle 9 and 10 as DB (Doc ID 652910.1)
EGP 8.x:Changing Global Payroll COBOL Process without changing delivered code (Doc ID 652805.1)
http://dbasrus.blogspot.com/2007/09/one-for-peoplesoft-folks.html
Performance issue with On Lines Pages and Batch Processes on Oracle 10G (Doc ID 651774.1)
Performance Issue at Tier Processing (Selection at Database Level) (Doc ID 755402.1)
Activity Batch Assignment Performance: Object Where Clause not filtering correct no records (Doc ID 518178.1)
Performance and Tuning: Oracle 10g R2 Real Application Cluster (RAC) with EnterpriseOne (Doc ID 748353.1)
Performance and Tuning UBE Performance and Tuning (Doc ID 748333.1)
Online Performance Configuration Guidelines for PeopleTools 8.45, 8.46, 8.47, 8.48 and 8.49 (Doc ID 747389.1)
Sizing System Hardware for JD Edwards EnterpriseOne (Doc ID 748339.1)
E- ORA: Is there any documentation on Oracle 10g RAC implemention in PeopleSoft? (Doc ID 663340.1)
E-INST: Does PeopleSoft support Oracle RAC (Real Application Clusters)? (Doc ID 620325.1)
E-ORA: Oracle RAC Clusterware support (Doc ID 663690.1)
How To Set Up Oracle RAC for Siebel Applications (Doc ID 473859.1)
What Are the Supported Oracle Real Application Clusters (RAC) Versions? (Doc ID 478215.1)
Oracle 10g RAC support for Analytics (Doc ID 482330.1)
PeopleTools Certification FAQs - Database Platforms - Oracle (Doc ID 756280.1)
Siebel Recommendation on table logging (Doc ID 730133.1)
What does Siebel recommend for the Oracle parameter "compatible" on 10g database (Doc ID 551979.1)
Oracle cluster (Doc ID 522337.1)
Support Status for Oracle Business Intelligence on VMware Virtualized Environments (Doc ID 475484.1)
E-PIA: Red Paper on Implementing Clustering and High Availability for PeopleSoft (Doc ID 612096.1)
E-PIA: Red Paper on Implementing Clustering and High Availability for PeopleSoft (Doc ID 612096.1)
747378.1 Clustering and High Availability for Enterprise Tools 8.4x (Doc ID 747378.1)
747962.1 PeopleSoft EPM Red Paper: PeopleSoft Enterprise Initial Consolidations —04/2007 (Doc ID 747962.1)
747962.1 PeopleSoft EPM Red Paper: PeopleSoft Enterprise Initial Consolidations
747962.1 PeopleSoft EPM Red Paper: PeopleSoft Enterprise Initial Consolidations —04/2007 (Doc ID 747962.1)
Is there a way to automatically kill long running SQL statements (Oracle DB only) at the database after a pre-determined maximum waiting time ? (Doc ID 753941.1)
E-CERT Red Hat Linux 4.0 64 bit certification (Doc ID 656686.1)
PeopleSoft Enterprise PeopleTools Certifications (Doc ID 747587.1)
PeopleSoft Performance on Oracle 10.2.0.2 http://www.freelists.org/post/oracle-l/PeopleSoft-Performance-on-Oracle-10202
-- Hidden Parameters
_disable_function_based_index
http://www.orafaq.com/parms/parm467.htm
-- SECURITY
747524.1 Securing Your PeopleSoft Application Environment (Doc ID 747524.1)
-- PAYROLL
EPY: Performance issue with work table PS_WRK_SEQ_CHECK (Doc ID 646824.1)
http://dbasrus.blogspot.com/2007/09/more-on-peoplesoft.html
http://dbasrus.blogspot.com/2007/09/one-for-peoplesoft-folks.html
EPY: Performance issue with work table PS_WRK_SEQ_CHECK (Doc ID 646824.1)
EPY: Performance issue on Pay confirm process PSPEBUPD_S_BENF_NO (Doc ID 660649.1)
EPY: COBOL Performance Issues: Paycalc or other COBOL jobs take too long to run (Doc ID 607905.1)
E-ORACLE:10g Master Performance Solution for Oracle 10g (Doc ID 656639.1)
EPY - Bonus payroll performance slow due to FLSA processing (Doc ID 634806.1)
EPY 8.x:Performance issues on Paycalc/Dedcalc in release 8 SP1 and above (Doc ID 611138.1)
ETL8.8/GP8.8: Poor Performance GP Payroll Process (GPPDPRUN) modified TL Data (Doc ID 661283.1)
EGP: Performance issues with "UNKNOWN" sql statements in timing trace. (Doc ID 657792.1)
PeopleSoft Global Payroll Off-Cycle Payment Processing (Doc ID 704478.1)
EGP8.X: Global Payroll runs to 'Success' but does not process any data (Doc ID 637945.1)
EGP8.x: What are the tables to partition for Global Payroll Stream Processing ? (Doc ID 619386.1)
EGP 8.x:Changing Global Payroll COBOL Process without changing delivered code (Doc ID 652805.1)
EGP 8.9: Running payslip Generation Process using SFTP- Global Payroll (Doc ID 652909.1)
EGP8.x: Global Payroll Process fails on AIX with 105 Memory allocation error. (Doc ID 656695.1)
ETL9.0: AM/TL9.0: AM absence is doubling quantity when processing time admin. (Doc ID 664004.1)
EGP8.x : How to recognize when the Global Payroll is ending in error ? (Doc ID 636120.1)
EGP8.x: Performance issue while running Paycalc in GP with Oracle 9 and 10 as DB (Doc ID 652910.1)
EGP8.9/9.0: Is it possible to enable Commitment Reporting on Global Payroll? (Doc ID 662078.1)
EGP8.x: Global Payroll PayGroup sizing recommendation (Doc ID 639164.1)
PeopleSoft Global Payroll COBOL Array Information (Doc ID 701403.1)
EGP8.3SP1 How Far does Retro go back in history? (Doc ID 618944.1)
EGP: Deadlock when using streams and partitions (Doc ID 642914.1)
E1: 07: Pre-payroll Troubleshooting (Doc ID 625863.1)
http://www.solarisinternals.com/wiki/index.php/Performance_Antipatterns
! 1) From awr_genwl.sql
''AWR CPU and IO Workload Report''
__''Tables used are:''__
- dba_hist_snapshot
- dba_hist_osstat
- dba_hist_sys_time_model
- dba_hist_sysstat
__''Enhancements that could be done:''__
-- I could also make use of this Note 422414.1 that use the following tables:
dba_hist_sysmetric_summary <-- network bytes stat is interesting (Network Traffic Volume Per Sec = Network_bytes_per_sec)... Update: possible to add this on the awr_genwl.sql, the thing is.. metrics are different from sysstat values.. on systat you just get the delta and the rate, in metric the sampling is different let's say the snap duration is 10mins = (intsize/100)/60 what metric does is it samples on a per 60sec interval (num_interval) and get the max, min, avg, std_dev of those samples. so keep that in mind when using this values.
-- DBA_HIST_SERVICE_STAT
-- For the memory usage.. I’ll put in the sysstat metric “session pga memory”, in that way I’ll have rough estimate on memory requirements for the sessions
-- Then for the Network usage.. I’ll put in “bytes sent via SQL*Net to client” and “bytes sent via SQL*Net to dblink”.. each on separate columns.. in this way I’ll know the network requirements (transfer rate) on specific workloads which will be useful for determining the right network capacity (on the hardware & on wire – bandwidth). Could also be useful on a WAN setup, but I still have to do some tests.
!! CPU Capacity
<<<
!!!"Snap|ID"
{{{
s0.snap_id id,
}}}
- This is the beginning value of dba_hist_snapshot, this is your marker when you want to drill down to that particular period by creating an AWR report using awrrpt.sql
the objective of the tool/script is what "start and end SNAP_ID" you feed in when running @?/rdbms/admin/awrrpt.sql
should be the same "start and end SNAP_ID" when you see it in a time series manner. So that when you find a peak period, you are good to go on drilling down on the larger reports (awrrpt.sql)
You can see an example AWR report here (http://karlarao.tiddlyspot.com/#%5B%5BAWR%20Sample%20-%2010.2.0.3%5D%5D) which has SNAP_ID 338-339... now we usually have this report by using the awrrpt.sql
then on a time series manner.. what values you see on the long report is the same when you look at SNAP_ID 338... look at the DB Time here (http://lh3.ggpht.com/_F2x5WXOJ6Q8/S2hR6V8NjCI/AAAAAAAAAo0/YM_c7VhFKiI/dba_hist3.png).. 1324.58÷60 = 22.08... so that is the beauty of the script..
Example using LAG
{{{
select * from
(
select
lag(a.snap_id) over(order by a.snap_id) as id,
b.value-lag(b.value) over(order by a.snap_id) delta
from dba_hist_snapshot a, dba_hist_osstat b
where
a.dbid = b.dbid
and a.instance_number = b.instance_number
and a.snap_id = b.snap_id
and b.stat_name='BUSY_TIME'
order by a.snap_id
)
where id = 338
ID DELTA
---------- ----------
338 46982
}}}
// NOTE:
- Before, I was having issues using the LAG function because it makes this column use the s1.snap_id which is wrong.. but finally figured out how to make sense of LAG.
- The s0.snap_id must be used as a column when doing the SQL trick "e.snap_id = s0.snap_id + 1" (see the old version of the scripts)
//
!!!"Snap|Start|Time"
{{{
TO_CHAR(s0.END_INTERVAL_TIME,'YY/MM/DD HH24:MI') tm,
}}}
- This is the time value associated with the SNAP_ID
!!!"i|n|s|t|#"
{{{
s0.instance_number inst,
}}}
- The instance number, on a RAC environment you have to run the script on each of the nodes
!!!"Snap|Dur|(m)"
{{{
round(EXTRACT(DAY FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) * 1440
+ EXTRACT(HOUR FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) * 60
+ EXTRACT(MINUTE FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME)
+ EXTRACT(SECOND FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) / 60, 2) dur,
}}}
- This is the "Elapsed" value that you see on the AWR report. The delta value of Begin and End Snaps.
- The unit is in minutes, the long AWR report usually shows it in minutes
!!!"C|P|U"
{{{
s3t1.value AS cpu,
}}}
- From the Oracle perspective, this is the number of CPUs you have on your database.
- Based on dba_hist_osstat value s3t1.stat_name = 'NUM_CPUS'
!!!"***|Total|CPU|Time|(s)"
{{{
(round(EXTRACT(DAY FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) * 1440
+ EXTRACT(HOUR FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) * 60
+ EXTRACT(MINUTE FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME)
+ EXTRACT(SECOND FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) / 60, 2)*60)*s3t1.value cap,
}}}
- The formula is
''(Snap Dur minutes * 60) * NUM_CPUS''
- The unit is in seconds
- Essentially this is how many seconds of CPU time you can have on a particular snap period. Remember that CPU cycles are finite but you can endlessly wait on WAIT time. On a usual 10mins snap duration, that would be 600 seconds.. if on a particular period you incurred a total of 500 seconds of CPU (see requirements section) then most likely you are on the 83% CPU utilization (500 sec /600 sec)
<<<
!! CPU requirements
<<<
!!!"DB|Time"
{{{
(s5t1.value - s5t0.value) / 1000000 as dbt,
}}}
!!!"DB|CPU"
{{{
(s6t1.value - s6t0.value) / 1000000 as dbc,
}}}
!!!"Bg|CPU"
{{{
(s7t1.value - s7t0.value) / 1000000 as bgc,
}}}
!!!"RMAN|CPU"
{{{
round(DECODE(s8t1.value,null,'null',(s8t1.value - s8t0.value) / 1000000),2) as rman,
}}}
!!!"A|A|S"
{{{
((s5t1.value - s5t0.value) / 1000000)/60 / round(EXTRACT(DAY FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) * 1440
+ EXTRACT(HOUR FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) * 60
+ EXTRACT(MINUTE FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME)
+ EXTRACT(SECOND FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) / 60, 2) aas,
- - - - - -
AAS = DB Time/Elapsed Time
= (1871.36/60)/10.06
= 3.100331345
}}}
!!!"***|Total|Oracle|CPU|(s)"
{{{
round(((s6t1.value - s6t0.value) / 1000000) + ((s7t1.value - s7t0.value) / 1000000),2) totora,
}}}
!!!"OS|Load"
{{{
round(s2t1.value,2) AS load,
}}}
!!!"***|Total|OS|CPU|(s)"
{{{
(s1t1.value - s1t0.value)/100 AS totos,
}}}
<<<
!! Memory requirements
<<<
!!!"Physical|Memory|(mb)"
{{{
s4t1.value/1024/1024 AS mem,
}}}
<<<
!! IO requirements
<<<
!!!"IOPs|r"
{{{
((s15t1.value - s15t0.value) / ((round(EXTRACT(DAY FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) * 1440
+ EXTRACT(HOUR FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) * 60
+ EXTRACT(MINUTE FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME)
+ EXTRACT(SECOND FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) / 60, 2))*60)
) as IORs,
}}}
!!!"IOPs|w"
{{{
((s16t1.value - s16t0.value) / ((round(EXTRACT(DAY FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) * 1440
+ EXTRACT(HOUR FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) * 60
+ EXTRACT(MINUTE FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME)
+ EXTRACT(SECOND FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) / 60, 2))*60)
) as IOWs,
}}}
!!!"IOPs|redo"
{{{
((s13t1.value - s13t0.value) / ((round(EXTRACT(DAY FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) * 1440
+ EXTRACT(HOUR FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) * 60
+ EXTRACT(MINUTE FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME)
+ EXTRACT(SECOND FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) / 60, 2))*60)
) as IORedo,
}}}
!!!"IO r|(mb)/s"
{{{
(((s11t1.value - s11t0.value)* &_blocksize)/1024/1024) / ((round(EXTRACT(DAY FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) * 1440
+ EXTRACT(HOUR FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) * 60
+ EXTRACT(MINUTE FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME)
+ EXTRACT(SECOND FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) / 60, 2))*60)
as IORmbs,
}}}
!!!"IO w|(mb)/s"
{{{
(((s12t1.value - s12t0.value)* &_blocksize)/1024/1024) / ((round(EXTRACT(DAY FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) * 1440
+ EXTRACT(HOUR FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) * 60
+ EXTRACT(MINUTE FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME)
+ EXTRACT(SECOND FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) / 60, 2))*60)
as IOWmbs,
}}}
!!!"Redo|(mb)/s"
{{{
((s14t1.value - s14t0.value)/1024/1024) / ((round(EXTRACT(DAY FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) * 1440
+ EXTRACT(HOUR FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) * 60
+ EXTRACT(MINUTE FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME)
+ EXTRACT(SECOND FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) / 60, 2))*60)
as redosizesec,
}}}
<<<
!! some SYSSTAT delta values
<<<
!!!"Sess"
{{{
s9t0.value logons,
}}}
!!!"Exec|/s"
{{{
((s10t1.value - s10t0.value) / ((round(EXTRACT(DAY FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) * 1440
+ EXTRACT(HOUR FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) * 60
+ EXTRACT(MINUTE FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME)
+ EXTRACT(SECOND FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) / 60, 2))*60)
) as exs,
}}}
<<<
!! CPU Utilization
<<<
!!!"Oracle|CPU|%"
{{{
((round(((s6t1.value - s6t0.value) / 1000000) + ((s7t1.value - s7t0.value) / 1000000),2)) / ((round(EXTRACT(DAY FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) * 1440
+ EXTRACT(HOUR FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) * 60
+ EXTRACT(MINUTE FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME)
+ EXTRACT(SECOND FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) / 60, 2)*60)*s3t1.value))*100 as oracpupct,
}}}
!!!"RMAN|CPU|%"
{{{
((round(DECODE(s8t1.value,null,'null',(s8t1.value - s8t0.value) / 1000000),2)) / ((round(EXTRACT(DAY FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) * 1440
+ EXTRACT(HOUR FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) * 60
+ EXTRACT(MINUTE FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME)
+ EXTRACT(SECOND FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) / 60, 2)*60)*s3t1.value))*100 as rmancpupct,
}}}
!!!"OS|CPU|%"
{{{
(((s1t1.value - s1t0.value)/100) / ((round(EXTRACT(DAY FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) * 1440
+ EXTRACT(HOUR FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) * 60
+ EXTRACT(MINUTE FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME)
+ EXTRACT(SECOND FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) / 60, 2)*60)*s3t1.value))*100 as oscpupct,
}}}
!!!"U|S|R|%"
{{{
(((s17t1.value - s17t0.value)/100) / ((round(EXTRACT(DAY FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) * 1440
+ EXTRACT(HOUR FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) * 60
+ EXTRACT(MINUTE FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME)
+ EXTRACT(SECOND FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) / 60, 2)*60)*s3t1.value))*100 as oscpuusr,
}}}
!!!"S|Y|S|%"
{{{
(((s18t1.value - s18t0.value)/100) / ((round(EXTRACT(DAY FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) * 1440
+ EXTRACT(HOUR FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) * 60
+ EXTRACT(MINUTE FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME)
+ EXTRACT(SECOND FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) / 60, 2)*60)*s3t1.value))*100 as oscpusys,
}}}
!!!"I|O|%"
{{{
(((s19t1.value - s19t0.value)/100) / ((round(EXTRACT(DAY FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) * 1440
+ EXTRACT(HOUR FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) * 60
+ EXTRACT(MINUTE FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME)
+ EXTRACT(SECOND FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) / 60, 2)*60)*s3t1.value))*100 as oscpuio
}}}
<<<
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
! 2) From awr_topevents.sql
''AWR Top Events Report, a version of "Top 5 Timed Events" but across SNAP_IDs with AAS metric''
{{{
Sample output:
AWR Top Events Report
i
n
Snap s Snap A
Start t Dur Event Time Avgwt DB Time A
SNAP_ID Time # (m) Event Rank Waits (s) (ms) % S Wait Class
---------- --------------- --- ---------- ---------------------------------------- ----- -------------- -------------- -------- ------- ------ ---------------
338 10/01/17 06:50 1 10.05 CPU time 1 0.00 435.67 0.00 33 0.7 CPU
338 10/01/17 06:50 1 10.05 db file sequential read 2 18506.00 278.94 15.07 21 0.5 User I/O
338 10/01/17 06:50 1 10.05 PX Deq Credit: send blkd 3 79918.00 177.36 2.22 13 0.3 Other
338 10/01/17 06:50 1 10.05 direct path read 4 374300.00 148.74 0.40 11 0.2 User I/O
338 10/01/17 06:50 1 10.05 log file parallel write 5 2299.00 82.60 35.93 6 0.1 System I/O
}}}
{{{
AWR Top Events Report
i
n
Snap s Snap A
Start t Dur Event Time Avgwt DB Time A
SNAP_ID Time # (m) Event Rank Waits (s) (ms) % S Wait Class
---------- --------------- --- ---------- ---------------------------------------- ----- -------------- -------------- -------- ------- ------ ---------------
336 10/01/17 06:30 1 10.12 direct path read 1 49893.00 955.83 19.16 51 1.6 User I/O
336 10/01/17 06:30 1 10.12 db file sequential read 2 9477.00 472.07 49.81 25 0.8 User I/O
336 10/01/17 06:30 1 10.12 db file parallel write 3 3776.00 286.48 75.87 15 0.5 System I/O
336 10/01/17 06:30 1 10.12 log file parallel write 4 2575.00 163.31 63.42 9 0.3 System I/O
336 10/01/17 06:30 1 10.12 log file sync 5 1564.00 156.64 100.15 8 0.3 Commit
}}}
__''Tables used are:''__
- dba_hist_snapshot
- dba_hist_system_event
- dba_hist_sys_time_model
<<<
!!!# "Snap|Start|Time"
!!!# "Snap|ID"
!!!# "i|n|s|t|#"
!!!# "Snap|Dur|(m)"
!!!# "C|P|U"
!!!# "A|A|S"
{{{
AAS = DB Time/Elapsed Time
Begin Snap: 338 17-Jan-10 06:50:58 31 2.9
End Snap: 339 17-Jan-10 07:01:01 30 2.2
01/17/10 06:50:58
01/17/10 07:01:01
Elapsed (SnapDur): 10.05 (mins) = 603 (sec)
DB Time: 22.08 (mins) = 1324.8 (sec)
AAS = 2.197014925 <-- ADDM AAS is 2.2, ASHRPT AAS is 2.7
-- THIS IS DB CPU / DB TIME... TO GET % OF DB CPU ON DB TIME ON TOP 5 TIMED EVENTS SECTION
((round ((s6t1.value - s6t0.value) / 1000000, 2)) / ((s5t1.value - s5t0.value) / 1000000))*100 as pctdbt,
-- THIS IS DB CPU (min) / SnapDur (min) TO GET THE % OF AAS
(round ((s6t1.value - s6t0.value) / 1000000, 2))/60 / round(EXTRACT(DAY FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) * 1440
+ EXTRACT(HOUR FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) * 60
+ EXTRACT(MINUTE FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME)
+ EXTRACT(SECOND FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) / 60, 2) aas,
------ FROM AWR ... TOTAL AAS is 1.8.. 2.3 if you include the other events at the bottom
A
Time Avgwt DB Time A
SNAP_ID Event Waits (s) (ms) % S Wait Class
---------- ---------------------------------------- -------------- -------------- -------- ------- ------ ---------------
338 CPU time 0.00 435.67 0.00 33 0.7
338 db file sequential read 18506.00 278.94 15.07 21 0.5 User I/O
338 PX Deq Credit: send blkd 79918.00 177.36 2.22 13 0.3 Other
338 direct path read 374300.00 148.74 0.40 11 0.2 User I/O
338 log file parallel write 2299.00 82.60 35.93 6 0.1 System I/O
------ FROM ASHRPT ... TOTAL AAS is 1.99.. 2.47 if you include the other events at the bottom
Top User Events DB/Inst: IVRS/ivrs (Jan 17 06:50 to 07:01)
Avg Active
Event Event Class % Activity Sessions
----------------------------------- --------------- ---------- ----------
CPU + Wait for CPU CPU 36.20 0.98
PX Deq Credit: send blkd Other 12.88 0.35
db file sequential read User I/O 12.27 0.33
direct path read User I/O 7.36 0.20
PX qref latch Other 4.91 0.13
-------------------------------------------------------------
Top Background Events DB/Inst: IVRS/ivrs (Jan 17 06:50 to 07:01)
Avg Active
Event Event Class % Activity Sessions
----------------------------------- --------------- ---------- ----------
db file sequential read User I/O 6.75 0.18
db file parallel write System I/O 3.68 0.10
log file parallel write System I/O 3.68 0.10
control file parallel write System I/O 1.84 0.05
log file sequential read System I/O 1.84 0.05
-------------------------------------------------------------
}}}
!!!# "Event"
!!!# "Waits"
!!!# "Time|(s)"
!!!# "Avgwt|(ms)"
!!!# "Idle"
!!!# "DB Time|%"
!!!# "Wait Class"
<<<
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
! 3) RAC stuff
Global Cache Load Profile
-- Estimated Interconnect traffic
ROUND(((RPT_PARAMS(STAT_DBBLK_SIZE) *
(RPT_STATS(STAT_GC_CR_RV) + RPT_STATS(STAT_GC_CU_RV) +
RPT_STATS(STAT_GC_CR_SV) + RPT_STATS(STAT_GC_CU_SV))) +
(200 *
(RPT_STATS(STAT_GCS_MSG_RCVD) + RPT_STATS(STAT_GES_MSG_RCVD) +
RPT_STATS(STAT_GCS_MSG_SNT) + RPT_STATS(STAT_GES_MSG_SNT))))
/ 1024 / RPT_STATS(STAT_ELAPSED), 2);
Global Cache Efficiency Percentages - Target local+remote 100%
Global Cache and Enqueue Services - Workload Characteristics
Global Cache and Enqueue Services - Messaging Statistics
-- More RAC Statistics
-- RAC Report Summary
Global CR Served Stats
Global CURRENT Served Stats
Global Cache Transfer Stats
Global Enqueue Statistics
Segments by Global Cache Buffer Busy <-- possible
Global Cache Transfer Stats <-- possible
http://blogs.oracle.com/rtd/entry/performance_tips
! Session/System level perf monitoring
* Perfsheet (Performance Visualization) – For Session Monitoring, uses excel sheet
* Ashmon (Active Session Monitoring) – For monitoring Database Session , Ashmon on 64bit http://db-optimizer.blogspot.com/2010/10/ashmon-on-64bit-oracle-11gr2.html, by marcin at github https://github.com/pioro/orasash/
* DB Optimizer - the production version of Ashmon, with cool Visual SQL Tuning! (just like Dan Tow has envisioned)
* ASH Viewer by Alexander Kardapolov http://j.mp/dNidrB
* Lab128 (trial software) – Tool for Oracle Tuning, Monitoring and trace SQL/Stored procedures transactions http://www.lab128.com/lab128_download.html http://www.lab128.com/lab128_new_features.html http://www.lab128.com/lab128_rg/html/contents.html
* Mumbai (freeware) - Performance monitoring tool that integrated Snapper, Orasrp, Statspack viewer, alert log viewer, nice session level profiling, and lots of good stuff! https://marcusmonnig.wordpress.com/mumbai/
* EMlight by Obzora http://obzora.com/home.html - a lightweight web based EM
* Google Chrome AWR Formatter by Tyler Muth - http://tylermuth.wordpress.com/2011/04/20/awr-formatter/ - when you want to drill down on AWR statistics for a specific SNAP_ID this tool can be very helpful. This works only on html format of AWR. I would use it together with the Firefighting Diagnosis excel template of Craig Shallahamer to quickly account the RT = ST+QT
* Snapper (Oracle Session Snapper) - Reports Oracle session level performance counter and wait information in real time http://tech.e2sn.com/oracle-scripts-and-tools/session-snapper
* MOATS - http://blog.tanelpoder.com/2011/03/29/moats-the-mother-of-all-tuning-scripts/ , http://www.oracle-developer.net/utilities.php
* Oracle LTOM (Oracle Lite Onboard Monitor) – Provides automatic session tracing
* Orapub's OSM scripts - A toolkit for database monitoring and workload characterization
* JL references http://jonathanlewis.wordpress.com/2009/06/23/glossary/ , http://jonathanlewis.wordpress.com/2009/12/18/simple-scripts/ , http://jonathanlewis.wordpress.com/statspack-examples/ , http://jonathanlewis.wordpress.com/2010/03/17/partition-stats/
* List of end-user monitoring tools http://www.real-user-monitoring.com/the-complete-list-of-end-user-experience-monitoring-tools/ , http://www.alexanderpodelko.com/PerfManagement.html
! SQL Tuning
* SQLTXPLAIN (Oracle Extended Explain Plan Statistics) – Provides details about all schema objects in which the SQL statement depends on.
* Orasrp (Oracle Session Resource Planner) – Builds complete detailed session profile
* gxplan - Visualization of explain plan
* 10053 viewer - http://jonathanlewis.wordpress.com/2010/04/30/10053-viewer/
! Forecasting
* r2toolkit - http://karlarao.tiddlyspot.com/#r2project This is a performance toolkit that uses AWR data and Linear Regression to identify what metric/statistic is driving the database server’s workload. The data points can be very useful for capacity planning giving you informed decisions and completely avoiding guesswork!
! System level OS perf monitoring
* kSar - a SAR grapher - http://sourceforge.net/projects/ksar/
* OSWatcher (Oracle OS Watcher) - Reports CPU, RAM and Network stress, and is a new alternative for monitoring Oracle servers (includes session level ps)
* Oracle Cluster Health Monitor - http://goo.gl/UZqS5 (includes session level ps)
* nmon
* Dynamic Tracing Tools - ''DTrace'' - Solaris,Linux ''ProbeVue'' - AIX
! Session level OS perf monitoring
* iotop http://guichaz.free.fr/iotop/ , for RHEL http://people.redhat.com/jolsa/iotop/ , topio Solaris http://yong321.freeshell.org/freeware/pio.html
* atop alternative to iotop on RHEL4 http://www.atoptool.nl/index.php
* collectl http://collectl.sourceforge.net/ , http://collectl-utils.sourceforge.net/ , detailed process accounting (you can also do ala ''iotop'') http://collectl.sourceforge.net/Process.html
* prstat Solaris
{{{
Memory per process accounting: collectl -sZ -i:1 --procopts m
IO per process accounting: collectl -sZ -i:1
}}}
* iodump http://www.xaprb.com/blog/2009/08/23/how-to-find-per-process-io-statistics-on-linux/ <-- I'm a bit dubious about this..done a test case comparing to collectl.. it can't get the top processes doing the io.. related links: http://goo.gl/NwUcs , http://goo.gl/zVEFE , http://goo.gl/eQg3d
! Network
* uperf http://www.uperf.org/, http://www.uperf.org/manual.html
* rds-stress http://oss.oracle.com/pipermail/rds-devel/2007-November/000237.html, http://oss.oracle.com/~okir/rds/2008-Feb-29/scalability/
* pingplotter http://www.pingplotter.com/
* netem WAN performance simulator http://www.linuxfoundation.org/collaborate/workgroups/networking/netem , http://www.oracle.com/technetwork/articles/wartak-rac-vm-3-096492.html#9a
! Storage/IO
* EMC ControlCenter (ECC)
Orion - see tiddlers below
SQLIO (for SQL Server) - http://sqlserverpedia.com/wiki/SAN_Performance_Tuning_with_SQLIO
Customer Knowledge Exchange
https://metalink2.oracle.com/metalink/plsql/f?p=130:14:6788425522391793279::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,375443.1,1,1,1,helvetica
''* Master Note: Database Performance Overview [ID 402983.1]''
''Performance Tools Quick Reference Guide Doc ID: Note:438452.1''
<<<
* Query Tuning
Enterprise Manager (SQL Tuning Advisor)
AWR SQL Report
SQLTXPLAIN
TRCANLZR
PL/SQ_ Profiler
LTOM (Session Trace Collector)
OPDG
SQL Tuning Health-Check Script [ID 1366133.1]
* OS Data
OS_Watcher
* Database Tuning
Enterprise Manager ADDM
ADDM Report
STATSPACK
AWR Report
OPDG
* Hang, Locking, and Transient Issues
ASH Report
LTOM (Hang Detector, Data Recorder)
HangFG
* Error/Crash Issues
Stackx
ORA-600/ORA-7445 Troubleshooter
* RAC
RDA
RACcheck - RAC Configuration Audit Tool [ID 1268927.1]
<<<
Oracle Performance Diagnostic Guide (OPDG)
Doc ID: Note:390374.1
Performance Improvement Tips for Oracle on UNIX
Doc ID: Note:1005636.6
How to use OS commands to diagnose Database Performance issues?
Doc ID: Note:224176.1
Introduction to Tuning Oracle7 / Oracle8 / 8i / 9i
Doc ID: Note:61998.1
-- DATABASE HEALTH CHECK
How to Perform a Healthcheck on the Database
Doc ID: 122669.1
My Oracle Support Health Checks Catalog [ID 868955.1]
Avoid Known Problems and Improve Stability - New Database, Middleware, E-Business Suite, PeopleSoft, Siebel & JD Edwards Health Checks Released! [ID 1206734.1]
-- ANALYSIS
Yet Another Performance Profiling Method (Or YAPP-Method) (Doc ID 148518.1
Some Reasons for Poor Performance at Database,Network and Client levels
Doc ID: Note:242495.1
Performance Improvement Tips for Oracle on UNIX
Doc ID: 1005636.6
CHECKLIST-What else can influence the Performance of the Database
Doc ID: 148462.1
Abrupt Spikes In Number Of Sessions Causing Slow Performance.
Doc ID: 736635.1
TROUBLESHOOTING: Advanced Query Tuning
Doc ID: 163563.1
Note 233112.1 START HERE> Diagnosing Query Tuning Problems Using a Decision Tree
Note 372431.1 TROUBLESHOOTING: Tuning a New Query
Note 179668.1 TROUBLESHOOTING: Tuning Slow Running Queries
Note 122812.1 Tuning Suggestions When Query Cannot be Modified
Note 67522.1 Diagnosing Why a Query is Not Using an Index
Note 214106.1 Using TKProf to compare actual and predicted row counts
-- ORACLE SUPPORT CASE STUDIES, COE
-- chris warticki
http://blogs.oracle.com/support/
Case Study Master (Doc ID 342534.1)
https://metalink2.oracle.com/metalink/plsql/f?p=130:14:4157667604321941359::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,342534.1,1,1,1,helvetica
Case Study: Diagnosing Another Buffer Busy Waits Issue
Doc ID: Note:358303.1
Freelist Management with Oracle 8i
Doc ID: Note:157250.1
Network Performance Considerations in Designing Client/Server Applications
Doc ID: 76412.1
Database Writer and Buffer Management
Doc ID: 91062.1
http://netappdb.blogspot.com/
Determining CPU Resource Usage for Linux and Unix
Doc ID: Note:466996.1
Measuring Memory Resource Usage for Linux and Unix
Doc ID: Note:467018.1
Linux Kernel: The SLAB Allocator
Doc ID: Note:434351.1
Best Practices for Load Testing
Doc ID: Note:466452.1
-- STATSPACK
Systemwide Tuning using UTLESTAT Reports in Oracle7/8
Doc ID: Note:62161.1
Note 228913.1 Systemwide Tuning using STATSPACK Reports
New system statistics in Oracle 8i bstat/estat report
Doc ID: 134346.1
Statistics Package (STATSPACK) Guide
Doc ID: 394937.1
FAQ- Statspack Complete Reference
Doc ID: 94224.1
Using AWR/Statspack reports to help solve some Portal Performance Problems scenarios
Doc ID: 565812.1
Two Types of Automatic Statistics Collected in 10g
Doc ID: 559029.1
Creating a StatsPack performance report
Doc ID: 149124.1
Gathering a StatsPack snapshot
Doc ID: 149121.1
What is StatsPack and where are the READMEs?
Doc ID: 149115.1
Systemwide Tuning using STATSPACK Reports
Doc ID: 228913.1
Sharing StatsPack snapshot data between two or more databases
Doc ID: 149122.1
What We Did to Track and Detect Init Parameter Changes in our Database
Doc ID: 436776.1
Oracle Database 10g Migration/Upgrade: Known Issues and Best Practices with Self-Managing Database
Doc ID: 332889.1
How To Integrate Statspack with EM 10G
Doc ID: 274436.1
Installing and Using Standby Statspack in 11gR1
Doc ID: 454848.1
-- AWR
Solving Convertible or Lossy data in Data Dictionary objects when changing the NLS_CHARACTERSET
Doc ID: 258904.1
Although AWR snapshot is dropped, WRH$_SQLTEXT still shows some relevant entries
Doc ID: 798526.1
High Storage Consumption for LOBs in SYSAUX Tablespace
Doc ID: 396502.1
-- AWR BASELINE
How to Generate an AWR Report and Create Baselines [ID 748642.1]
-- AWR ERRORS
OERR: ORA-13711 Some snapshots in the range [%s, %s] are missing key statistic [ID 287886.1]
Troubleshooting: AWR Snapshot Collection issues [ID 1301503.1]
ORA-12751 cpu time or run time policy violation [ID 761298.1] <-- usually happens when you are on high CPU, high SYS CPU
AWR or STATSPACK Snapshot collection extremely slow in 11gR2 [ID 1392603.1]
Bug 13372759: AWR SNAPSHOTS HANGING
-- EXPORT IMPORT AWR
http://gavinsoorma.com/2009/07/exporting-and-importing-awr-snapshot-data/
How to Transport AWR Data [ID 872733.1]
http://dboptimizer.com/2011/04/16/importing-multiple-databases-awr-repositories/
-- EVENTS
What is the "WF - Contention'' Enqueue ?
Doc ID: Note:358208.1
Consistent gets - examination
http://www.dba-oracle.com/m_consistent_gets.htm
-- SGA
FREQUENT RESIZE OF SGA
Doc ID: 742599.1
-- BUFFER CACHE
Understanding and Tuning Buffer Cache and DBWR
Doc ID: Note:62172.1
Note 1022293.6 HOW A TABLE CAN BE CACHED IN MEMORY BUFFER CACHE
How to Identify The Segment Associated with Buffer Busy Waits
Doc ID: Note:413931.1
Resolving Intense and "Random" Buffer Busy Wait Performance Problems
Doc ID: Note:155971.1
Case Study: Diagnosing Another Buffer Busy Waits Issue
Doc ID: Note:358303.1
DB_WRITER_PROCESSES or DBWR_IO_SLAVES?
Doc ID: Note:97291.1
Database Writer and Buffer Management
Doc ID: Note:91062.1
STATISTIC "cache hit ratio" - Reference Note
Doc ID: Note:33883.1
Oracle9i NF: Dynamic Buffer Cache Advisory
Doc ID: Note:148511.1
How To Identify a Hot Block Within The Database Buffer Cache.
Doc ID: Note:163424.1
What is "v$bh"? How should it be used?
Doc ID: 73582.1
-- BUFFER POOL
Oracle Multiple Buffer Pools Feature
Doc ID: 135223.1
ORACLE8.X: HOW TO MAKE SMALL FREQUENTLY USED TABLES STAY IN MEMORY
Doc ID: 1059295.6
Multiple BUFFER subcaches: What is the total BUFFER CACHE size?
Doc ID: 138226.1
HOW A TABLE CAN BE CACHED IN MEMORY/BUFFER CACHE <-- oracle 7
Doc ID: 1022293.6
-- LARGE POOL
Fundamentals of the Large Pool (Doc ID 62140.1)
-- SHARED POOL
Using the Oracle DBMS_SHARED_POOL Package
Doc ID: Note:61760.1
How to Pin a Cursor in the Shared Pool
Doc ID: Note:726780.1
90+percent of the shared pool memory though no activity on the database
Doc ID: Note:552391.1
How to Pin SQL Statements in Memory Using DBMS_SHARED_POOL
Doc ID: Note:152679.1
90+percent of the shared pool memory though no activity on the database
Doc ID: 552391.1
HOW TO FIND THE SESSION HOLDING A LIBRARY CACHE LOCK
Doc ID: 122793.1
Dump In msqsub() When Querying V$SQL_PLAN
Doc ID: 361342.1
-- SHARED POOL PIN
How to Automate Pinning Objects in Shared Pool at Database Startup
Doc ID: 101627.1
PINNING ORACLE APPLICATIONS OBJECTS INTO THE SHARED POOL
Doc ID: 69925.1
How To Use SYS.DBMS_SHARED_POOL In a PL/SQL Stored procedure To Pin objects in Oracle's Shared Pool.
Doc ID: 305529.1
How to Pin a Cursor in the Shared Pool
Doc ID: 726780.1
How to Pin SQL Statements in Memory Using DBMS_SHARED_POOL
Doc ID: 152679.1
-- FREELISTS & FREELISTS GROUS
Freelist Management with Oracle 8i
Doc ID: Note:157250.1
How To Solve High ITL Waits For Given Segments.
Doc ID: Note:464041.1
-- EBS
Troubleshooting Oracle Applications Performance Issues
Doc ID: Note:169935.1
MRP Core/Mfg Performance Tuning and Troubleshooting Guide
Doc ID: 100956.1
-- LATCH
What are Latches and What Causes Latch Contention
Doc ID: Note:22908.1
How to Match a Row Cache Object Child Latch to its Row Cache
Doc ID: Note:468334.1
-- CHECKPOINT
Manual Log Switching Causing "Thread 1 Cannot Allocate New Log" Message in the Alert Log
Doc ID: Note:435887.1
Checkpoint Tuning and Troubleshooting Guide
Doc ID: Note:147468.1
Alert Log Messages: Private Strand Flush Not Complete
Doc ID: Note:372557.1
DB Redolog Archive Once A Minute
Doc ID: Note:370151.1
Automatic Checkpoint Tuning in 10g
Doc ID: Note:265831.1
WHY REDO LOG SPACE REQUESTS ALWAYS INCREASE AND NEVER DECREASE?
Doc ID: Note:1025593.6
-- OS LEVEL (Linux - Puschitz)
Oracle MetaLink Note:200266.1
Oracle MetaLink Note:225751.1
Oracle MetaLink Note:249213.1
Oracle MetaLink Note:260152.1
Oracle MetaLink Note:262004.1
Oracle MetaLink Note:265194.1
Oracle MetaLink Note:270382.1
Oracle MetaLink Note:280463.1
Oracle MetaLink Note:329378.1
Oracle MetaLink Note:344320.1
http://www.oracle.com/technology/pub/notes/technote_rhel3.html
http://www.redhat.com/whitepapers/rhel/OracleonLinux.pdf
http://www.redhat.com/magazine/001nov04/features/vm/ <-- Understanding Virtual Memory by Norm Murray and Neil Horman
http://kerneltrap.org/node/2450 <-- Feature: High Memory In The Linux Kernel
http://www.redhat.com/whitepapers/rhel/AdvServerRASMpdfRev2.pdf
-- hang
What To Do and Not To Do When 'shutdown immediate' Hangs
Doc ID: Note:375935.1
Bug:5057695: Shutdown Immediate Very Slow To Close Database.
Doc ID: Note:428688.1
Diagnosing Database Hanging Issues
Doc ID: Note:61552.1
Bug No. 5057695 SHUTDOWN IMMEDIATE SLOW TO CLOSE DOWN DATABASE WITH INACTIVE JDBC THIN SESSIONS
How to Debug Hanging Sessions?
Doc ID: 178721.1
ORA-0054: When Dropping or Truncating Table, When Creating or Rebuilding Index
Doc ID: 117316.1
Connection To / As Sysdba and Shutdown Immediate Hang
Doc ID: 314365.1
-- INTERNALS
Database Internals (Events, Blockdumps)
https://metalink2.oracle.com/metalink/plsql/f?p=130:14:4157667604321941359::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,267951.1,1,1,1,helvetica
-- SPA
SQL PERFORMANCE ANALYZER 10.2.0.x to 10.2.0.y EXAMPLE SCRIPTS (Doc ID 742644.1)
-- TRACE
Interpreting Raw SQL_TRACE and DBMS_SUPPORT.START_TRACE output
Metalink Note 39817.1
This is the event used to implement the DBMS_SUPPORT trace, which is a
superset of Oracle's SQL_TRACE facility. At level 4, bind calls are included in the
trace output; at level 8, wait events are included, which is the default level for
DBMS_SUPPORT; and at level 12, both binds and waits are included. See the
excellent Oracle Note 39817.1 for a detailed explanation of the raw information in
the trace file.
How to Obtain Tracing of Optimizer Computations (EVENT 10053)
Doc ID: Note:225598.1
Recommended Method for Obtaining 10046 trace for Tuning
Doc ID: Note:376442.1
EVENT: 10046 "enable SQL statement tracing (including binds/waits)"
Doc ID: Note:21154.1
Tracing Oracle Applications using Event 10046
Doc ID: Note:171647.1
Troubleshooting (Tracing)
Doc ID: Note:117820.1
Note 246821.1 trace.sql - Traces a sql statement ensuring that the rows column will be populated
Note 156969.1 coe_trace.sql - SQL Tracing Apps online transactions with Event 10046 (11.5)
Note 156970.1 coe_trace_11.sql - SQL Tracing Apps online transactions with Event 10046 (11.0)
Note 156971.1 coe_trace_all.sql - Turns SQL Trace ON for all open DB Sessions (8.0-9.0)
Note 156966.1 coe_event_10046.sql - SQL Tracing online transactions using Event 10046 7.3-9.0
Note 171647.1 - Tracing Oracle Applications using Event 10046
Note 179848.1 bde_system_event_10046.sql - SQL Trace any transaction with Event 10046 8.1-9.0
Note 224270.1 TRCANLZR.sql - Trace Analyzer - Interpreting Raw SQL Traces generated by EVENT 10046
Note 296559.1 FAQ: Common Tracing Techniques within the Oracle Applications 11i
Introduction to Trace Analyzer and SQLTXPLAIN For System Admins and DBAs (Doc ID 864002.1)
How to Turn on Tracing of Calls to Database
Doc ID: Note:187913.1
Note 1058210.6 HOW TO ENABLE SQL TRACE FOR ANOTHER SESSION USING ORADEBUG
Getting 10046 Trace for Export and Import
Doc ID: Note:258418.1
Library Cache Latch Waits Cause Database Slowdown On Tracing Sessions With Event 10046
Doc ID: Note:311105.1
How To Display The Values Of A Bind Variable In A SQL Statement
Doc ID: Note:1068973.6
Introduction to ORACLE Diagnostic EVENTS
Doc ID: Note:218105.1
When Conventional Thinking Fails: A Performance Case Study in Order Management Workflow customization
Doc ID: Note:431619.1
How to Set SQL Trace on with 10046 Event Trace which Provides the Bind Variables
Doc ID: Note:160124.1
Diagnostics for Query Tuning Problems
Doc ID: Note:68735.1
Master note for diagnosing Portal/Database Performance Issues
Doc ID: Note:578806.1
Debug and Validate Invalid Objects
Doc ID: Note:300056.1
How to Submit a Testcase to Oracle Support for Reproducing an Execution Plan
Doc ID: Note:390610.1
How to Run SQL Testcase Builder from ADRCI [Video] [ID 1174105.1] <-- new stuff
How to Log a Good Performance Service Request
Doc ID: Note:210014.1
Index Rebuild Is Hanging Or Taking Too Long
Doc ID: Note:272762.1
Tracing session created through dblink
Doc ID: Note:258754.1
Overview Reference for SQL_TRACE, TKProf and Explain Plan
Doc ID: Note:199081.1
Diagnostics for Query Tuning Problems
Doc ID: Note:68735.1
12099 ?? <-- what?
-- PL/SQL PROFILER
Implementing and Using the PL/SQL Profiler (Doc ID 243755.1)
-- DBMS_SUPPORT
The DBMS_SUPPORT Package
Doc ID: Note:62294.1
-- DBMS_APPLICATION_INFO
PACKAGE DBMS_APPLICATION_INFO Specification
Doc ID: Note:30366.1
-- RMAN
RMAN Performance Tuning Diagnostics
Doc ID: Note:311068.1
-- CPU
How to Diagnose high CPU usage problems
Doc ID: 352648.1
Diagnosing High CPU Utilization
Doc ID: Note:164768.1
http://www.freelists.org/post/oracle-l/CPU-used-by-this-Session-and-Wait-time
-- V$OSSTAT
Aix 5.3 On Power 5: Does Oracle Recommend 'SMT' Be Enabled Or Not (And Why) (Doc ID 308393.1)
MMNL Process Consuming High CPU (Doc ID 460127.1)
Bug 6164409 - v$osstat shows wrong values for load data (Doc ID 6164409.8)
Bug 6417713 - Linux PowerPC: Dump during startup / during select from V$OSSTAT (Doc ID 6417713.8)
Difference In V$OSSTAT xxx_TICKS and xxx_TIME between 10.1 and 10.2 (Doc ID 433937.1)
Bug 4527873 - Linux: V$OSSTAT view may return no rows (Doc ID 4527873.8)
Document TitleBug 3559340 - V$OSSTAT may contain no data on some platforms with large number of CPUs (Doc ID 3559340.8)
Bug 8777336 - multiple kstat calls while getting socket count and core count for v$osstat (Doc ID 8777336.8)
Very large value for OS_CPU_WAIT_TIME FROM V$OSSTAT / AWR Report (Doc ID 889396.1)
Bug 7447648 - HPUX: OS_CPU_WAIT_TIME value from V$OSSTAT is incorrect on HPUX (Doc ID 7447648.8)
KSUGETOSSTAT FAILED: OP = PSTAT_GETPROCESSOR, LOCATION = SLSGETACTIVE () (Doc ID 375860.1)
ADDM reports ORA-13711 error in OEM on HP-UX Itanium (Doc ID 845668.1)
Bug 5010657 - HPUX-Itanium: No rows from V$OSSTAT / incorrect CPU_COUNT (Doc ID 5010657.8)
ORA-7445 (ksbnfy) (Doc ID 753033.1)
-- IO WAIT
PROBLEM : "CPU I/O WAIT" metric has values > 100% on Linux, HP-UX and AIX Hosts [ID 436855.1]
-- IO
I/O Tuning with Different RAID Configurations
Doc ID: Note:30286.1
CHECKLIST-What else can influence the Performance of the Database
Doc ID: Note:148462.1 Type:
Avoiding I/O Disk Contention
Doc ID: Note:148342.1
Tuning I/O-related waits
Doc ID: Note:223117.1
-- COE ORACLE SUPPORT TOOLS
Doc ID: Note:301137.1 OS Watcher User Guide
Doc ID: Note:433472.1 OS Watcher For Windows (OSWFW) User Guide
OSW System Profile - Sample
Doc ID: Note:461054.1
LTOM System Profiler - Sample Output
Doc ID: Note:461052.1
OS Watcher Graph (OSWg) User Guide
Doc ID: Note:461053.1
OSW System Profile - Sample
Doc ID: NOTE:461054.1
Performance Tools Quick Reference Guide
Doc ID: Note:438452.1
LTOM - The On-Board Monitor User Guide
Doc ID: Note:352363.1
LTOM System Profiler - Sample Output
Doc ID: NOTE:461052.1
Linux sys_checker.sh O/S Shell script to gather critical O/S at periodic intervals
Doc ID: Note:278072.1
Linux Kernel: The SLAB Allocator
Doc ID: Note:434351.1
OSW System Profile - Sample
Doc ID: Note:461054.1
How To Start OSWatcher Every System Boot
Doc ID: Note:580513.1
51. Diagnostic Tools Catalog
href="showdoc?db=NOT&id=362791.1&blackframe=0">Core / Stack Trace Extraction Tool (Stackx) User Guide
559339.1 08-APR-2008 Generic Generic REFERENCE
Doc ID 459694.1 Procwatcher Script to Monitor and Examine Oracle and CRS Processes
Script to Collect RAC Diagnostic Information (racdiag.sql)
Doc ID: 135714.1
Script to Collect OPS Diagnostic Information (opsdiag.sql)
Doc ID: 205809.1
STACKX User Guide
Doc ID: 362791.1
-- ADVISORS
PERFORMANCE TUNING USING 10g ADVISORS AND MANAGEABILITY FEATURES
Doc ID: 276103.1
-- LGWR
LGWR and Asynchronous I/O
Doc ID: 422058.1
-- INDEX
Poor IO performance doing index rebuild online after migrating to another storage
Doc ID: 258907.1
-- MULTIBLOCK READ COUNT
SSTIOMAX AND DB_FILE_MULTIBLOCK_READ_COUNT IN ORACLE 7 AND 8
Doc ID: 131530.1
-- INITRANS
INITRANS relationship with DB_BLOCK_SIZE.
Doc ID: 151473.1
-- DUMP
How to Dump Redo Log File Information
Doc ID: 1031381.6
How to Obtain a Segment Header Dump
Doc ID: 249814.1
How To Determine The Block Header Size
Doc ID: 1061465.6
Obtaining systemstate dumps or 10046 traces at master site during snapshot refresh hang
Doc ID: 273238.1
-- WAIT EVENTS
How I Monitor WAITS to help tune long running queries
Doc ID: 431447.1
-- enq: HW - contention
'enq HW - contention' For Busy LOB Segment [ID 740075.1]
How To Analyze the Wait Statistic: 'enq: HW - contention' [ID 419348.1]
Thread: enq: HW - contention waits http://forums.oracle.com/forums/thread.jspa?threadID=644850&tstart=44
http://www.freelists.org/post/oracle-l/enq-HW-contention-waits
http://forums.oracle.com/forums/thread.jspa?threadID=892508
http://orainternals.wordpress.com/2008/05/16/resolving-hw-enqueue-contention/
{{{
http://www.orafaq.com/forum/t/164483/0/
--to allocate extent to the table
alter table emp allocate extent;
--the table has columns named col1 and col2 which are clob
--to allocate extents to the columns
alter table emp modify lob (col1) (allocate extent (size 10m))
/
alter table emp modify lob (col2) (allocate extent (size 10m))
/
>> alter table theBLOBtable modify lob (theBLOBcolumn) (allocate extent (instance 1));
>> Remember to include the "instance 1" so space is added below HWM, even if
you're not using RAC (ignore documentation's caution: only use it on RAC).
}}}
-- resmgr: become active
The session is waiting for a resource manager active session slot. This event occurs when the resource manager is enabled and the number of active sessions in the session's current consumer group exceeds the current resource plan's active session limit for the consumer group. To reduce the occurrence of this wait event, increase the active session limit for the session's current consumer group.
High "Resmgr:Cpu Quantum" Wait Events In 11g Even When Resource Manager Is Disabled [ID 949033.1]
No Database User Can Login Except Sys And System because Resource Manager Internal_Quiesce Plan Enabled [ID 396970.1]
NOTE:786346.1 - Resource Manager and Sql Tunning Advisory DEFAULT_MAINTENANCE_PLAN
NOTE:756734.1 - 11g: Scheduler Maintenance Tasks or Autotasks
NOTE:806893.1 - Large Waits With The Wait Event "Resmgr:Cpu Quantum"
NOTE:392037.1 - Database Hangs. Sessions wait for 'resmgr:cpu quantum'
-- LOB
LOB Performance Guideline
Doc ID: 268476.1
-- OS TRACE
How to use truss command on IBM AIX
Doc ID: 245350.1
TECH: Using Truss / Trace on Unix
Doc ID: 28588.1
How to Trace Unix System Calls
Doc ID: 110888.1
How to Trace the Forms Runtime Process Using TRUSS/STRACE
Doc ID: 275510.1
Troubleshooting Tips For Spinning/Hanging F60WEBMX Processes
Doc ID: 457381.1
Diagnosing Webforms Hanging
Doc ID: 179612.1
How To Capture A Truss Of F60WEBMX When There Is No Process ID (PID)
Doc ID: 438913.1
How to Run Truss
Doc ID: 146428.1
QREF: Trace commands Summary
Doc ID: 16782.1
TECH: Using Truss / Trace on Unix
Doc ID: 28588.1
Database Startup, Shutdown Or New Connections Hang With Truss Showing OS Failing Semtimedop Call With Err#11 EAGAIN
Doc ID: 760968.1
How To Verify Whether DIRECTIO is Being Used
Doc ID: 555601.1
How To Perform System Tracing For All Forms Runtime Processes?
Doc ID: 400144.1
ALERT: Hang During Startup/Shutdown on Unix When System Uptime > 248 Days
Doc ID: 118228.1
How To Use Truss With Opatch?
Doc ID: 470225.1
Note 110888.1 - How to Trace Unix System Calls
How to Troubleshoot Spinning / Runaway Web Deployed Forms Runtime Processes?
Doc ID: 206681.1
ORA-7445[ksuklms] After Upgrade To 10.2.0.4
Doc ID: 725951.1
-- QMN
Queue Monitor Process: Architecture and Known Issues
Doc ID: 305662.1
Queue Monitor Coordinator Process delays Database Opening due to Replication Queue Tables with Large HighWaterMark
Doc ID: 564663.1
'IPC Send Timeout Detected' errors between QMON Processes after RAC reconfiguration
Doc ID: 458912.1
Queue Monitor Coordinator Process consuming 100% of 1 cpu
Doc ID: 604246.1
-- OS TOOLS , SOLARIS
http://developers.sun.com/solaris/articles/tuning_solaris.html
-- SPACE MANAGEMENT
BMB versus Freelist Segment: DBMS_SPACE.UNUSED_SPACE and DBA_TABLES.EMPTY_BLOCKS (Doc ID 149516.1)
Automatic Space Segment Management in RAC Environments (Doc ID 180608.1)
How to Deallocate Unused Space from a Table, Index or Cluster. (Doc ID 115586.1)
When to use DBMS_SPACE.UNUSED_SPACE or DBMS_SPACE.FREE_BLOCKS Procedures (Doc ID 116565.1)
{{{
This is a thorough and systematic performance review and a comprehensive report will be given.
No changes or tuning will be done during the activity. From the detailed report we could do another engagement acting on the bottlenecks found.
--------------------------------------------------------------------------------
The Tuning Document
1) Infrastructure Overview
2) Recommendations
3) Performance Summary
4) Operating System Performance Analysis
- CPU
- Memory
- Swap
- Storage
- Network
5) Oracle Performance Analysis
Database Bottlenecks - this includes but not limited to the following:
- Stresser of the database server's components (CPU,IO,Memory,Network) on low and peak periods using Linear Regression Analysis
- ETL period / Ad hoc reports affecting database server performance
- Issues on particular wait events
- Configuration issues, example would be Parallelism parameters
- Long running SQLs
- etc.
6) Application Performance Analysis
Top SQLs
- Top SQLs - SELECT
- Top SQLs - INSERT
- Top SQLs - UPDATE
- Top SQLs - MERGE
- Top SQLs - PARALLEL
- Unstable execution plans
7) References and Metalink Notes
--------------------------------------------------------------------------------
Things needed prior and during the activity
Below are the documents we need before the activity:
1) Most recent RDA of the database
3) Hardware, Storage, and network architecture that includes the Database, Application Server, BI environment
4) Hardware, Storage (raw and usable), and network make and model (plus specs)
5) Workload period of the following (day and time of the month):
- work hours
- peak and off peak
- ETL period
- reports period
- (OLTP) transaction processing
- backup (RMAN, filesystem copy, tape, SAN mirroring)
Here are the things that we need during the tuning activity:
1) It is critical to have AWR/Statspack data, ideally it should represent the following workload periods:
- work hours
- peak and off peak
- ETL period
- reports period
- (OLTP) transaction processing
- backup (RMAN, filesystem copy, tape, SAN mirroring)
The snap period (interval) should be at least 15mins. And the data retention should be at least 30 days to have enough data samples during workload characterization.
AWR needs a diagnostic and tuning pack license. Statspack is a free tool. Any of them should be installed.
2) SAR data of the database server
Below are some of the tools that will be used during the activity:
• OSWatcher (Oracle OS Watcher) - Reports CPU, RAM and Network stress, and is a new alternative for monitoring Oracle servers
• Perfsheet (Performance Visualization) – For Session Monitoring, uses excel sheet
• Ashmon (Active Session Monitoring) – For monitoring Database Session
• Lab 128 (trial software) – Tool for Oracle Tuning, Monitoring and trace SQL/Stored procedures transactions
• SQLTXPLAIN (Oracle Extended Explain Plan Statistics) – Provides details about all schema objects in which the SQL statement depends on.
• Orasrp (Oracle Session Resource Planner) – Builds complete detailed session profile
• Snapper (Oracle Session Snapper) - Reports Oracle session level performance counter and wait information in real time
• Oracle LTOM (Oracle Lite Onboard Monitor) – Provides automatic session tracing
• AWR r2toolkit - A toolkit for workload characterization and forecasting
• gxplan - Visualization of explain plan
}}}
References:
Total Performance Management http://www.allenhayden.com/cgi/getdoc.pl?file=perfmgmt.pdf
http://www.evernote.com/shard/s48/sh/ba502722-fe8a-4088-935d-f32ce6639a41/38b906fd8ca9b49374679e4b0992de13 <-- details
snapper
http://books.perl.org/topx
http://use.perl.org/~Ovid/journal/29332
http://www.perlmonks.org/?node_id=543480
http://www.amazon.com/Only-the-best-Perl-books/lm/1296HDTC2HVBH
Logical Reads vs Physical Reads
http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:6643159615303
Do fast full index scans do physical disk reads?
http://www.mail-archive.com/oracle-l@fatcity.com/msg23688.html
* smartd is a really cool tool and there's a really cool documentation here http://smartmontools.sourceforge.net/badblockhowto.html, plus a calculator that you can use http://homepage2.nifty.com/cars/misc/chs2lba.html
* it all boils down to replacing the HD.. but first you need to tie the failed block device with the physical serial number and their location on the motherboard..
http://forums.fedoraforum.org/showthread.php?t=122196
http://www.linuxjournal.com/content/know-when-your-drives-are-failing-smartd
http://serverfault.com/questions/64239/physically-identify-the-failed-hard-drive
http://www.linuxquestions.org/questions/linux-general-1/how-do-physically-identify-a-failed-raid-disk-561021/
http://moluccan.co.uk/Joomla/index.php/crib-sheet/287-pinning-cluster-nodes
http://www.filibeto.org/sun/lib/nonsun/oracle/11.2.0.1.0/E11882_01/install.112/e10816/postinst.htm#BABGIJDH
http://blog.ronnyegner-consulting.de/2010/03/11/creating-a-oracle-10g-release-2-or-11g-release-1-database-on-a-11g-release-2-cluster/
http://coskan.wordpress.com/2011/01/26/plan-stability-through-upgrade-to-11g-introduction/
<<<
1-Introduction
2-Building the test
3-Why is my plan changed?-bugfixes : how you can find which bug fix may caused your plan change
4-Why is my plan changed?-new optimizer parameters : how you can find which parameter change/addition may caused your plan change
5-Why is my plan changed?-extra nested loop : what is the new nested loop step you will see after 11G upgrade
6-Why is my plan changed?-stats : I will try to explain how to understand if your stats are the problem
7-Why is my plan changed?-adaptive cursor sharing : I will talk a “little” about adaptive cursor sharing which may cause different plans for binded sqls after upgrade
8-Opening plan change case on MOS-SQLT : I will try to save the time you spend with Oracle Support when you raise a call for post upgrade performance degredation
9-Plan Baselines-Introduction : What are plan baselines they how they work
10-Plan Baselines-Using SQL Tuning sets : How to create plan baselines from tuning set ?
11-Plan Baselines-Using SQL Cache : How to create plan baselines from SQL Cache ?
12-Plan Baselines-Moving Baselines : How to move your plan baselines between database ?
13-Plan Baselines-Faking Baselines : How to fake the plan baseline?s
14-Plan Baselines-Capturing Baselines : How to capture baselines?
15-Plan Baselines-Management : How to manage your baselines?
16-Testing Statistics with Pending Stats : I’ll go through how you can use pending statistics during upgrades
17-Comparing Statistics : I’ll explain comparing the statistics
18-Cardinality Feedback Feature : I’ll go through new built in cardinality feedback feature which may cause problems
19-Where is the sqlid of active session ? : I’ll show you how you can find what your sql_id when it is null
20-Testing hintless database : I’ll explain how you can get rid of hints
21-Upgrade Day/Week : What needs to be ready for smooth upgrade ?
22-Before after analysis-mining problems : How you can spot possible problems comparing tuning sets
23-Before after analysis-graphs to sell : Using perfsheet to sell your work
24-Further Reading : Compilation of References I used during series and some helpfull links
25-Tools used : Index of the tools I used during series
<<<
Part 1 - http://avdeo.com/2011/06/02/oracle-sql-plan-management-part-1/
Part 2 - http://avdeo.com/2011/06/07/oracle-sql-plan-management-%e2%80%93-part-2/
Part 3 - http://avdeo.com/2011/08/07/oracle-sql-plan-management-%E2%80%93-part-3/
{{{
CBS -> Newest Full Episodes
ESPN3
Fox News -> Latest News
LiveNews -> Bloomberg
Youtube -> Most Popular
MTV -> Shows
}}}
How To Setup ASM (10.2 & 11.1) On An Active/Passive Cluster (Non-RAC). [ID 1319050.1] <-- a different variety..
How To Setup ASM (11.2) On An Active/Passive Cluster (Non-RAC). [ID 1296124.1]
http://blogs.oracle.com/xpsoluxdb/entry/clusterware_11gr2_setting_up_an_activepassive_failover_configuration <-- GOOD STUFF using ACTION_SCRIPT
''18000 mAh - .4 kilos'' http://www.buy.com/prod/energizer-xp18000-emergency-power-for-notebooks/q/loc/111/212003408.html
''6,000 mAh - .2 kilos'' http://www.zagg.com/accessories/zaggsparq.php
http://www.energizerpowerpacks.com/us/products/xp8000/
http://www.energizerpowerpacks.com/us/products/xp18000/
http://pc.mmgn.com/Forums/social/Energizer-XP-18000-Universal-P
emc118561 Sistina LVM2 is reporting duplicate PV on RHEL
emc120281 How to set up a Linux host to use emcpower devices in LVM
Configuring Oracle ASMLib on Multipath Disks on Linux [ID 394956.1] <-- not detailed EMC Powerpath
Configuring Oracle ASMLib on Multipath Disks [ID 309815.1] <-- detailed EMC Powerpath
ORA-15072 when creating a diskgroup with external redundancy [ID 396015.1] <-- If EMC based storage but use the normal Linux multipath driver is used, then the following map settings should be set in /etc/sysconfig/oracleasm
How to List the Single Path Devices for an EMC PowerPath Multipathing Device [ID 420839.1] <-- EMC Powerpath on 2.4 kernel
How To Setup ASM on Linux Using ASMLIB Disks, Raw Devices or Block Devices? [ID 580153.1] <-- mentions 10gR2 and 11gR2 configuration
ASM 11.2 Configuration KIT (ASM 11gR2 Installation & Configuration, Deinstallation, Upgrade, ASM Job Role Separation. [ID 1092213.1] <-- ASM 11gR2
Oracle ASM and Multi-Pathing Technologies [ID 294869.1] <-- details all the multipathing technologies!!!
http://www.oracle.com/technetwork/database/asm.pdf <-- another guide more comprehensive that details multipathing technologies!!!
http://www.oracle.com/technetwork/topics/linux/multipath-097959.html Configuring Oracle ASMLib on Multipath Disks
http://www.oracle.com/technetwork/database/device-mapper-udev-asm.pdf Configuring udev and device mapper for Oracle RAC 10g Release 2 on SLES9
http://www.emcstorageinfo.com/2007/07/emc-powerpath-pseudo-devices.html <-- nice visualization of EMC Powerpath
http://goo.gl/xCjAi <-- Powerpath install guide
http://www.oracle.com/technetwork/database/netapp-asm3329-129196.pdf <-- Netapp ASM
Master Note for Automatic Storage Management (ASM) [ID 1187723.1]
Consolidated Reference List Of Notes For Migration / Upgrade Service Requests [ID 762540.1] <-- migration consolidated SRs
ASMLIB Interacting with persistent names generated by udev or devlabel [ID 372783.1] <-- ASMLIB uses file /proc/partitions, mentions ORACLEASM_SCANORDER=emcpower
FAQ ASMLIB CONFIGURE,VERIFY, TROUBLESHOOT [ID 359266.1] <-- mentions ORACLEASM_SCANORDER=emcpower
http://www.james.labocki.com/?p=155 <-- Configuring Oracle ASM on Enterprise Linux 5
http://jcnarasimhan.blogspot.com/2009/08/managing-asm-disk-discovery.html <-- nice guide
http://forums.oracle.com/forums/thread.jspa?threadID=910819&tstart=0 <-- the forum
http://it.toolbox.com/blogs/surachart/check-the-device-asmlib-on-multipath-32222
http://www.freelists.org/post/oracle-l/Can-ASMLib-and-EMC-PowerPath-work-together
http://www.cisco.com/en/US/docs/solutions/Enterprise/Data_Center/App_Networking/Oracle11gR2_RAC_B200-M1_8_Node_Certification.pdf <-- Deploying Oracle 11gR2 RAC on the Cisco Unified Computing System with EMC CLARiiON Storage
http://www.oracle.com/technetwork/database/asm-on-emc-5-3-134797.pdf <-- Using Oracle Database 10g’s Automatic Storage Management with EMC Storage Technology
http://www.ardentperf.com/2008/02/13/oracle-clusterware-on-rhel5oel5-with-udev-and-multipath/
http://blog.capdata.fr/index.php/installation-asm-sur-suse-10-en-64-bits-avec-multipathing-emc-powerpath/
http://gjilevski.wordpress.com/2008/05/07/automatic-storage-management-asm-faq-for-oracle-10g-and-11g-r1/ <--ASM FAQ
LVM on multipath http://christophe.varoqui.free.fr/faq.html
MDADM multipath http://www.linuxtopia.org/online_books/rhel5/installation_guide/rhel5_s2-s390info-multipath.html
DM-Multipath http://willsnotes.wordpress.com/2010/10/13/linux-rhel-5-configuring-multipathing-with-dm-multipath/
Comparison of Powerpath vs dm-multipath http://blog.thilelli.net/post/2009/02/09/Comparison%3A-EMC-PowerPath-vs-GNU/Linux-dm-multipath
http://blog.thilelli.net/post/2007/12/01/Nifty-Tool-For-Querying-Heterogeneous-SCSI-Devices
Microsoft script center http://technet.microsoft.com/en-us/scriptcenter/bb410849
-- coolmaster 800W
http://www.youtube.com/watch?v=IE-cO2mqTGQ
http://laurentschneider.com/wordpress/2010/10/whats-your-favorite-shell-in-windows.html
Using DTrace to understand mpstat and vmstat output http://prefetch.net/articles/dtracecookbook.html
Top Ten DTrace (D) Scripts http://prefetch.net/articles/solaris.dtracetopten.html
Observing I/O Behavior With The DTraceToolkit http://prefetch.net/articles/observeiodtk.html
http://arup.blogspot.com/2011/01/what-makes-great-presentation.html
/***
|Name:|PrettyDatesPlugin|
|Description:|Provides a new date format ('pppp') that displays times such as '2 days ago'|
|Version:|1.0 ($Rev: 3646 $)|
|Date:|$Date: 2008-02-27 02:34:38 +1000 (Wed, 27 Feb 2008) $|
|Source:|http://mptw.tiddlyspot.com/#PrettyDatesPlugin|
|Author:|Simon Baird <simon.baird@gmail.com>|
|License:|http://mptw.tiddlyspot.com/#TheBSDLicense|
!!Notes
* If you want to you can rename this plugin. :) Some suggestions: LastUpdatedPlugin, RelativeDatesPlugin, SmartDatesPlugin, SexyDatesPlugin.
* Inspired by http://ejohn.org/files/pretty.js
***/
//{{{
Date.prototype.prettyDate = function() {
var diff = (((new Date()).getTime() - this.getTime()) / 1000);
var day_diff = Math.floor(diff / 86400);
if (isNaN(day_diff)) return "";
else if (diff < 0) return "in the future";
else if (diff < 60) return "just now";
else if (diff < 120) return "1 minute ago";
else if (diff < 3600) return Math.floor(diff/60) + " minutes ago";
else if (diff < 7200) return "1 hour ago";
else if (diff < 86400) return Math.floor(diff/3600) + " hours ago";
else if (day_diff == 1) return "Yesterday";
else if (day_diff < 7) return day_diff + " days ago";
else if (day_diff < 14) return "a week ago";
else if (day_diff < 31) return Math.ceil(day_diff/7) + " weeks ago";
else if (day_diff < 62) return "a month ago";
else if (day_diff < 365) return "about " + Math.ceil(day_diff/31) + " months ago";
else if (day_diff < 730) return "a year ago";
else return Math.ceil(day_diff/365) + " years ago";
}
Date.prototype.formatString_orig_mptw = Date.prototype.formatString;
Date.prototype.formatString = function(template) {
return this.formatString_orig_mptw(template).replace(/pppp/,this.prettyDate());
}
// for MPTW. otherwise edit your ViewTemplate as required.
// config.mptwDateFormat = 'pppp (DD/MM/YY)';
config.mptwDateFormat = 'pppp';
//}}}
To prevent certain IP Adresses from connecting to database,you have to add 2 parameters to the SQLNET.ORA file of your
database and then restart the listener,
the 2 parameters are:
tcp.validnode_checking = yes
tcp.excluded_nodes = (155.23.0.100)
http://answers.microsoft.com/en-us/windows/forum/windows_7-windows_install/reactivating-windows-7-after-moving-to-a-different/3d5e2cdd-e4c6-4951-ae8a-d25c0c3db0a0
http://answers.microsoft.com/en-us/windows/forum/windows_7-windows_install/a-problem-in-activating-a-geographically/af737349-797a-e011-9b4b-68b599b31bf5
http://sourceforge.net/projects/oraresprof/
http://www.dbasupport.com/oracle/ora10g/open_source1.shtml
http://www.dbasupport.com/oracle/ora10g/open_source2.shtml
http://www.sqltools-plusplus.org:7676/links.html
http://sourceforge.net/projects/hotsos-ilo/
http://sourceforge.net/projects/hotsos-ilo/#item3rd-1
http://www.oracledba.ru/orasrp/
http://sourceforge.net/projects/etprof
Carry forms Method-R
http://www.prweb.com/releases/2008/05/prweb839554.htm
Alex
http://www.pythian.com/blogs/author/alex
source code of ORASRP
https://twiki.cern.ch/twiki/bin/view/PSSGroup/SQLTraceAnalysis
simple profiler
http://www.niall.litchfield.dial.pipex.com/SimpleProfiler/SimpleProfiler.html
How to set trace for others sessions, for your own session and at instance level
http://www.petefinnigan.com/ramblings/how_to_set_trace.htm
pete downloads
http://www.petefinnigan.com/tools.htm
appsdba.com
http://www.appsdba.com/blog/?p=24
performance as a service
http://carymillsap.blogspot.com/2008/06/performance-as-service.html
http://www.evernote.com/shard/s48/sh/bff156b7-9898-4010-9346-f16ba106354b/32ec97f26d92eb07b8b5974f4a4093ff
http://linux-sxs.org/networking/openssh.putty.html
http://www.vanemery.com/Linux/VNC/vnc-over-ssh.html
http://www.windowstipspage.com/2010/06/configure-putty-connection-manager.html <-- must read for config settings
http://www.thegeekstuff.com/2009/03/putty-extreme-makeover-using-putty-connection-manager/
http://www.thegeekstuff.com/2009/07/10-practical-putty-tips-and-tricks-you-probably-didnt-know/ <-- migrate to another machine
http://dag.wieers.com/blog/content/improving-putty-settings-on-windows <-- save putty sessions
Using Python With Oracle Database 11g
http://www.oracle.com/technetwork/articles/dsl/python-091105.html
New Feature on 11.2.0.2 http://download.oracle.com/docs/cd/E11882_01/server.112/e17128/chapter1_2.htm
QOS FAQ paper http://www.oracle.com/technetwork/database/exadata/faq-qosmanagement-511893.pdf
QOS OTN front page http://www.oracle.com/technetwork/database/clustering/overview/qosmanageent-508184.html
http://download.oracle.com/docs/cd/E11882_01/server.112/e24611/install_config.htm#APQOS151
Introduction to Oracle Database QoS Management http://download.oracle.com/docs/cd/E11882_01/server.112/e24611/apqos_intro.htm#APQOS109
Installing and Enabling Oracle Database QoS Management - http://download.oracle.com/docs/cd/E11882_01/server.112/e24611/install_config.htm#APQOS151 <-- hhmmm it utilizes RAC server pools
QOS ppt http://www.slideshare.net/prassinos/oracle-quality-of-service-management-meeting-slas-in-a-grid-environment
{{{
alter session set NLS_DATE_FORMAT='DD-MON-YYYY HH24:MI:SS';
select sysdate from dual;
SELECT SESSIONTIMEZONE FROM DUAL;
SELECT current_timestamp FROM DUAL;
SELECT dbtimezone FROM DUAL;
}}}
/***
|Name:|QuickOpenTagPlugin|
|Description:|Changes tag links to make it easier to open tags as tiddlers|
|Version:|3.0.1 ($Rev: 3861 $)|
|Date:|$Date: 2008-03-08 10:53:09 +1000 (Sat, 08 Mar 2008) $|
|Source:|http://mptw.tiddlyspot.com/#QuickOpenTagPlugin|
|Author:|Simon Baird <simon.baird@gmail.com>|
|License:|http://mptw.tiddlyspot.com/#TheBSDLicense|
***/
//{{{
config.quickOpenTag = {
dropdownChar: (document.all ? "\u25bc" : "\u25be"), // the little one doesn't work in IE?
createTagButton: function(place,tag,excludeTiddler) {
// little hack so we can do this: <<tag PrettyTagName|RealTagName>>
var splitTag = tag.split("|");
var pretty = tag;
if (splitTag.length == 2) {
tag = splitTag[1];
pretty = splitTag[0];
}
var sp = createTiddlyElement(place,"span",null,"quickopentag");
createTiddlyText(createTiddlyLink(sp,tag,false),pretty);
var theTag = createTiddlyButton(sp,config.quickOpenTag.dropdownChar,
config.views.wikified.tag.tooltip.format([tag]),onClickTag);
theTag.setAttribute("tag",tag);
if (excludeTiddler)
theTag.setAttribute("tiddler",excludeTiddler);
return(theTag);
},
miniTagHandler: function(place,macroName,params,wikifier,paramString,tiddler) {
var tagged = store.getTaggedTiddlers(tiddler.title);
if (tagged.length > 0) {
var theTag = createTiddlyButton(place,config.quickOpenTag.dropdownChar,
config.views.wikified.tag.tooltip.format([tiddler.title]),onClickTag);
theTag.setAttribute("tag",tiddler.title);
theTag.className = "miniTag";
}
},
allTagsHandler: function(place,macroName,params) {
var tags = store.getTags(params[0]);
var filter = params[1]; // new feature
var ul = createTiddlyElement(place,"ul");
if(tags.length == 0)
createTiddlyElement(ul,"li",null,"listTitle",this.noTags);
for(var t=0; t<tags.length; t++) {
var title = tags[t][0];
if (!filter || (title.match(new RegExp('^'+filter)))) {
var info = getTiddlyLinkInfo(title);
var theListItem =createTiddlyElement(ul,"li");
var theLink = createTiddlyLink(theListItem,tags[t][0],true);
var theCount = " (" + tags[t][1] + ")";
theLink.appendChild(document.createTextNode(theCount));
var theDropDownBtn = createTiddlyButton(theListItem," " +
config.quickOpenTag.dropdownChar,this.tooltip.format([tags[t][0]]),onClickTag);
theDropDownBtn.setAttribute("tag",tags[t][0]);
}
}
},
// todo fix these up a bit
styles: [
"/*{{{*/",
"/* created by QuickOpenTagPlugin */",
".tagglyTagged .quickopentag, .tagged .quickopentag ",
" { margin-right:1.2em; border:1px solid #eee; padding:2px; padding-right:0px; padding-left:1px; }",
".quickopentag .tiddlyLink { padding:2px; padding-left:3px; }",
".quickopentag a.button { padding:1px; padding-left:2px; padding-right:2px;}",
"/* extra specificity to make it work right */",
"#displayArea .viewer .quickopentag a.button, ",
"#displayArea .viewer .quickopentag a.tiddyLink, ",
"#mainMenu .quickopentag a.tiddyLink, ",
"#mainMenu .quickopentag a.tiddyLink ",
" { border:0px solid black; }",
"#displayArea .viewer .quickopentag a.button, ",
"#mainMenu .quickopentag a.button ",
" { margin-left:0px; padding-left:2px; }",
"#displayArea .viewer .quickopentag a.tiddlyLink, ",
"#mainMenu .quickopentag a.tiddlyLink ",
" { margin-right:0px; padding-right:0px; padding-left:0px; margin-left:0px; }",
"a.miniTag {font-size:150%;} ",
"#mainMenu .quickopentag a.button ",
" /* looks better in right justified main menus */",
" { margin-left:0px; padding-left:2px; margin-right:0px; padding-right:0px; }",
"#topMenu .quickopentag { padding:0px; margin:0px; border:0px; }",
"#topMenu .quickopentag .tiddlyLink { padding-right:1px; margin-right:0px; }",
"#topMenu .quickopentag .button { padding-left:1px; margin-left:0px; border:0px; }",
"/*}}}*/",
""].join("\n"),
init: function() {
// we fully replace these builtins. can't hijack them easily
window.createTagButton = this.createTagButton;
config.macros.allTags.handler = this.allTagsHandler;
config.macros.miniTag = { handler: this.miniTagHandler };
config.shadowTiddlers["QuickOpenTagStyles"] = this.styles;
store.addNotification("QuickOpenTagStyles",refreshStyles);
}
}
config.quickOpenTag.init();
//}}}
IDE - http://rstudio.org/
http://www.evernote.com/shard/s48/sh/377737c7-4ebc-46b1-bc35-3ecc718b871b/50cea23088bd9102903f413e18615628
http://www.evernote.com/shard/s48/sh/bbf96104-f3b2-467d-b98f-6adcf6d0cf04/4a3dad99cbf84cc639ec6cb00dba99e9
http://www.evernote.com/shard/s48/sh/799368fe-07f0-4ebf-8a92-8b295e9bcf0d/61f0bb8e887507684925fad01d3f9245
''IPs and Installation Matrix'' https://docs.google.com/spreadsheet/ccc?key=0ApH46jS7ZPdJdFpVNlgzdGpBUHJ6U1ZZZzl1bmxtT1E&hl=en_US#gid=0
http://jakub.wartak.pl/blog/?cat=20
http://www.evernote.com/shard/s48/sh/287ae327-a298-4b86-8b41-b50ad0ec8666/815212754838567a1e72396c2d4dc730
http://www.evernote.com/shard/s48/sh/821bb643-57e9-4278-b659-890680aab8c0/75558365366c24074eea581ecf104e47
11.2.0.2 Grid infrastructure, private interconnect bonding new feature HAIP http://dbastreet.com/blog/?p=515
http://www.cyberciti.biz/tips/linux-bond-or-team-multiple-network-interfaces-nic-into-single-interface.html <-- nice linux guide
{{{
------------------------------------------------
Change IP Step by Step:
------------------------------------------------
Scenario:
There are two subsidiaries (company A and B) of a certain multinational company, they are located on one building and servers residing on one data center.
Company A was acquired by another private company and because of this, Company B has to change its subnet from 192.168.203 to 172.168.203
Below are the old entries of /etc/hosts file of Company B:
[root@racnode1 ~]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
# Public Network (eth0)
192.168.203.11 racnode1.us.oracle.com racnode1
192.168.203.12 racnode2.us.oracle.com racnode2
# Public VIP
192.168.203.111 racnode1-vip.us.oracle.com racnode1-vip
192.168.203.112 racnode2-vip.us.oracle.com racnode2-vip
# Private Interconnect
10.10.10.11 racnode1-priv.us.oracle.com racnode1-priv
10.10.10.12 racnode2-priv.us.oracle.com racnode2-priv
Below will be the new entries of /etc/hosts file of Company B:
[root@racnode1 ~]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
# Public Network (eth0)
172.168.203.11 racnode1.us.oracle.com racnode1
172.168.203.12 racnode2.us.oracle.com racnode2
# Public VIP
172.168.203.111 racnode1-vip.us.oracle.com racnode1-vip
172.168.203.112 racnode2-vip.us.oracle.com racnode2-vip
# Private Interconnect
10.10.10.11 racnode1-priv.us.oracle.com racnode1-priv
10.10.10.12 racnode2-priv.us.oracle.com racnode2-priv
Considerations:
- There will be no data center movement, only physical rewiring will happen. Some servers of Company B were already moved to 172.168.203, only the RAC
servers were left. There was a route going to 192.168.203 that's why they could still access the servers
- The EMC CX500 storage is assigned on the 192.168.203 subnet together with the management console. EMC engineer said there will be no problems
with the IP address change on the RAC servers
- Since the IP addresses will be changed, the Net Services entries have to be modified
- Also the database link going to the RAC servers have to be modified to reflect the new IPs
- DNS entries on the 172.168.203 have to be created
- DNS entries on the 192.168.203 have to be deleted
- NFS mountpoints on the servers should be noted, edit the /etc/exports on the source servers to reflect the new IPs
So here it goes...
1) Shut down everything except the CRS stack (execute on racnode1)
a) verify the status
[oracle@racnode1 ~]$ crs_stat2
HA Resource Target State
----------- ------ -----
ora.orcl.db ONLINE ONLINE on racnode1
ora.orcl.orcl1.inst ONLINE ONLINE on racnode1
ora.orcl.orcl2.inst ONLINE ONLINE on racnode2
ora.orcl.orcl_service.cs ONLINE ONLINE on racnode1
ora.orcl.orcl_service.orcl1.srv ONLINE ONLINE on racnode1
ora.orcl.orcl_service.orcl2.srv ONLINE ONLINE on racnode2
ora.racnode1.ASM1.asm ONLINE ONLINE on racnode1
ora.racnode1.LISTENER_RACNODE1.lsnr ONLINE ONLINE on racnode1
ora.racnode1.gsd ONLINE ONLINE on racnode1
ora.racnode1.ons ONLINE ONLINE on racnode1
ora.racnode1.vip ONLINE ONLINE on racnode1
ora.racnode2.ASM2.asm ONLINE ONLINE on racnode2
ora.racnode2.LISTENER_RACNODE2.lsnr ONLINE ONLINE on racnode2
ora.racnode2.gsd ONLINE ONLINE on racnode2
ora.racnode2.ons ONLINE ONLINE on racnode2
ora.racnode2.vip ONLINE ONLINE on racnode2
b) stop the services, instances, ASM, and nodeapps (execute on racnode1)
[oracle@racnode1 ~]$ srvctl stop service -d orcl
[oracle@racnode1 ~]$ srvctl stop database -d orcl
[oracle@racnode1 ~]$ srvctl stop asm -n racnode1
[oracle@racnode1 ~]$ srvctl stop asm -n racnode2
[oracle@racnode1 ~]$ srvctl stop nodeapps -n racnode1
[oracle@racnode1 ~]$ srvctl stop nodeapps -n racnode2
[oracle@racnode1 ~]$ crs_stat2
HA Resource Target State
----------- ------ -----
ora.orcl.db OFFLINE OFFLINE
ora.orcl.orcl1.inst OFFLINE OFFLINE
ora.orcl.orcl2.inst OFFLINE OFFLINE
ora.orcl.orcl_service.cs OFFLINE OFFLINE
ora.orcl.orcl_service.orcl1.srv OFFLINE OFFLINE
ora.orcl.orcl_service.orcl2.srv OFFLINE OFFLINE
ora.racnode1.ASM1.asm OFFLINE OFFLINE
ora.racnode1.LISTENER_RACNODE1.lsnr OFFLINE OFFLINE
ora.racnode1.gsd OFFLINE OFFLINE
ora.racnode1.ons OFFLINE OFFLINE
ora.racnode1.vip OFFLINE OFFLINE
ora.racnode2.ASM2.asm OFFLINE OFFLINE
ora.racnode2.LISTENER_RACNODE2.lsnr OFFLINE OFFLINE
ora.racnode2.gsd OFFLINE OFFLINE
ora.racnode2.ons OFFLINE OFFLINE
ora.racnode2.vip OFFLINE OFFLINE
2) Backup OCR and Voting Disk (execute on racnode1)
a) Query OCR location
[oracle@racnode1 ~]$ ocrcheck
Status of Oracle Cluster Registry is as follows :
Version : 2
Total space (kbytes) : 262144
Used space (kbytes) : 4592
Available space (kbytes) : 257552
ID : 1841304007
Device/File Name : /u02/oradata/orcl/OCRFile
Device/File integrity check succeeded
Device/File not configured
Cluster registry integrity check succeeded
b) Query Voting Disk location
[oracle@racnode1 ~]$ crsctl query css votedisk
0. 0 /u02/oradata/orcl/CSSFile
located 1 votedisk(s).
c) Backup the files using "dd"
dd if=/u02/oradata/orcl/OCRFile of=/u03/flash_recovery_area/OCRFile_backup
dd if=/u02/oradata/orcl/CSSFile of=/u03/flash_recovery_area/CSSFile_backup
3) Change the public interface
a) Verify first the interface (both nodes)
[oracle@racnode1 ~]$ $ORA_CRS_HOME/bin/oifcfg getif
eth0 192.168.203.0 global public
eth1 10.10.10.0 global cluster_interconnect
[oracle@racnode2 ~]$ $ORA_CRS_HOME/bin/oifcfg getif
eth0 192.168.203.0 global public
eth1 10.10.10.0 global cluster_interconnect
b) View the available interface names on each node by running the command (both nodes)
[oracle@racnode1 ~]$ oifcfg iflist
eth0 192.168.203.0
eth1 10.10.10.0
[oracle@racnode2 ~]$ oifcfg iflist
eth0 192.168.203.0
eth1 10.10.10.0
c) In our case the interface eth0 has to be changed. There is no modify command, so we have to delete and redefine the interface.
When you execute the "oifcfg", the changes will also reflect on other nodes. (execute on racnode1)
[oracle@racnode1 ~]$ oifcfg delif -global eth0
[oracle@racnode1 ~]$ $ORA_CRS_HOME/bin/oifcfg getif
eth1 10.10.10.0 global cluster_interconnect
[oracle@racnode2 ~]$ $ORA_CRS_HOME/bin/oifcfg getif
eth1 10.10.10.0 global cluster_interconnect
[oracle@racnode1 ~]$ oifcfg setif -global eth0/172.168.203.0:public
The CRS installation user (oracle) must be used for this command, otherwise you'll get the following errors
[karao@racnode1 bin]$ ./oifcfg delif -global eth0
PRIF-4: OCR error while deleting the configuration for the given interface
[karao@racnode1 bin]$ ./oifcfg setif -global eth0/172.168.203.0:public
PROC-5: User does not have permission to perform a cluster registry operation on this key. Authentication error [User does not have permission to perform this operation] [0]
PRIF-11: cluster registry error
d) Verify the change (both nodes)
[oracle@racnode1 ~]$ $ORA_CRS_HOME/bin/oifcfg getif
eth0 172.168.203.0 global public
eth1 10.10.10.0 global cluster_interconnect
[oracle@racnode2 ~]$ $ORA_CRS_HOME/bin/oifcfg getif
eth0 172.168.203.0 global public
eth1 10.10.10.0 global cluster_interconnect
4) Modify the VIP address
a) Verify current VIP (execute on racnode1)
[oracle@racnode1 ~]$ srvctl config nodeapps -n racnode1 -a
VIP exists.: /racnode1-vip.us.oracle.com/192.168.203.111/255.255.255.0/eth0
[oracle@racnode1 ~]$ srvctl config nodeapps -n racnode2 -a
VIP exists.: /racnode2-vip.us.oracle.com/192.168.203.112/255.255.255.0/eth0
Below is the summary of the output:
VIP Hostname is 'racnode1-vip.us.oracle.com'
VIP IP address is '192.168.203.111'
VIP subnet mask is '255.255.255.0'
Interface Name used by the VIP is called 'eth0'
b) Verify that the VIP is no longer running by executing the 'ifconfig' (both nodes)
[oracle@racnode1 ~]$ /sbin/ifconfig
[oracle@racnode2 ~]$ /sbin/ifconfig
c) Change the VIP (we modified the Public IP so we must change the VIP to the same subnet as well)
Below are some notes to remember:
# The root user should be used for this action, otherwise you'll get the error below
[oracle@racnode1 ~]$ srvctl modify nodeapps -n racnode1 -A 172.168.203.111/255.255.255.0/eth0
PRKO-2117 : This command should be executed as the system privilege user.
# The variable ORACLE_HOME must be initialised, otherwise you'll get the error below
****ORACLE_HOME environment variable not set!
ORACLE_HOME should be set to the main
directory that contains Oracle products.
Set and export ORACLE_HOME, then re-run.
You could specify on the "srvctl" command either IP or hostname, in my case, I want the output of the "srvctl config nodeapps -n racnode1 -a"
command to show the VIP hostname (Option 1), below will show you two ways to do it:
First set ORACLE_HOME
[root@racnode1 ~]# export ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1
Option 1 (execute on racnode1):
** Modify /etc/hosts to contain new VIP IPs on both nodes
# Public VIP
172.168.203.111 racnode1-vip.us.oracle.com racnode1-vip
172.168.203.112 racnode2-vip.us.oracle.com racnode2-vip
[root@racnode1 ~]# /u01/app/oracle/product/10.2.0/db_1/bin/srvctl modify nodeapps -n racnode1 -A racnode1-vip.us.oracle.com/255.255.255.0/eth0
[oracle@racnode1 ~]$ srvctl config nodeapps -n racnode1 -a
VIP exists.: /racnode1-vip.us.oracle.com/172.168.203.111/255.255.255.0/eth0
[root@racnode1 ~]# /u01/app/oracle/product/10.2.0/db_1/bin/srvctl modify nodeapps -n racnode2 -A racnode2-vip.us.oracle.com/255.255.255.0/eth0
[oracle@racnode1 bin]$ srvctl config nodeapps -n racnode2 -a
VIP exists.: /racnode2-vip.us.oracle.com/172.168.203.112/255.255.255.0/eth0
Option 2 (execute on racnode1):
No modifications on /etc/hosts yet
[root@racnode1 ~]# /u01/app/oracle/product/10.2.0/db_1/bin/srvctl modify nodeapps -n racnode1 -A 172.168.203.111/255.255.255.0/eth0
[oracle@racnode1 ~]$ srvctl config nodeapps -n racnode1 -a
VIP exists.: /172.168.203.111/172.168.203.111/255.255.255.0/eth0
[root@racnode1 ~]# /u01/app/oracle/product/10.2.0/db_1/bin/srvctl modify nodeapps -n racnode2 -A 172.168.203.112/255.255.255.0/eth0
[oracle@racnode1 ~]$ srvctl config nodeapps -n racnode2 -a
VIP exists.: /172.168.203.112/172.168.203.111/255.255.255.0/eth0
d) Verify the change (execute on racnode1)
[oracle@racnode1 bin]$ srvctl config nodeapps -n racnode1 -a
VIP exists.: /racnode1-vip.us.oracle.com/172.168.203.111/255.255.255.0/eth0
[oracle@racnode1 bin]$ srvctl config nodeapps -n racnode2 -a
VIP exists.: /racnode2-vip.us.oracle.com/172.168.203.112/255.255.255.0/eth0
4) Shut down CRS (both nodes)
[root@racnode1 bin]# ./crsctl stop crs
Stopping resources.
Successfully stopped CRS resources
Stopping CSSD.
Shutting down CSS daemon.
Shutdown request successfully issued.
[root@racnode2 bin]# ./crsctl stop crs
Stopping resources.
Successfully stopped CRS resources
Stopping CSSD.
Shutting down CSS daemon.
Shutdown request successfully issued.
5) Modify IP address on OS level (/etc/hosts), Net Services files (tnsnames.ora, listener.ora), OCFS2 (if available),etc. (both nodes)
Backup the files first before modification
This is the time where network engineers can rewire on the servers
OS level:
/etc/hosts
/etc/sysconfig/network
/etc/resolv.conf
/etc/sysconfig/network-scripts/ifcfg-eth0
Net Services:
tnsnames.ora
listener.ora
OCFS2 (change to the new IP):
/etc/ocfs2/cluster.conf
NTP server address
/etc/ntp.conf
6) Restart server, verify RAC components
[oracle@racnode1 ~]$ crs_stat2
HA Resource Target State
----------- ------ -----
ora.orcl.db ONLINE ONLINE on racnode1
ora.orcl.orcl1.inst ONLINE ONLINE on racnode1
ora.orcl.orcl2.inst ONLINE ONLINE on racnode2
ora.orcl.orcl_service.cs ONLINE ONLINE on racnode1
ora.orcl.orcl_service.orcl1.srv ONLINE ONLINE on racnode1
ora.orcl.orcl_service.orcl2.srv ONLINE ONLINE on racnode2
ora.racnode1.ASM1.asm ONLINE ONLINE on racnode1
ora.racnode1.LISTENER_RACNODE1.lsnr ONLINE ONLINE on racnode1
ora.racnode1.gsd ONLINE ONLINE on racnode1
ora.racnode1.ons ONLINE ONLINE on racnode1
ora.racnode1.vip ONLINE ONLINE on racnode1
ora.racnode2.ASM2.asm ONLINE ONLINE on racnode2
ora.racnode2.LISTENER_RACNODE2.lsnr ONLINE ONLINE on racnode2
ora.racnode2.gsd ONLINE ONLINE on racnode2
ora.racnode2.ons ONLINE ONLINE on racnode2
ora.racnode2.vip ONLINE ONLINE on racnode2
7) Application testing
-------------
Fallback procedure:
1) Shut down everything plus the CRS stack (execute on racnode1)
a) Shutdown RAC components
[oracle@racnode1 ~]$ srvctl stop service -d orcl
[oracle@racnode1 ~]$ srvctl stop database -d orcl
[oracle@racnode1 ~]$ srvctl stop asm -n racnode1
[oracle@racnode1 ~]$ srvctl stop asm -n racnode2
[oracle@racnode1 ~]$ srvctl stop nodeapps -n racnode1
[oracle@racnode1 ~]$ srvctl stop nodeapps -n racnode2
[oracle@racnode1 ~]$ crs_stat2
HA Resource Target State
----------- ------ -----
ora.orcl.db OFFLINE OFFLINE
ora.orcl.orcl1.inst OFFLINE OFFLINE
ora.orcl.orcl2.inst OFFLINE OFFLINE
ora.orcl.orcl_service.cs OFFLINE OFFLINE
ora.orcl.orcl_service.orcl1.srv OFFLINE OFFLINE
ora.orcl.orcl_service.orcl2.srv OFFLINE OFFLINE
ora.racnode1.ASM1.asm OFFLINE OFFLINE
ora.racnode1.LISTENER_RACNODE1.lsnr OFFLINE OFFLINE
ora.racnode1.gsd OFFLINE OFFLINE
ora.racnode1.ons OFFLINE OFFLINE
ora.racnode1.vip OFFLINE OFFLINE
ora.racnode2.ASM2.asm OFFLINE OFFLINE
ora.racnode2.LISTENER_RACNODE2.lsnr OFFLINE OFFLINE
ora.racnode2.gsd OFFLINE OFFLINE
ora.racnode2.ons OFFLINE OFFLINE
ora.racnode2.vip OFFLINE OFFLINE
b) Shut down CRS (both nodes)
[root@racnode1 bin]# ./crsctl stop crs
Stopping resources.
Successfully stopped CRS resources
Stopping CSSD.
Shutting down CSS daemon.
Shutdown request successfully issued.
[root@racnode2 bin]# ./crsctl stop crs
Stopping resources.
Successfully stopped CRS resources
Stopping CSSD.
Shutting down CSS daemon.
Shutdown request successfully issued.
2) Put back the OCR and Voting Disk using "dd" (execute on racnode1)
a) Use "dd" to restore
[root@racnode1 ~]# dd if=/u03/flash_recovery_area/OCRFile_backup of=/u02/oradata/orcl/OCRFile
9640+0 records in
9640+0 records out
[root@racnode1 ~]# dd if=/u03/flash_recovery_area/CSSFile_backup of=/u02/oradata/orcl/CSSFile
20000+0 records in
20000+0 records out
b) Change permissions and ownership
[root@racnode1 ~]# chown root:oinstall /u02/oradata/orcl/OCRFile
[root@racnode1 ~]# chown oracle:oinstall /u02/oradata/orcl/CSSFile
[root@racnode1 ~]# chmod 640 /u02/oradata/orcl/OCRFile
[root@racnode1 ~]# chmod 644 /u02/oradata/orcl/CSSFile
c) Verify the restore, notice that "oifcfg iflist" still outputs the 172.168.203 subnet, after reconfiguring the interfaces and restart it will output 192.168.203.0
[oracle@racnode1 ~]$ $ORA_CRS_HOME/bin/oifcfg getif
eth0 192.168.203.0 global public
eth1 10.10.10.0 global cluster_interconnect
[oracle@racnode1 ~]$ oifcfg iflist
eth0 172.168.203.0
eth1 10.10.10.0
[oracle@racnode2 ~]$ $ORA_CRS_HOME/bin/oifcfg getif
eth0 192.168.203.0 global public
eth1 10.10.10.0 global cluster_interconnect
[oracle@racnode2 ~]$ oifcfg iflist
eth0 172.168.203.0
eth1 10.10.10.0
3) Put back the OS level (/etc/hosts) files, Net Services files (tnsnames.ora, listener.ora), OCFS2 (if available),etc. (both nodes)
Also put back the old wire configuration
OS level:
/etc/hosts
/etc/sysconfig/network
/etc/resolv.conf
/etc/sysconfig/network-scripts/ifcfg-eth0
Net Services:
tnsnames.ora
listener.ora
OCFS2 (change to the new IP):
/etc/ocfs2/cluster.conf
NTP server address
/etc/ntp.conf
4) Restart the server, check the CRS and RAC components
a) Check the interfaces and VIP (both nodes)
[oracle@racnode1 ~]$ $ORA_CRS_HOME/bin/oifcfg getif
eth0 192.168.203.0 global public
eth1 10.10.10.0 global cluster_interconnect
[oracle@racnode1 ~]$ oifcfg iflist
eth0 192.168.203.0
eth1 10.10.10.0
[oracle@racnode1 ~]$ srvctl config nodeapps -n racnode1 -a
VIP exists.: /racnode1-vip.us.oracle.com/192.168.203.111/255.255.255.0/eth0
[oracle@racnode2 ~]$ $ORA_CRS_HOME/bin/oifcfg getif
eth0 192.168.203.0 global public
eth1 10.10.10.0 global cluster_interconnect
[oracle@racnode2 ~]$ oifcfg iflist
eth0 192.168.203.0
eth1 10.10.10.0
[oracle@racnode2 ~]$ srvctl config nodeapps -n racnode2 -a
VIP exists.: /racnode2-vip.us.oracle.com/192.168.203.112/255.255.255.0/eth0
b) Check RAC components
[oracle@racnode1 ~]$ crs_stat2
HA Resource Target State
----------- ------ -----
ora.orcl.db ONLINE ONLINE on racnode1
ora.orcl.orcl1.inst ONLINE ONLINE on racnode1
ora.orcl.orcl2.inst ONLINE ONLINE on racnode2
ora.orcl.orcl_service.cs ONLINE ONLINE on racnode1
ora.orcl.orcl_service.orcl1.srv ONLINE ONLINE on racnode1
ora.orcl.orcl_service.orcl2.srv ONLINE ONLINE on racnode2
ora.racnode1.ASM1.asm ONLINE ONLINE on racnode1
ora.racnode1.LISTENER_RACNODE1.lsnr ONLINE ONLINE on racnode1
ora.racnode1.gsd ONLINE ONLINE on racnode1
ora.racnode1.ons ONLINE ONLINE on racnode1
ora.racnode1.vip ONLINE ONLINE on racnode1
ora.racnode2.ASM2.asm ONLINE ONLINE on racnode2
ora.racnode2.LISTENER_RACNODE2.lsnr ONLINE ONLINE on racnode2
ora.racnode2.gsd ONLINE ONLINE on racnode2
ora.racnode2.ons ONLINE ONLINE on racnode2
ora.racnode2.vip ONLINE ONLINE on racnode2
root@karl:/home/karao/Documents/VirtualMachines/vmware-update-2.6.27-5.5.7-2# ./runme.pl
Updating /usr/bin/vmware-config.pl ... already patched
Updating /usr/bin/vmware ... No patch needed/available
Updating /usr/bin/vmnet-bridge ... No patch needed/available
Updating /usr/lib/vmware/bin/vmware-vmx ... No patch needed/available
Updating /usr/lib/vmware/bin-debug/vmware-vmx ... No patch needed/available
VMware modules in "/usr/lib/vmware/modules/source" has been updated.
Before running VMware for the first time after update, you need to configure it
for your running kernel by invoking the following command:
"/usr/bin/vmware-config.pl". Do you want this script to invoke the command for
you now? [yes]
Making sure services for VMware Server are stopped.
Stopping VMware services:
Virtual machine monitor done
Bridged networking on /dev/vmnet0 done
DHCP server on /dev/vmnet1 done
Host-only networking on /dev/vmnet1 done
DHCP server on /dev/vmnet8 done
NAT service on /dev/vmnet8 done
Host-only networking on /dev/vmnet8 done
Virtual ethernet done
Configuring fallback GTK+ 2.4 libraries.
In which directory do you want to install the mime type icons?
[/usr/share/icons]
What directory contains your desktop menu entry files? These files have a
.desktop file extension. [/usr/share/applications]
In which directory do you want to install the application's icon?
[/usr/share/pixmaps]
/usr/share/applications/vmware-server.desktop: warning: value "vmware-server.png" for key "Icon" in group "Desktop Entry" is an icon name with an extension, but there should be no extension as described in the Icon Theme Specification if the value is not an absolute path
/usr/share/applications/vmware-console-uri-handler.desktop: warning: value "vmware-server.png" for key "Icon" in group "Desktop Entry" is an icon name with an extension, but there should be no extension as described in the Icon Theme Specification if the value is not an absolute path
Trying to find a suitable vmmon module for your running kernel.
None of the pre-built vmmon modules for VMware Server is suitable for your
running kernel. Do you want this program to try to build the vmmon module for
your system (you need to have a C compiler installed on your system)? [yes]
Using compiler "/usr/bin/gcc". Use environment variable CC to override.
What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.27-11-generic/build/include]
Extracting the sources of the vmmon module.
Building the vmmon module.
Building for VMware Server 1.0.0.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmmon-only'
make -C /lib/modules/2.6.27-11-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.27-11-generic'
CC [M] /tmp/vmware-config0/vmmon-only/linux/driver.o
CC [M] /tmp/vmware-config0/vmmon-only/linux/driverLog.o
CC [M] /tmp/vmware-config0/vmmon-only/linux/hostif.o
/tmp/vmware-config0/vmmon-only/linux/hostif.c: In function ‘HostIF_SetFastClockRate’:
/tmp/vmware-config0/vmmon-only/linux/hostif.c:3441: warning: passing argument 2 of ‘send_sig’ discards qualifiers from pointer target type
CC [M] /tmp/vmware-config0/vmmon-only/common/comport.o
CC [M] /tmp/vmware-config0/vmmon-only/common/cpuid.o
CC [M] /tmp/vmware-config0/vmmon-only/common/hash.o
CC [M] /tmp/vmware-config0/vmmon-only/common/memtrack.o
CC [M] /tmp/vmware-config0/vmmon-only/common/phystrack.o
CC [M] /tmp/vmware-config0/vmmon-only/common/task.o
cc1plus: warning: command line option "-Werror-implicit-function-declaration" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wdeclaration-after-statement" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wno-pointer-sign" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
In file included from /tmp/vmware-config0/vmmon-only/common/task.c:1195:
/tmp/vmware-config0/vmmon-only/common/task_compat.h: In function ‘void Task_Switch_V45(VMDriver*, Vcpuid)’:
/tmp/vmware-config0/vmmon-only/common/task_compat.h:2667: warning: ‘sysenterState.SysenterStateV45::validEIP’ may be used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h:2667: warning: ‘sysenterState.SysenterStateV45::cs’ may be used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h:2667: warning: ‘sysenterState.SysenterStateV45::rsp’ may be used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h:2667: warning: ‘sysenterState.SysenterStateV45::rip’ may be used uninitialized in this function
CC [M] /tmp/vmware-config0/vmmon-only/common/vmciContext.o
CC [M] /tmp/vmware-config0/vmmon-only/common/vmciDatagram.o
CC [M] /tmp/vmware-config0/vmmon-only/common/vmciDriver.o
CC [M] /tmp/vmware-config0/vmmon-only/common/vmciDs.o
CC [M] /tmp/vmware-config0/vmmon-only/common/vmciGroup.o
CC [M] /tmp/vmware-config0/vmmon-only/common/vmciHashtable.o
CC [M] /tmp/vmware-config0/vmmon-only/common/vmciProcess.o
CC [M] /tmp/vmware-config0/vmmon-only/common/vmciResource.o
CC [M] /tmp/vmware-config0/vmmon-only/common/vmciSharedMem.o
CC [M] /tmp/vmware-config0/vmmon-only/common/vmx86.o
CC [M] /tmp/vmware-config0/vmmon-only/vmcore/compat.o
CC [M] /tmp/vmware-config0/vmmon-only/vmcore/moduleloop.o
LD [M] /tmp/vmware-config0/vmmon-only/vmmon.o
Building modules, stage 2.
MODPOST 1 modules
WARNING: modpost: module vmmon.ko uses symbol 'init_mm' marked UNUSED
CC /tmp/vmware-config0/vmmon-only/vmmon.mod.o
LD [M] /tmp/vmware-config0/vmmon-only/vmmon.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-11-generic'
cp -f vmmon.ko ./../vmmon.o
make: Leaving directory `/tmp/vmware-config0/vmmon-only'
The module loads perfectly in the running kernel.
This program previously created the file /dev/vmmon, and was about to remove
it. Somebody else apparently did it already.
This program previously created the file /dev/parport0, and was about to remove
it. Somebody else apparently did it already.
This program previously created the file /dev/parport1, and was about to remove
it. Somebody else apparently did it already.
This program previously created the file /dev/parport2, and was about to remove
it. Somebody else apparently did it already.
This program previously created the file /dev/parport3, and was about to remove
it. Somebody else apparently did it already.
You have already setup networking.
Would you like to skip networking setup and keep your old settings as they are?
(yes/no) [yes] no
Do you want networking for your virtual machines? (yes/no/help) [yes]
Would you prefer to modify your existing networking configuration using the
wizard or the editor? (wizard/editor/help) [wizard]
The following bridged networks have been defined:
. vmnet0 is bridged to eth0
Do you wish to configure another bridged network? (yes/no) [no]
Do you want to be able to use NAT networking in your virtual machines? (yes/no)
[yes]
Configuring a NAT network for vmnet8.
The NAT network is currently configured to use the private subnet
192.168.203.0/255.255.255.0. Do you want to keep these settings? [yes] no
Do you want this program to probe for an unused private subnet? (yes/no/help)
[yes] no
What will be the IP address of your host on the private
network? 172.168.203.0
What will be the netmask of your private network? 255.255.255.0
The following NAT networks have been defined:
. vmnet8 is a NAT network on private subnet 172.168.203.0.
Do you wish to configure another NAT network? (yes/no) [no]
Do you want to be able to use host-only networking in your virtual machines?
[yes]
Configuring a host-only network for vmnet1.
The host-only network is currently configured to use the private subnet
10.10.10.0/255.255.255.0. Do you want to keep these settings? [yes]
The following host-only networks have been defined:
. vmnet1 is a host-only network on private subnet 10.10.10.0.
Do you wish to configure another host-only network? (yes/no) [no]
Extracting the sources of the vmnet module.
Building the vmnet module.
Building for VMware Server 1.0.0.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmnet-only'
make -C /lib/modules/2.6.27-11-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.27-11-generic'
CC [M] /tmp/vmware-config0/vmnet-only/driver.o
CC [M] /tmp/vmware-config0/vmnet-only/hub.o
CC [M] /tmp/vmware-config0/vmnet-only/userif.o
CC [M] /tmp/vmware-config0/vmnet-only/netif.o
CC [M] /tmp/vmware-config0/vmnet-only/bridge.o
CC [M] /tmp/vmware-config0/vmnet-only/filter.o
CC [M] /tmp/vmware-config0/vmnet-only/procfs.o
CC [M] /tmp/vmware-config0/vmnet-only/smac_compat.o
CC [M] /tmp/vmware-config0/vmnet-only/smac_linux.x86_64.o
LD [M] /tmp/vmware-config0/vmnet-only/vmnet.o
Building modules, stage 2.
MODPOST 1 modules
WARNING: modpost: missing MODULE_LICENSE() in /tmp/vmware-config0/vmnet-only/vmnet.o
see include/linux/module.h for more information
CC /tmp/vmware-config0/vmnet-only/vmnet.mod.o
LD [M] /tmp/vmware-config0/vmnet-only/vmnet.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-11-generic'
cp -f vmnet.ko ./../vmnet.o
make: Leaving directory `/tmp/vmware-config0/vmnet-only'
The module loads perfectly in the running kernel.
Please specify a port for remote console connections to use [902]
* Stopping internet superserver xinetd [ OK ]
* Starting internet superserver xinetd [ OK ]
Configuring the VMware VmPerl Scripting API.
Building the VMware VmPerl Scripting API.
Using compiler "/usr/bin/gcc". Use environment variable CC to override.
Installing the VMware VmPerl Scripting API.
The installation of the VMware VmPerl Scripting API succeeded.
Do you want this program to set up permissions for your registered virtual
machines? This will be done by setting new permissions on all files found in
the "/etc/vmware/vm-list" file. [no]
Generating SSL Server Certificate
In which directory do you want to keep your virtual machine files?
[/home/karao/Documents/VirtualMachines]
Do you want to enter a serial number now? (yes/no/help) [no]
Starting VMware services:
Virtual machine monitor done
Virtual ethernet done
Bridged networking on /dev/vmnet0 done
Host-only networking on /dev/vmnet1 (background) done
Host-only networking on /dev/vmnet8 (background) done
NAT service on /dev/vmnet8 done
Starting VMware virtual machines... done
The configuration of VMware Server 1.0.8 build-126538 for Linux for this
running kernel completed successfully.
---------------------------
Resources
---------------------------
Note 276434.1 Modifying the VIP or VIP Hostname of a 10g Oracle Clusterware Node
Note 283684.1 How to Change Interconnect/Public Interface IP Subnet in a 10g Cluster
Note 271121.1 - How to change VIP and VIP/Hostname in 10g
Bug: 4500688 - THE INTERFACE NAME SHOULD BE SPECIFY WHEN EXECUTING 'SRVCTL MODIFY NODEAPPS'
---------------
Oracle® Clusterware Administration and Deployment Guide 11g Release 1 (11.1)
2 Administering Oracle Clusterware
* Changing Network Addresses
----------------
http://forums.oracle.com/forums/thread.jspa?threadID=339447
http://surachartopun.com/2007/01/i-want-to-change-ip-address-on-oracle.html
http://www.ikickass.com/changeoracle10gracvip
http://orcl-experts.info/index.php?name=FAQ&id_cat=9
http://www.db-nemec.com/RAC_IP_Change.html
-----------------
put back to 192
root@karl:/home/karao/Documents/VirtualMachines/vmware-update-2.6.27-5.5.7-2# ./runme.pl
Updating /usr/bin/vmware-config.pl ... already patched
Updating /usr/bin/vmware ... No patch needed/available
Updating /usr/bin/vmnet-bridge ... No patch needed/available
Updating /usr/lib/vmware/bin/vmware-vmx ... No patch needed/available
Updating /usr/lib/vmware/bin-debug/vmware-vmx ... No patch needed/available
VMware modules in "/usr/lib/vmware/modules/source" has been updated.
Before running VMware for the first time after update, you need to configure it
for your running kernel by invoking the following command:
"/usr/bin/vmware-config.pl". Do you want this script to invoke the command for
you now? [yes]
Making sure services for VMware Server are stopped.
Stopping VMware services:
Virtual machine monitor done
Bridged networking on /dev/vmnet0 done
DHCP server on /dev/vmnet1 done
Host-only networking on /dev/vmnet1 done
DHCP server on /dev/vmnet8 done
NAT service on /dev/vmnet8 done
Host-only networking on /dev/vmnet8 done
Virtual ethernet done
Configuring fallback GTK+ 2.4 libraries.
In which directory do you want to install the mime type icons?
[/usr/share/icons]
What directory contains your desktop menu entry files? These files have a
.desktop file extension. [/usr/share/applications]
In which directory do you want to install the application's icon?
[/usr/share/pixmaps]
/usr/share/applications/vmware-server.desktop: warning: value "vmware-server.png" for key "Icon" in group "Desktop Entry" is an icon name with an extension, but there should be no extension as described in the Icon Theme Specification if the value is not an absolute path
/usr/share/applications/vmware-console-uri-handler.desktop: warning: value "vmware-server.png" for key "Icon" in group "Desktop Entry" is an icon name with an extension, but there should be no extension as described in the Icon Theme Specification if the value is not an absolute path
Trying to find a suitable vmmon module for your running kernel.
None of the pre-built vmmon modules for VMware Server is suitable for your
running kernel. Do you want this program to try to build the vmmon module for
your system (you need to have a C compiler installed on your system)? [yes]
Using compiler "/usr/bin/gcc". Use environment variable CC to override.
What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.27-11-generic/build/include]
Extracting the sources of the vmmon module.
Building the vmmon module.
Building for VMware Server 1.0.0.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmmon-only'
make -C /lib/modules/2.6.27-11-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.27-11-generic'
CC [M] /tmp/vmware-config0/vmmon-only/linux/driver.o
CC [M] /tmp/vmware-config0/vmmon-only/linux/driverLog.o
CC [M] /tmp/vmware-config0/vmmon-only/linux/hostif.o
/tmp/vmware-config0/vmmon-only/linux/hostif.c: In function ‘HostIF_SetFastClockRate’:
/tmp/vmware-config0/vmmon-only/linux/hostif.c:3441: warning: passing argument 2 of ‘send_sig’ discards qualifiers from pointer target type
CC [M] /tmp/vmware-config0/vmmon-only/common/comport.o
CC [M] /tmp/vmware-config0/vmmon-only/common/cpuid.o
CC [M] /tmp/vmware-config0/vmmon-only/common/hash.o
CC [M] /tmp/vmware-config0/vmmon-only/common/memtrack.o
CC [M] /tmp/vmware-config0/vmmon-only/common/phystrack.o
CC [M] /tmp/vmware-config0/vmmon-only/common/task.o
cc1plus: warning: command line option "-Werror-implicit-function-declaration" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wdeclaration-after-statement" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wno-pointer-sign" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
In file included from /tmp/vmware-config0/vmmon-only/common/task.c:1195:
/tmp/vmware-config0/vmmon-only/common/task_compat.h: In function ‘void Task_Switch_V45(VMDriver*, Vcpuid)’:
/tmp/vmware-config0/vmmon-only/common/task_compat.h:2667: warning: ‘sysenterState.SysenterStateV45::validEIP’ may be used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h:2667: warning: ‘sysenterState.SysenterStateV45::cs’ may be used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h:2667: warning: ‘sysenterState.SysenterStateV45::rsp’ may be used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h:2667: warning: ‘sysenterState.SysenterStateV45::rip’ may be used uninitialized in this function
CC [M] /tmp/vmware-config0/vmmon-only/common/vmciContext.o
CC [M] /tmp/vmware-config0/vmmon-only/common/vmciDatagram.o
CC [M] /tmp/vmware-config0/vmmon-only/common/vmciDriver.o
CC [M] /tmp/vmware-config0/vmmon-only/common/vmciDs.o
CC [M] /tmp/vmware-config0/vmmon-only/common/vmciGroup.o
CC [M] /tmp/vmware-config0/vmmon-only/common/vmciHashtable.o
CC [M] /tmp/vmware-config0/vmmon-only/common/vmciProcess.o
CC [M] /tmp/vmware-config0/vmmon-only/common/vmciResource.o
CC [M] /tmp/vmware-config0/vmmon-only/common/vmciSharedMem.o
CC [M] /tmp/vmware-config0/vmmon-only/common/vmx86.o
CC [M] /tmp/vmware-config0/vmmon-only/vmcore/compat.o
CC [M] /tmp/vmware-config0/vmmon-only/vmcore/moduleloop.o
LD [M] /tmp/vmware-config0/vmmon-only/vmmon.o
Building modules, stage 2.
MODPOST 1 modules
WARNING: modpost: module vmmon.ko uses symbol 'init_mm' marked UNUSED
CC /tmp/vmware-config0/vmmon-only/vmmon.mod.o
LD [M] /tmp/vmware-config0/vmmon-only/vmmon.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-11-generic'
cp -f vmmon.ko ./../vmmon.o
make: Leaving directory `/tmp/vmware-config0/vmmon-only'
The module loads perfectly in the running kernel.
This program previously created the file /dev/vmmon, and was about to remove
it. Somebody else apparently did it already.
You have already setup networking.
Would you like to skip networking setup and keep your old settings as they are?
(yes/no) [yes] no
Do you want networking for your virtual machines? (yes/no/help) [yes]
Would you prefer to modify your existing networking configuration using the
wizard or the editor? (wizard/editor/help) [wizard]
The following bridged networks have been defined:
. vmnet0 is bridged to eth0
Do you wish to configure another bridged network? (yes/no) [no]
Do you want to be able to use NAT networking in your virtual machines? (yes/no)
[yes]
Configuring a NAT network for vmnet8.
The NAT network is currently configured to use the private subnet
172.168.203.0/255.255.255.0. Do you want to keep these settings? [yes] no
Do you want this program to probe for an unused private subnet? (yes/no/help)
[yes] no
What will be the IP address of your host on the private
network? 192.168.203.0
What will be the netmask of your private network? 255.255.255.0
The following NAT networks have been defined:
. vmnet8 is a NAT network on private subnet 192.168.203.0.
Do you wish to configure another NAT network? (yes/no) [no]
Do you want to be able to use host-only networking in your virtual machines?
[yes]
Configuring a host-only network for vmnet1.
The host-only network is currently configured to use the private subnet
10.10.10.0/255.255.255.0. Do you want to keep these settings? [yes]
The following host-only networks have been defined:
. vmnet1 is a host-only network on private subnet 10.10.10.0.
Do you wish to configure another host-only network? (yes/no) [no]
Extracting the sources of the vmnet module.
Building the vmnet module.
Building for VMware Server 1.0.0.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmnet-only'
make -C /lib/modules/2.6.27-11-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.27-11-generic'
CC [M] /tmp/vmware-config0/vmnet-only/driver.o
CC [M] /tmp/vmware-config0/vmnet-only/hub.o
CC [M] /tmp/vmware-config0/vmnet-only/userif.o
CC [M] /tmp/vmware-config0/vmnet-only/netif.o
CC [M] /tmp/vmware-config0/vmnet-only/bridge.o
CC [M] /tmp/vmware-config0/vmnet-only/filter.o
CC [M] /tmp/vmware-config0/vmnet-only/procfs.o
CC [M] /tmp/vmware-config0/vmnet-only/smac_compat.o
CC [M] /tmp/vmware-config0/vmnet-only/smac_linux.x86_64.o
LD [M] /tmp/vmware-config0/vmnet-only/vmnet.o
Building modules, stage 2.
MODPOST 1 modules
WARNING: modpost: missing MODULE_LICENSE() in /tmp/vmware-config0/vmnet-only/vmnet.o
see include/linux/module.h for more information
CC /tmp/vmware-config0/vmnet-only/vmnet.mod.o
LD [M] /tmp/vmware-config0/vmnet-only/vmnet.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-11-generic'
cp -f vmnet.ko ./../vmnet.o
make: Leaving directory `/tmp/vmware-config0/vmnet-only'
The module loads perfectly in the running kernel.
Please specify a port for remote console connections to use [902]
* Stopping internet superserver xinetd [ OK ]
* Starting internet superserver xinetd [ OK ]
Configuring the VMware VmPerl Scripting API.
Building the VMware VmPerl Scripting API.
Using compiler "/usr/bin/gcc". Use environment variable CC to override.
Installing the VMware VmPerl Scripting API.
The installation of the VMware VmPerl Scripting API succeeded.
Do you want this program to set up permissions for your registered virtual
machines? This will be done by setting new permissions on all files found in
the "/etc/vmware/vm-list" file. [no]
Generating SSL Server Certificate
In which directory do you want to keep your virtual machine files?
[/home/karao/Documents/VirtualMachines]
Do you want to enter a serial number now? (yes/no/help) [no]
Starting VMware services:
Virtual machine monitor done
Virtual ethernet done
Bridged networking on /dev/vmnet0 done
Host-only networking on /dev/vmnet1 (background) done
Host-only networking on /dev/vmnet8 (background) done
NAT service on /dev/vmnet8 done
Starting VMware virtual machines... done
The configuration of VMware Server 1.0.8 build-126538 for Linux for this
running kernel completed successfully.
root@karl:/home/karao/Documents/VirtualMachines/vmware-update-2.6.27-5.5.7-2#
}}}
http://oraclue.com/2010/11/01/issue-with-oracle-11-2-0-2-new-redundant-interconnect/
Troubleshooting case study for 9i RAC ..PRKC-1021 : Problem in the clusterware https://blogs.oracle.com/gverma/entry/troubleshooting_case_study_for
Troubleshooting done to make root.sh work after a 10gR2 CRS (10.2.0.1) installation on HP-UX PA RISC 64-bit OS https://blogs.oracle.com/gverma/entry/troubleshooting_done_to_make_r
crsctl start crs does not work in 10gR2 https://blogs.oracle.com/gverma/entry/crsctl_start_crs_does_not_work
Considerations for virtual IP setup before doing the 10gR2 CRS install https://blogs.oracle.com/gverma/entry/considerations_for_virtual_ip
10gR2 CRS case study: CRS would not start after reboot - stuck at /etc/init.d/init.cssd startcheck https://blogs.oracle.com/gverma/entry/10gr2_crs_case_study_crs_would
RAC Reference
http://morganslibrary.org/reference/rac.html
RAC Health Check
http://oraexplorer.com/2009/05/rac-assessment-from-oracle/
https://blogs.oracle.com/XPSONHA/entry/installation_procedure_rac_nod
INSTANCE_GROUPS and PARALLEL_INSTANCE_GROUP
http://christianbilien.wordpress.com/2007/09/12/strategies-for-rac-inter-instance-parallelized-queries-part-12/
http://christianbilien.wordpress.com/2007/09/14/strategies-for-parallelized-queries-across-rac-instances-part-22/
http://www.oraclemagician.com/white_papers/par_groups.pdf
http://www.oracledatabase12g.com/archives/checklist-for-performance-problems-with-parallel-execution.html <-- CHECKLIST!
http://www.freelists.org/post/oracle-l/monitor-rac-database-services,7 <-- nice scripts
http://coskan.wordpress.com/2010/12/29/how-to-monitor-services-on-11gr2/ <-- 11gR2
http://yong321.freeshell.org/oranotes/Service.txt <-- 10gR2, 11gR1
''rac11gr2_mon.pl''
{{{
#!/usr/bin/perl
use warnings;
use strict;
use Getopt::Std;
use File::Basename;
use Sys::Hostname;
my %opts;
getopts( 'h:d:m:', \%opts );
my $sname = basename $0;
my $host = hostname;
my $level = "warning";
my $sendmail_cmd = '/usr/lib/sendmail -oi -t -odq';
my $message = '';
sub usage() {
print STDERR <<EOU;
usage:
$sname -h <grid_home> -d <database_name> [ -m <address1> ]
-h grid_home
-d database
-m send mail alert
EOU
exit 1;
}
usage
unless defined $opts{h}
&& defined $opts{{ds{16/12/11}}};
my (
$key, $target, $flag, @instances, @services,
@targets, @states, $state, $preferred, $current,
$mailto, $send_mail, $current_cmd, $current_out,
);
if ( defined $opts{m} ) {
$send_mail++;
$mailto = $opts{m};
}
my ( $gh, $db ) = ( $opts{h}, $opts{{ds{16/12/11}}} );
-x "$gh/bin/srvctl"
or die "$gh doesn't appear to be valid grid home directory!\n";
sub _sendmail {
my ( $llevel, $lmessage ) = @_;
open my $sendmail, "| $sendmail_cmd"
or die "Can't fork for sendmail: $!\n";
print $sendmail <<EOM;
From: $ENV{'USER'}
To: $mailto
Subject: $host [$llevel]
$lmessage
EOM
close $sendmail
or warn "sendmail didn't close nicely\n";
}
sub _report {
if ($send_mail) {
$message .= "\n$_[0]\n";
$level = $_[1];
}
else {
warn "\n$_[0]\n";
}
}
# check crs status
$current_cmd = "$gh/bin/crsctl check crs";
$current_out = qx/$current_cmd/;
if ( $current_out =~ /Could not|Cannot|failure/ ) {
if ( $send_mail ) {
_sendmail( "crs doesn't seem healthy", "Critical" );
die "\n";
}
else {
die "crs doesn't seem healthy\n";
}
}
$current_cmd = "$gh/bin/srvctl config database -d $opts{{ds{16/12/11}}}";
open my $srvctl, "$current_cmd |"
or die "$current_cmd: $!\n";
while ( <$srvctl> ) {
/^Database instances:\s+(.*)/ and @instances = split /,/, $1;
/^Services:\s+(.*)/ and @services = split /,/, $1;
}
close $srvctl
or warn "Error on close for $current_cmd: $!\n";
# get instances status
for ( @instances ) {
my $stat = qx|$gh/bin/srvctl status instance -d $db -i $_|;
$level = 'Critical';
_report( "$stat", $level )
if ( $stat =~ /not running/ );
}
for my $service ( @services ) {
# get the target
my $oraservicename = "ora.$db.\L$service.svc";
open my $resstate, "$gh/bin/crsctl status resource $oraservicename|"
or warn "Cannot execute $gh/bin/srvctl status resource $oraservicename\n";
$target = $state = '';
while ( <$resstate> ) {
/^TARGET=(.+)/ and $target = $1;
/^STATE=(.+)/ and $state = $1;
}
close $resstate
or warn "Close $gh/bin/srvctl status resource $oraservicename\n";
@targets = @states = ();
@targets = $target =~ /(ONLINE|OFFLINE)/g;
@states = $state =~ /(ONLINE|OFFLINE)/g;
my $current_targets = $target =~ /ONLINE/;
$current_targets or next;
open my $serviceconf, "$gh/bin/srvctl config service -d $db -s $service |"
or _report(
"Cannot execute $gh/bin/srvctl config service -d $db -s $service",
$level );
/Preferred instances:\s+(\S.+)/ and $preferred = $1 while (<$serviceconf>);
close $serviceconf
or warn "Close $gh/bin/srvctl config service -d $db -s $service\n";
$current = qx|$gh/bin/srvctl status service -d $db -s $service|;
chomp $current;
if ( $current =~ /not running/ and $current_targets ) {
$level = 'Critical';
_report( $current, $level );
next;
}
$current =~ s/.*is running on instance\S+\s+(\S.+).*/$1/;
_report(
"Warning: preferred instance status for $service:\n\n\tcurrent: $current\n\tdefined: $preferred\n",
$level
) if ( $current ne $preferred );
for my $idx ( 0 .. @states - 1 ) {
_report(
"Service $service target mismatch on at least one instance:\n\n\ttarget: $targets[$idx]\n\tstate: $states[$idx]\n\n",
$level
) if ( $targets[$idx] ne $states[$idx] );
}
}
$send_mail
and _sendmail( $message, $level );
}}}
Node Evictions on RAC , what to do and what to collect
http://www.linkedin.com/groupAnswers?viewQuestionAndAnswers=&discussionID=16757466&gid=2922607&trk=EML_anet_qa_cmnt-cDhOon0JumNFomgJt7dBpSBA
11.1 OCR Backup Management - Best Practice Advice?
http://www.linkedin.com/groupItem?view=&srchtype=discussedNews&gid=2922607&item=28217802&type=member&trk=EML_anet_qa_cmnt-cDhOon0JumNFomgJt7dBpSBA
Can we have VIP's on all public network interfaces with diff network masks.
http://www.linkedin.com/groupAnswers?viewQuestionAndAnswers=&discussionID=30266596&gid=2922607&trk=EML_anet_qa_cmnt-cDhOon0JumNFomgJt7dBpSBA
How does one ensure basic compliance with best practices for a Grid stack ?
http://www.linkedin.com/groupAnswers?viewQuestionAndAnswers=&discussionID=16817767&gid=2922607&trk=EML_anet_qa_cmnt-cDhOon0JumNFomgJt7dBpSBA
Oracle Support Master Note for Real Application Clusters (RAC), Oracle Clusterware and Oracle Grid Infrastructure (Doc ID 1096952.1)
11gR2 Clusterware and Grid Home - What You Need to Know (Doc ID 1053147.1)
RAC Assurance Support Team: RAC Starter Kit and Best Practices (Generic)
Doc ID: 810394.1
RAC Assurance Support Team: RAC Starter Kit (Windows)
Doc ID: 811271.1
http://www.oracle.com/technology/products/database/clustering/certify/tech_generic_linux_new.html
RAC: Frequently Asked Questions
Doc ID: Note:220970.1
Smooth the Transition to Real Application Clusters
Doc ID: Note:206037.1
Step-By-Step Install of RAC with OCFS on Windows 2003 (9i)
Doc ID: Note:178882.1
How To Check The Certification Matrix for Real Application Clusters
Doc ID: Note:184875.1
-- PLANNING
Smooth the Transition to Real Application Clusters
Doc ID: 206037.1
RAC Assurance Support Team: RAC Starter Kit and Best Practices (Generic)
Doc ID: 810394.1
-- SETUP GUIDES
Metalink Note#: 178882.1 Step-By-Step Install of RAC with OCFS on Windows 2000
Metalink Note#: 236155.1 Step-By-Step Install of RAC with RAW Datafiles on Windows 2000
Metalink Note#: 254815.1 Step-By-Step Install of 9i RAC on Veritas DBE/AC and Solaris
Metalink Note#: 247216.1 Step-By-Step Install of RAC on Fujitsu PrimePower with PrimeCluster
Metalink Note#: 184821.1 Step-By-Step Install of 9.2.0.4 RAC on Linux
Note 184821.1 Step-By-Step Installation of 9.2.0.5 RAC on Linux
Metalink Note#: 182177.1 Step-By-Step Install of RAC on HP-UX
Metalink Note#: 175480.1 Step-By-Step Install of RAC on HP Tru64 Unix Cluster
Metalink Note#: 180012.1 Step-By-Step Install of RAC on HP OpenVMS Cluster
Metalink Note#: 199457.1 Step-By-Step Install of RAC on IBM AIX (RS/6000)
Where to find Step-By-Step RAC setup guides:
RAC Step-By-Step Installation on IBM RS/6000 see Note 199457.1
RAC Step-By-Step Installation on LINUX see Note 184821.1
RAC Step-By-Step Installation on COMPAQ OPEN VMS see Note 180012.1
RAC Step-By-Step Installation on SUN CLUSTER V3 see Note 175465.1
RAC Step-By-Step Installation on WINDOWS 2000 or NT see Note 178882.1
RAC Step-By-Step Installation on HP TRU64 UNIX CLUSTER see Note 175480.1
RAC Step-By-Step Installation on HP-UX see Note 182177.1
-- GRID INFRASTRUCTURE
Oracle Support Master Note for Real Application Clusters (RAC), Oracle Clusterware and Oracle Grid Infrastructure (Doc ID 1096952.1)
11gR2 Clusterware and Grid Home - What You Need to Know (Doc ID 1053147.1)
11gR2 Install (Non-RAC): Understanding New Changes With All New 11.2 Installer [ID 884232.1]
11gR2 Clusterware and Grid Home - What You Need to Know [ID 1053147.1]
-- RAC ON WINDOWS
Oracle RAC Clusterware Installation on Windows Commonly Missed / Misunderstood Prerequisites (Doc ID 388730.1)
-- TROUBLESHOOTING
Remote Diagnostic Agent (RDA) 4 - RAC Cluster Guide (Doc ID 359395.1) - RDA RAC
CRS 10gR2/ 11gR1/ 11gR2 Diagnostic Collection Guide [ID 330358.1]
RAC Survival Kit: Troubleshooting a Hung Database
Doc ID: Note:206567.1
Data Gathering for Troubleshooting RAC Issues
Doc ID: Note:556679.1
RAC: Ave Receive Time for Current Block is Abnormally High in Statspack
Doc ID: 243593.1
Doc ID: 563566.1 gc lost blocks diagnostics
POOR RAC-INTERCONNECT PERFORMANCE AFTER UPGRADE FROM RHEL3 TO RHEL4/OEL4
Doc ID: 400959.1
EXCESSIVE GETS FOR SHARED POOL SIMULATOR LATCH causing hang/performance problem
Doc ID: 563149.1
Rac Database Is Slow on Windows
Doc ID: 271254.1
Note 213416.1 - RAC: Troubleshooting Windows NT/2000 Service Hangs
Intermittent high elapsed times reported on wait events in AMD-Based systems Or using NTP
Doc ID: 828523.1
'Diag Dummy Wait' On Rac Instance
Doc ID: 360815.1
-- CLUSTER HEALTH MONITOR
Introducing Cluster Health Monitor (IPD/OS) (Doc ID 736752.1)
How to Monitor, Detect and Analyze OS and RAC Resource Related Degradation and Failures on Windows
Doc ID: 810915.1
How to install Oracle Cluster Health Monitor (former IPD/OS) on Windows
Doc ID: 811151.1
How to Collect 'Cluster Health Monitor' (former IPD/OS) Data on Windows Platform for Oracle Support (Doc ID 847485.1)
-- COE TOOLS
Subject: Procwatcher: Script to Monitor and Examine Oracle and CRS Processes
Doc ID: Note:459694.1 Type: BULLETIN
-- PERFORMANCE
Oracle RAC Tuning Tips by Joel Goodman
http://oukc.oracle.com/static05/opn/oracle9i_database/49466/040908_49466_source/index.htm
Understanding RAC Internals by Barb Lundhild
http://oukc.oracle.com/static05/opn/oracle9i_database/40168/053107_40168_source/index.htm
http://www.oracle.com/technology/tech/java/newsletter/articles/oc4j_data_sources/oc4j_ds.htm
-- MULTIPATHING
Subject: Oracle ASM and Multi-Pathing Technologies
Doc ID: Note:294869.1 Type: WHITE PAPER
Last Revision Date: 17-JAN-2008 Status: PUBLISHED
-- ebusiness suite
Configuring Oracle Applications Release 12 with 10g R2 RAC
Doc ID: Note:388577.1
-- AIX
Status of Certification of Oracle Clusterware with HACMP 5.3 & 5.4
Doc ID: Note:404474.1
-- ADD NODE
Adding a Node to a 10g RAC Cluster (10g R1)
Doc ID: Note:270512.1
Unable To Start Asm Instance After Adding Node To Rac Cluster
Doc ID: Note:399889.1
-- DELETE NODE
Removing a Node from a 10g RAC Cluster (only applicable to 10gR1)
Doc ID: Note:269320.1
# on B.7 when removing nodeapps, it will not cleanly remove the VIP
also
on B.12 you have to run it on all the remaining RAC nodes
How To Remove a 10g RAC Node On Windows?
Doc ID: Note:603637.1
-- CLONE
Manually Cloning Oracle Applications Release 11i with 10g or 11g RAC
Doc ID: 760637.1
-- OCR / VOTING DISK
How to recreate OCR/Voting disk accidentally deleted
Doc ID: Note:399482.1
How to move the OCR location ?
- stop the CRS stack on all nodes using
"init.crs stop"
- Edit /var/opt/oracle/ocr.loc on all nodes and set up ocrconfig_loc=new OCR device
- Restore from one of the automatic physical backups using ocrconfig -restore.
- Run ocrcheck to verify.
- reboot to restart the CRS stack.
- additional information can be found at
How to Restore a Lost Voting Disk in 10g (Doc ID 279793.1)
OCR / Vote disk Maintenance Operations: (ADD/REMOVE/REPLACE/MOVE), including moving from RAW Devices to Block Devices. (Doc ID 428681.1)
RAC on Windows: How To Reinitialize the OCR and Vote Disk (without a full reinstall of Oracle Clusterware) [ID 557178.1]
-- REINSTALL
How to Reinstall CRS Without Disturbing Installed Oracle RDBMS Home(s) [ID 456021.1]
How To clean up after a Failed (or successful) Oracle Clusterware Installation on Windows [ID 341214.1]
RAC on Windows: How To Reinitialize the OCR and Vote Disk (without a full reinstall of Oracle Clusterware) [ID 557178.1]
WIN: Manually Removing all Oracle Components on Microsoft Windows Platforms [ID 124353.1]
-- CLUSTERWARE
Note 337737.1 Oracle Clusterware - ASM - Database Version Compatibility
Note 363254.1 Applying one-off Oracle Clusterware patches in a mixed version home environment
10g RAC: How to Clean Up After a Failed CRS Install
Doc ID: Note:239998.1
10g RAC: Troubleshooting CRS Root.sh Problems
Doc ID: Note:240001.1
Oracle Clusterware: Components installed.
Doc ID: 556976.1
-- VIP
Oracle 10g VIP (Virtual IP) changes in Oracle 10g 10.1.0.4
Doc ID: Note:296878.1
How to Configure Virtual IPs for 10g RAC
Doc ID: Note:264847.1
VIPCA cannot be run under RHEL/OEL 5
Doc ID: Note:577298.1
Modifying the VIP or VIP Hostname of a 10g Oracle Clusterware Node
Doc ID: Note:276434.1
Should the Database Instance Be Brought Down after VIP service crashes?
Doc ID: Note:391454.1
-- SCAN
How to Setup SCAN Listener and Client for TAF and Load Balancing [Video] (Doc ID 1188736.1)
11gR2 Grid Infrastructure Single Client Access Name (SCAN) Explained (Doc ID 887522.1)
http://oracle-dba-yi.blogspot.com/2011/04/11gr2-scan-faq.html
-- SCAN add another listener
How to Configure A Second Listener on a Separate Network in 11.2 Grid Infrastructure [ID 1063571.1]c
-- SCAN just started one listener - ADD SCAN LISTENER
How to start the SCAN listener on new 11Gr2 install?
http://kr.forums.oracle.com/forums/thread.jspa?threadID=1120482
How to add SCAN LISTENER in 11gR2 - http://learnwithme11g.wordpress.com/2010/09/03/how-to-add-scan-listener-in-11gr2-2/
How to update the IP address of the SCAN VIP resources (ora.scan<n>.vip) (Doc ID 952903.1)
How to Modify SCAN Setting or SCAN Listener Port after Installation (Doc ID 972500.1)
-- SCAN name resolution
PRVF-4664 PRVF-4657: Found inconsistent name resolution entries for SCAN name (Doc ID 887471.1)
-- SCAN reset to 1521 default port
WebLogic Server and Oracle 11gR2 JDBC Driver SCAN feature [ID 1304816.1]
How to integrate a 10g/11gR1 RAC database with 11gR2 clusterware (SCAN) [ID 1058646.1]
How to Configure A Second Listener on a Separate Network in 11.2 Grid Infrastructure [ID 1063571.1]
Changing Default Listener Port Number [ID 359277.1]
How to Create Multiple Oracle Listeners and Multiple Listener Addresses [ID 232010.1]
Listening Port numbers [ID 99721.1]
How to Modify SCAN Setting or SCAN Listener Port after Installation [ID 972500.1]
Using the TNS_ADMIN variable and changing the default port number of all Listeners in an 11.2 RAC for an 11.2, 11.1, and 10.2 Database [ID 1306927.1] <-- GOOD STUFF
How to update the IP address of the SCAN VIP resources (ora.scan.vip) [ID 952903.1]
How to Troubleshoot Connectivity Issue with 11gR2 SCAN Name [ID 975457.1]
ORA-12545 or ORA-12537 While Connecting to RAC through SCAN name [ID 970619.1]
Tracing Techniques for Listeners in 11.2 RAC Environments [ID 1325284.1]
SCAN Address Cannot Resolve Instance Name ORA-12521 [ID 1235773.1]
Top 5 Issues That Cause Troubles with Scan VIP and Listeners [ID 1373350.1]
ORA-12541 intermittently with DBLinks using SCAN listener [ID 1269630.1]
How to Modify SCAN Setting or SCAN Listener Port after Installation [ID 972500.1]
Remote Clients Receive ORA-12160 or ORA-12561 Errors Connecting To 11GR2 RAC Via SCAN Listeners [ID 1291985.1]
11gR2 Grid Infrastructure Single Client Access Name (SCAN) Explained [ID 887522.1]
Problem: RAC Metrics: Unable to get E-mail Notification for some metrics against Cluster Databases [ID 403886.1]
How to Configure A Second Listener on a Separate Network in 11.2 Grid Infrastructure [ID 1063571.1]
Thread: Multiple listener on RAC 11.2 -> https://forums.oracle.com/forums/thread.jspa?threadID=972062
https://sites.google.com/site/connectassysdba/oracle-rac-11-2-multiple-listener
http://myoracle4u.blogspot.com/2011/07/configure-scan-listener-in-11gr2-rac.html
How to Add SCAN Listener in 11gR2 RAC http://myoracle4u.blogspot.com/2011/07/configure-scan-listener-in-11gr2-rac.html
-- SCAN PERFORMANCE
Scan Listener, Queuesize, SDU, Ports [ID 1292915.1]
-- JUMBO FRAMES
Recommendation for the Real Application Cluster Interconnect and Jumbo Frames
Doc ID: 341788.1
Tuning Inter-Instance Performance in RAC and OPS
Doc ID: 181489.1
-- RDS / INFINIBAND
Doc ID: 751343.1 RAC Support for RDS Over Infiniband
Doc ID: 368464.1 How to Setup IPMP as Cluster Interconnect
Doc ID: 283107.1 Configuring Solaris IP Multipathing (IPMP) for the Oracle 10g VIP
-- INTERCONNECT
How to Change Interconnect/Public Interface IP Subnet in a 10g Cluster
Doc ID: Note:283684.1
Recommendation for the Real Application Cluster Interconnect and Jumbo Frames
Doc ID: 341788.1
Tuning Inter-Instance Performance in RAC and OPS
Doc ID: 181489.1
How To Track Dead Connection Detection(DCD) Mechanism Without Enabling Any Client/Server Network Tracing
Doc ID: 438923.1
-- CHANGE IP ADDRESS
How to Change Interconnect/Public Interface IP or Subnet in Oracle Clusterware
Doc ID: 283684.1
Modifying the VIP or VIP Hostname of a 10g or 11g Oracle Clusterware Node
Doc ID: 276434.1
Considerations when Changing the Database Server Name or IP
Doc ID: 734559.1
Preparing For Changing the IP Addresses Of Oracle Database Servers
Doc ID: 363609.1
Instance Not Coming Up On Second Node In RAC 'Timeout when connecting'
Doc ID: 351914.1
Warning Could Not Be Translated To A Network Address
Doc ID: 464986.1
The Sqlnet Files That Need To Be Changed/Checked During Ip Address Change Of Database Server
Doc ID: 274476.1
EMCA
http://download.oracle.com/docs/cd/B19306_01/em.102/b40002/structure.htm#sthref92
APPLICATION SERVER
http://download.oracle.com/docs/cd/B10464_05/core.904/b10376/host.htm#sthref513
-- CHANGE HOSTNAME
http://www.pythian.com/news/482/changing-hostnames-in-oracle-rac
RAC on Windows: Oracle Clusterware Services Do Not Start After Changing Username or Domain [ID 557273.1]
-- BONDING
Configuring Linux for the Oracle 10g VIP or private interconnect using bonding driver
Doc ID: 298891.1
Setting Up Bonding in SLES 9
Doc ID: 291962.1
Setting Up Bonding in Suse SLES8
Doc ID: 291958.1
-- MIGRATION
Migrating to RAC using Data Guard
Doc ID: Note:273015.1
-- CRS_STAT2
CRS and 10g Real Application Clusters
Doc ID: Note:259301.1
WINDOWS CRS_STAT SCRIPT TO DISPLAY LONG NAMES CORRECTLY
Doc ID: Note:436067.1
--
Bug 5128575 - RAC install of 10.2.0.2 does not update libknlopt.a on all nodes
Doc ID: Note:5128575.8
TROUBLESHOOTING - ASM disk not found/visible/discovered issues
Doc ID: Note:452770.1
Unable To Mount Or Drop A Diskgroup, Fails With Ora-15032 And Ora-15063
Doc ID: Note:353423.1
ASM Diskgroup Failed to Mount On Second Node ORA-15063
Doc ID: Note:731075.1
Diskgroup Was Not Mounted After Created ORA-15063 and ORA-15032
Doc ID: Note:467702.1
Disk has been offline In Asm Diskgroup and has 2 entries in v$asm_disk
Doc ID: Note:393958.1
Adding The Label To ASMLIB Disk Using 'oracleasm renamedisk' Command
Doc ID: Note:280650.1
Ora-15063: Asm Discovered An Insufficient Number Of Disks For Diskgroup using NetApp Storage
Doc ID: Note:577526.1
Cannot Start Asm Ora-15063/ORA-15183
Doc ID: Note:340519.1
NEW CREATED DISKGROUP IS NOT VISIBLE ON SECOND NODE - USING NFS AND ASMLIB
Doc ID: Note:372276.1
Cannot Find Exact Kernel Version Match For ASMLib (Workaround using oracleasm_debug_link tool)
Doc ID: Note:462618.1
Heartbeat/Voting/Quorum Related Timeout Configuration for Linux, OCFS2, RAC Stack to avoid unnessary node fencing, panic and reboot
Doc ID: Note:395878.1
Reconfiguring the CSS disktimeout of 10gR2 Clusterware for Proper LUN Failover of the Dell MD3000i iSCSI Storage
Doc ID: Note:462616.1
10g RAC: Steps To Increase CSS Misscount, Reboottime and Disktimeout
Doc ID: Note:284752.1
CSS Timeout Computation in Oracle Clusterware
Doc ID: Note:294430.1
How to Increase CSS Misscount in single instance ASM installations
Doc ID: Note:729878.1
Configuring raw devices (multipath) for Oracle Clusterware 10g Release 2 (10.2.0) on RHEL5/OEL5
Doc ID: Note:564580.1
Steps to Create Test RAC Setup On Oracle VM
Doc ID: Note:742603.1
Requirements For Installing Oracle 10gR2 On RHEL/OEL 5 (x86)
Doc ID: Note:419646.1
Prerequisite Checks Fail When Installing 10.2 On Red Hat 5 (RHEL5)
Doc ID: Note:456634.1
Additional steps to install 10gR2 RAC on IBM zSeries Based Linux (SLES10)
Doc ID: Note:471165.1
10gR2 RAC Install issues on Oracle EL5 or RHEL5 or SLES10 (VIPCA / SRVCTL / OUI Failures)
Doc ID: Note:414163.1
Oracle Clusterware (formerly CRS) Rolling Upgrades
Doc ID: Note:338706.1
10.2.0.X CRS Bundle Patch Information
Doc ID: Note:405820.1
-- CSS MISCOUNT
How to Increase CSS Misscount in single instance ASM installations
Doc ID: Note:729878.1
10g RAC: Steps To Increase CSS Misscount, Reboottime and Disktimeout
Doc ID: Note:284752.1
Subject: CSS Timeout Computation in RAC 10g (10g Release 1 and 10g Release 2)
Doc ID: Note:294430.1
Subject: 10g RAC: Steps To Increase CSS Misscount, Reboottime and Disktimeout
Doc ID: Note:284752.1
-- CONVERT SINGLE INSTANCE TO RAC
How to Convert 10g Single-Instance database to 10g RAC using Manual Conversion procedure
Doc ID: 747457.1
How To Convert A Single Instance Database To RAC In A Cluster File System Configuration (Doc ID 208375.1)
http://avdeo.com/2010/02/22/converting-a-single-instance-database-to-rac-manually-oracle-rac-10g/
http://jaffardba.blogspot.com/2011/03/converting-your-single-instance.html
http://onlineappsdba.com/index.php/2009/06/24/single-instance-to-rac-conversion/
http://download.oracle.com/docs/cd/B28359_01/install.111/b28264/cvrt2rac.htm#BABBBDDB <-- 11.1
http://download.oracle.com/docs/cd/E11882_01/install.112/e17214/cvrt2rac.htm#BABBAHCH <-- 11.2
-- COVERT TO SEPARATE NODES
Converting a RAC Environment to Separate Node Environments
Doc ID: 377347.1
-- SHARED HOME
RAC: How To Move From Shared To Non-Shared Homes [ID 605640.1]
-- LOCAL, REMOTE LISTENER
How To Find Out The Example of The LOCAL_LISTENER and REMOTE_LISTENER Defined In The init.ora When configuring the 11i or R12 on RAC ?
Doc ID: 744508.1
Check LOCAL_LISTENER if you run RAC!
http://tardate.blogspot.com/2007/06/check-locallistener-if-you-run-rac.html
-- RAC ASM
How to Convert a Single-Instance ASM to Cluster ASM
Doc ID: 452758.1
-- CLEAN UP ASM INSTALL, UNINSTALL
How to cleanup ASM installation (RAC and Non-RAC)
Doc ID: 311350.1
-- RMAN RAC backup
HowTo Restore RMAN Disk backups of RAC Database to Single Instance On Another Node
Doc ID: 415579.1
-- TAF, FCF
How To Configure Server Side Transparent Application Failover [ID 460982.1]
How to Configure Client Side Transparent Application Failover with Preconnect Option [ID 802434.1]
Understanding Transparent Application Failover (TAF) and Fast Connection Failover (FCF) [ID 334471.1]
Fast Connection Failover (FCF) Test Client Using 11g JDBC Driver and 11g RAC Cluster
Doc ID: 566573.1
Oracle 10g VIP (Virtual IP) changes in Oracle 10g 10.1.0.4
Doc ID: 296878.1
Can the JDBC Thin Driver Do Failover by Specifying FAILOVER_MODE?
Doc ID: 465423.1
Does JBOSS Support Fast Connection Failover (FCF) to a 10g RAC cluster?
Doc ID: 738122.1
How To Verify And Test Fast Connection Failover (FCF) Setup From a JDBC Thin Client Against a 10.2.x RAC Cluster
Doc ID: 433827.1
Failover Issues and Limitations [Connect-time failover and TAF]
Doc ID: 97926.1
How To Use TAF With Instant Client
Doc ID: 428515.1
Troubleshooting TAF Issues in 10g RAC
Doc ID: 271297.1
How To Configure Server Side Transparent Application Failover
Doc ID: 460982.1
What is the Overhead when using TAF Failover Select Type?
Doc ID: 119537.1
Which Oracle Client versions will connect to and work against which version of the Oracle Database?
Doc ID: 172179.1
Configuration of Load Balancing and Transparent Application Failover
Doc ID: 226880.1
Oracle Net80 TAF Enabled Alias Fails With ORA-12197
Doc ID: 284273.1 Type: PROBLEM
Client Load Balancing and Failover Using Description and Address_List
Doc ID: 69010.1
ADDRESS_LISTs and Oracle Net Failover
Doc ID: 67136.1
Load Balancing and DESCRIPTION_LISTs
Doc ID: 67137.1
-- USER EQUIVALENCE
How to Configure SSH for User Equivalence
Doc ID: 372795.1
How to Configure SSH for User Equivalence
Doc ID: 372795.1
Configuring Ssh For Rac Installations
Doc ID: 308898.1
How To Configure SSH for a RAC Installation
Doc ID: 300548.1
-- NTP
Thread: PRVF-5424 : Clock time offset check failed
https://forums.oracle.com/forums/thread.jspa?threadID=2148827
-- RAC MICROSOFT - BLUE SCREEN
Why do we get a Blue Screen Caused By Orafencedrv.sys
Doc ID: 337784.1
ORACLE PROCESSES ENCOUNTERING (OS 1117) ERRORS ON WINDOWS 2003
Doc ID: 444803.1
http://www.orafaq.com/forum/t/120114/2/
http://forums11.itrc.hp.com/service/forums/bizsupport/questionanswer.do?admit=109447626+1255362432406+28353475&threadId=999460
-- CRS REBOOTS, NODE EVICTION
http://www.rachelp.nl/index_kb.php?menu=articles&actie=show&id=25
Troubleshooting CRS Reboots
Doc ID: 265769.1
Data Gathering for Troubleshooting RAC Issues
Doc ID: 556679.1
CSS Timeout Computation in Oracle Clusterware
Doc ID: 294430.1
Corrupt Packets on the Network causes CSS to REBOOT NODE
Doc ID: 400778.1
10g RAC: Steps To Increase CSS Misscount, Reboottime and Disktimeout
Doc ID: 284752.1
Using Diagwait as a diagnostic to get more information for diagnosing Oracle Clusterware Node evictions <--- SETUP THIS ON ALL RAC ENV, REQUIRED!
Doc ID: 559365.1
Hangcheck-Timer Module Requirements for Oracle 9i, 10g, and 11g RAC on Linux
Doc ID: 726833.1
Frequent Instance Eviction in 9i and/or Node Eviction in 10g
Doc ID: 461662.1
ORA-27506 Results in ORA-29740 and Instance Evictions on Windows
Doc ID: 342708.1
My references - client that runs on 3 node RAC having node evictions
{{{
Common reasons for OCFS2 o2net Idle Timeout (Doc ID 734085.1) <-- cause of the restart
Troubleshooting 10g and 11.1 Clusterware Reboots (Doc ID 265769.1) <-- if then else
OCFS2 Fencing, Network, and Disk Heartbeat Timeout Configuration (Doc ID 457423.1)
OCFS2 - FREQUENTLY ASKED QUESTIONS (Doc ID 391771.1)
Root.sh Unable To Start CRS On Second Node (Doc ID 369699.1)
Troubleshooting TAF Issues in 10g RAC (Doc ID 271297.1)
RAC instabilities due to firewall (netfilter/iptables) enabled on the cluster interconnect (Doc ID 554781.1)
Troubleshooting Oracle Clusterware Root.sh Problems (Doc ID 240001.1)
Corrupt Packets on the Network causes CSS to REBOOT NODE (Doc ID 400778.1)
Linux: RAC Instance Halts For Several Minutes When Rebooting Other Node (Doc ID 263477.1)
Irregular ClssnmPollingThread Missed Checkins Messages in CSSD log (Doc ID 372463.1)
Ocssd.Bin Process Consumes 100% Cpu (Doc ID 730148.1)
CRS DOES NOT STARTUP WITHIN 600 SECONDS AFTER 10.2.0.3 BUNDLE3 (Doc ID 744573.1)
Frequent Instance Eviction in 9i and/or Node Eviction in 10g (Doc ID 461662.1)
Resolving Instance Evictions on Windows Platforms (Doc ID 297498.1)
Using Diagwait as a diagnostic to get more information for diagnosing Oracle Clusterware Node evictions (Doc ID 559365.1)
CSS Timeout Computation in Oracle Clusterware (Doc ID 294430.1)
Node Eviction with IPCSOCK_SEND FAILED WITH STATUS: 10054 Errors (Doc ID 243547.1)
How to Collect 'Cluster Health Monitor' (former IPD/OS) Data on Windows Platform for Oracle Support (Doc ID 847485.1)
Linux: OCSSD Reboots Nodes Randomly After Application of 10.2.0.4 Patchset and in 11g Environments (Doc ID 731599.1)
10g RAC: Steps To Increase CSS Misscount, Reboottime and Disktimeout (Doc ID 284752.1)
Using Bonded Network Device Can Cause OCFS2 to Detect Network Outage (Doc ID 423183.1)
OCFS2 - FREQUENTLY ASKED QUESTIONS (Doc ID 391771.1)
}}}
http://mvallath.wordpress.com/2010/04/29/coexist-10gr2-and-11gr2-rac-db-on-the-same-cluster-stumbling-blocks-2/
RAID5 and RAID10 comparison on EMC VNX storage
https://www.evernote.com/shard/s48/sh/e5f58be7-309f-42a9-974e-f67fd20ad4d1/9f2f546330bb300d40ce04c54c3ccac2
All tests produced by oriontoolkit
https://www.dropbox.com/s/jzcl5ydt29mvw69/PerformanceAndTroubleshooting/oriontoolkit.zip
How the relative file number and block number calculation RDBA (relative data block address)
http://translate.google.com/translate?sl=auto&tl=en&u=http://blogs.oracle.com/toddbao/2010/11/rdba.html
./rda.sh -M <-- RDA man page
./rda.sh -M RAC <-- RDA man page for each individual module
./rda.sh -cv <-- check directory structure if intact
perl -v <-- verify perl version
./rda.sh -L Test <-- List the test modules
./rda.sh -T ssh <-- test the ssh connectivity
./rda.sh -L profile <-- List the RDA profiles
./rda.sh -p Rac <-- runs the RDA RAC profile
! RDA for multinode collection - RAC
1)
RSA and DSA key must be loaded.. else, it will still ask you on the setup_cluster part
2)
./rda.sh -vX Remote setup_cluster <-- remote data collection initial setup
3)
./rda.sh -vX Remote list <-- list the nodes that have been configured
4)
./rda.sh -v -e REMOTE_TRACE=1 <-- run the RDA for multinode collection, REMOTE_TRACE shows more details on the screen
5)
''to re-run.. re-execute all commands (1,2,3,4)''
! Sample output of multinode collection - RAC
''GOOD OUTPUT''
{{{
[oracle@racnode1 rda]$ ./rda.sh -vX Remote setup_cluster
------------------------------------------------------------------------------
Requesting common information
------------------------------------------------------------------------------
Where RDA should be installed on the remote nodes?
Hit 'Return' to accept the default (/u01/rda/rda)
>
Where setup files and reports should be stored on the remote nodes?
Hit 'Return' to accept the default (/u01/rda/rda)
>
Should an alternative login be used to execute remote requests (Y/N)?
Hit 'Return' to accept the default (N)
>
Enter an Oracle User ID (userid only) to view DBA_ and V$ tables. If RDA will
be run under the Oracle software owner's ID, enter a '/' here, and select Y at
the SYSDBA prompt to avoid being prompted for the database password at
runtime.
Hit 'Return' to accept the default (system)
> /
Is '/' a sysdba user (will connect as sysdba) (Y/N)?
Hit 'Return' to accept the default (N)
> y
------------------------------------------------------------------------------
Requesting information for node racnode1
------------------------------------------------------------------------------
Enter the Oracle Home to be analyzed on the node racnode1
Hit 'Return' to accept the default (/u01/app/oracle/product/10.2.0/db_1)
>
Enter the Oracle SID to be analyzed on the node racnode1
Hit 'Return' to accept the default (orcl1)
>
------------------------------------------------------------------------------
Requesting information for node racnode2
------------------------------------------------------------------------------
Enter the Oracle Home to be analyzed on the node racnode2
Hit 'Return' to accept the default (/u01/app/oracle/product/10.2.0/db_1)
>
Enter the Oracle SID to be analyzed on the node racnode2
Hit 'Return' to accept the default (orcl2)
>
------------------------------------------------------------------------------
RAC Setup Summary
------------------------------------------------------------------------------
Nodes:
. NOD001 racnode1/orcl1
. NOD002 racnode2/orcl2
2 nodes found
-------------------------------------------------------------------------------
S909RDSP: Produces the Remote Data Collection Reports
-------------------------------------------------------------------------------
Updating the setup file ...
[oracle@racnode1 rda]$
[oracle@racnode1 rda]$
[oracle@racnode1 rda]$
[oracle@racnode1 rda]$ ./rda.sh -vX Remote list
Nodes:
. NOD001 racnode1/orcl1
. NOD002 racnode2/orcl2
2 nodes found
[oracle@racnode1 rda]$ ./rda.sh -v -e REMOTE_TRACE=1
Collecting diagnostic data ...
-------------------------------------------------------------------------------
RDA Data Collection Started 26-Nov-2010 11:14:01 AM
-------------------------------------------------------------------------------
Processing Initialization module ...
Processing CFG module ...
Processing OCM module ...
Processing REXE module ...
NOD001> Setting up ...
NOD002> bash: /u01/rda/rda/rda.sh: No such file or directory
NOD001> Collecting diagnostic data ...
NOD001> -------------------------------------------------------------------------------
NOD001> RDA Data Collection Started 26-Nov-2010 11:14:07
NOD001> -------------------------------------------------------------------------------
NOD001> Processing Initialization module ...
NOD001> Processing CFG module ...
NOD001> Processing Sampling module ...
NOD001> Processing OCM module ...
NOD001> Processing OS module ...
NOD002> Setting up ...
NOD002> Collecting diagnostic data ...
NOD002> -------------------------------------------------------------------------------
NOD002> RDA Data Collection Started 26-Nov-2010 11:14:14 AM
NOD002> -------------------------------------------------------------------------------
NOD002> Processing Initialization module ...
NOD002> Processing CFG module ...
NOD002> Processing Sampling module ...
NOD002> Processing OCM module ...
NOD002> Processing OS module ...
NOD002> Processing PROF module ...
NOD002> Processing PERF module ...
NOD001> Processing PROF module ...
NOD001> Processing PERF module ...
NOD002> Processing NET module ...
NOD002> Processing ONET module ...
NOD002> Listener checks may take a few minutes. please be patient...
NOD002> Processing listener LISTENER_RACNODE2
NOD002> Processing Oracle installation module ...
NOD002> Processing RDBMS module ...
NOD001> Processing NET module ...
NOD001> Processing ONET module ...
NOD001> Listener checks may take a few minutes. please be patient...
NOD001> Processing listener LISTENER_RACNODE1
NOD002> Processing RDBMS Memory module ...
NOD001> Processing Oracle installation module ...
NOD001> Processing RDBMS module ...
NOD002> Processing LOG module ...
NOD002> Processing Cluster module ...
NOD002> Processing RDSP module ...
NOD002> Processing LOAD module ...
NOD002> Processing End module ...
NOD002> -------------------------------------------------------------------------------
NOD002> RDA Data Collection Ended 26-Nov-2010 11:16:08 AM
NOD002> -------------------------------------------------------------------------------
NOD002> Generating the reports ...
NOD002> - RDA_PERF_top_sql.txt ...
NOD002> - RDA_PERF_autostats.txt ...
NOD002> - RDA_LOG_udump4_orcl2_ora_17965_trc.dat ...
NOD002> - RDA_ONET_dynamic_dep.txt ...
NOD002> - RDA_END_report.txt ...
NOD002> - RDA_INST_oracle_home.txt ...
NOD002> - RDA_DBA_init_ora.txt ...
NOD002> - RDA_DBM_spresmal.txt ...
NOD002> - RDA_NET_udp_settings.txt ...
NOD002> - RDA_LOG_bdump3_orcl2_arc2_18143_trc.dat ...
NOD002> - RDA_INST_make_report.txt ...
NOD002> - RDA_RAC_srvctl.txt ...
NOD002> - RDA_LOG_bdump7_orcl2_lgwr_16518_trc.dat ...
NOD002> - RDA_OS_kernel_info.txt ...
NOD002> - RDA_RAC_css_log.txt ...
NOD002> - RDA_PROF_dot_bashrc.txt ...
NOD002> - RDA_RAC_init.txt ...
NOD002> - RDA_INST_inventory_xml.txt ...
NOD002> - RDA_LOG_bdump9_orcl2_lmd0_16485_trc.dat ...
NOD002> - RDA_OS_misc_linux_info.txt ...
NOD002> - RDA_CFG_database.txt ...
NOD002> - RDA_LOG_bdump2_orcl2_arc0_8802_trc.dat ...
NOD002> - RDA_PERF_lock_data.txt ...
NOD002> - RDA_INST_oratab.txt ...
NOD002> - RDA_OS_etc_conf.txt ...
NOD002> - RDA_LOG_bdump4_orcl2_arc2_8806_trc.dat ...
NOD002> - RDA_OS_ntpstatus.txt ...
NOD002> - RDA_PROF_dot_bash_profile.txt ...
NOD002> - RDA_OS_linux_release.txt ...
NOD002> - RDA_DBM_sgastat.txt ...
NOD002> - RDA_RAC_cluster_net.txt ...
NOD002> - RDA_RAC_crs_stat.txt ...
NOD002> - RDA_RAC_crs_log.txt ...
NOD002> - RDA_LOG_bdump13_orcl2_lms0_16500_trc.dat ...
NOD002> - RDA_DBA_database_properties.txt ...
NOD002> - RDA_PERF_cbo_trace.txt ...
NOD002> - RDA_DBA_text.txt ...
NOD002> - RDA_LOG_udump1_orcl2_ora_16222_trc.dat ...
NOD002> - RDA_NET_ifconfig.txt ...
NOD002> - RDA_DBM_hwm.txt ...
NOD002> - RDA_PROF_profiles.txt ...
NOD002> - RDA_LOG_bdump8_orcl2_lgwr_7809_trc.dat ...
NOD002> - RDA_PROF_env.txt ...
NOD002> - RDA_DBM_sgacomp.txt ...
NOD002> - RDA_PERF_addm_report.txt ...
NOD002> - RDA_DBA_vsystem_event.txt ...
NOD002> - RDA_DBA_sga_info.txt ...
NOD002> - RDA_RAC_logs.txt ...
NOD002> - RDA_ONET_hs_inithsodbc_ora.txt ...
NOD002> - RDA_RAC_ocrconfig.txt ...
NOD002> - RDA_LOG_bdump.txt ...
NOD002> - RDA_INST_orainst_loc.txt ...
NOD002> - RDA_LOG_bdump5_orcl2_diag_16448_trc.dat ...
NOD002> - RDA_DBA_ses_procs.txt ...
NOD002> - RDA_DBM_lchitrat.txt ...
NOD002> - RDA_DBA_tablespace.txt ...
NOD002> - RDA_OS_disk_info.txt ...
NOD002> - RDA_LOG_last_errors.txt ...
NOD002> - RDA_LOG_udump.txt ...
NOD002> - RDA_DBA_jvm_info.txt ...
NOD002> - RDA_OS_tracing.txt ...
NOD002> - RDA_LOG_udump3_orcl2_ora_18539_trc.dat ...
NOD002> - RDA_DBA_vfeatureinfo.txt ...
NOD002> - RDA_RAC_alert_log.txt ...
NOD002> - RDA_END_system.txt ...
NOD002> - RDA_OS_cpu_info.txt ...
NOD002> - RDA_INST_orainventory_logdir.txt ...
NOD002> - RDA_RAC_ipc.txt ...
NOD002> - RDA_OS_java_version.txt ...
NOD002> - RDA_DBA_replication.txt ...
NOD002> - RDA_RAC_ocrcheck.txt ...
NOD002> - RDA_DBA_nls_parms.txt ...
NOD002> - RDA_DBA_vresource_limit.txt ...
NOD002> - RDA_DBA_partition_data.txt ...
NOD002> - RDA_ONET_sqlnet_listener_ora.txt ...
NOD002> - RDA_LOG_bdump17_orcl2_smon_7813_trc.dat ...
NOD002> - RDA_OS_memory_info.txt ...
NOD002> - RDA_DBA_vspparameters.txt ...
NOD002> - RDA_INST_oraInstall20080321_085143PM_out.dat ...
NOD002> - RDA_LOG_bdump15_orcl2_mmon_16580_trc.dat ...
NOD002> - RDA_LOG_log_trace.txt ...
NOD002> - RDA_LOG_udump2_orcl2_ora_24872_trc.dat ...
NOD002> - RDA_RAC_ocrdump.txt ...
NOD002> - RDA_ONET_sqlnet_sqlnet_ora.txt ...
NOD002> - RDA_OS_nls_env.txt ...
NOD002> - RDA_DBM_libcache.txt ...
NOD002> - RDA_OS_packages.txt ...
NOD002> - RDA_DBA_datafile.txt ...
NOD002> - RDA_DBA_security_files.txt ...
NOD002> - RDA_LOG_bdump1_orcl2_arc0_18044_trc.dat ...
NOD002> - RDA_NET_etc_files.txt ...
NOD002> - RDA_RAC_crs_inventory.txt ...
NOD002> - RDA_RAC_evm_log.txt ...
NOD002> - RDA_DBA_vcontrolfile.txt ...
NOD002> - RDA_DBA_security.txt ...
NOD002> - RDA_LOG_bdump14_orcl2_lms0_7793_trc.dat ...
NOD002> - RDA_DBA_spatial.txt ...
NOD002> - RDA_LOG_bdump16_orcl2_qmnc_9268_trc.dat ...
NOD002> - RDA_DBA_undo_info.txt ...
NOD002> - RDA_PERF_ash_report.txt ...
NOD002> - RDA_DBA_vlicense.txt ...
NOD002> - RDA_INST_comps_xml.txt ...
NOD002> - RDA_DBA_voption.txt ...
NOD002> - RDA_DBA_jobs.txt ...
NOD002> - RDA_RAC_client_log.txt ...
NOD002> - RDA_DBA_vfeatureusage.txt ...
NOD002> - RDA_LOG_error2_orcl2_arc0_8802_trc.dat ...
NOD002> - RDA_PERF_overview.txt ...
NOD002> - RDA_PROF_etc_profile.txt ...
NOD002> - RDA_ONET_lstatus.txt ...
NOD002> - RDA_DBM_respool.txt ...
NOD002> - RDA_DBA_vparameters.txt ...
NOD002> - RDA_PROF_ulimit.txt ...
NOD002> - RDA_LOG_bdump10_orcl2_lmd0_7791_trc.dat ...
NOD002> - RDA_OS_sysdef.txt ...
NOD002> - RDA_RAC_cluster_status_file.txt ...
NOD002> - RDA_ONET_sqlnetsqlnet_log.txt ...
NOD002> - RDA_OS_system_error_log.txt ...
NOD002> - RDA_LOG_bdump11_orcl2_lmon_16460_trc.dat ...
NOD002> - RDA_ONET_sqlnet_tnsnames_ora.txt ...
NOD002> - RDA_LOG_udump5_orcl2_ora_16811_trc.dat ...
NOD002> - RDA_INST__link_homes.txt ...
NOD002> - RDA_DBA_vcompatibility.txt ...
NOD002> - RDA_RAC_racg_dump.txt ...
NOD002> - RDA_LOG_bdump12_orcl2_lmon_7789_trc.dat ...
NOD002> - RDA_PERF_latch_data.txt ...
NOD002> - RDA_CFG_homes.txt ...
NOD002> - RDA_DBA_latch_info.txt ...
NOD002> - RDA_LOG_error1_orcl2_arc0_18044_trc.dat ...
NOD002> - RDA_LOG_bdump6_orcl2_diag_7752_trc.dat ...
NOD002> - RDA_RAC_crs_status.txt ...
NOD002> - RDA_NET_netperf.txt ...
NOD002> - RDA_INST_orainventory_files.txt ...
NOD002> - RDA_RAC_racOnOff.txt ...
NOD002> - RDA_NET_tcpip_settings.txt ...
NOD002> - RDA_DBA_CPU_Statistic.txt ...
NOD002> - RDA_ONET_adapters.txt ...
NOD002> - RDA_LOG_alert_log.txt ...
NOD002> - RDA_CFG_oh_inv.txt ...
NOD002> - RDA_DBA_vsession_wait.txt ...
NOD002> - RDA_LOG_udump6_orcl2_ora_16173_trc.dat ...
NOD002> - RDA_DBA_log_info.txt ...
NOD002> - RDA_INST_oraInstall20080321_033734PM_out.dat ...
NOD002> - RDA_PROF_umask.txt ...
NOD002> - RDA_OS_services.txt ...
NOD002> - RDA_OS_libc.txt ...
NOD002> - RDA_DBM_subpool.txt ...
NOD002> - RDA_DBA_aq_data.txt ...
NOD002> - RDA_INST__link_oh_inv.txt ...
NOD002> - RDA_PERF_awr_report.txt ...
NOD002> - RDA_INST_oracle_install.txt ...
NOD002> - RDA_DBA_versions.txt ...
NOD002> - RDA_DBA_vHWM_Statistic.txt ...
NOD002> - RDA_DBA_dba_registry.txt ...
NOD002> - RDA_ONET_netenv.txt ...
NOD002> - Report index ...
NOD002> Packaging the reports ...
NOD002> RDA_NOD002.zip created for transfer
NOD002> Updating the setup file ...
NOD001> Processing RDBMS Memory module ...
NOD001> Processing LOG module ...
NOD001> Processing Cluster module ...
NOD001> Processing RDSP module ...
NOD001> Processing LOAD module ...
NOD001> Processing End module ...
NOD001> -------------------------------------------------------------------------------
NOD001> RDA Data Collection Ended 26-Nov-2010 11:16:46
NOD001> -------------------------------------------------------------------------------
NOD001> Generating the reports ...
NOD001> - RDA_PERF_top_sql.txt ...
NOD001> - RDA_PERF_autostats.txt ...
NOD001> - RDA_ONET_dynamic_dep.txt ...
NOD001> - RDA_END_report.txt ...
NOD001> - RDA_INST_oracle_home.txt ...
NOD001> - RDA_DBA_init_ora.txt ...
NOD001> - RDA_LOG_bdump13_orcl1_lgwr_22435_trc.dat ...
NOD001> - RDA_DBM_spresmal.txt ...
NOD001> - RDA_LOG_bdump7_orcl1_ckpt_7844_trc.dat ...
NOD001> - RDA_NET_udp_settings.txt ...
NOD001> - RDA_INST_make_report.txt ...
NOD001> - RDA_RAC_srvctl.txt ...
NOD001> - RDA_LOG_bdump6_orcl1_cjq0_7862_trc.dat ...
NOD001> - RDA_OS_kernel_info.txt ...
NOD001> - RDA_RAC_css_log.txt ...
NOD001> - RDA_PROF_dot_bashrc.txt ...
NOD001> - RDA_LOG_bdump19_orcl1_lms0_22392_trc.dat ...
NOD001> - RDA_RAC_init.txt ...
NOD001> - RDA_INST_inventory_xml.txt ...
NOD001> - RDA_OS_misc_linux_info.txt ...
NOD001> - RDA_CFG_database.txt ...
NOD001> - RDA_LOG_bdump22_orcl1_smon_7856_trc.dat ...
NOD001> - RDA_PERF_lock_data.txt ...
NOD001> - RDA_LOG_bdump15_orcl1_lmd0_22347_trc.dat ...
NOD001> - RDA_INST_oratab.txt ...
NOD001> - RDA_OS_etc_conf.txt ...
NOD001> - RDA_OS_ntpstatus.txt ...
NOD001> - RDA_PROF_dot_bash_profile.txt ...
NOD001> - RDA_LOG_bdump2_orcl1_arc0_25404_trc.dat ...
NOD001> - RDA_OS_linux_release.txt ...
NOD001> - RDA_DBM_sgastat.txt ...
NOD001> - RDA_RAC_cluster_net.txt ...
NOD001> - RDA_RAC_crs_stat.txt ...
NOD001> - RDA_LOG_bdump3_orcl1_arc1_23210_trc.dat ...
NOD001> - RDA_INST_oraInstall20090831_114713AM_out.dat ...
NOD001> - RDA_RAC_crs_log.txt ...
NOD001> - RDA_DBA_database_properties.txt ...
NOD001> - RDA_PERF_cbo_trace.txt ...
NOD001> - RDA_DBA_text.txt ...
NOD001> - RDA_LOG_bdump4_orcl1_arc2_9360_trc.dat ...
NOD001> - RDA_NET_ifconfig.txt ...
NOD001> - RDA_DBM_hwm.txt ...
NOD001> - RDA_PROF_profiles.txt ...
NOD001> - RDA_PROF_env.txt ...
NOD001> - RDA_DBM_sgacomp.txt ...
NOD001> - RDA_PERF_addm_report.txt ...
NOD001> - RDA_DBA_vsystem_event.txt ...
NOD001> - RDA_DBA_sga_info.txt ...
NOD001> - RDA_RAC_logs.txt ...
NOD001> - RDA_ONET_hs_inithsodbc_ora.txt ...
NOD001> - RDA_RAC_ocrconfig.txt ...
NOD001> - RDA_LOG_bdump1_orcl1_arc0_9341_trc.dat ...
NOD001> - RDA_LOG_bdump.txt ...
NOD001> - RDA_LOG_bdump14_orcl1_lmd0_7821_trc.dat ...
NOD001> - RDA_INST_orainst_loc.txt ...
NOD001> - RDA_INST_installActions20090831_073133AM_log.dat ...
NOD001> - RDA_DBA_ses_procs.txt ...
NOD001> - RDA_DBM_lchitrat.txt ...
NOD001> - RDA_INST_oraInstall20090831_073524AM_err.dat ...
NOD001> - RDA_DBA_tablespace.txt ...
NOD001> - RDA_OS_disk_info.txt ...
NOD001> - RDA_LOG_last_errors.txt ...
NOD001> - RDA_LOG_udump.txt ...
NOD001> - RDA_DBA_jvm_info.txt ...
NOD001> - RDA_LOG_bdump17_orcl1_lmon_22339_trc.dat ...
NOD001> - RDA_OS_tracing.txt ...
NOD001> - RDA_DBA_vfeatureinfo.txt ...
NOD001> - RDA_INST_installActions20080321_022900PM_log.dat ...
NOD001> - RDA_RAC_alert_log.txt ...
NOD001> - RDA_END_system.txt ...
NOD001> - RDA_OS_cpu_info.txt ...
NOD001> - RDA_INST_orainventory_logdir.txt ...
NOD001> - RDA_RAC_ipc.txt ...
NOD001> - RDA_OS_java_version.txt ...
NOD001> - RDA_DBA_replication.txt ...
NOD001> - RDA_LOG_bdump21_orcl1_reco_7858_trc.dat ...
NOD001> - RDA_RAC_ocrcheck.txt ...
NOD001> - RDA_DBA_nls_parms.txt ...
NOD001> - RDA_DBA_vresource_limit.txt ...
NOD001> - RDA_DBA_partition_data.txt ...
NOD001> - RDA_ONET_sqlnet_listener_ora.txt ...
NOD001> - RDA_OS_memory_info.txt ...
NOD001> - RDA_DBA_vspparameters.txt ...
NOD001> - RDA_LOG_bdump20_orcl1_mmnl_7895_trc.dat ...
NOD001> - RDA_LOG_log_trace.txt ...
NOD001> - RDA_LOG_bdump10_orcl1_j000_17866_trc.dat ...
NOD001> - RDA_RAC_ocrdump.txt ...
NOD001> - RDA_ONET_sqlnet_sqlnet_ora.txt ...
NOD001> - RDA_INST_installActions20090831_114713AM_log.dat ...
NOD001> - RDA_OS_nls_env.txt ...
NOD001> - RDA_DBM_libcache.txt ...
NOD001> - RDA_OS_packages.txt ...
NOD001> - RDA_DBA_datafile.txt ...
NOD001> - RDA_DBA_security_files.txt ...
NOD001> - RDA_LOG_udump1_orcl1_ora_5922_trc.dat ...
NOD001> - RDA_LOG_bdump9_orcl1_diag_22327_trc.dat ...
NOD001> - RDA_NET_etc_files.txt ...
NOD001> - RDA_LOG_bdump11_orcl1_lck0_7963_trc.dat ...
NOD001> - RDA_RAC_crs_inventory.txt ...
NOD001> - RDA_RAC_evm_log.txt ...
NOD001> - RDA_INST_oraInstall20090831_114713AM_err.dat ...
NOD001> - RDA_DBA_vcontrolfile.txt ...
NOD001> - RDA_DBA_security.txt ...
NOD001> - RDA_DBA_spatial.txt ...
NOD001> - RDA_DBA_undo_info.txt ...
NOD001> - RDA_LOG_bdump8_orcl1_diag_7815_trc.dat ...
NOD001> - RDA_LOG_udump3_orcl1_ora_5277_trc.dat ...
NOD001> - RDA_PERF_ash_report.txt ...
NOD001> - RDA_DBA_vlicense.txt ...
NOD001> - RDA_INST_comps_xml.txt ...
NOD001> - RDA_DBA_voption.txt ...
NOD001> - RDA_DBA_jobs.txt ...
NOD001> - RDA_RAC_client_log.txt ...
NOD001> - RDA_DBA_vfeatureusage.txt ...
NOD001> - RDA_PERF_overview.txt ...
NOD001> - RDA_PROF_etc_profile.txt ...
NOD001> - RDA_ONET_lstatus.txt ...
NOD001> - RDA_DBM_respool.txt ...
NOD001> - RDA_INST_installActions20080321_033734PM_log.dat ...
NOD001> - RDA_DBA_vparameters.txt ...
NOD001> - RDA_PROF_ulimit.txt ...
NOD001> - RDA_INST_installActions20090831_073524AM_log.dat ...
NOD001> - RDA_LOG_bdump16_orcl1_lmon_7819_trc.dat ...
NOD001> - RDA_OS_sysdef.txt ...
NOD001> - RDA_LOG_bdump23_orcl1_smon_22439_trc.dat ...
NOD001> - RDA_RAC_cluster_status_file.txt ...
NOD001> - RDA_ONET_sqlnetsqlnet_log.txt ...
NOD001> - RDA_INST_oraInstall20080321_022900PM_out.dat ...
NOD001> - RDA_OS_system_error_log.txt ...
NOD001> - RDA_ONET_sqlnet_tnsnames_ora.txt ...
NOD001> - RDA_LOG_bdump18_orcl1_lms0_7830_trc.dat ...
NOD001> - RDA_INST__link_homes.txt ...
NOD001> - RDA_DBA_vcompatibility.txt ...
NOD001> - RDA_RAC_racg_dump.txt ...
NOD001> - RDA_PERF_latch_data.txt ...
NOD001> - RDA_CFG_homes.txt ...
NOD001> - RDA_DBA_latch_info.txt ...
NOD001> - RDA_LOG_udump2_orcl1_ora_10349_trc.dat ...
NOD001> - RDA_LOG_error1_orcl1_arc0_9341_trc.dat ...
NOD001> - RDA_RAC_crs_status.txt ...
NOD001> - RDA_NET_netperf.txt ...
NOD001> - RDA_INST_orainventory_files.txt ...
NOD001> - RDA_RAC_racOnOff.txt ...
NOD001> - RDA_NET_tcpip_settings.txt ...
NOD001> - RDA_DBA_CPU_Statistic.txt ...
NOD001> - RDA_LOG_bdump12_orcl1_lgwr_7839_trc.dat ...
NOD001> - RDA_ONET_adapters.txt ...
NOD001> - RDA_LOG_alert_log.txt ...
NOD001> - RDA_CFG_oh_inv.txt ...
NOD001> - RDA_DBA_vsession_wait.txt ...
NOD001> - RDA_DBA_log_info.txt ...
NOD001> - RDA_INST_oraInstall20080321_033734PM_out.dat ...
NOD001> - RDA_PROF_umask.txt ...
NOD001> - RDA_OS_services.txt ...
NOD001> - RDA_OS_libc.txt ...
NOD001> - RDA_DBM_subpool.txt ...
NOD001> - RDA_DBA_aq_data.txt ...
NOD001> - RDA_LOG_bdump5_orcl1_arc2_23248_trc.dat ...
NOD001> - RDA_INST__link_oh_inv.txt ...
NOD001> - RDA_PERF_awr_report.txt ...
NOD001> - RDA_INST_oracle_install.txt ...
NOD001> - RDA_DBA_versions.txt ...
NOD001> - RDA_DBA_vHWM_Statistic.txt ...
NOD001> - RDA_DBA_dba_registry.txt ...
NOD001> - RDA_LOG_udump4_orcl1_ora_10747_trc.dat ...
NOD001> - RDA_ONET_netenv.txt ...
NOD001> - RDA_INST_installActions20080321_085143PM_log.dat ...
NOD001> - Report index ...
NOD001> Packaging the reports ...
NOD001> RDA_NOD001.zip created for transfer
NOD001> Updating the setup file ...
Processing RDSP module ...
Processing LOAD module ...
Processing End module ...
-------------------------------------------------------------------------------
RDA Data Collection Ended 26-Nov-2010 11:16:52 AM
-------------------------------------------------------------------------------
Generating the reports ...
- RDA_END_report.txt ...
- RDA_RDSP_overview.txt ...
- RDA_S909RDSP.txt ...
- RDA_END_system.txt ...
- RDA_RDSP_results.txt ...
- RDA_CFG_homes.txt ...
- RDA_CFG_oh_inv.txt ...
- Report index ...
Packaging the reports ...
You can review the reports by transferring the contents of the
/u01/rda/rda/output directory to a location where you have web-browser
access. Then, point your browser at this file to display the reports:
RDA__start.htm
Based on your server configuration, some possible alternative approaches are:
- If your client computer with a browser has access to a web shared
directory, copy the /u01/rda/rda/output directory to the web shared
directory and visit this URL:
http://machine:port/web_shared_directory/RDA__start.htm
or
- If your client computer with a browser has FTP access to the server
computer with the /u01/rda/rda/output directory, visit this URL:
ftp://root@racnode1.us.oracle.com//u01/rda/rda/output/RDA__start.htm
If this file was generated to assist in resolving a Service Request, please
send /u01/rda/rda/output/RDA.RDA_racnode1.zip to Oracle Support by uploading
the file via My Oracle Support. If ftp'ing the file, please be sure to ftp in
BINARY format.
Updating the setup file ...
[oracle@racnode1 output]$ unzip -l RDA.RDA_racnode1.zip
Archive: RDA.RDA_racnode1.zip
Length Date Time Name
-------- ---- ---- ----
121 11-26-10 11:14 RDA_0CFG.fil
2507 11-26-10 11:16 RDA.log
0 11-26-10 11:14 RDA_0REXE.fil
1533 11-26-10 11:16 RDA_END_report.txt
634 11-26-10 11:16 RDA_RDSP_overview.txt
469 11-26-10 11:16 RDA_S909RDSP.htm
236 11-26-10 11:14 RDA_S010CFG.toc
4361 11-26-10 11:16 RDA_END_report.htm
147 11-26-10 11:16 RDA_S909RDSP.txt
412 11-26-10 11:16 RDA_END_system.txt
3407 11-26-10 11:05 RDA_rda.css
486 11-26-10 11:16 RDA__index.htm
251 11-26-10 11:16 RDA_S010CFG.txt
19970 11-26-10 11:16 RDA_CFG_oh_inv.htm
161 11-26-10 11:16 RDA__index.txt
179 11-26-10 11:16 RDA__blank.htm
2223 11-26-10 11:16 RDA_RDSP_overview.htm
915 11-26-10 11:16 RDA_CFG_homes.htm
138 11-26-10 11:16 RDA_S909RDSP.toc
388 11-26-10 11:16 RDA_RDSP_results.txt
604 11-26-10 11:16 RDA_S010CFG.htm
814 11-26-10 11:16 RDA__start.htm
358 11-26-10 11:14 RDA_CFG_homes.txt
5984 11-26-10 11:14 RDA_CFG_oh_inv.txt
1153 11-26-10 11:16 RDA_RDSP_results.htm
1291 11-26-10 11:16 RDA_END_system.htm
1289027 11-26-10 11:16 remote/RDA_NOD001.zip <---- THIS SHOULD EXIST
884638 11-26-10 11:16 remote/RDA_NOD002.zip <---- THIS SHOULD EXIST
-------- -------
2222407 28 files
}}}
''BAD OUTPUT''
{{{
[oracle@racnode1 rda]$ ./rda.sh -v -e REMOTE_TRACE=1
Collecting diagnostic data ...
-------------------------------------------------------------------------------
RDA Data Collection Started 26-Nov-2010 11:12:20 AM
-------------------------------------------------------------------------------
Processing Initialization module ...
Processing CFG module ...
Processing OCM module ...
Processing REXE module ...
Processing RDSP module ...
Processing LOAD module ...
Processing End module ...
-------------------------------------------------------------------------------
RDA Data Collection Ended 26-Nov-2010 11:12:26 AM
-------------------------------------------------------------------------------
Generating the reports ...
- RDA_END_report.txt ...
- RDA_RDSP_overview.txt ...
- RDA_END_system.txt ...
- RDA_RDSP_results.txt ...
- RDA_CFG_homes.txt ...
- RDA_CFG_oh_inv.txt ...
- Report index ...
Packaging the reports ...
You can review the reports by transferring the contents of the
/u01/rda/rda/output directory to a location where you have web-browser
access. Then, point your browser at this file to display the reports:
RDA__start.htm
Based on your server configuration, some possible alternative approaches are:
- If your client computer with a browser has access to a web shared
directory, copy the /u01/rda/rda/output directory to the web shared
directory and visit this URL:
http://machine:port/web_shared_directory/RDA__start.htm
or
- If your client computer with a browser has FTP access to the server
computer with the /u01/rda/rda/output directory, visit this URL:
ftp://root@racnode1.us.oracle.com//u01/rda/rda/output/RDA__start.htm
If this file was generated to assist in resolving a Service Request, please
send /u01/rda/rda/output/RDA.RDA_racnode1.zip to Oracle Support by uploading
the file via My Oracle Support. If ftp'ing the file, please be sure to ftp in
BINARY format.
Updating the setup file ...
[oracle@racnode1 output]$ unzip -l RDA.RDA_racnode1.zip
Archive: RDA.RDA_racnode1.zip
Length Date Time Name
-------- ---- ---- ----
121 11-26-10 11:12 RDA_0CFG.fil
1611 11-26-10 11:12 RDA.log
0 11-26-10 11:12 RDA_0REXE.fil
1533 11-26-10 11:12 RDA_END_report.txt
634 11-26-10 11:12 RDA_RDSP_overview.txt
469 11-26-10 11:12 RDA_S909RDSP.htm
236 11-26-10 11:12 RDA_S010CFG.toc
4361 11-26-10 11:12 RDA_END_report.htm
147 11-26-10 11:12 RDA_S909RDSP.txt
412 11-26-10 11:12 RDA_END_system.txt
3407 11-26-10 11:05 RDA_rda.css
486 11-26-10 11:12 RDA__index.htm
251 11-26-10 11:12 RDA_S010CFG.txt
19970 11-26-10 11:12 RDA_CFG_oh_inv.htm
161 11-26-10 11:12 RDA__index.txt
179 11-26-10 11:12 RDA__blank.htm
2223 11-26-10 11:12 RDA_RDSP_overview.htm
915 11-26-10 11:12 RDA_CFG_homes.htm
138 11-26-10 11:12 RDA_S909RDSP.toc
308 11-26-10 11:12 RDA_RDSP_results.txt
604 11-26-10 11:12 RDA_S010CFG.htm
814 11-26-10 11:12 RDA__start.htm
358 11-26-10 11:12 RDA_CFG_homes.txt
5984 11-26-10 11:12 RDA_CFG_oh_inv.txt
1067 11-26-10 11:12 RDA_RDSP_results.htm
1291 11-26-10 11:12 RDA_END_system.htm
-------- -------
47680 26 files
}}}
! Related Notes
330362.1 RDA Troubleshooting Guide
Remote Diagnostic Agent (RDA) 4 - RAC Cluster Guide (Doc ID 359395.1)
http://community.vsl.co.at/forums/p/22659/154067.aspx
http://jpaul.me/?p=1078
http://www.tomshardware.com/forum/268964-30-what-diffrence-rdimms-udimms
ORACLE® DATABASE 10G WITH RAC AND RELIABLE DATAGRAM SOCKETS CONFIGURATION GUIDE
http://www.filibeto.org/sun/lib/blueprints/821-0802.pdf
Using Reliable Datagram Sockets Over InfiniBand for Oracle Database 10g Clusters
http://www.dell.com/downloads/global/power/ps2q07-20070279-Mahmood.pdf
http://www.freelists.org/post/oracle-l/RAC-declustering,7
http://www.google.com.ph/search?hl=tl&safe=active&q=oracle+kcfis&oq=oracle+kcfis&aq=f&aqi=&aql=&gs_sm=e&gs_upl=10987l11538l0l7l4l0l0l0l0l0l0ll0
{{{
RH033
[ ] UNIT 1 - LINUX IDEAS AND HISTORY
open source definition
www.opensource.org/docs/definition.php
www.gnu.org/philosophy/free-sw.html
gnu public license
www.gnu.org/copyleft/gpl.html
[ ] UNIT 2 - LINUX USAGE BASICS
x window system
passwords
root, sudo
vim, nano
/etc/issue for the custom message
[ ] UNIT 3 - RUNNING COMMANDS AND GETTING HELP
levels of help
whatis
--help
man (divided into pages), info (divided into nodes)
manual sections
1 user commands
2 system calls
3 library calls
4 special files
5 file formats
6 games
7 miscellaneous
8 administrative commands
/usr/share/doc
redhat documentation
http://en.wikipedia.org/wiki/List_of_Unix_programs
[ ] UNIT 4 - BROWSING THE FILESYSTEM
file system hierarchy standard - http://proton.pathname.com/fhs
home directories: /root, /home/<username>
user executables: (essential user binaries) /bin, (non-essential binaries such as grapich environments, office tools) /usr/bin, (software compiled from source) /usr/local/bin
system executables: (essential system binaries) /sbin, (non-essential binaries such as grapich environments, office tools) /usr/sbin, (software compiled from source) /usr/local/sbin
other mountpoints: /media, /mnt
configuration: /etc
temporary files: /tmp
kernels and bootloader: /boot
server data: /var, /srv
system information: /proc, /sys
shared libraries: /lib, /usr/lib, /usr/local/lib
[ ] UNIT 5 - USERS, GROUPS, PERMISSIONS
who operator permissions
u + r
g - w
o = x
a s "set user id bit or group"
t "sticky bit (for directories)"
chattr +i <-- add immutable property, only on ext2/3 filesystems
chattr -i <-- remove immutable property
lsattr <-- list immutable property
newgrp
- primary group can be temporarily changed using this command, and will create a new session, to return to original group just do an EXIT
- if you are not a member of the group then you will be prompted with a passwd (check on "/etc/group"), otherwise you'll not be prompted (done as "gpasswd -a oracle karao")
- if the group does not have a password and you try to NEWGRP on that group, then you will be denied
- if the user is added to the group, then you'll see a new group when you do an "id <username>", it could be removed by doing a "usermode -G <group list>" or "gpasswd -d <user> <group>"
- if a user is granted ADMINISTRATOR (-A) privilege then you'll see a new entry on the "/etc/gshadow" --> karao:0jEuOBLJ51YK2:oracle but this user is not seen on the "/etc/group" unless you also add him on the group
- if a user is granted (-M) privilege then you'll see a new entry on the "/etc/gshadow" --> karao:0jEuOBLJ51YK2:oracle:oracle also you see a new entry on the "/etc/group"
- group must not be associated with any username, because then the user is deleted then also the group
gpasswd
- there is no way to revoke the (-A) on a user, you could just redirect it to the ROOT user using the +A command
file
r - you can copy
w - you can't copy and edit if only this
x - you can't copy if only this
directory
r - you can copy if only this
w - you can't copy if only this
x - you can't read and copy if only this
[ ] UNIT 6 - USING THE BASH SHELL
$(hostname)
file{1,2,3}
mkdir -p folder/{inbox,outbox}/{trash,save}
!1003
#!/bin/bash <-- shebang, this tells the OS what interpreter to use in order to execute the script
to know the shells, go to "/etc/shells"
to change your default shell, look for the command "chsh"
[ ] UNIT 7 - STANDARD I/O AND PIPES
linux provides three I/O channels to programs:
STDIN - keyboard by default (file descriptor # 0)
STDOUT - terminal window by default - 1st output data stream (file descriptor # 1)
STDERR - terminal window by default - 2nd output data stream (file descriptor # 2)
redirecting output to a file
> redirect STDOUT to a file
2> redirect STDERR to a file
&> redirect all output to a file
common redirection operators
command > file
command >> file
command < file - send FILE as an input to COMMAND
command 2> file
command 2>> file
[oracle@centos5-11g ~]$ ls -ltr karlarao.txt install2008-05-11_15-41-12.log &>> error.txt <-- NOT ALLOWED
-bash: syntax error near unexpected token `>'
/dev/null <-- is a black hole for data, so that you dont waste storage for the STDERR output file
sample:
redirecting to two files
find /etc/ -iname passwd > find.out 2> /dev/null
redirecting all to a file
find /etc -iname passwd &> find.all
piping to less (send all output to a pipe)
find /etc -iname passwd 2>&1 | less
subshell - to print output of two commands
(cal 2007; cal 2008) | less
piping:
ls -C | tr 'a-z' 'A-Z' <-- translate or delete characters
redirecting to multiple targets (tee)
useful for saving output at various stages in long sequence of pipes, this will actually create the *out files:
ls -l /etc | tee stage1.out | sort | tee stage2.out | uniq -c | tee stage3.out | sort -r | tee stage4.out | less
sending multiple lines to STDNIN (mail) - will only terminate when END (the same word) is encountered
[oracle@centos5-11g ~]$ mail -s "please call" karlarao@gmail.com << END
> helo
> that's it!
> END
SCRIPTING:
(for loops)
for NAME in JOE JANE JULIE
do
ADDRESS="$NAME@gmail.com"
MESSAGE='Projects are due today!'
echo $MESSAGE | mail -s Reminder $ADDRESS
done
-- ping IP ADDRESSES, uses sequence
for USER in $(grep bash /etc/passwd)
for FILE in *txt
for NUM in $(seq 1 10)
for NUM in $(seq 1 2 10) increments of 2
for LETTER in $(seq a z)
#!/bin/bash
# alive.sh
# pings machines
for i in $(seq 1 20)
do
host=172.16.126.$i
ping -c $host &> /dev/null
if [ $? = 0 ]; then
echo "$host is up!"
else
echo "$host is down!"
fi
done
COULD ALSO BE
#!/bin/bash
# alive.sh
# pings machines
for i in {1..20}; do
host=172.16.126.$i
ping -c $host &> /dev/null
if [ $? = 0 ]; then
echo "$host is up!"
else
echo "$host is down!"
fi
done
[ ] UNIT 8 - TEXT PROCESSING TOOLS
CUT
/sbin/ifconfig | grep 'inet addr' | cut -d : -f2 | cut -d ' ' -s -f1
SORT
cut -d : -f 3,1 /etc/passwd | sort -t : -k 2 -n <-- t (delimiter), k (field of sort), n (numerical sort)
UNIQ
cut -d : -f7 /etc/passwd | sort | uniq
DIFF (to do side-by-side mode, -y)
[oracle@centos5-11g ~]$ diff -y lao.txt tzu.txt
The Way that can be told of is not the eternal Way; | The Nameless is the origin of Heaven and Earth;
The name that can be named is not the eternal name. | The named is the mother of all things.
The Nameless is the origin of Heaven and Earth; |
The Named is the mother of all things. <
Therefore let there always be non-being, Therefore let there always be non-being,
so we may see their subtlety, so we may see their subtlety,
And let there always be being, And let there always be being,
so we may see their outcome. so we may see their outcome.
The two are the same, The two are the same,
But after they are produced, But after they are produced,
they have different names. they have different names.
> They both may be called deep and profound.
> Deeper and more profound,
> The door of all subtleties!
PATCH (make the 1st file the same as 2nd file, propagating the changes)
step 1) $ diff -u lao.txt tzu.txt > patch_lao.txt <-- unified format, for better format shows + and -
step 2) $ patch -b lao.txt patch_lao.txt
step 3) $ diff -y lao.txt tzu.txt
to reverse the effect, use the -R switch, or restore the .orig file
$ patch -R lao.txt patch_lao.txt
to make file usable
$ restorecon /etc/issue
ASPELL
interactive:
$ aspell check letter.txt
non-interactive:
$ aspell list < letter.txt <-- on STDIN
LOOK (quick lookup of words)
look <word>
SED
$ sed 's/The/Is/gi' lao.txt <-- search globally, case insensitive
$ sed '1,2s/The/Is/g' lao.txt <-- lines 1 to 2
$ sed '/digby/,/duncan/s/dog/cat/g' pets <-- start on digby and continuing on duncan
$ sed -e '/s/dog/cat/' -e '/s/hi/lo/' pets <-- multiple SED
$ sed -f myedits pets <-- for large edits, place them in a file then reference
REGULAR EXPRESSIONS
^ beggining of the line
$ end of line
[xyz] character that is x,y,z
[^xyz] character that is not x,y,z
grep -l root /etc/* 2> /dev/null <-- look for files that contain the word "root"
[] UNIT 9 - VIM: AN ADVANCED TEXT EDITOR
three modes:
command mode
insert mode
ex mode
A append to end of line
a insert data after cursor
I insert at beginning of line
i insert data before cursor
o insert a new line (below)
O insert a new line (above)
5, Right Arrow move rigt five characters
w,b move by word
),( move by sentence
},{ move by paragraph
10G jump to line 10
G jump at the end of the line
/,n,N search
:%s/\/dev\/hda/\/dev\/sda/g search/replace
change delete yank
(replace) (cut) (copy)
line cc dd yy
letter cl dl yl
word cw dw yw
sentence ahead c) d) y)
sentence behind c( d( y(
paragraph above c{ d{ y{
paragraph below c} d} y}
p paste
u undo
U undo current line
CTRL-r redo
visual mode:
v character oriented visual mode
V line oriented visual mode
CTRL-v block oriented visual mode
multiple windows (must have -o switch):
vi -o lao.txt tzu.txt
CTRL-w, s split horizontal
CTRL-w, v split vertical
CTRL-w, arrow move to another window
configuring vi and vim
on the fly
:set or :set all
permanently
~/.vimrc (primary) or ~/.exrc (for older)
[oracle@centos5-11g ~]$ cat .vimrc
:set nu
:set wrapmargin=10
:help option-list
learn more
:help
vimtutor
visudo <-- opens the /etc/sudoers in vim
vipw <-- edits the password file with necessary locks
[ ] UNIT 10 - BASIC SYSTEM CONFIGURATION TOOLS
important network settings:
ip configuration
device activation
dns configuration
default gateway
less /usr/share/doc/initscripts-8.45.14.EL/sysconfig.txt <-- complete list of options of configuration
ifup
ifdown
ifconfig
network configuration files:
ETHERNET DEVICES
/etc/sysconfig/network-scripts/ifcfg-eth0
configuration options:
DEVICE=eth0 <-- for DHCP config
HWADDR=<mac address> <-- for DHCP config
BOOTPROTO=none|dhcp <-- for DHCP config
IPADDR
NETMASK
GATEWAY
ONBOOT=yes <-- for DHCP config
USERCTL=no
TYPE=Ethernet|Wireless <-- for DHCP config
GLOBAL NETWORK SETTINGS (rather than per-interface basis)
/etc/sysconfig/network <-- many may be provided by DHCP, GATEWAY can be overridden in ifcfg file
NETWORKING=yes
GATEWAY=<ip add> <-- this can also be set in ifcfg file, if the gateway is defined here & in ifcfg, the gateway defined in the most recently activated ifcfg file will be used
HOSTNAME=<hostname>
DNS CONFIGURATION (DNS translates hostnames to network addresses)
/etc/resolv.conf <-- local DNS configuration
search example.com cracker.org <-- specify domains that should be tried when an incomplete DNS name is given to a command
nameserver 192.168.0.254 <-- ip add of the DNS server, pick the fastest
nameserver 192.168.1.254
PRINTING IN LINUX:
configuration tools:
system-config-printer
web based: http://localhost:631
lpadmin
configuration files:
/etc/cups/cupsd.conf
/etc/cups/printers.conf
cups-lpd <-- available for backward compatibility with older LPRng client systems
setup printer:
1) new printer
2) serial port1
3) generic
4) postscript printer
supported printer connections:
local (parallel, serial or usb)
unix/linux print server
windows print server
netware print server
hp jetdirect
printing commands:
lpr (accepts ASCII, postscript, pdf, others)
$ lpr -P accounting -#5 report.ps <-- prints to the accounting printer, without -P will print to default printer
lpq
$ lpq -a <-- shows all jobs, without -P will show jobs from default printer
lprm <job number>
system V printing commands:
lp
lpstat -a <-- shows all configured printers
cancel <job number>
printing utilities:
enscript, a2ps <-- convert text to postscript
evince <-- pdf viewer
ps2pdf <-- postscript to pdf
pdf2ps <-- pdf to ps
pdftotext <-- pdf to plain text
mpage <-- prints ascii or ps input with text reduced in size so it could appear on 1 paper
DATE:
date format [MMDDhhmm[[CC]YY][.ss]]
date 080820002008.05
date -s "08/08/2008 20:00:05"
NTP:
stratum1 to stratum16
local clock is stratum10
stratum (1,2) <-- two ntp servers (2,3) <-- clients
ntpq -np <-- query
if you dont want to sync against you local clock comment out the following
# Undisciplined Local Clock. This is a fake driver intended for backup
# and when no outside source of synchronized time is available.
# server 127.127.1.0 # local clock
fudge 127.127.1.0 stratum 10
/var/lib/ntp/drift <-- drift file
SCRIPTING:
(positional parameters)
$0 is the program
$* all command-line arguments
$# holds the number of command-line arguments
sample:
[oracle@centos5-11g ~]$ cat positionaltester.sh2
#!/bin/bash
echo "the program name is $0"
echo "the first argument is $1 and the second is $2"
echo "All command line parameters are $*"
echo "all parameters are $#"
[oracle@centos5-11g ~]$ ./positionaltester.sh2 red hat enterprise linux
the program name is ./positionaltester.sh2
the first argument is red and the second is hat
All command line parameters are red hat enterprise linux
all parameters are 4
(read)
-p prompt to display
sample:
[oracle@centos5-11g ~]$ cat input.sh
#!/bin/bash
read -p "Enter name (first last):" FIRST LAST
echo "your first name is $FIRST and your last name is $LAST"
[oracle@centos5-11g ~]$ ./input.sh
Enter name (first last):karl arao
your first name is karl and your last name is arao
[ ] UNIT 11 - INVESTIGATING AND MANAGING PROCESSES
uid, gid, selinux context determines filesystem access
/prod/<pid> <-- tracks every aspect of process by its PID
LISTING PROCESS:
? <-- daemon processes
-a <-- processes on all terminals
-x <-- includes processes not attached to terminals
-u <-- process owner info
-f <-- process parentage
-o
process states (do a "man ps" for the complete list):
running
sleeping
uninterruptable sleep
zombie
FINDING PROCESS:
ps axo comm,tty | grep ttyS0
pgrep -U root <-- user
pgrep -G student <-- group
pidof bash <-- find process id of a program
SIGNALS ("man 7 signal" for the complete list):
signal 15, term (default) terminate cleanly
signal 9, kill terminate immediately
signal 1, hup re-read configuration files
sending signals to processes:
by PID kill [signal] pid
by name killall [signal] comm
by pattern pkill [-signal] pattern
SCHEDULE PRIORITY (nice)
-20 to 19, default 0 <-- lower value means high cpu priority
when starting a process (only root can lower nice values, also once ordinary user raised the value he can't make it lower)
nice -n -15 vi ~oracle/lao.txt
after starting
renice 5 <pid>
INTERACTIVE PROCESS MGT TOOLS:
top
gnome-system-monitor
JOB CONTROL
firefox & <-- run process in the background
CTRL-z <-- temporarily halt a running program
jobs <-- list jobs
bg <job#> <-- resume in background, you can't stop it, you must fg it first then CTRL-z
fg <job#> <-- resume in foreground
kill %<job#> <-- kills the job
sample:
[oracle@centos5-11g ~]$ jobs
[1]- Stopped find / -iname "*.conf" 2>/dev/null <-- last default
[2] Stopped find / -iname "oracle" 2>/dev/null
[3] Stopped find / -iname "root" 2>/dev/null
[4]+ Stopped find / -iname "conf" 2>/dev/null <-- this is the default
AT - one time jobs
root can modify jobs for other users by getting a login shell (su - <username>)
create at <time> crontab -e
list at -l crontab -l
details at -c <job#> n/a
remove at -d <job#> crontab -r
edit n/a crontab -e
CRON - recurring jobs, runs every minute
root can modify jobs for any user with "crontab -u <username> -l|-e|-r"
see "man 5 crontab" for details on time
# (Use to post in the top of your crontab)
# ------------- minute (0 - 59)
# | ----------- hour (0 - 23)
# | | --------- day of month (1 - 31)
# | | | ------- month (1 - 12)
# | | | | ----- day of week (0 - 6) (Sunday=0)
# | | | | |
# * * * * * command to be executed
EXIT STATUS
0 success
1-255 fail
$? determine exit status
SCRIPTING:
(conditional execution parameters, based on the exit status of the previous command)
&& --> AND THEN, the 2nd command will only run if the 1st exits successfully
|| --> OR ELSE, the 2nd command will only run if the 1st fail
sample 1:
$ grep -q no_such_user /etc/passwd && echo 'user existing' || echo 'no such user' <-- "q" is silent mode, will only give you 1 or 0
$ ping -c1 -W2 centos5-11g &> /dev/null \
&& echo "station is up" \
|| echo $(echo "station is unreachable"; exit 1)
for x in $(seq 1 10); do
echo adding test$x
(
echo -ne "test$x\t"
useradd test$x 2>&1 > /dev/null && mkpasswd test$x
) >> /tmp/userlog
done
echo 'cat /tmp/userlog to see new passwords'
(test, evaluates boolean statements, 0 true, 1 false)
long form:
test "$A" = "$B" && echo "Strings are equal"
test "$A" -eq "$B" && echo "Integers are equal"
short form:
[ "$A" = "$B" ] && echo "Strings are equal"
[ "$A" -eq "$B" ] && echo "Integers are equal"
(file tests, test existence of files)
[ -f issue.patch ] && echo "regular file"
some of the supported file tests are:
-d <file> true if the file is a directory
-e true if the file exists
-f true if the file exists and is a regular file
-h true if the file is a symbolic link
-L true if the file is a symbolic link
-r true if the file exists and is readable by you
-s true if the file exists and is not empty
-w true if the file exists and is writable by you
-x true if the file exists and is executable by you
-O true if the file is effectively owned by you
-G true if the file is effectively owned by your group
(if then else)
# pings my station
if ping -c1 -W2 centos5-11g &> /dev/null; then
echo "station is up"
elif grep "centos5-11g" ~/maintenance.txt &> /dev/null; then
echo "station is undergoing maintenance"
else echo "station is unexpectedly down"
exit 1
fi
# test ping command
if test -x /bin/ping6; then
ping6 -c1 ::1 &> /dev/null && echo "ipv6 stack is up"
elif test -x /bin/ping; then
ping -c1 127.0.0.1 &> /dev/null && echo "no ipv6, ipv4 stack is up"
else
echo "oops! this should not happen"
exit 255
fi
# test if target is up or down, with positional parameters
#!/bin/bash
TARGET=$1
ping -c1 -w2 $TARGET &> /dev/null
RESULT=$?
if [ $RESULT -ne 0 ]
then
echo "$TARGET is down"
else
echo "$TARGET is up"
fi
exit $RESULT
# use reach.sh on AT to ping a station
at now + 5min
for x in $(seq 1 40); do
reach.sh station$x
done
CTRL-d
# output the head os ps with formatting descending
ps axo pid,comm,pcpu --sort=-pcpu | head -n2
# good for finding processes order by CPU PERCENT, RSS (physical memory), CPU TIME (time)
ps axo pid,comm,pcpu,size,rss,vsz,cputime,stat --sort=-pcpu | head -n10
[ ] UNIT 12 - CONFIGURING THE BASH SHELL
2 types of variables
local variables
environment variables
set | less <-- all variables
env | less <-- environment variables
echo $HOME <-- single value
alias="rm -i"
\rm -r Junk <-- if you dont want to use alias on "rm" command
PREVENTING EXPANSION:
echo your cost: \$5.00 <-- (backslash) makes next character literal
' <-- (single quote) inhibit all expansion
" <-- (double quote) inhibit all except:
$ (dollar) variable expansion
` (backquotes) command substitution
\ (backslash) single char inhibition
! (ex point) history substitution
[oracle@centos5-11g ~]$ find . -iname pos\* <-- or you could do "find . -iname 'pos*'
./positionaltester.sh2
./positionaltester.sh
./pos
LOGIN vs NON-LOGIN SHELLS - (where startup scripts are configured)
login shells
any shell created at login (includes x login)
su -
non login shells
su
graphical terminals
executed scripts
any other bash instances
global files
/etc/profile
/etc/profile.d
/etc/bashrc
user files
~/.bash_profile
~/.bashrc
~/.bash_logout <-- when a login shell exits, for auto backups and cleanup temp files
login shells (order)
1) "/etc/profile" ---which calls---> "/etc/profile.d"
2) ~/.bash_profile ---calls---> ~./bashrc ---calls---> /etc/bashrc
non login shells (order)
1) ~/.bashrc ---calls---> /etc/bashrc ---calls---> /etc/profile.d (called by bashrc only for non login shells)
SCRIPTING
ls -laptr
#!/bin/bash
# script for backing up any directory
# 1st: the directory to be backed up
# 2nd: the location to backup to
ORIG=$1
BACK=~/backups/$(basename $ORIG)-$(date +%Y%m%d%H%M) <-- used the "basename" command to get the SYSCONFIG word
if [ -e $BACK ]
then
echo "warning: $BACK exists"
read -p "Press CTRL-c to exit or ENTER to continue"
fi
cp -av $ORIG $BACK
echo "backup of $ORIG to $BACK finished at: $(date +%Y%m%d%H%M)"
[ ] UNIT 13 - FINDING AND PROCESSING FILES
locate -i <filename> <-- case insensitive search
updatedb <-- must be run as root, updated daily
find
-ok <-- will prompt before executing command
sample:
find /u01/app/oracle/oradata/ -size 10M -ok gzip {} \; <-- will prompt to gzip for each file found
-exec
sample:
find /u01/app/oracle/oradata/ -size 10M -exec gzip {} \; <-- will not promp, and will gzip each file found
-user <-- search for files owned by user & group
-group
find, logical operators (OR (-o & -not)..but AND by default)
-o OR
-not NOT
sample:
find -user joe -not -group joe
find -user joe -o -user jane
find . -not \( -user oracle -o -user ken \) -exec ls -l {} \;
find, permissions
-uid UID of user
-gid
-perm permission
find -perm 755 matches if mode is exactly 755
find -perm +222 matches if anyone can write (first is exact)
find -perm -222 matches if everyone can write
find -perm -002 matches if other can write
find, numerical criteria
-size
find -size 1M
find -size +1M
find -size -1M
-links number of links to the file
find, access time
# DAYS
-atime when file was last read
-mtime when file data last changed
-ctime when file data or metadata last changed
samples:
find -ctime 10 <-- exact 10 days
find -ctime -10 <-- within 10 days
find -ctime +10 <-- more than 10 days
# MINUTES
-amin
-mmin
-cmin
# MATCH ACCESS TIMES RELATIVE TO THE TIMESTAMP OF OTHER FILES
-anewer
-newer find -newer recent_file.txt
-not -newer find -not -newer recent_file.txt
-cnewer
find, execution
find -name "*conf" -exec cp {} {}.orig \; <-- backup config files, adding a .orig extension
find /tmp -ctime +3 -user joe -ok rm {} \; <-- prompt to remove joe's tmp files that are over 3 days old
find ~ -perm -022 -exec chmod o-w {} \; <-- fix other-writable files in your home directory
find /var -user root -group mail 2> /dev/null -ls <-- ls -l style listing "-ls"
find -type l -ls <-- list symbolic links "ls style"
find -type f -ls <-- list regular files
find /bin /usr/bin -perm -4000 <-- list all files under /bin /usr/bin that have SetUID bit set
find /bin /usr/bin -perm -u+s <-- list all files under /bin /usr/bin that have SetUID bit set
[ ] UNIT 14 - NETWORK CLIENTS
firefox
engine plugins mycroft.mozdev.org
plugins plugindoc.mozdev.org
non-gui web browser
links http://www.redhat.com
links -dump http://www.redhat.com <-- dumps all the text of the browser to STDOUT
links -source http://www.redhat.com <-- dumps all the html source
wget (retrieve a single file via HTTP or FTP, also mirror a website)
wget <link or html file>
wget --recursive --level=1 --convert-liks http://www.site.com <-- mirror a site
email and messaging
email protocol
pickup
imap/pop (most popular are imaps & pop3s which encrypts data over the wire)
delivery
smtp, esmtp
evolution
- supports gpg (gnu privacy guard)
thunderbird
mutt
mutt -f imaps://user@server <-- specify the mailbox you wish to start in
c <-- to change mailbox
gaim
http://gaim.sourceforge.net/plugins.php
OpenSSH: secure remote shell
ssh
scp <-- secure replacement for rcp
[user@]host:/<path to file>
-r recursion
-p preserve times and permissions
-C to compress datastream
sftp <-- similar to ftp, remote host's sshd needs to have support for sftp in order to work
rsync (uses remote update protocol)
-e specified rsh compatible program to connect with (usually ssh)
-a recursive, preserve
-r recursive, not preserve
--partial continues partially downloaded files
--progress prints progress bar
-P same as --partial --progress
http://everythinglinux.org/rsync/
sample:
rsync --verbose --progress --stats --compress --rsh=/usr/bin/ssh --recursive --times --perms --links --delete *txt oracle@192.168.203.11:/u01/app/oracle/rsync
OR
rsync -e ssh *txt oracle@192.168.203.11:/u01/app/oracle/rsync/
to setup rsync server:
# make the file /etc/rsyncd.conf
motd file = /etc/rsyncd.motd
log file = /var/log/rsyncd.log
pid file = /var/run/rsyncd.pid
lock file = /var/run/rsync.lock
[karlarao]
path = /u01/app/oracle/rync
comment = test_rsync_server
read only = no
list = yes
auth users = oracle
secrets file = /etc/rsyncd.scrt
# then the /etc/rsyncd.scrt
oracle:oracle
# to use it
rsync --verbose --progress --stats --compress --rsh=/usr/bin/ssh --recursive --times --perms --links --delete *txt 192.168.203.11:/u01/app/oracle/rsync
PASSWORDLESS AUTHENTICATION: KEY-BASED AUTHENTICATION
ssh-keygen -t rsa <-- creates rsa public private keys
ssh-keygen -t dsa <-- creates dsa public private keys
ssh-add -l <-- query list of stored keys
ssh-copy-id <-- copy public key to destination system, on older systems you may not have this.. have to manually create authorized_keys
ssh-agent $SHELL <-- agent authenticates on behalf of user
ssh-add <-- add the keys, will ask passphrase
step by step:
1) ssh-keygen -t rsa <-- generate private public keys
ssh-keygen -t dsa
2) ssh-copy-id -i id_rsa.pub oracle@192.168.203.26 <-- copy public key to remote host
ssh-copy-id -i id_dsa.pub oracle@192.168.203.26
3)
[oracle@centos5-11g .ssh]$ ssh-agent $SHELL <-- load identities
[oracle@centos5-11g .ssh]$ ssh-add
Enter passphrase for /home/oracle/.ssh/id_rsa:
Identity added: /home/oracle/.ssh/id_rsa (/home/oracle/.ssh/id_rsa)
Enter passphrase for /home/oracle/.ssh/id_dsa:
Identity added: /home/oracle/.ssh/id_dsa (/home/oracle/.ssh/id_dsa)
4) ssh 192.168.203.26 date <-- test
FTP CLIENTS
lftp
gFTP
Xorg Clients (XTERM - X11 forwarding)
ssh -X <user>@<host>
xterm &
network diagnostic tools
ping
traceroute
host
dig
netstat
gnome-netttool (GUI)
smbclient (FTP-like client to access SMB/CIFS resources)
smbclient -L server1 <-- list shares on server1
smbclient -U student //server1/homes <-- access a share
-W workgroup or domain
-U username
-N suppress password prompt (otherwise you will be asked for a password)
nautilus file transfer
[ ] UNIT 15 - ADVANCED TOPICS IN USERS, GROUPS, AND PERMISSIONS
/etc/passwd
/etc/shadow
/etc/group
/etc/gshadow
user management tools
system-config-users
command line
useradd
usermod
userdel [-r]
1 - 499 <-- system users and groups
MONITORING LOGINS
last | less <-- shows login, logout, reboot history
lastb <-- shows bad logins
w <-- show who is logged on and what they are doing, shows load average, cpu info, etc.
echo $$ <-- to show your current process ID
DEFAULT PERMISSIONS
666 <-- umask for files
777 <-- umask for directories
002 <-- default umask for ordinary users
022 <-- default umask for root
SPECIAL PERMISSIONS FOR EXECUTABLES (executable regular files, also 4-2-1) SUID, SGID
(4)suid
-rwSr--r-- 1 oracle oinstall 0 Aug 11 12:40 test2.txt <-- "S" on group if no executable was granted
-rwsr--r-- 1 oracle oinstall 0 Aug 11 12:40 test2.txt <-- "s" on group if executable was granted
(2)sgid
-rw-r-Sr-- 1 oracle oinstall 0 Aug 11 12:39 test.txt <-- "S" on group if no executable was granted
-rw-rwsr-- 1 oracle oinstall 0 Aug 11 12:39 test.txt <-- "s" on group if executable was granted
stickybit
-rwx-----T 1 oracle oinstall 0 Aug 11 12:41 test3.txt <-- "T" on others if no executable was granted
-rwxr--r-t 1 oracle oinstall 0 Aug 11 12:41 test3.txt <-- "t" on others if executable was granted
SPECIAL PERMISSIONS FOR DIRECTORIES STICKY BIT, SGID
suid
drwsr-xr-x 2 oracle oinstall 4096 Aug 11 12:44 test3 <-- "s" on the owner
sgid
drwxr-sr-x 2 oracle oinstall 4096 Aug 11 12:37 test <-- "s" on the group
(1)stickybit
drwxr-xr-t 2 oracle oinstall 4096 Aug 11 12:38 test2 <-- "t" on the others
FOR COLLABORATION (SECURED):
as root user, make a group and directory.. then grant
chmod 3770 <directory>
drwxrws--T 2 oracle collaboration 4096 Aug 16 22:45 collaboration <-- this will be viewable by collaboration members, and could only delete their respective
files, except root & oracle (owner of the folder).. also umask should be 022
so that files created on collaboration folders will just be read only on other users
SCRIPTING:
#!/bin/bash
# create all users defined in userlist file
# just add -x if you have problems
for NAME in $(cat ~/bin/userlist)
do
/usr/sbin/useradd $NAME
PASSWORD=$(openssl rand -base64 10)
echo $PASSWORD | passwd --stdin $NAME
echo "username: $NAME, password: $PASSWORD" | mail -s "Account Info" root@localhost
done
[ ] UNIT 16 - LINUX FILESYSTEM IN-DEPTH
ext2 and msdos <-- typically used for floppies, ext2 (since 1993)
ext3 <-- features such as extended attributes & posix access control lists (ACLs)
GFS & GFS2 <-- for SANs
disk partition
filesystem
inode table <-- for ext2 and ext3 filesystems
inode (index node) which is reference by its inode number <-- contains metadata about files such as (unique within the filesystem):
- file type, permissions, uid, gid
- the link count (count of path names pointing to this file)
- file size and various time stamps
- pointers to the file's data blocks on disk
- other data about the file
computers reference for a file is inode number
humans reference for a file is by file name
directory is mapping between file names and inode numbers
when a filename is referenced by a command,
linux references the directory in which the file resides,
determines the inode number associated with the filename,
looks up the inode information in the inode table
if user has permission..returns the contents of the file
cp <-- creates new inode
mv <-- untouched when on the same filesystem
rm <-- makes the inode free, but the data untouched..would be overwritten once reused
hard links (ln)
- only on the same filesystem
- not allowed on directories
- who created it will be the UID/GID
88724 -rwxr-xr-x 2 root root 244 Aug 11 13:12 create_users.sh <-- the same inode, and file count is 2
88724 -rwxr-xr-x 2 root root 244 Aug 11 13:12 create_HL
soft links (ln -s)
- can span filesystems
- who created it will be the UID/GID
- specify the fully qualified path
- the 25 is the number of characters
- filetype is "l"
175729 lrwxrwxrwx 1 root root 25 Aug 11 14:08 create_link -> /root/bin/create_users.s
SEVEN FUNDAMENTAL FILETYPES
- regular file
d directory
l symbolic link
b block special file <-- used to communicate with hardware a block of data at a time 512bytes,1024bytes,2048bytes
c character special file <-- used to communicate with hardware one character at a time
p named pipe <-- file that passes data between processes
s socket <-- stylized mechanism for inter process communication
df
du
baobab (GUI)
removable media
mount /dev/fd0 /mnt/floppy <-- floppy
mount /dev/cdrom /mnt/cdrom <-- cdrom
mtools
cds and dvds
usb media (detected by kernel as scsi devices)
/dev/sdax or /dev/sdbx
/media/disk
floppy disks
ARCHIVING FILES AND COMPRESSING ARCHIVES
tar <-- (tape archive) natively supports compression using gzip-gunzip, bzip2-bunzip2 (newer)
-c create
-t list
-x extrace
-f <archivename> name of the tar file
-z gzip tar.gz
-j bzip2 tar.bz2
-v verbose
ARCHIVING: other tools
zip, unzip <-- compatible with pkzip archives
file-roller
SCRIPTING:
#!/bin/bash
# script for backing up any directory
# 1st: the directory to be backed up
# 2nd: the location to backup to
ORIG=$1
BACK=~/backups/$(basename $ORIG)-$(date +%Y%m%d%H%M).tar.bz2
if [ -e $BACK ]
then
echo "warning: $BACK exists"
read -p "Press CTRL-c to exit or ENTER to continue"
fi
tar -cjvpf $BACK $ORIG
echo "backup of $ORIG to $BACK finished at: $(date +%Y%m%d%H%M)"
[ ] UNIT 17 - ESSENTIAL SYSTEM ADMINISTRATION TOOLS
check hardware compatibility
http://hardware.redhat.com/hwcert
check release notes
installer can be started from (boot.iso)
cdrom
usb
network (PXE) <-- ethernet and bios must support this
supported installation sources:
network server (ftp, http, nfs)
cdrom
hard disk
managing services
managed by:
System V scripts
init
xinetd super server
GUI, command line
system-config-services (GUI)
command line
/sbin/service start,stop,status,restart,reload
/sbin/chkconfig
managing software
rpm
name-version-release.architecture.rpm <-- VERSION is open source version of the project, RELEASE refers to redhat internal patches to the open source code
yum <-- replacing UP2DATE
/etc/yum.conf
/etc/yum.repos.d/
yum install
yum remove
yum update
yum list available
yum list installed
pup <-- software updater
pirut <-- add/remove software
securing the system
system level network security:
1) application level network security (tcp_wrappers)
2) kernel level network security (iptables, SELinux)
SELinux
- all processes & files have a context
- implements MAC - mandatory access control (default in unix is DAC - discretionary access control, which users make their files world-writable)
- targeted "policy" by default (web, dns, dhcp, proxy, database, logging, etc.)
- users may change the contexts of files that they own, but not alter or override the underlying SElinux policy
to disable
make it PERMISSIVE, logs policy violations but not actually prevent prohibited actions from taking place
available in this classes
RH133
RHS427
RHS429
packet filtering (system-config-securitylevel, simple interface to the kernel level firewall.. NETFILTER)
TCP/IP transaction divided into packets
packets contains a header (destination-source address,protocol specific info) and payload
ip address
port number
TCP/IP - UCP/IP uses distinct ports even though they share same numbers
}}}
{{{
RH131
[ ] UNIT 1 - SYSTEM INITIALIZATION
boot sequence overview:
bios initialization
boot loader
kernel initialization
"init" starts and enters desired run level by executing:
/etc/rc.d/rc.sysinit
/etc/rc.d/rc & /etc/rc.d/rc?.d/
/etc/rc.d/rc.local
X display manager if appropriate
bootloader components
bootloader
1st stage small, resides in the MBR or boot sector (on the 1st 512bytes in hard disk)... IPL (initial program loader) for GRUB is just the 1st stage
primary task is to locate the 2nd stage which does most of the work to boot the system
2nd stage loaded from boot partition
two ways to configure boot loader
primary boot loader
secondary boot loader (first stage boot loader into the boot sector of some partition)
GRUB and grub.conf (read at boot time)
supported filesystems:
ext2/ext3
reiserfs
jfs
fat
minix
ffs
/boot/grub/grub.conf <-- changes takes effect immediately
/sbin/grub-install /dev/sda <-- if GRUB is corrupted, reinstall.. if this command fails do this
1) type "grub"
2) type "root (hd0,0)"
3) type "setup (hd0)"
4) type "quit"
if GRUB can't find the grub.conf then it will default to GRUB command line
info grub
Kernel initialization
kernel boot time functions:
device detection
device driver initialization <-- device drivers compiled into the kernel are loaded when device is found
else if essential (needed for boot) drivers have been compiled as modules then it must be included in INITRD image
which is temporarily mounted be the kernel on a RAM disk to make the modules available for the initialization process
mounts root filesystem read only <-- after essential drivers are loaded, will mount /root in read only
loads initial process (INIT) <-- after loading, control is passed from the kernel to that process (INIT)
less /var/log/dmesg <-- all bootup messages taken just after control is passed to INIT
dmesg
INIT initialization
init reads its config /ETC/INITTAB <-- contains the information on how init should setup the system in every run level, also contains default runlevel
if lost or corrupted, you'll not be able to boot to any standard run levels
initial run level
system initialization scripts
run level specific script directories
trap certain key sequences
define UPS power fail/restore scripts
spawn gettys on virtual consoles
initialize X in run level 5
run levels
0 halt (Do NOT set initdefault to this)
1 Single user mode
2 Multiuser, without NFS (The same as 3, if you do not have networking)
3 Full multiuser mode
4 unused
5 X11
6 reboot (Do NOT set initdefault to this)
s,S,single alternate single user mode
emergency bypass rc.sysinit, sulogin
/sbin/runlevel
/etc/rc.d/rc.sysinit
important tasks include:
activate udev & SELinux
set kernel parameters /etc/sysctl.conf
system clock
loads keymaps
swap partitions
hostname
root filesystem check and remount
activate RAID and LVM devices
enables disk quotas
check & mount other filesystems
cleans up stale locks & PID files
/etc/rc.d/rc <-- responsible for starting/stopping when runlevel changes, also initiates default runlevel as per /etc/inittab "initdefault"
system V run levels
/etc/rc.d/rcX.d <-- each runlevel has corresponding directory, symboloc links in run level directories call the init.d scripts with START (S) or STOP (K) argument
/etc/rc.d/init.d <-- System V init scripts
/etc/rc.d/rc.local
- common place for custom scripts
- run every runlevel
controlling services
control services startup
system-config-services
ntsysv
chkconfig
control services manually
service
chkconfig <-- (together with system-config-services) will start or stop an xinetd-managed service as soon as you configure it on or off
standalone service will not start or stop until the system is rebooted or you use the service command
[ ] UNIT 2 - PACKAGE MANAGEMENT
rpm -qa --queryformat "%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n" | less
rpm package manager
/var/lib/rpm <-- database is stored in here
rpm installation and removal
-i install
-U upgrade original package will be removed (except config files which will be saved ".rpmsave"), default config files from new version might have ".rpmnew"
will act as -i if package is not yet installed
-F freshen identical to upgrading, except the package will be ignored if not already installed
-e erase
updating a KERNEL RPM (do not use rpm -U or rpm -F)
- kernel modules are version specific, and an upgrade will remove all modules that your present kernel is using, leaving the system unable to dynamically load
device drivers or other modules
/etc/sysconfig/kernel <-- alter kernel addition to GRUB
rpm queries
-qa all installed packages
-qf
-ql
-qi
-qpi
-qpl
-q --requires package prerequisites
-q --provides capabilities provided by package
-q --scripts scripts run upon installation removal
-q --changelog package revision history
-q --queryformat format custom-formatted information
rpm --querytags for a list of query formats
rpm -qa --queryformat '%{name}-%{version}-%{release}: [%{provides} ]\n' | grep postfix <-- list capabilities
rpm -q --provides postfix
rpm verification
installed package file verification:
rpm -V <package name> <-- verifies the installed package against the RPM database, has the file changed since the last install?
rpm -Vp <package_file>.i386.rpm <-- verifies the installed package against the package file
rpm -Va <-- verifies all installed RPMS against the database
signature verification BEFORE package install:
rpm --import <RPM-GPG-KEY-redhat-release>
rpm -K <package_file>.i386.rpm <-- check signature of RPM
rpm -qa gpg-pubkey <-- queries all the GPG keys imported
rpm -checksig <rpm> <-- check integrity of package files
/etc/pki/rpm-gpg <-- GPG key can also be found here
YUM (yellow dog update, modified)
- replacement for UP2DATE
- based on repositories that hold RPMs and repodata file list
- can call upon several repositories for dependency resolution, fetch the RPMs, install needed packages
yum installation and removal
yum install
yum remove
yum update
yum queries
searching packages
yum search <searchterm>
yum list (all | available | extras | installed | recent | updates)
yum info <package name>
searching files
yum whatprovides <filename>
configuring additional repositories
/etc/yum.repos.d/ <-- put the new repo file here, you could make use of $releasever and $basearch variables for repository declaration
yum clean dbcache | all <-- repository information is cached, the clear command..
sample repo file (should be at /etc/yum.repos.d/server1.repo):
[GLS]
name=private repository
baseurl=http://server1.example.com/pub/gls/RPMS
enabled=1
gpgcheck=1
[centos511g]
name=private karl arao
baseurl=http://192.168.203.25/install/centos/CentOS <-- this will look for the repodata folder inside it
gpgcheck=1
gpgkey=http://192.168.203.25/install/centos/RPM-GPG-KEY-CentOS-5 <-- this will prompt you to install the gpgkey
sample repo file for DVD media installation
[root@centos5-11g ~]# cat /etc/yum.repos.d/CentOS-Media.repo
# CentOS-Media.repo
#
# This repo is used to mount the default locations for a CDROM / DVD on
# CentOS-5. You can use this repo and yum to install items directly off the
# DVD ISO that we release.
#
# To use this repo, put in your DVD and use it with the other repos too:
# yum --enablerepo=c4-media [command]
#
# or for ONLY the media repo, do this:
#
# yum --disablerepo=\* --enablerepo=c4-media [command] <-- use this command for the installation..
[c5-media]
name=CentOS-$releasever - Media
baseurl=file:///media/CentOS_5.0_Final/
gpgcheck=1
enabled=0
gpgkey=file:///media/CentOS_5.0_Final/RPM-GPG-KEY-CentOS-5
creating a private repository
- create a directory to hold your packages
- make this directory available by http/ftp
- install the "createrepo" rpm
- run the "createrepo -v /<package-directory>
- this will create a "repodata" subdirectory and the needed support files
- to support anaconda on the same server:
cp /<package-directory>/repodata/comps*.xml /tmp
createrepo -g /tmp/comps*.xml /<package-directory>
createrepo -g comps.xml /path/to/rpms <--example of a repository with a groups file. Note that the groups file should be in the same directory as the rpm packages (i.e. /path/to/rpms/comps.xml)
createrepo <-- creates the support files necessary for a yum repository, support files will be put into the "repodata" subdirectory
the addition and deletion of files within the repository requires createrepo to be run again
files:
repomd.xml <-- contains timestamps & checksum values for the other 3 files
primary.xml.gz <-- contains list of all RPMS in the repository, as well as dependency info, used by "rpm -qpl"
filelists.xml.gz <-- contains list of all files in all the RPMs, used by "yum whatprovides"
other.xml.gz <-- contains additional info, including the change logs for the RPMs
comps.xml <-- (optional) contains info about package groups, allows group installation
redhat network
up2date
redhat network server
rhn proxy server
rhn satellite server
rhn accounts
rhn entitlements
software channels
base channel
child channels
define level of service
update
management
provisioning
monitoring
rhn client
[ ] UNIT 3 - KERNEL SERVICES
the linux kernel (core part of linux OS)
kernel duties:
- system initialization
- process scheduling
- memory management
- security
- provides buffers & caches to speed up hardware access
- implements standard network protocols & filesystem formats
kernel images & variants
/boot/vmlinuz-*
architectures supported:
x86
x86_64
ia64/itanium
powerpc64
s390x
(3) three kernel versions available for x86
regular (supports SMP)
memory support limited to 4GB
memory limit per process 3GB
PAE
memory support limited to 16GB (on processors that supports PAE, almost all except some early Pentium M)
memory limit per process 4GB (virtual memory space)... 3GB (of which available to user-space code & data)
Xen (Dom0..DomU(3))
each domain limited to RAM 16GB
physical machine RAM limit 64GB
NOTE:
HUGEMEM kernel, not available on RHEL5.. must switch to x86-64, then you'll have following supported:
processors 64
memory support limited to 256GB
memory limit per process 512GB
kernel modules
/lib/modules/$(uname -r)
kernel modules utilities
/etc/modprobe.conf
lsmod
modprobe
modprobe -r
modinfo
initrd (specified in grub.conf.. must match the exact filename)
to rebuild the initrd so that module "usb_storage" will be loaded early on boot:
# mkinitrd --with=usb_storage /boot/initrd-$(uname -r).img $(uname -r)
/dev
managing /dev with udev
determine:
- filenames
- permissions
- owners and groups
- commands to execute when a new device shows up
/etc/udev/rules.d
add this line to the new file "99-usb.rules":
KERNEL=="sdc1", NAME="myusbkey", SYMLINK="usbstorage"
mknod /dev/myusbkey b 8 0 <-- not persistent
MAKEDEV
/proc
/etc/sysctl.conf
sysctl -a
sysctl -p
sysctl -w
exploring hardware devices
hal-device
hal-device-manager
lspci
lsusb
monitoring processes & resources
[ ] UNIT 4 - SYSTEM SERVICES
network time protocol
/etc/ntp.conf
system-config-date
ntpdate <-- reset clock manually
- ntp clients should use 3 time servers, allows clients to reject bogus synchronization messages if one of the servers' NTP deamons or clocks malfunction
- NTP counters the drift by manipulating the length of a second
system logging
centralized logging deamons:
SYSLOGD (system logging)
KLOGD (intercepts kernel messages & pass it to syslogd)
/etc/rc.d/init.d/syslog <-- system V script SYSLOG controls both the syslogd & klogd deamons
/etc/syslog.conf <-- configures system logging, has associated severity
/etc/sysconfig/syslog <-- sets switches used when starting syslogd & klogd from the system V initialization script
messages can be logged to:
- files
- broadcast to connected users
- written to console
- transmitted to remote logging deamons across the network
setup remote logging:
on the logging server edit the /etc/sysconfig/syslog.. SYSLOGD_OPTION="-r -m 0"
restart service
on client edit /etc/syslog.conf
add this.. user.* @<ip of log server>
restart service
logger -i -t oracle "this is a test"
check /var/log/messages on log server
log format (has four main entries):
date & time
hostname where the message came
name of application or subsystem where the message came
actual message
XOrg: the X11 server
- open source implementation of X11
- XOrg consists of one core server with dynamically loaded modules
drivers: ati, nv, mouse, keyboard, etc.
extensions: dri, glx, extmod
- font rendering
native server: xfs (a separate service)
fontconfig/xft libraries (more efficient implemented within the XOrg core server, will soon replace xfs)
www.x.org (x consortium) <-- creates reference implementation of X under an open source license
xorg.freedesktop.org <-- adds hardware drivers for a variety of video cards & input devices, along with several software extensions
wiki.x.org
CLIENT --> X --> VIDEO CARD <-- x provides a standard way in which applications, x clients, may display & write on the screen
/var/log/Xorg.0.log <-- logfile
/usr/share/fonts & $HOME/.fonts <-- to add non-default fonts, xft spawns "fc-cache" & reads the contents
"no-listen = tcp" <-- comment this parameter on xfs config file to accept network connections (otherwise is default)
- network font servers listen on TCP port 7100
XOrg server configuration
system-config-display <-- best results while in runlevel 3, to run an X client to be displayed on a remote system, no local server config is necessary
--noui
--reconfig
/etc/X11/xorg.conf
XOrg in runlevel 3
/usr/X11R6/bin/xinit <-- two methods to establish the environment
/usr/X11R6/bin/startx
environment configuration (runlevel 3):
/etc/X11/xinit/xinitrc & ~/.xinitrc
/etc/X11/xinit/Xclients & ~/.Xclients
/etc/sysconfig/desktop
XOrg in runlevel 3:
1) startx will pass control of X session to "/etc/X11/xinit/xinitrc" unless "~/.xinitrc" exists
reads additional system & user config files:
resource files:
/etc/X11/Xresources & $HOME/.Xresources
input devices:
/etc/X11/Xkbmap & $HOME/.Xkbmap
/etc/X11/Xmodmap & $HOME/.Xmodmap
xinitrc then runs all shell scripts in
/etc/X11/xinit/xinitrc.d
xinitrc then turns over control of the X session to ~/.Xclients if not existing, /etc/X11/xinit/Xclients
2) /etc/X11/xinit/Xclients reads /etc/sysconfig/desktop
if unset then it will attempt to run the ff in order:
Gnome
KDE
twm (failsafe mode - xclock,term,mozillla)
Example input on file (/etc/sysconfig/desktop):
DISPLAYMANAGER="GNOME"
DESKTOP="GNOME"
environment configuration (runlevel 5)
/etc/inittab
/etc/sysconfig/desktop
/etc/X11/xdm/Xsession
XOrg in runlevel 5
1) if /etc/inittab is runlevel 5, then /sbin/init will run /etc/X11/prefdm (invokes X server & display manager /etc/sysconfig/desktop)
when display manager is started:
/etc/X11/xdm/Xsetup_0, before display manager presents a login widget
2) once authenticated, /etc/X11/xdm/Xsession is run (similar to startx in runlevel 3)
Remote X sessions (X protocol is unencrypted)
host-based sessions: implemented through xhost
user-based sessions: implemented through Xauthority mechanism
sshd may automatically install xauth keys on remote machine
xhost +trustedhost
xhost -friendlyhost
xhost + <-- this is dangerous
$HOME/.Xauthority <-- contains users allowed to use local display
ssh -Y remote-host <-- tunnel SSH, user-based session
SSH: Secure Shell
can tunnel X11 and other TCP based network traffic
# ssh -L 8080:remote-server:80 user@ssh-server <-- tunnel TCP traffic between the SSH server & client, redirect port 8080 of the local system to port 80
of the remote server, by pointing your web browser to http://localhost:8080 you will access the webpage
on remote-server:80.. you can also do this on VNC
VNC: Virtual Network Computing
uses less bandwidth than pure remote X desktops
server can automatically be started via /etc/init.d/vncserver
vncserver
runs $HOME/.vnc/xstartup
vncviewer host:screen
unique screen numbers distinguish between multiple VNC server on the same host
SSH tunneling: vncviewer -via user@host <localhost>:1
the first client can allow multiple connections: -Shared
can also be "view-only" for demos
CRON
crond deamon
man 5 crontab
/etc/cron.allow
/etc/cron.deny <-- this only exist on my system
cron access control:
if neither cron.allow nor cron.deny exist only root is allowed to install new crontab
if only cron.deny exists, all users except thos lister on cron.deny can install crontab files
if only cron.allow exists, root and all lister users can install crontab files
if both files exists cron.deny is ignored
NOTE: denying a user through cron.allow & cron.deny does not disable their current installed crontab
system crontab files
/etc/crontab <-- master system crontab file
/etc/cron.hourly
/etc/cron.daily
/etc/cron.weekly
/etc/cron.monthly
/etc/cron.d/ <-- contains additional system crontab files
sample for oracle logfiles (will retain 7 logfiles of more than 100MB):
[root@centos5-11g logrotate.d]# pwd
/etc/logrotate.d
[root@centos5-11g logrotate.d]# cat oracle
/u01/app/oracle/diag/rdbms/ora11/ora11/alert/*xml {
daily
rotate 7
missingok
size 100M
}
run-parts <directory> <-- command that runs all scripts on a directory
daily cron jobs
tmpwatch <-- cleans old files in /tmp
logrorate <-- rotates logs /etc/logrotate.conf
logwatch <-- system log analyzer and reporter
ANACRON
- runs cron jobs that did not run when the computer is down
/etc/anacrontab
contents:
1 65 cron.daily run-parts /etc/cron.daily
7 70 cron.weekly run-parts /etc/cron.weekly
30 75 cron.monthly run-parts /etc/cron.monthly
field 1: if the job has not been run in this many days..
field 2: wait this number of minutes after reboot and then run it
field 3: job identifier
field 4: job to run
how it works:
when /etc/crontab run cron jobs.. 0anacron is run first, sets a timestamp in /var/spool/anacron/* that notes the time it was last run
when a server was down for X number of days then starts up again, anacron will read the anacrontab.. then compare the timestamp to /var/spool/anacron/*
if verified..then it will run the job for the next X minutes indicated in /etc/anacrontab
CUPS (uses internet printing protocol)
- allows remote browsing of printer queues
- based on HTTP/1.1
- uses PPD files to describe printers
- only members of SYS group can access web based
/etc/cups/cupsd.conf
/etc/cups/printers.conf <-- automatically generated by printer tools
system-config-printer
web based: localhost:631
cli: lpadmin
documentation: /usr/share/doc/<cups>
[ ] UNIT 5 - USER ADMINISTRATION
adding a new user account
useradd
passwd
newusers <-- add in batch, drawback is user home directories are not populated with files from /etc/skel
chpasswd
user private groups
modifying/deleting user accounts
usermod
group administration
groupadd
groupmod -n staff employee <-- will rename the group, all affected users will use the new name as well as the files
groupdel
password aging policies
- by default password never expires.. you can edit the /etc/login.defs to adjust defaults
chage
lchage
[root@centos5-11g ~]# date
Fri Aug 15 09:21:36 PHT 2008
[root@centos5-11g ~]# chage -M 3 -m 2 -W 2 -I 2 -E 2008-08-21 kathy
Last password change : Aug 15, 2008
Password expires : Aug 18, 2008
Password inactive : Aug 20, 2008
Account expires : Aug 21, 2008
Minimum number of days between password change : 2
Maximum number of days between password change : 3
Number of days of warning before password expires : 2
network users
info about users may be stored & managed on a remote server
two type of info must always be provided for each user account
account info <-- controlled by NSS (NAME SERVICE SWITCH)
authentication <-- controlled by PAM (PLUGGABLE AUTHENTICATION MODULES), encrypts passwords on login & compare it to password provided by NSS
authentication configuration
system-config-authentication
authconfig-tui (text based)
authconfig-gtk (GUI)
SUPPORTED ACCOUNT INFORMATION SERVICES:
(local files)
NIS <-- gets info from database maps stored on NIS server
LDAP <-- entries on LDAP directory server
Hesiod <-- stores info as special resources in a DNS name server, its use is relatively uncommon
Winbind <-- uses winbindd to automatically map accounts stored in Windows domain controller to Linux by storing SID to UID/GID mappings in a
database & automatically generating any other NSS info that is required
SUPPORTED AUTHENTIATION MECHANISMS:
(NSS)
kerberos <-- authenticates by requesting a ticket (from the server), if user's password decrypts the ticket.. he is authenticated
ldap <-- username, password on LDAP directory server
smartcards <-- use smartcards, also to lock the system
smb <-- uses Windows domain controller
Windind <-- uses Windows domain controller
Example: NIS CONFIGURATION (not encrypted)
RPMS:
ypserv (server)
ypbind (client)
yp-tools
portmap
system-config-authentication
ypserv (running on server)
rpc.yppasswdd <-- allows NIS clients to update the passwords on NIS
ypbind (running on clients to share info with server)
portmap
what does this actually do? (five text files changed)
/etc/sysconfig/network <-- specify NIS domain
/etc/yp.conf <-- specify which server to use for NIS domain
/etc/nsswitch.conf <-- specify NIS as source of info for password, shadow, group
/etc/sysconfig/authconfig <-- specify "USENIS=yes"
/etc/pam.d/system-auth-ac <-- password changes for NIS accounts will be sent to rpc.yppasswdd (running on master)
NIS is relatively insecure.. can be used with KERBEROS
alternative is LDAP protected with TLS (SSL)..
############################ NIS AUTOMOUNTER CONFIGURATION STEP BY STEP - START ############################
RPMS:
ypserv (server)
ypbind (client)
yp-tools
portmap
NFS SERVER
1) configure NFS server, edit /etc/exports
/rhome/station12 172.24.0.12(rw,sync)
2) # exportfs -a
3) Make sure the required NFS, NFSLOCK, AND PORTMAP are there & started
NFS CLIENT
1) Make sure the required NETFS, NFSLOCK, AND PORTMAP daemons are there & started
2) test mounting the remote home directory
mount -t nfs 172.24.254.254:/rhome/station12 /rhome
3) edit the auto.master file that will refer to auto.home
#/etc/auto.master
/rhome /etc/auto.home --timeout=60
4) edit auto.home
#/etc/auto.home
nisuser12 172.24.254.254:/rhome/station12/& -nosuid
5) start autofs
# service autofs on
NIS SERVER
1) edit /etc/sysconfig/network
[root@server1 ~]# cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=server1.example.com
GATEWAY=172.24.254.254
NISDOMAIN=RHCE
2) edit /etc/yp.conf
# /etc/yp.conf - ypbind configuration file
ypserver 127.0.0.1
3) restart necessary deamons
portmap The foundation RPC daemon upon which NIS runs.
yppasswdd Lets users change their passwords on the NIS server from NIS clients
ypserv Main NIS server daemon
4) make sure deamons are running
# rpcinfo -p localhost
5) initialize NIS domain
# /usr/lib/yp/ypinit -m
6) restart ypbind and ypxfrd
ypbind Main NIS client daemon
ypxfrd Used to speed up the transfer of very large NIS maps
7) make sure deamons are running
# rpcinfo -p localhost
8) add new users
[root@server1 yp]# useradd -d /rhome/station12/nisuser12 nisuser12
[root@server1 yp]# usermod -d /rhome/nisuser12 nisuser12
[root@server1 ~]# ypcat passwd
nisuser12:$1$1C1UkauJ$ASV7yuHKhMsspBx6SVhpO/:500:500::/rhome/nisuser12:/bin/bash
[root@server1 ~]# getent passwd nisuser12
nisuser12:x:500:500::/rhome/nisuser12:/bin/bash
[root@server1 ~]# ypmatch nisuser12 passwd
nisuser12:$1$1C1UkauJ$ASV7yuHKhMsspBx6SVhpO/:500:500::/rhome/nisuser12:/bin/bash
NIS CLIENT
1) system-config-authentication
- will create yp.conf
- define /etc/sysconfig/network NISDOMAIN
- updates /etc/nsswitch.conf, place NIS
2) start necessary deamons
portmap
ypbind
3) make sure deamons are running
# rpcinfo -p localhost
4) configure /etc/hosts, include both servers
5) test NIS access to the NIS server
[root@station12 ~]# ypcat passwd
nisuser12:$1$1C1UkauJ$ASV7yuHKhMsspBx6SVhpO/:500:500::/rhome/nisuser12:/bin/bash
[root@station12 ~]# getent passwd nisuser12
nisuser12:x:500:500::/rhome/nisuser12:/bin/bash
[root@station12 ~]# ypmatch nisuser12 passwd
nisuser12:$1$1C1UkauJ$ASV7yuHKhMsspBx6SVhpO/:500:500::/rhome/nisuser12:/bin/bash
6) edit /etc/nsswitch.conf..arrange the nis value
7) restart sshd
8) test login
# ssh -l nisuser 172.24.0.12
############################ NIS AUTOMOUNTER CONFIGURATION STEP BY STEP - END ############################
Example: LDAP CONFIGURATION (recommend to use TLS (SSL))
RPMS:
nss_ldap
openldap
what does this actually do? (five text files changed)
/etc/ldap.conf <-- specify location of LDAP, & TLS used
/etc/openldap/ldap.conf <-- specify location of LDAP
/etc/nsswitch.conf <-- source of info for password, shadow, group
/etc/sysconfig/authconfig <-- specify "USELDAPAUTH=yes", "USELDAP=yes"
/etc/pam.d/system-auth-ac <-- PAM will use directory to authenticate
ldapsearch -x -Z <-- if the server is reachable, will dump user info in LDIF format
openssl s_client -connect 192.168.203.26:636 <-- TLS can be tested by openssl s_client
switching accounts
su -
su - root -c free -m <-- run a command
sudo
/etc/sudoers
visudo <-- to edit the /etc/sudoers
sample:
User_Alias LIMITEDTRUST=student1,student2
Cmnd_Alias MINIMUM=/etc/rc.d/init.d/httpd
LIMITEDTRUST ALL-MINIMUM <-- student1,student2 can use sudo with commands listed in MINIMUM
SUID & SGID EXECUTABLES
for security reasons, SUID & SGID are not honored when set on non-compiled programs..such as shell scripts
SGID DIRECTORIES
STICKY BIT
/tmp has sticky bit.. users can only delete their respective files..
FOR COLLABORATION (SECURED):
as root user, make a group and directory.. then grant
chmod 3770 <directory>
drwxrws--T 2 oracle collaboration 4096 Aug 16 22:45 collaboration <-- this will be viewable by collaboration members, and could only delete their respective
files, except root & oracle (owner of the folder).. also umask should be 022
so that files created on collaboration folders will just be read only on other users
DEFAULT FILE PERMISSIONS
umask for root & any system account (uid < 100) 022
for regular user (uid > 99), provided the primary group is the user private group, else 022 002
ACCESS CONTROL LISTS (ACLs)
- if you want to allow additional access to other groups or particular user on a particular directory of file.. this is very useful
- if you set "rx" on /depts/tech and set default "rw" on /depts/tech on a user.. he'll not be able to create new files, but can edit existing files on that directory
drwxrws---+ 2 root hr 4096 Aug 16 23:51 tech <-- it will show + sign if contains ACL
-rw-rw----+ 1 manager hr 0 Aug 16 23:51 test
NOTE: filesystems created during installation are automatically mounted with ACL option, after installation must specifically mounted with ACL option
mount -o remount,acl /home <-- to enable ACL on a filesystem
getfacl /home/schedule.txt <-- view ACL
setfacl -m u:visitor:rx /home/schedule.txt <-- grant visitor rx access to file
setfacl -x u:visiror:x /home/schedule.txt <-- remove execute
setfacl -m d:u:visitor:rw /home/share/project <-- set default ACL on a directory
setfacl -m u:visitor:--- /home/share/project <-- to not have read/write/execute access to a file
SELINUX
NSA (national security agency).. first implementation of MAC was a system called Mach..
later.. they implemented it on Linux kernel as patches became knows as SELinux
MAC mandatory access control
Type Enforcement (assign values to files, directories, resources, users, processes)
DAC discretionary access control
policy <-- rule set, defines which resources a restricted process is allowed to access, any action that is explicitly allowed, by default denied
restricted/unconfined <-- processes category
security context <-- all files & processes have this
elements of context:
user
role
type
sensitivity
category
ls -Z <filename> <-- to view security context of a file
ls -Zd <directory>
ps -eZ <-- view entire process stack
ps Zax
RHEL4 protecting 13 processes
RHEL5 protecting 88 processes
SELinux targeted policy
most local processes are unconfined
chcon -t tmp_t /etc/hosts <-- security context can be change
restorecon /etc/hosts <-- restore default
strict policy
targeted policy
SELINUX= can take one of these three values:
enforcing - SELinux security policy is enforced.
permissive - SELinux prints warnings instead of enforcing.
disabled - SELinux is fully disabled.
SELINUXTYPE= type of policy in use. Possible values are:
targeted - Only targeted network daemons are protected. <-- DEFAULT
strict - Full SELinux protection.
SELinux management
getenforce
system-config-securitylevel <-- disabling requires reboot
system-config-selinux
/var/log/audit/audit.log <-- default logfile for SELinux
setroubleshootd
[ ] UNIT 6 - FILESYSTEM MANAGEMENT
overview: adding new filesystems to filesystem tree
identify device
partition device
make filesystem
label filesystem
create entry in /etc/fstab
mount new filesystem
device recognition
MBR contains:
- executable code to load operating system
- contains structure describing the hard drive partitions
partition id or type
starting cylinder for partition
number of cylinders for partition
four primary partitions, one could be extended (will have a separate partition descriptors on the first sector of the partition)
some linux partition types:
5 or f extended
82 linux swap
83 linux
8e linux LVM
fd linux RAID auto
disk partitioning
total max number of partitions supported by the kernel:
IDE devices 63
SCSI devices 15
/usr/share/doc/kernel-doc-2.6.18/Documentation/devices.txt <-- list of devices
why partition devices?
containment
performance
quota <-- implemented on filesystem level
recovery
managing partitions
fdisk
sfdisk <-- more accurate
GNU parted
partprobe <-- at system bootup, kernel makes its own in-memory copy of the partition tables from disk.. FDISK edits on-disk copy of partition tables
to update the in-memory copies..run this
making filesystems
mkfs <-- front end or wrapper to various filesystem creation programs, it -t is ext3.. then it will look for mkfs.ext3.. and so on..
mkfs.ext2, mkfs.ext3, mkfs.msdos
mke2fs <-- when you do "man mkfs.ext3" this is called
-L to add label
mkfs.ext3 -L opt -b 2048 -i 4096 <device> <-- creates ext3 filesystem on a new partition,
use 2KB sized blocks
& one inode per every 4KB of disk space (should not be lower than block size)
& label of "opt"
filesystem labels
e2label <device> <label>
mount <options> LABEL=<fs label>
blkid <-- can be used to see labels and filesystem type of all devices
sample:
[root@centos5-11g ~]# blkid /dev/sda3
/dev/sda3: LABEL="/" UUID="d86726ee-0f6c-455f-b6ff-af20fef3c941" SEC_TYPE="ext2" TYPE="ext3"
[root@centos5-11g ~]# blkid /dev/mapper/vgsystem-lvu01
/dev/mapper/vgsystem-lvu01: UUID="18602cdd-8219-4377-bac3-7617ec090d8d" SEC_TYPE="ext2" TYPE="ext3"
e2label /dev/mapper/vgsystem-lvu01 u01
e2label /dev/mapper/vgsystem-lvu01
mount LABEL=u01 /u01
tune2fs (adjust filesystem parameters) <-- can also be used to add journal to ext2 filesystem first created with mke2fs
reserved blocks
default mount options
fsck frequency
tune2fs -m 10 /dev/sda1 <-- modify percentage of reserved blocks
tune2fs -o acl,user_xattr /dev/sda1 <-- modify mount options
tune2fs -i0 -c0 /dev/sda1 <-- modify filesystem checks
dumpe2fs <-- view current settings of a filesystem
MOUNT POINTS AND /ETC/FSTAB
used to create the filesystem hierarchy on boot up
contains six fields per line
floppy & cd-rom have noauto as an option <-- Can only be mounted explicitly (i.e., the -a option will not cause the file system to be mounted)
fields in fstab:
device
mount point
fs type
mount options
dump freq
NOTE by Charlie:
Determines whether the dump command (used for backup) needs to
backup the filesystem. 1 for yes, zero (0) for no. The dump command is
for ext2 file systems only. Do not use it for ext3 file systems � Linus
Torvald's himself discourages the use of the dump command on ext3
filesystem due to certain technical issues.
1 daily
2 every other day
fsck order <-- NFS and cd-rom should be ignored
0 ignore
1 first (must for /)
2-9 second
mounting filesystems
mount
-t
-o
default option is: rw,suid,dev,exec,async
reads /etc/mtab if invoked w/o arguments.. <-- display currently mounted filesystems
mount options for EXT3:
rw
suid <-- suid or sgid file modes are honored
dev <-- devices files permitted
exec <-- permit execution of binaries
async <-- file changes managed asynchronously
acl <-- POSIX ACLs are honored
uid=henry, gid=henry <-- all files mounted are owned by
loop <-- using a loopback device
owner <-- similar to user option, but in this case the mount request and the device, or special file, must be owned by the same EUID
unmounting filesystems
umount -a <-- references /etc/mtab
fuser -v <mount point> <-- to show user accessing the mount point
ps -aux | grep \/u01\/app <-- another way
fuser -km <mount point> <-- send kill signal to the process
kill <process> <-- dangerous
mount -o remount,ro /u01 <-- remounts to read only
MOUNT BY EXAMPLE
mount -t ext3 -o noexec /dev/hda7 /home <-- for security, denying permission to execute files
mount -t iso9660 -o loop /iso/documents.iso /mnt/cdimage <-- mount cd drive
mount -t vfat -o uid=515,gid=520 /dev/hdc2 /mnt/projx <-- mount vfat, owner is 515
mount -t ext3 -o noatime /dev/hda2 /data <-- Do not update inode access times on this file system (e.g, for faster access on the news spool to speed up news servers)
mount --bind /u01 /u02 <-- Since Linux 2.4.0 it is possible to remount part of the file hierarchy somewhere else
handling SWAP partitions and files (supplement to system RAM)
step by step:
1) create a swap partition or file
2) make file system type to swap (for patition only)
3) writing a special signatire using.. mkswap
4) adding entry to /etc/fstab
4) activating swap.. swapon -a
setting up swap file
dd if=/dev/zero of=swapfile bs=1024 count=X <-- X is file size in kilobytes blocks, bs is bytes, could also be bs in MB
then.. mkswap
then.. add to /etc/fstab
MOUNTING NFS FILESYSTEMS
make remote filesystem as though it were a local filesystem
/etc/fstab for persistent network mounts
<server>:</path/of/dir> </local/mnt/point> nfs <options> 0 0
/etc/init.d/netfs <-- NFS shares are mounted at boot time
exports can be mounted manually
1) check NFS service on host server
2) edit /etc/exports file on host server.. /var/ftp/pub 192.168.203.25(rw)
3) service nfs reload
4) mount -t nfs <host server>:/var/ftp/pub /mnt/server1
some nfs mount options:
rsize=8192 and wsize 8192 will speed up NFS throughput
soft return with an error on a failed I/O attempt
hard will block a process that tries to access an unreachable share
intr interrupt or kill if server is unreachable
nolock disable file locking (lockd), & allow inter operation with older NFS servers
AUTOMOUNTER (autofs)
/etc/auto.master <-- provides directory /misc
/etc/auto.misc <-- configuration file listing the filesystem to be mounted under the directory
"autofs" deamon
- filesystems automatically unmounted after a specified interval of inactivity
- enable the special map "-hosts" to browse all NFS exports on the network
- supports wildcard directory names
sample:
add this on /etc/auto.misc
server1 -ro,intr,hard 192.168.203.26:/var/ftp/pub
then
service autofs reload
then
cd /misc/server1
then
[oracle@centos5-11g server1]$ ls -l
total 12
-rw-r--r-- 1 root root 9 Aug 17 2008 test1
-rw-r--r-- 1 nfsnobody nfsnobody 9 Aug 17 2008 test2
-rw-r--r-- 1 root root 13 Aug 17 2008 test3
Wildcard Key
A map key of * denotes a wild-card entry. This entry is consulted if the specified key does not exist in the map. A typical wild-card
entry looks like this:
* server:i/export/home/&
The special character �&� will be replaced by the provided key. So, in the example above, a lookup for the key �foo� would yield a
mount of server:/export/home/foo.
DIRECT MAPS (absolute path names)
- does not obscure local directory structure
- referenced in /etc/auto.master
on /etc/auto.master
/- /etc/auto.direct
on /etc/auto.direct
/foo server1:/export/foo
/usr/local/ server1:/usr/local
GNOME-MOUNT
gnome-mount
- automatically mounts removable devices
- integrated with HAL (hardware abstraction layer)
- replaces fstab-sync (RHEL4)
[ ] UNIT 7 - ADVANCED FILESYSTEM MANAGEMENT
configure QUOTA system
- implemented within the kernel
- enabled per filesystem basis
- individual policies for groups or users
limit number of blocks or inodes
implement soft & hard limit
step by step implementation:
1) LABEL=/home /home ext3 defaults,usrquota,grpquota 1 2 <-- edit fstab
2) mount -o remount -v /home <-- remount
3) # quotacheck -cug /home <-- create quota files
4) # quotaon -vug /home <-- activate quota
5) # edquota <username> <-- edit user's quota
Filesystem specifies in which quota-enabled filesystem the quota would be
set. The blocks column specifies the number of blocks, in kilobytes, that lisa
currently owns. The soft field specifies the block soft limit. The hard field
specifies the block hard limit. The inodes column specifies the number of inodes
that are owned by lisa. The soft field specifies the inode soft limit. The hard field
specifies the inode hard limit.
The settings shown will give a soft block limit of 10MB and a hard block limit of
12MB to lisa. Soft limits may be exceeded for a certain grace period. Hard limits
may not be exceeded.
6) # edquota -t <-- To modify the grace period for users,
As we can observe, the default grace period for users is 7 days. The countdown for
the grace period is initiated as soon as the soft limit is breached. After the grace
period, the user will be forced to free space so that his utilization falls below the
soft limit.
7) # edquota -p lisa tony rose <-- To make lisa's quota settings be the prototype for other users
GROUP QUOTAS
8) # edquota -g training <-- To assign group quotas
9) # edquota -tg <-- To modify the grace period for group quotas
10) # edquota -g -p training finance accounting <-- To make the training group's quota settings be the prototype for other groups
Summarizing Quotas for a Filesystem
11) # repquota -aug | less <--
We are presented with two (2) tables. The table on top is the summary for
user quotas. It specifies on which filesystem it is for. It also specifies the grace
period for both block and inode limits.
The first column is for the user name.
The next two (2) columns could either a plus (+) or a minus (-). A + on the
left indicates that the block soft limit has been breached. A + on the right
indicates that the inode block limit has been breached.
The next four (4) columns are for the disk utilization. �used� specifies the
number of blocks that is currently used. �soft� specifies that the soft limit. �hard�
specifies the hard limit. �grace� specifies the remaining time from the grace
period.
The table on the lower part of the screen is for the group quota summary.
Keeping Quota Information Accurate (put script in /etc/rc.local)
12)
#!/bin/bash
# File name: /etc/cron.daily/quotacheck.sh or /home/oracle/bin/quotacheck.sh
#
# This script performs a quotacheck
/sbin/quotaoff -vug -a &> /home/oracle/offerror.txt; cat /home/oracle/offerror.txt | mail -s "quotaoff done" root@localhost
/sbin/quotacheck -vugm -a &> /home/oracle/checkerror.txt; cat /home/oracle/checkerror.txt | mail -s "quotacheck done" root@localhost
/sbin/quotaon -vug -a &> /home/oracle/onerror.txt; cat /home/oracle/onerror.txt | mail -s "quotaon done" root@localhost
It is important to quotacheck after the filesystem has been unmounted
uncleanly, like in the unlikely event of a system crash. Also, quotacheck should be
run every time the system boots.
reporting:
user inspection:
quota
quota overviews:
repquota
miscellaneous utilities:
warnquota <-- mail to users that reached their soft limit
FSCK - file system check, MUST BE UNMOUNTED
> fsck.ext3 -cv /dev/vgsystem/lvtmp <--- check ONLY for bad blocks and verbose then press "Y", if you want to auto repair then add -p switch
-p autorepair
-c check bad blocks
> fsck.vfat -av /mnt/fat32 <--- check for bad blocks and verbose on FAT filesystem
SOFTWARE RAID (mdadm)
- multiple disks grouped together into "arrays" to provide better performance, redundancy, both
- raid levels supported:
raid 0 <-- stripe
raid 1 <-- mirror, only raid type that you can place /BOOT partition
raid 5 <-- 3 or more disks, with 0 or more hot spares.. not good for databases
raid 6 <-- striping with dual (duplicated) distributed parity.. similar to raid 5 except that it improves fault tolerance by allowing
the failure of any two drives in the array
protects data loss during recovery of a single disk failure, provides the administrator the additional time to rebuild
- spare disks add redundancy
- all the disks should be identical, size & speed
- partition type Linux RAID
/proc/mdstat
#create raid partitions
/dev/sdb/
> fdisk sdb1 (raid partition)
/dev/sdc/
> fdisk sdc1 (raid partition)
/dev/sdd/
> fdisk sdd1 (raid partition)
#create raid array
> mdadm --create /dev/md0 -a yes -l 1 -n 2 /dev/sdb1 /dev/sdc1 <--- create raid1 array, "-a yes" intructs udev to create the md device file if it doesnt already exist
> mdadm --misc --detail /dev/md0 <--- to view the detail of your raid
> mkfs.ext3 -v /dev/md0 <--- then format it
> mkdir -p /mnt/md0 <--- make mountpoint
> edit fstab and add /mnt/md0
also..create /dev/mn0 with 3 disks and 2 spares
> mdadm --create /dev/md0 -l 5 -n 3 /dev/sdd1 /dev/sde1 /dev/sdf1 -x 2 /dev/sdg1 /dev/sdh1
other options:
--chunk=64
mke2fs -j -b 4096 -E stride=16 /dev/md0 <-- make ext3, "-E stride" can improve performance, it's software raid device's chunk-size in filesystem blocks
for example, with an ext3 filesystem that will have a 4kb block size on a raid device with a chunk size
of 64kb, the stride should be set to 16.. so determine what chunk size you want, then divide by block size..
#to add a hot swap
> mdadm --manage /dev/md0 -a /dev/sdd1
> mdadm --misc --detail /dev/md0
#to re-add a device that was recently removed from an array
> mdadm --manage /dev/md0 --re-add /dev/sdd1
#to fail an array
> mdadm --manage /dev/md0 -f /dev/sdb1
> mdadm --misc --detail /dev/md0
#to get an overview of all the raid array
> cat /proc/mdstat
#then the hot swap kicks in, then the faulty raid is unusable (must unregister it in the raid table)
> to remove the faulty raid
> mdadm --manage /dev/md0 -r /dev/sdb1
#to dismember the /dev/md0
> unmount
> erase in fstab
> mdadm --manage --stop /dev/md0
> mdadm --manage /dev/md0 -r /dev/sdb1 /dev/sdb1 /dev/sdb1 <-- could be in RHEL4
> mdadm --misc --zero-superblock /dev/sdd1 <-- erase the MD superblock from a device.. do this on all devices (RHEL5)
because if you dont do this, md1 raid will still show w/o valid partition
LVM, logical volume management
- physical devices can be added & removed with relative ease
- partition type Linux LVM
logical volumes
lvcreate
volume groups
vgcreate
physical volumes
pvcreate
linux partitions
#create physical volumes
> pvcreate /dev/hda3
#assign physical volumes to volume group, you can also extend existing volume group.. vgextend
> vgcreate vgsystem /dev/hda3
#create logical volume
> lvcreate -l 83 -n u01 vgsystem
> lvcreate -L 500M -n u01 vgsystem
#"STRIPE like RAID0" logical volumes accross physical volumes, ideal if PVs are contained on separate disks
> lvcreate -i 2 -L 1G -n u01 vgsystem <-- stipes to (2) PVs, with default stripe size
NOTE:
a striped logical volume may be extended later, but only with extents from the original PVs
also, as an alternative.. you can choose which physical volume you want LV to be assigned.. see manpage
#display the logical volumes and allocated extents
> lvdisplay -vm <logical_volume> <-- to show what are the used physical volumes
> ext2online -C d /dev/vgsystem02/lvu01
#GROW in "extents" & "size"
> lvextend -l +83 /dev/vgsystem02/lvu01 <-- (grow logical volume) lvextend is extend, lvreduce to reduce
> lvextend -L +500M /dev/vgsystem/u01 <-- binary is in /usr
> umount <filesystem>
> resize2fs -p /dev/vgsystem/u01 <-- (grow filesystem), binary is in /sbin
#SHRINK LVM
> 760 (used space) * 1.1
> umount /u01 <-- must be unmounted
> e2fsck -f /dev/vgsystem02/lvu01 <-- Force checking even if the file system seems clean
> resize2fs -p /dev/vgsystem02/lvu01 840M <-- (shrink filesystem)
> 760 (used space) * 1.2
> lvreduce -L 900M /dev/vgsystem02/lvu01 <-- (shrink logical volume)
> dumpe2fs /dev/vgsystem02/lvu01 <-- to view the info about the LVM or partition
#
> e2fsadm <-- counterpart of resize2fs and lvresize in RedHat3
#to move the logical data to another PV
> vgextend
> pvmove -v /dev/sdb1 /dev/sdd1 <-- move the data from source to destination
> vgreduce
NOTE:
- can indicate extents to move
- a certain LV
- can continue when canceled
#to remove the PV in the VG
> vgreduce -v vgsystem02 /dev/sdb1
#to remove VG
> inactivate VG first
> vgremove
#LVM on top of RAID1
> create two raid partition
> hot swap
> pvcreate /dev/md0
> vgextend and add the md0
NOTE: (in creating 2 volume groups)
- one VG for internal
- one VG for external
LVM SNAPSHOTS
- special LV that are exact copy of an existing LV at the time the snapshot is created
- perfect for backups & other operations where a temporary copy of an existing dataset is needed
- only consumes space where they are different from the original LV
* snapshots are allocated space at creation but do not use it until changes are made to the original LV or the snapshot
* when data is changed on the original LV the older data is copied to the snapshot
* snapshots contain only data that has changed on the original LV or the snapshot since the snapshot was created
common uses:
backup of live data
- for database put it in quiesce mode first..
application testing
hosting of virtualized machines
#create snapshot of existing LV
lvcreate -l 64 -s -n datasnap /dev/vgsystem/lvu01 <-- in extents
lvcreate -L 512M -s -n datasnap /dev/vgsystem/lvu01 <-- in MB, the extents will be pulled from the volume group where the LV resides
--- Logical volume ---
LV Name /dev/vgraid/vgraidopt
VG Name vgraid
LV UUID 0KDodV-JlvI-95E6-bvjb-CXBi-rM6u-iI1n2j
LV Write Access read/write
LV snapshot status source of
/dev/vgraid/raidoptsnap [active]
LV Status available
# open 1
LV Size 1000.00 MB
Current LE 250
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:4
--- Logical volume ---
LV Name /dev/vgraid/raidoptsnap
VG Name vgraid
LV UUID FwW2n9-MGML-LZ6h-TZH1-WFbK-BYMc-rYQ8fA
LV Write Access read/write
LV snapshot status active destination for /dev/vgraid/vgraidopt
LV Status available
# open 0
LV Size 1000.00 MB
Current LE 250
COW-table size 1000.00 MB
COW-table LE 250
Allocated to snapshot 0.00%
Snapshot chunk size 8.00 KB
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:5
#mount snapshot
mkdir -p /mnt/datasnap
mount -o ro /dev/vgsystem/datasnap /mnt/datasnap
#remove snapshot
umount /mnt/datasnap
lvremove /dev/vgsystem/datasnap
#check used space.. see "Allocated to snapshot"
lvdisplay /dev/vgsystem/datasnap
#GROW snapshots
lvextend -L +500M /dev/vgsystem/datasnap <-- can be expanded as other LVs
TAR
tar will extract all of the extended attributes that were archived.. to not extract use "--no" switches
use "rmt" to write to a remote tape device
--preserve
like --preserve-permissions --same-order
--acls this option causes tar to store each file�s ACLs in the archive.
--selinux
this option causes tar to store each file�s SELinux security context information in the archive.
--xattrs
this option causes tar to store each file�s extended attributes in the archive. This option also
enables --acls and--selinux if they haven�t been set already, due to the fact that the data for
those are stored in special xattrs.
--no-acls
This option causes tar not to store each file�s ACLs in the archive and not to extract any ACL
information in an archive.
--no-selinux
this option causes tar not to store each file�s SELinux security context information in the archive
and not to extract any SELinux information in an archive.
--no-xattrs
this option causes tar not to store each file�s extended attributes in the archive and not to
extract any extended attributes in an archive. This option also enables --no-acls and --no-selinux
if they haven�t been set already.
Archiving tools: DUMP, RESTORE
DUMP
- backup & restore ext2/3 filesystems (does not work with other filesystems)
- should only be used on unmounted or read-only
- full, incremental backups
#do a level 0 backup
dump -0u -f /dev/nst0 /home
dump -0u -f /dev/nst0 /dev/hda2
NOTE:
"u" option will update the /etc/dumpdates, which will record dump info for future use by dump..
after level 0 backup, dump will perform an incremental backup everyday on active filesystems listed in /etc/fstab
#do an incremental update
dump -4u -f /dev/nst0 /home
NOTE:
will perform an incremental update of all files that have changed since the last backup of level 4 or lower..
as recorded in /etc/dumpdates
#perform remote backup to tape
dump -0uf joe@<server>:/dev/nst0 /home
NOTE:
perform remote backup using rmt, ssh can be used as a transport layer when $RSH is set to ssh
In the event of a catastrophic disk event, the time required to restore all the necessary backup tapes or files to
disk can be kept to a minimum by staggering the incremental dumps. An efficient method of staggering incremental
dumps to minimize the number of tapes follows:
� Always start with a level 0 backup, for example:
/sbin/dump -0u -f /dev/st0 /usr/src
This should be done at set intervals, say once a month or once every two months, and on a set of fresh tapes
that is saved forever.
� After a level 0, dumps of active file systems are taken on a daily basis, using a modified Tower of Hanoi
algorithm, with this sequence of dump levels:
3 2 5 4 7 6 9 8 9 9 ...
For the daily dumps, it should be possible to use a fixed number of tapes for each day, used on a weekly
basis. Each week, a level 1 dump is taken, and the daily Hanoi sequence repeats beginning with 3. For weekly
dumps, another fixed set of tapes per dumped file system is used, also on a cyclical basis.
After several months or so, the daily and weekly tapes should get rotated out of the dump cycle and fresh tapes
brought in.
(The 4.3BSD option syntax is implemented for backward compatibility but is not documented here.)
RESTORE
#restore backup
restore -rf /dev/st0
-r Restore (rebuild) a file system. The target file system should be made pristine with mke2fs(8), mounted, and
the user cd�d into the pristine file system before starting the restoration of the initial level 0 backup.
If the level 0 restores successfully, the -r flag may be used to restore any necessary incremental backups
on top of the level 0. The -r flag precludes an interactive file extraction and can be detrimental to one�s
health (not to mention the disk) if not used carefully. An example:
mke2fs /dev/sda1
mount /dev/sda1 /mnt
cd /mnt
restore rf /dev/st0
Note that restore leaves a file restoresymtable in the root directory to pass information between incremen-
tal restore passes. This file should be removed when the last incremental has been restored.
RSYNC
#rsync on another server
rsync --verbose --progress --stats --compress --rsh=/usr/bin/ssh --recursive --times --perms --links --delete *txt oracle@192.168.203.11:/u01/app/oracle/rsync
OR
rsync -e ssh *txt oracle@192.168.203.11:/u01/app/oracle/rsync/
[ ] UNIT 8 - NETWORK CONFIGURATION
network interfaces
ifconfig -a <-- will show all interfaces, active & inactive
ip link
driver selection
/etc/modprobe.conf <-- RHEL compiles network cards as kernel modules, module is loaded based on alias..
if there is more than one card utilizing one module.. then the mapping will be based on HW address
speed & duplex settings (configured to autogenerate, by DEFAULT)
ethtool <interface> <-- Display or change ethernet card settings, if you alter settings it's best when it's not in use
also turn of autogeneration before forcing manual setting
ETHTOOL_OPTS <-- put this in ifcfg-ethX, to be persistent
"options" OR "install" in /etc/modprobe.conf <-- for older interface modules
#to manually force 100Mbps full duplex operation on eth1
ifdown eth1
ethtool -s eth1 autoneg off speed 100 duplex full
ifup eth1
ETHTOOL_OPTS="autoneg off speed 100 duplex full" <-- to make persistent, add it in ifcfg-eth1
ipv4 addresses
ifconfig
ip addr
DHCP - dynamic ipv4 configuration
/etc/sysconfig/network-scripts/ifcfg-ethX
BOOTPROTO=dhcp
zeroconf <-- if there is no DHCP server configured, then an address of 169.254.0.0/16 network is automatically assigned
these address are non-routable
NOZEROCONF=yes
dhclient deamon <-- will negotiate a lease from a DHCP server
ppd deamon
STATIC ipv4 configuration
/etc/sysconfig/network-scripts/ifcfg-ethX
BOOTPROTO=none
IPADDR=<address>
NETMASK=<netmask>
ifup
ifdown
DEVICE ALIASES
- useful for virtual hosting, hosting multiple web or ftp sites on a single server.. separate ip address are generally required for each
website that supports SSL or when defining multiple FTP sites
- bind multiple addresses to a single NIC, logical 3 network address
eth1:1
eth1:2
eth1:3
- create a separate interface config file for each device alias, must use static networking
ROUTING TABLE
#to view table
route
netstat -r
ip route
[root@centos5-11g ~]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.203.0 * 255.255.255.0 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth0
default 192.168.203.2 0.0.0.0 UG 0 0 0 eth0
[root@centos5-11g ~]# netstat -r
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.203.0 * 255.255.255.0 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth0
default 192.168.203.2 0.0.0.0 UG 0 0 0 eth0
[root@centos5-11g ~]# ip route
192.168.203.0/24 dev eth0 proto kernel scope link src 192.168.203.25 <-- "LOCAL"..packet would be sent physically to the destination address, out the device eth0
169.254.0.0/16 dev eth0 scope link
default via 192.168.203.2 dev eth0 <-- "REMOTE"..packet would be sent physically to the router at 192.168.203.2, out the device eth0
DEFAULT GATEWAY (router)
- specifies where ip packets should be sent where there is no "more specific match" found in the routing table
also generally used when there is only "one way out" of the local network
- if in DHCP, DHCP will server the address of the default gateway..
the dhclient will get the value & set the value in the routing table
/etc/sysconfig/network-scripts/ifcfg-ehtX <-- set per interface (will override global if set)
/etc/sysconfig/network <-- set globally
CONFIGURING ROUTES
- control traffic flow when there is more than one router, or more than one interface each attached to different routers, we may want
to selectively control which traffic goes through which router by configuring additional routes
- static routes defined per interface
/etc/sysconfig/network-scripts/route-ethX
ip route add...
#sample command
ip route add 192.168.22.0/24 via 10.53.0.253
cat /etc/sysconfig/network-scripts/route-ethX
192.168.22.0/24 via 10.53.0.253
- dynamic routes learned via deamons (challege in dynamic is when network changes)
quagga
package that supports RIP - router information protocol <-- smaller networks
OSPF - open shortest path first <-- enterprise networks
BGP - border gateway protocol <-- ISPs
verify ip connectivity
ping <-- packet loss & latancy measurement tool (sends ICMP - internet control message protocol, default is 64byte)
traceroute <-- displays network path to a destination (uses UCP frames to probe the path)
mtr <-- a tool that combines ping & traceroute
defining the local hostname
/etc/sysconfig/network
- might PULL from the network
dhclient
"reverse DNS lookup".. will be done by /etc/rc.d/init.d/network
local resolver
resolver performs forward & reverse lookups
forward lookup looks up the number when we have the name
reverse lookup looks up the name when we have the number
/etc/hosts <-- at a minumum, your hostname should be here, normally checked before DNS
remote resolvers
/etc/resolv.conf
- domains to search
- strict order of name servers to use (DNS)
- may be updated by dhclient
entries:
search
domain
nameserver
PEERDNS=no <-- the dhclient will automatically obtain a list of nameservers from the DHCP server unless the interface config file contains this
/etc/nsswitch.conf <-- precedence of DNS versus /etc/hosts
verify DNS connectivity
nslookup (deprecated)
host
dig
bind-utils (package)
NETWORK CONFIGURATION UTILITIES
system-config-network
profile selection:
system-config-network-cmd --profile <profilename> --activate <-- switch profiles
netprofile (kernel argument) <-- on boot time, choose a profile
transparent dynamic configuration
networkmanager (package) <-- for too many profiles..
nm-applet
IMPLEMENTING IPv6
enabling/disabling ipv6, set this in /etc/modprobe.conf
alias net-pf-10 off
alias ipv6 off
# ip -6 addr
IPv6 DHCP - dynamic interface configuration
two ways to dynamically configure ipv6:
1) router advertisement deamon
- runs on (Linux) default gateway - radvd
- only specifies prefix & default gateway
- enabled with configuration: IPV6_AUTOCONF=yes in /etc/sysconfig/network.. global.. or on interface config
- interface ID automatically generated based on the MAC address of the system
- RFC 3041 was developed to protect the privary from EUI-64, enabled with configuration: IPV6_PRIVACY=rfc3041 on local interface config
2) DHCP version6
dhcp6 supports more configuration options <-- does not listen for broadcast..but rather subscribe to the multicast address ff02::16
enabled with configuration: DHCPV6C=yes on interface config
IPv6 STATIC configuration
- enabled with configuration: IPV6ADDR <-- first Global Unicast Address
- no need for device alias..enabled with configuration: IPV6ADDR_SECONDARIES <-- additional Global Unicast Address
IPv6 routing configuration
Default gateway
- dynamically from radvd or dhcpv6s
- manually specify in /etc/sysconfig/network
configuration:
IPV6_DEFAULTGW
IPV6_DEFAULTDEV <-- only valid on point-to-point interfaces
Static Routes
- defined on interface config /etc/sysconfig/network-scripts/route6-ethX
- or use the "ip 6 route add"
New and Modified utilities
ping6
traceroute6
tracepath6
ip -6
host -t AAAA hostname6.domain6
[ ] UNIT 9 - INSTALLATION
anaconda: different modes
kickstart
upgrade
rescue
consists of two stages:
first stage <-- boots the system & performs initialization of the system
second stage <-- performas the installation
[ ] UNIT 10 - VIRTUALIZATION WITH XEN
[ ] UNIT 11 - TROUBLESHOOTING
method of fault analysis:
characterize the problem
reproduce the problem
find further information
eliminate possible causes
try the easy things first
backup config files before changing
fault analysis: gathering data
useful commands:
history
grep
diff
find / -cmin -60
strace <command>
tail -f <logfile>
generate additional info
*.debug /var/log/debug
--debug option in application
X11: things to check
never debug X while in runlevel5
when changing hardware, try system-config-display first..
X -probeonly <-- performs all tasks necessary to start the X server w/o actually starting it
check /usr/share/hwdata/Cards
/home or /tmp full, quota?
is XFS running? <-- once in a while the font indexes in a font directory may be corrupt..run "mkfontdir" to recreate them
also try commenting out font paths in /etc/X11/fs/config..then run XFS to determine which directories
has problems
change hostname? <-- exit of runlevel5..
NETWORKING
hostname resolution
dig <fq hostname>
ip configuration
ifconfig
default gateway
route -n
module specification
device activation
ORDER OF BOOT PROCESS: REVIEW
bootloader configuration
kernel
/sbin/init
starting init
/etc/rc.d/rc.sysinit
/etc/rc.d/rc.. and /etc/rc.d/rc[1,3,5].d/
entering runlevel X
/etc/rc.d/rc.local
X
POSSIBLE ISSUES:
1) issue: no bootloader splash screen on prompt appears
cause:
grub is misconfigured
boot sector is corrupt
bios setting such as disk addressing scheme has been modified since the boot sector was written
2) issue: kernel does not load at all, or loads partially before a panic occurs
cause:
corrupt kernel image
incorrect parameters passed to the kernel by the bootloader
3) issue: kernel loads completely, but panics or fails when it tries to mount root filesystem and run /sbin/init
cause:
bootloader is misconfigured
/sbin/init is corrupted
/etc/fstab is misconfigured
root filesystem is damaged and unmountable
4) issue: kernel loads completely, and /etc/rc.d/rc.sysinit is started and interupted
cause:
/bin/bash is missing or corrupted
/etc/fstab may have an error, evident when filesystems are mounted or fsck'd
errors in software raid or quota specifications
corrupted non-root filesystem (due to a failed disk)
5) issue: run level errors (typically services)
cause:
another service required by a failing service was not configured for a given runlevel
service-specific configuration errors
misconfigured X or related services in runlevel5
FILESYSTEM PROBLEMS DURING BOOT
rc.sysinit attempts to mount local filesystems
upon failure, user is dropped to a root shell, root in read-only
fsck to repair
but before fsck, check /etc/fstab for mistakes
mount -o remount,rw /..... before editing
manually test mounting filesystems
RECOVERY RUN-LEVELS (pass run-level to init)
runlevel 1
process rc.sysinit & rc1.d scripts
runlevel s,S,or single
process only rc.sysinit
emergency
run sulogin only..much like a failed disk
RESCUE ENVIRONMENT
required when root filesystem is unavailable
non-system specific
boot from CDROM (boot.iso or CD#1)..then type linux rescue
boot from diskboot.img on USB device.. then linux rescue
rescue environment utilities
disk maintenance
networking
miscellaneous
logging:
/tmp/syslog <-- system loggin info
/tmp/anaconda.log <-- booting info
/tmp <-- some more config files are there..
rescue environment details
filesystem reconstruction <-- will try to reconstruct the hard disk's filesystem under /mnt/sysimage
anaconda will ask if filesystems should be mounted
/mnt/sysimage/*
/mnt/source
$PATH includes hard drive's directories
filesystem nodes
system-specific device files provided
"mknod" knows major/minor #'s <-- for floppys, in order to access it
linux rescue nomount <-- a corrupted partition table will appear to hang the rescue environment
ALT-F2 has shell with fdisk
this command will disable automatic mounting of filesystems & circumvents
the hanging caused by bad partition tables
-------------
# TEST CASES:
-------------
#REINSTALL GRUB
prepare the environment:
# dd if=/dev/zero of=/dev/sda bs=256 count=1 && reboot
option 1)
1. just do a /sbin/grub-install <boot device.."/dev/sda"> on rescue mode
- this will recreate a new folder "grub" but will not recreate grub.conf
2. when you have a separate boot partition which is mounted at /boot, since grub is
a boot loader, it doesn't know anything about mountpoints at all
# fdisk -l
# grub-install --root-directory=/boot /dev/hda
NOTE:
how to specify a file?
(hd0,0)/vmlinuz <-- normally this is the case.. because you create 100MB separate mount point
means that the file name 'vmlinuz', found on the first partition of the first
hard disk drive. the argument completion works with file names too.
what else to look for?
device.map <-- the content of this should be the disk where the MBR resides.. (hd0) /dev/sda
grub.conf <-- this is not created when you do grub-install, either you get a copy from backup
or manually recreate it.. DONT FORGET THE "root=LABEL=/"
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
password --md5 $1$wIn2KEYl$pjKQtiDuiRlqO/8QKkS0X0
title CentOS (2.6.18-8.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-8.el5 ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.18-8.el5.img
option 2) if above fails.. then do this..
1. on rescue mode type command "grub" & press enter
2. type "root (hd0,0)"
3. type "setup (hd0)"
4. quit
#RECREATE MKINITRD
1. take note of the kernel version by typing
# uname -r
# uname -a
2. then, create the initrd image
# mkinitrd /boot/initrd-$(uname -r).img $(uname -r) <-- if using non-xen kernel
# mkinitrd /boot/initrd-$(uname -r)xen.img $(uname -r)xen <-- if using xen kernel
NOTE:
the image name doesn't have to be the same as before.. grub.conf reference this file
so also check the contents of grub.conf
#ROOT FILESYSTEM READ ONLY, IMMUTABLE PROPERTY ON FSTAB
#ROOT FILESYSTEM READ ONLY, RESIZED THE FILESYSTEM TO A SMALLER VALUE (LVM)
#CORRUPTED MOUNT COMMAND
prepare the environment:
# cp /bin/date /bin/mount
solution
1. load rescue environment
2. chroot /mnt/sysimage
rpm -qf /bin/mount
rpm -V util-linux
exit
3. mount the installer through NFS
4. rpm -ivh --force --root /mnt/sysimage util-linux*
}}}
{{{
###################################################################################################
[ ] UNIT 1 - SYSTEM PERFORMANCE AND SECURITY
###################################################################################################
System Resources as Services
** Computing infrastructure is comprised of roles
systems that serve
systems that request
** System infrastructure is comprised of roles
processes that serve
processes that request
** Processing infrastructure is comprised of roles
accounts that serve
accounts that request
** System resources, and their use, must be accounted for as policy of securing the system
Security in Principle
Security Domains (this course will focus on Local and Remote)
Physical
Local
Remote
Personnel
Security in Practice
Host only services you must, and only to those you must
A service is characterized by its "listening" for an event, like "GET" request on IP port 80
Security Policy: the People
Managing human activities
includes Security Policy maintenance
The policy is the objective reference against which one can measure
Security Policy: the System
Managing system activities
** Regular system monitoring
Log to an external server in case of compromise
Monitor logs with logwatch
Monitor bandwidth usage inbound and outbound
** Regular backups of system data
Response Strategies
** Assume suspected system is untrustworthy
Do not run programs from the suspected system
Boot from trusted media to verify breach
rpm -V --root=/mnt/sysimage --define '_dbpath /path/to/backup' procps <-- this will compare the size,md5sum,ownership,etc. against
the backup and the one on disk
Analyze logs of remote logger and "local" logs
Check file integrity against read-only backup of rpm
database
** Make an image of the machine for further
analysis/evidence-gathering
** Wipe the machine, re-install and restore
from backup
System Faults and Breaches
** Both effect system performance
** System performance is the security
concern
a system fault yields an infrastructure void
an infrastructure void yields opportunity for
alternative resource access
an opportunity for alternative resource access yields
unaccountable resource access
an unaccountable resource access is a breach of security policy
"It is therefore essential to monitor system activity, or "behavior", to establish a norm, and prescribe methods to
reinstate this norm should a fault occur. It is also important to implement emthods to explain the effects of changes
to a system while altering configuration of tis resource access"
"MATRIX" of access controls
----------------------------------------------------------
Access Control Implementation
----------------------------------------------------------
Application configuration file parameters
PAM as linked to, and configured in /etc/pam.d/programname
xinetd as configured in /etc/xinetd.d/service
libwrap as linked to libwrap.so, or managed by so linked
SELinux as per SELinux implemented policy
Netfilter, IPv6 as configured in /etc/sysconfig/ip6tables
Netfilter as configured in /etc/sysconfig/iptables
Method of Fault Analysis
** Characterize the problem
** Reproduce the problem
** Find further information
Fault Analysis: Hypothesis
** Form a series of hypotheses
** Pick a hypothesis to check
** Test the hypothesis
** Note the results, then reform or test a new
hypothesis if needed
** If the easier hypotheses yield no positive
result, further characterize the problem
Fault Analysis: Gathering Data
** strace command
strace -o karl.txt ls /var/lib <-- do an strace
grep ' E.' karl.txt <-- what errors were encountered
grep 'open' karl.txt <-- which files are called "open"
** tail -f logfile
** *.debug in syslog
/etc/syslog.conf:
*.debug /var/log/debug
** --debug option in application
vi /etc/sysconfig/xinetd
EXTRAOPTIONS="-d"
service xinetd restart
Benefits of System Monitoring
** System performance and security may be maintained with regular system monitoring
** System monitoring includes:
Network monitoring and analysis
File system monitoring
Process monitoring
Log file analysis
Network Monitoring Utilities
** Network interfaces (ip)
Show what interfaces are available on a system
** Port scanners (nmap)
Show what services are available on a system
** Packet sniffers (tcpdump, wireshark)
Stores and analyzes all network traffic visible to the
"sniffing" system
Networking, a Local view
** The ip utility
Called by initialization scripts
Greater capability than ifconfig
** Use netstat -ntaupe for a list of:
active network servers
established connections
netstat -tupln <-- to get all services listening on localhost
Networking, a Remote view
nmap -sS -sU -sR -P0 -A -v station1 <-- will perform a TCP SYN(chronous packet) scan (-sS), UDP scan (-sU), rpc/portmap scan (-sR)
with operating system and service version detection (-A) on station1. It will print diagnostic
information (-v) and will not attempt to ping the system before scanning (-P0)
nmap -sP 192.168.234.* <-- scan the whole subnet
nmap <remotehost> | grep tcp <-- to test which services you can reach on the remote host
nmapfe <-- GUI tool frontend
File System Analysis
df, du
stat <-- reports length of the file
find ~ -type f -mmin -90 | xargs ls -l <-- find recently changed files 90 mins
Typical Problematic Permissions
** Files without known owners may indicate
unauthorized access:
find / \( -nouser -o -nogroup \) <-- Locate files and directories with no user or group entries in the /etc/passwd file
** Files/Directories with "other" write
permission (o+w) may indicate a problem
find / -type f -perm -002 <-- Locate other-writable files
find / -type d -perm -2 <-- Locate other-writable directories
Monitoring Processes
** Monitoring utilities
top
gnome-system-monitor
sar
Process Monitoring Utilities
System Activity Reporting
sysstat RPM
Managing Processes by Account
** Use PAM to set controls on account resource limits:
pam_access.so <-- can be used to limit access by account and location /etc/security/access.conf
pam_time.so <-- can be used to limit access by day and time /etc/security/time.conf
pam_limits.so <-- can be used to limit resources available to process /etc/security/limits.conf
System Log Files
** Logging Services:
syslogd <-- Many daemons send messages to
klogd <-- Kernel messages are handled
/etc/syslog.conf <-- configuration file
/var/log/messages <-- most system messages
/var/log/audit/audit.log <-- audit subsystem and SELinux messages
/var/log/secure <-- authentication messages, xinetd services
/var/log/xferlog <-- FTP (vsftpd) transactions
/var/log/maillog <-- mail transactions
syslogd and klogd Configuration
<facility>.<priority> <loglocation> <-- format
mail.info /dev/tty8 <-- example
kern.info /var/log/kernel <-- example
Facility Priority
------------------------------------------- -----------------
authpriv security/authorization messages debug debugging information
cron clock daemons (atd and crond) info general informative messages
daemon other daemons notice normal, but significant, condition
kern kernel messages warning warning messages
local[0-7] reserved for local use err error condition
lpr printing system crit critical condition
mail mail system alert immediate action required
news news system emerg system no longer available
syslog internal syslog messages
user generic user level messages
CENTRALIZED HOST LOGGING:
1) on the remote host setup syslogd to accept remote messages
edit /etc/sysconfig/syslog
SYSLOGD_OPTIONS="-r -m 0"
2) restart syslogd
3) setup syslogd on the source host
vi /etc/syslog.conf
user.* @remotehost
4) restart syslogd
5) test it using the "logger" command
logger -i -t yourname "This is a test"
6) view the log files on the remote and source host
Log File Analysis
logwatch RPM
Virtualization with Xen
Xen Domains
/etc/xen/<domain> <-- Dom-U configuration files are stored on this directory of Dom-0
virt-manager or xm console <-- front end console (GUI)
xmdomain.cfg(5) <-- help file
Xen Configuration
xenbr0 <-- network by default is mapped to this interface
xendomains <-- determines what domains to start by which xen domain configuration file are linked in /etc/xen/auto
create a symbolic link to /etc/xen/auto/<name of Dom-U> for auto start
Domain Management with xm
"xm" tool sends commands to "Xend" which relays the commands to the Hypervisor
Controlling domains:
---------------------
xm <create | destroy> domain
xm <pause | unpause> domain
xm <save | restore> domain filename
xm <shutdown | reboot> domain
Monitoring domains:
---------------------
xm list
xm top
xm console domain
###################################################################################################
[ ] UNIT 2 - SYSTEM SERVICE ACCESS CONTROLS
###################################################################################################
System Resources Managed by init
** Services listening for serial
protocol connections
a serial console
a modem
** Configured in /etc/inittab
** Calls the command rc to spawn initialization scripts
** Calls a script to start the X11 Display Manager
** Provides respawn capability
co:23:respawn:/sbin/agetty -f /etc/issue.serial 19200 ttyS1
System Initialization and Service Management
** Commonly referred to as "System V" or
"SysV"
Many scripts organized by file system directory
semantics
Resource services are either enabled or disabled
** Several configuration files are often used
** Most services start one or more processes
** Commands are "wrapped" by scripts
** Services are managed by these scripts,
found in /etc/init.d/
** Examples:
/etc/init.d/network status
service network status
chkconfig
** Manages service definitions in run levels
** To start the cups service on boot:
chkconfig cups on
** Does not modify current run state of System
V services
** Used for standalone and transient services
** Called by other applications, including
system-config-services
** To list run level assignments, run chkconfig
--list
Initialization Script Management
chkconfig --list <-- provides a listing of all services that are started via initialization scripts or xinetd
-- it only maintains the symbolic links in /etc/rcX.d/ and the xinetd configuration. It does not
start or stop the services or control the behavior of other services
The /etc/sysconfig/ files
* Some services are configured for how they run
- named
- sendmail
- dhcpd
- samba
- init
- syslog
/etc/sysconfig/ <-- many files under this directory describe hardware configuration
-- some of them configure service run-time parameters!!! and "configure the manner" of daemon execution!!!
/etc/init.d/ <-- files under here are executables that "configure the conditions" of daemon execution
/usr/share/doc/initscripts-9.02/sysconfig.txt <-- this is where the /etc/sysconfig/ files are documented
XINETD MANAGED SERVICES
** Transient services are managed by the xinetd service <-- transient services are not configured for a given runlevel
but whether xinetd should manage the port and connections to these services
/etc/services <-- port-to-service management list used by xinetd
xinetd provides the following:
------------------------------
- host-based authentication
- resource logging
- timed access
- address redirection
- etc.
** Incoming requests are brokered by xinetd
** Configuration files:
/etc/xinetd.conf <-- config files
/etc/xinetd.d/<service>
** Linked with libwrap.so, services compiled with this will first call host_access(5) rules when a service is requested
if they allow access, then xinetd's internal access control policies are checked
[root@karl ~]# ldd /usr/sbin/xinetd
linux-vdso.so.1 => (0x00007fff4b9ff000)
libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f58b3c3b000)
libwrap.so.0 => /lib64/libwrap.so.0 (0x00007f58b3a31000) <-- xinetd is linked to libwrap.so
libnsl.so.1 => /lib64/libnsl.so.1 (0x00007f58b3818000)
libm.so.6 => /lib64/libm.so.6 (0x00007f58b3594000)
libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007f58b335d000)
libc.so.6 => /lib64/libc.so.6 (0x00007f58b2fe5000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f58b2de1000)
/lib64/ld-linux-x86-64.so.2 (0x00007f58b3e59000)
libfreebl3.so => /usr/lib64/libfreebl3.so (0x00007f58b2b82000)
** Services controlled with chkconfig:
chkconfig tftp on
XINETD DEFAULT CONTROLS
** Top-level configuration file
# /etc/xinetd.conf
defaults
{
instances = 60
log_type = SYSLOG authpriv
log_on_success = HOST PID
log_on_failure = HOST
cps = 25 30
}
includedir /etc/xinetd.d
* Can be overridden or appended-to in service-specific configuration files in /etc/xinetd.d
man xinetd.conf <-- all the xinetd configuration parameters are documented, Extended Internet Services Daemon configuration file
XINETD SERVICE CONFIGURATION
** Service specific configuration
/etc/xinetd.d/<service>
yum install tftp-server
/etc/xinetd.d/tftp: <-- All service config utilities will edit the appropriate xinetd service config files by calling "chkconfig".
-- When xinetd is started, each enabled service is called when a connection is attempted on a specific network port
# default: off
service tftp
{
disable = yes <-- determines whether or not xinetd will accept connections for the service
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd <-- the binary used to run the service, used by libwrap.so (tcp_wrappers)
server_args = -c -s /tftpboot
per_source = 11
cps = 100 2
flags = IPv4
}
XINETD ACCESS CONTROLS
** Syntax
Allow with only_from = host_pattern
Deny with no_access = host_pattern
The most exact specification is authoritative
** Example
only_from = 192.168.0.0/24 <-- if nothing is specified then it defaults to ALL hosts
no_access = 192.168.0.1
service telnet <-- this will block access to the telnet service to everyone except hosts from the 192.168.0.0/24 network
and of those, 192.168.0.1 will be denied access
{
disable = yes
flags = REUSE
socket_type = stream
wait = no
user = root
only_from = 192.168.0.0/24
no_access = 192.168.0.1
server = /usr/bin/in.telnetd
log_on_failure += USERID
}
Host Pattern Access Controls
** Host masks for xinetd may be:
- numeric address (192.168.1.0) <-- full or partial, righmost zero are treated as wildcards
-- example: 192.168.1.0
- network name (from /etc/networks) <-- network names from /etc/networks or NIS
-- does not work together with usernames
-- example: @mynetwork
- hostname or domain (.domain.com) <-- performs a reverse lookup everytime a client connects
-- example: .example.com (all hosts in the example.com domain)
- IP address/netmask range (192.168.0.0/24) <-- must specify the complete network address and netmask
-- example: 192.168.0.0/24
** Number of simultaneous connections
Syntax: per_source = 2 <-- limits the number of simultaneous connections per IP address, Cannot exceed maximum instances
SERVICE AND APPLICATION ACCESS CONTROLS
** Service-specific configuration
Daemons like httpd, smbd, squid, etc. provide service-specific security mechanisms
** General configuration
All programs linked with libwrap.so use common configuration files
Because xinetd is linked with libwrap.so, its services are effected
Checks for host and/or remote user name
/etc/hosts.allow <-- when a client connects to a "tcp wrapped" service, these files are examined, then choose to accept or drop the connection
/etc/hosts.deny
all processes controlled by XINETD automatically use libwrap.so (tcp_wrappers)
Here are the standalone deamons linked with libwrap.so:
- sendmail
- slapd
- sshd
- stunnel
- xinetd
- gdm
- gnome-session
- vsftpd
- portmap
TCP_WRAPPERS CONFIGURATION
libwrap.so implements a "STOP ON FIRST MATCH" policy!!!
changes to the access files are effective immediately for all new connections!!!
** Three stages of access checking
Is access explicitly permitted?
Otherwise, is access explicitly denied?
Otherwise, BY DEFAULT, PERMIT ACCESS!
** Configuration stored in two files:
Permissions in /etc/hosts.allow
Denials in /etc/hosts.deny
** Basic syntax:
daemon_list: client_list [:options]
Daemon Specification
"nfs and nis" uses "portmap" service for RPC messages <-- http://querieslinux.blogspot.com/2009/08/what-is-port-map-why-is-it-required.html
-- block the underlying "portmap" for RPC based services like NFS and NIS
** Daemon name:
Applications pass name of their executable
Multiple services can be specified
Use wildcard ALL to match all daemons
Limitations exist for certain daemons
** Advanced Syntax:
daemon@host: client_list ...
EXAMPLES:
in.telnetd: 192.168.0.1
sshd, gdm: 192.168.0.1 <-- comma delimited list of daemons
in.telnetd@192.168.0.254: 192.168.0. <-- if your host has two interface cards and if you want different policies for each, do this!
in.telnetd@192.168.1.254: 192.168.1.
Client Specification
** Host specification
by IP address (192.168.0.1,10.0.0.)
by name (www.redhat.com, .example.com)
by netmask (192.168.0.0/255.255.255.0)
by network name
Macro Definitions (also known as WILDCARDS)
** Host name macros
LOCAL - all hosts without a dot in their name
KNOWN - all hostnames that can be resolved
UNKNOWN - all hostnames that cannot be resolved
PARANOID - all hostnames where forward and reverse lookup do not match, or resolve
** Host and service macro
ALL - always matches all hosts and all services
** EXCEPT - exclude some hosts from your match
Can be used for client and service list
Can be nested
----------------------------------
/etc/hosts.allow
sshd: ALL EXCEPT .cracker.org EXCEPT trusted.cracker.org
/etc/hosts.deny
sshd: ALL
----------------------------------
"Because of the catch-all rule in hosts.deny this ruleset would allow only those who have been explicitly granted access to ssh into the system.
In hosts.allow we granted access to everyone except for hosts in the cracker.org domain, but to this rule we make an exception:
We will allow the host trusted.cracker.org to ssh in despite the band on cracker.org"
Extended Options
man 5 hosts_options <-- documentation
** Syntax:
daemon_list: client_list [:opt1