From 01c0d6a8c7e69040ad9f6042d051cbfd09b4ef98 Mon Sep 17 00:00:00 2001 From: Yacine31 Date: Thu, 16 Nov 2023 01:53:23 +0100 Subject: [PATCH] Create 38_dictionary_stats.sql --- sql/38_dictionary_stats.sql | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 sql/38_dictionary_stats.sql diff --git a/sql/38_dictionary_stats.sql b/sql/38_dictionary_stats.sql new file mode 100644 index 0000000..044ffaa --- /dev/null +++ b/sql/38_dictionary_stats.sql @@ -0,0 +1,10 @@ +prompt

Dictionary Stats / Fixed Objects Stats

+ +SELECT + to_char(max(end_time),'dd/mm/yyyy hh24:mi') latest, operation +FROM + dba_optstat_operations +WHERE + operation in ('gather_dictionary_stats', 'gather_fixed_objects_stats') +GROUP BY + operation;