Posts

Golden Gate Flow Diagrams

Image
  Homogeneous Instantiation Method  Heterogeneous Instantiation Methods Oracle GoldenGate for Multitenant Databases Migration Without Failback   Migration with Failback  Oracle GoldenGate 12c – Source and Target Checkpoints - Capture - Pump - Delivery DDL Setup Scripts – Source and Target Identify Extract – Classic OR Integrated Oracle GoldenGate Performance Areas Architecture: Integrated Extract Integrated Extract Architecture

BIP report create and schedule

  1.Login the BI publisher site https://oemserver.yourdomain:9851/xmlpserver with sysman. 2. On top right click “catalog”. 3. on the left, In the tree menu, create a new folder under “Shared Folders” called manual reports. 4. Within the manual reports folder create a new folder called “manual data models”. 5. Create a new data model by going to the shortcut in the top right. 6. Within the new data model window create a new SQL query 7. Paste the following in to the SQL query pop-up Window and click ok. 8. Again within the new data model window create a new SQL query -- if we want new table 9. The resulting data model should appear as shown. Click save and save it to the manual data models folder. 10. We are now required to “Create Sample Data” before we can create a report. Click on “View Data” near the top right of your screen and then click the “view” button on the next screen. Finally click “Save as Sample Data” to complete this step. 11. On the main catalog page create a new report

ASM commands & Queries

  After installing grid software to check disk sizes and permission information kfod status=TRUE asm_diskstring='/dev/asmdisk*' disks=ALL output: ----------------------------------------------------------------------------------------- DISK     SIZE          HEADER                  PATH                    USER     GROUP ===================================================== 1:     204800 MB     MEMBER             /dev/asmdisk11     oraasm     dba 2:     102400 MB     CANDIDATE     /dev/asmdisk12     oraasm     dba 3:      51200 MB    CANDIDATE    /dev/asmdisk13    oraasm    dba 4:      51200 MB    CANDIDATE    /dev/asmdisk14    oraasm    dba ---------------------------------------------------------------------------------------- ORACLE_SID     ORACLE_HOME =======================================================                    +ASM     /opt/oracle/product/19.0.0.0 create diskgroup: create diskgroup FRA external redundancy disk '/dev/asmdisk12' size 102400M attribute &#

Fragmentation & Re-organisation

Total  Savings: set verify off column file_name format a50 word_wrapped column smallest format 999,990 heading "Smallest|Size|Poss." column currsize format 999,990 heading "Current|Size" column savings format 999,990 heading "Poss.|Savings" break on report compute sum of savings on report column value new_val blksize select value from v$parameter where name = 'db_block_size' / select file_name, ceil( (nvl(hwm,1)*&&blksize)/1024/1024 ) smallest, ceil( blocks*&&blksize/1024/1024) currsize, ceil( blocks*&&blksize/1024/1024) - ceil( (nvl(hwm,1)*&&blksize)/1024/1024 ) savings from dba_data_files a, ( select file_id, max(block_id+blocks-1) hwm from dba_extents group by file_id ) b where a.file_id = b.file_id(+) order by savings desc / HWM query for all datafiles: col data_file_name for a50 col tablespace_name for a20 set lines 300 select tablespace_name, file_id, file_name DATA_FILE_NAME, Al

OEM queries

col target_name for a60 col metric_name for a20 col metric_column for a20 col value for a20 set lines 300 select target_name,metric_name,metric_column,value from sysman.mgmt$metric_current where metric_label='Database Size' and metric_column='ALLOCATED_GB'; Database Options/Management Packs Usage Reporting for Oracle Databases 11.2 and later (Doc ID 1317265.1) ./emcli get_on_demand_metrics -target_type=oracle_database -target_name=<target_name>    ./emcli modify_collection_schedule -targetType="oracle_database" -targetNames="<target_name>" -collectionName="ME\$database_size" -freqType="Minute" -freqValue=5 -preview="N"    ./emcli modify_collection_schedule -targetType="oracle_database" -targetNames="<target_name>" -collectionName="ha_backup_last" -collectionStatus=Disabled -preview="N"    ./emcli get_targets -target='oracle_database' | awk '{print $4}&

Popular Posts

AWR Report Analysis

Goldengate 19c Installation with issue resolution

Oracle 12c 2-node RAC setup in VMware Player 15 -- Part01

Oracle to Postgres

Execution_Explain Plan

Active Session History Analysis

General Queries

Fragmentation & Re-organisation

Postgresql installation offline using NGINX

OEM patches & vulnerabilities