Catégorie : Oracle12C,19C
-
Checking Firewall Ports on remote Host with SSH auth
#!/bin/bash input file format is: hostname USAGE: ./scan_oem_ports_remote_hosts.sh hostfile if test ‘X' »$1″ = ‘X’; then echo -n « ENter full path and name of file containing host names: « ;read file else […]
-
Patching OEM 13c Release 2 PSU for OMS and Agent
Patching OMS 13c Release 2 (13.2.0.0.181016) System PSU Patch :- Download Link : OPatch version 13.9.3.3.0 for EMCC 13.x customers Only (not for FMW 12c) (Patch) Download Link : OPatch version 13.9.3.3.0 […]
-
optimizer_index_cost_adj.sql
col c1 heading ‘Average Waits for|Full Scan Read I/O’ format 9999.999col c2 heading ‘Average Waits for|Index Read I/O’ format 9999.999col c3 heading ‘Percent of| I/O Waits|for Full Scans’ format 9.99col […]
-
PGA_AGGREGATE_TARGET vs PGA_AGGREGATE_LIMIT
WITH pgastat_denorm_1 AS ( SELECT /*+ MATERIALIZE NO_MERGE */ snap_id, dbid, instance_number, SUM(CASE name WHEN ‘PGA memory freed back to OS’ THEN value ELSE 0 END) pga_mem_freed_to_os, SUM(CASE name WHEN […]
-
Adjusting the optimizer_index_cost_adj Parameter
https://xcoolwinds.wordpress.com/2013/08/23/adjusting-the-optimizer-index-cost-adj-parameter/ Issue the following query to view the average wait times for both of the wait events: SQL> select event, average_wait from v$system_event where event like ‘db file s%read’;EVENT AVERAGE_WAIT——————————— ——————————-db file […]
-
Lister la taille des blobs partitionnés
La requête suivant permet de te lister la taille des partitions qui contiennent des LOBS : SELECT DS.TABLESPACE_NAME, SEGMENT_NAME,PARTITION_NAME,ROUND(SUM(DS.BYTES)/(1024 * 1024)) AS MBFROM DBA_SEGMENTS DSWHERE DS.TABLESPACE_NAME not in (‘SYSAUX’,’SYSTEM’)AND […]
-
Suppression des objets pour un schéma
beginfor f in (select table_name from user_tables) loopexecute immediate ‘drop table « ‘||f.table_name||’ » cascade constraints’;end loop;for f in (select object_type, object_name from user_objects where object_type in (‘SEQUENCE’,’VIEW’,’FUNCTION’,’PROCEDURE’,’PACKAGE’,’SYNONYM’,’DATABASE LINK’)) loopexecute immediate ‘drop […]