This commit is contained in:
Yacine31
2023-11-06 19:35:55 +01:00
parent e7f6116cc9
commit b360e9f3ba
3 changed files with 9 additions and 3 deletions

View File

@@ -25,7 +25,7 @@ do
for f in sql/*.sql
do
# sqlplus -s "/ as sysdba" @$f >> ${HTML_FILE}
sed '1 s/^/SET FEEDBACK OFF MARKUP HTML ON SPOOL ON PREFORMAT OFF ENTMAP OFF\n/' $f | sqlplus -s / as sysdba >> ${HTML_FILE}
sed '1 s/^/SET PAGES 999 FEEDBACK OFF MARKUP HTML ON SPOOL ON PREFORMAT OFF ENTMAP OFF\n/' $f | sqlplus -s / as sysdba >> ${HTML_FILE}
done
sed -i 's/<table.*>$/<table class="table table-striped">/g' ${HTML_FILE}

View File

@@ -1,4 +1,10 @@
prompt <h2>Database supplemental logging </h2>
SELECT supplemental_log_data_min, supplemental_log_data_pk, supplemental_log_data_ui, supplemental_log_data_fk, supplemental_log_data_all, supplemental_log_data_pl
SELECT
supplemental_log_data_min data_min,
supplemental_log_data_pk data_pk,
supplemental_log_data_ui data_ui,
supplemental_log_data_fk data_fk,
supplemental_log_data_all data_all,
supplemental_log_data_pl data_pl
FROM v$database;
exit

View File

@@ -1,5 +1,5 @@
-- SCRIPT - to Set the 'SESSION_CACHED_CURSORS' and 'OPEN_CURSORS' Parameters Based on Usage (Doc ID 208857.1)
prompt <h2>Sessions & Cursors usage </h2>
prompt <h2>Sessions and Cursors usage </h2>
select
'session_cached_cursors' parameter,
lpad(value, 5) value,