Skip to content

Instantly share code, notes, and snippets.

create or replace function f_requete_metier(v_dte_min date,v_dte_max date,v_filtre1 number,v_filtre2 number,v_filtre3 number)
return t_tbl_rqe_metier
as
pragma autonomous_transaction;
v_select t_tbl_requete_metier := t_tbl_requete_metier();
cpt number := 1;
cursor c1 is
select
d1,ca,cb,cc,c1,c2,c3,c4,c5,c6,c7,c8
from
select
d1,ca,cb,cc,c1,c2,c3,c4,c5,c6,c7,c8
from
table(f_requete_metier(&dte_min,&dte_max,&filtre1,&filtre2,&filtre3));
# Récupération d'AWR par lots (bash)
#!/bin/bash
# Pour IBM AIX : !/usr/bin/bash
###############################################################################
# @(#) Script : all_awr.sh
# @(#) Licence : GNU GPL
# @(#) Autrice : Alexandra Champavert
# @(#) Date creation : 11/03/2016
# @(#) Date modification : 22/07/2019
# @(#) Version : 1.01
$ ldd $ORACLE_HOME/bin/oracle | grep libaio
libaio.so.1 => /usr/lib/libaio.so.1 (0x0093d000)
$ nm $ORACLE_HOME/bin/oracle | grep io_getevent
w io_getevents@@LIBAIO_0.1
$ ldd $ORACLE_HOME/bin/oracle | grep libaio
$ nm $ORACLE_HOME/bin/oracle | grep io_getevent
w io_getevents
alter system set filesystemio_options = asynch scope = spfile;
alter system set filesystemio_options = setall scope = spfile;
<VirtualHost mattermost.domaine-non-standard.com:80>
ServerAdmin webmestre@domaine-non-standard.com
DocumentRoot "/data/pourcertifs"
ServerName mattermost.domaine-non-standard.com
ErrorLog "logs/mattermost.domaine-non-standard.com-error_log"
CustomLog "logs/mattermost.domaine-non-standard.com-access_log" common
</VirtualHost>
<!-- Ce fichier est dans le repertoire /data/pourcertifs -->
<html>
<head>
</head>
<body>
</body>
</html>
LISTENER =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
      (ADDRESS = (PROTOCOL = TCP)(HOST = dataguard01)(PORT = 1521))
    )
  )
SID_LIST_LISTENER =
  (SID_LIST =