SAP- Brtools – Tablespace deletion step by step
smdev:SMD:/home/orasmd> brtools BR0651I BRTOOLS 7.00 (28) BR0280I BRTOOLS time stamp: 2010-08-25 10.25.31 BR0656I Choice menu 1 – please make a selection ——————————————————————————- BR*Tools main...
View ArticleSAP : The OPS$ Mechanism Under UNIX
For the database, the SAP System is a single user, SAPR3 / SAP, whose password is stored in the table SAPUSER. Therefore, to access the database, the SAP System uses a mechanism called the OPS$...
View ArticleAutomatic Diagnostic Repository (ADR) : 11g
ADR is a single directory location for all error and trace data in the database. It replaces the traditional diagnostic directories such as bdump, cdump, and udump. ADR location is controlled by the...
View ArticleDatabase Files layout
Recommendation to store the files of the database system on different physical disks. In this example, the control file is mirrored twice: Disk Number Directory Contents of Directory 1 origlogA Online...
View Article11g: New Components
Following are new components which are available when installing Oracle 11g: Oracle Application Express (APEX): APEX is a rapid application development tool for developing database centric web-based...
View ArticlePerformance analysis w/ ASH and Oracle Advisors
SELECT TO_CHAR(AT.EXECUTION_END, ‘dd.mm.yyyy hh24:mi:ss’) “DATE”, AF.MESSAGE FINDING, AA.MESSAGE ACTION FROM DBA_ADVISOR_TASKS AT, DBA_ADVISOR_FINDINGS AF, DBA_ADVISOR_RECOMMENDATIONS AR,...
View ArticleScript to find default oracle user passwords
SET FEEDBACK 1 SET NUMWIDTH 10 SET LINESIZE 80 SET TRIMSPOOL ON SET TAB OFF SET PAGESIZE 100 SET ESCAPE ON TTITLE “Default Accounts With Default Passwords” SELECT username “Account Name”,...
View ArticleSegment/tablespace growth details script
column “Percent of Total Disk Usage” justify right format 999.99 column “Space Used (MB)” justify right format 9,999,999.99 column “Total Object Size (MB)” justify right format 9,999,999.99 set...
View ArticleTablespace usage history : dba_hist_tbspc_space_usage
select NAME,RTIME,TABLESPACE_SIZE/1024/1024,TABLESPACE_MAXSIZE/1024/1024,TABLESPACE_USEDSIZE/1024/1024 from dba_hist_tbspc_space_usage,v$tablespace where TABLESPACE_ID=TS# order by 1,2; Filed under:...
View ArticleRMAN backup job statistics:
col STATUS format a9 col hrs format 999.99 col TIME_TAKEN_DISPLAY format a10 col INPUT_BYTES_PER_SEC_DISPLAY format a10 col OUTPUT_BYTES_PER_SEC_DISPLAY format a10 select SESSION_KEY, INPUT_TYPE,...
View ArticleDataguard Monitoring Scripts
SET PAGESIZE 124 COL DB_NAME FORMAT A8 COL HOSTNAME FORMAT A12 COL LOG_ARCHIVED FORMAT 999999 COL LOG_APPLIED FORMAT 999999 COL LOG_GAP FORMAT 9999 COL APPLIED_TIME FORMAT A12 SELECT DB_NAME, HOSTNAME,...
View ArticleDataguard Scripts – Monitoring
Note: This query needs to be run on the Primary database. SET PAGESIZE 124 COL DB_NAME FORMAT A8 COL HOSTNAME FORMAT A12 COL LOG_ARCHIVED FORMAT 999999 COL LOG_APPLIED FORMAT 999999 COL LOG_GAP FORMAT...
View ArticleOracle Table and index size
COLUMN TABLE_NAME FORMAT A32 COLUMN OBJECT_NAME FORMAT A32 COLUMN OWNER FORMAT A10 SELECT owner, table_name, TRUNC(sum(bytes)/1024/1024) Meg FROM (SELECT segment_name table_name, owner, bytes FROM...
View ArticlePrimary Database Changes That Require Manual Intervention at a Physical Standby
Primary Database Changes That Require Manual Intervention at a Physical Standby Most structural changes made to a primary database are automatically propagated through redo data to a physical standby...
View Articleunix CPU and Core information
# Count the number of “physical processor(s)” grep “physical id” /proc/cpuinfo | sort -u | wc -l # Count the number of “physical cores per CPU” grep “cpu cores” /proc/cpuinfo |sort -u |cut -d”:” -f2 #...
View ArticlePrimary Database Changes That Require Manual Intervention at a Physical Standby
Primary Database Changes That Require Manual Intervention at a Physical Standby Most structural changes made to a primary database are automatically propagated through redo data to a physical standby...
View Article