diff --git a/db_assessment/dbSQLCollector/minimum_select_grants_for_targets_12c_AND_ABOVE.sql b/db_assessment/dbSQLCollector/minimum_select_grants_for_targets_12c_AND_ABOVE.sql index 9400562f..6dd3a1bd 100644 --- a/db_assessment/dbSQLCollector/minimum_select_grants_for_targets_12c_AND_ABOVE.sql +++ b/db_assessment/dbSQLCollector/minimum_select_grants_for_targets_12c_AND_ABOVE.sql @@ -96,4 +96,6 @@ grant select on sys.v_$SQLCOMMAND to &&dbusername; grant select on sys.cdb_external_tables to &&dbusername; grant select on sys.dba_hist_iostat_function to &&dbusername; grant select on sys.dba_hist_system_event to &&dbusername; +grant select on sys.gv_$archive_dest to &&dbusername; alter user &&dbusername set container_data=all container = current; + diff --git a/db_assessment/dbSQLCollector/minimum_select_grants_for_targets_ONLY_FOR_11g.sql b/db_assessment/dbSQLCollector/minimum_select_grants_for_targets_ONLY_FOR_11g.sql index 721898d5..f7a70f8c 100644 --- a/db_assessment/dbSQLCollector/minimum_select_grants_for_targets_ONLY_FOR_11g.sql +++ b/db_assessment/dbSQLCollector/minimum_select_grants_for_targets_ONLY_FOR_11g.sql @@ -92,3 +92,4 @@ grant select on sys.v_$SQLCOMMAND to &&dbusername; grant select on sys.dba_external_tables to &&dbusername; grant select on sys.dba_hist_iostat_function to &&dbusername; grant select on sys.dba_hist_system_event to &&dbusername; +grant select on sys.gv_$archive_dest to &&dbusername; diff --git a/db_assessment/dbSQLCollector/oracle_db_assessment_12c_AND_ABOVE.sql b/db_assessment/dbSQLCollector/oracle_db_assessment_12c_AND_ABOVE.sql index d3d0e53f..9f25a7d2 100644 --- a/db_assessment/dbSQLCollector/oracle_db_assessment_12c_AND_ABOVE.sql +++ b/db_assessment/dbSQLCollector/oracle_db_assessment_12c_AND_ABOVE.sql @@ -1,5 +1,5 @@ /* -Copyright 2021 Google LLC +Copyright 2022 Google LLC Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -21,12 +21,12 @@ Please ensure you have proper licensing. For more information consult Oracle Sup /* -Version: 2.0.5 -Date: 2022-04-22 +Version: 2.0.6 +Date: 2022-06-15 */ -define version = '2.0.5' +define version = '2.0.6' define dtrange = 30 define colspr = ';' @@ -315,102 +315,6 @@ FROM vused; spool off -spool opdb__compressbytable__&v_tag - -WITH vtbcompress AS ( -SELECT '&&v_host' - || '_' - || '&&v_dbname' - || '_' - || '&&v_hora' AS pkey, - con_id, - owner, - SUM(table_count) tab, - TRUNC(SUM(table_gbytes)) table_gb, - SUM(partition_count) part, - TRUNC(SUM(partition_gbytes)) part_gb, - SUM(subpartition_count) subpart, - TRUNC(SUM(subpartition_gbytes)) subpart_gb, - TRUNC(SUM(table_gbytes) + SUM(partition_gbytes) - + SUM(subpartition_gbytes)) total_gbytes - FROM (SELECT t.con_id, - t.owner, - COUNT(*) table_count, - SUM(bytes / 1024 / 1024 / 1024) table_gbytes, - 0 partition_count, - 0 partition_gbytes, - 0 subpartition_count, - 0 subpartition_gbytes - FROM cdb_tables t, - cdb_segments s - WHERE t.con_id = s.con_id - AND t.owner = s.owner - AND t.table_name = s.segment_name - AND s.partition_name IS NULL - AND compression = 'ENABLED' - AND t.owner NOT IN - ( - SELECT name - FROM SYSTEM.logstdby$skip_support - WHERE action=0) - GROUP BY t.con_id, - t.owner - UNION ALL - SELECT t.con_id, - t.table_owner owner, - 0, - 0, - COUNT(*), - SUM(bytes / 1024 / 1024 / 1024), - 0, - 0 - FROM cdb_tab_partitions t, - cdb_segments s - WHERE t.con_id = s.con_id - AND t.table_owner = s.owner - AND t.table_name = s.segment_name - AND t.partition_name = s.partition_name - AND compression = 'ENABLED' - AND t.table_owner NOT IN ( - SELECT name - FROM SYSTEM.logstdby$skip_support - WHERE action=0) - GROUP BY t.con_id, - t.table_owner - UNION ALL - SELECT t.con_id, - t.table_owner owner, - 0, - 0, - 0, - 0, - COUNT(*), - SUM(bytes / 1024 / 1024 / 1024) - FROM cdb_tab_subpartitions t, - cdb_segments s - WHERE t.con_id = s.con_id - AND t.table_owner = s.owner - AND t.table_name = s.segment_name - AND t.subpartition_name = s.partition_name - AND compression = 'ENABLED' - AND t.table_owner NOT IN - ( - SELECT name - FROM SYSTEM.logstdby$skip_support - WHERE action=0) - GROUP BY t.con_id, - t.table_owner) - GROUP BY con_id, - owner - HAVING TRUNC(SUM(table_gbytes) + SUM(partition_gbytes) - + SUM(subpartition_gbytes)) > 0 ) -SELECT pkey || '&&colspr' || con_id || '&&colspr' || owner || '&&colspr' || tab || '&&colspr' || table_gb || '&&colspr' || part || '&&colspr' || - part_gb || '&&colspr' || subpart || '&&colspr' || subpart_gb || '&&colspr' || total_gbytes -FROM vtbcompress -ORDER BY total_gbytes DESC; - -spool off - spool opdb__compressbytype__&v_tag WITH vcompresstype AS ( @@ -1223,6 +1127,7 @@ WHERE s.snap_id = g.snap_id or LOWER(stat_name) LIKE 'cell%smart%' or LOWER(stat_name) LIKE 'cell%mem%' or LOWER(stat_name) LIKE 'cell%flash%' + or LOWER(stat_name) LIKE 'cell%uncompressed%' or LOWER(stat_name) LIKE '%db%block%' or LOWER(stat_name) LIKE '%execute%' -- or LOWER(stat_name) LIKE '%lob%' @@ -1622,3 +1527,23 @@ SELECT pkey || '&&colspr' || con_id || '&&colspr' || tab_count || '&&colspr' || FROM vcidx; spool off + +spool opdb__dataguard__&v_tag + +WITH vodg AS ( +SELECT '&&v_host' + || '_' + || '&&v_dbname' + || '_' + || '&&v_hora' AS pkey, + con_id, inst_id, dest_id, dest_name, destination, status, target, schedule, register, + alternate, transmit_mode, affirm, valid_role, verify, + CASE WHEN target = 'STANDBY' OR target = 'REMOTE' THEN (SELECT DECODE(listagg(value, '|') WITHIN GROUP (ORDER BY value), NULL, 'LOG_ARCHIVE_CONFIG_NOT_CONFIGURED', listagg(value, '&&colspr') WITHIN GROUP (ORDER BY value)) FROM gv$parameter WHERE UPPER(name) = 'LOG_ARCHIVE_CONFIG') ELSE 'LOCAL_DESTINATION_CONFIG_NOT_APPLICABLE' END log_archive_config +FROM gv$archive_dest +WHERE destination IS NOT NULL) +SELECT pkey || '&&colspr' || con_id || '&&colspr' || inst_id || '&&colspr' || log_archive_config || '&&colspr' || dest_id || '&&colspr' || dest_name || '&&colspr' || destination || '&&colspr' || status || '&&colspr' || + target || '&&colspr' || schedule || '&&colspr' || register || '&&colspr' || alternate || '&&colspr' || + transmit_mode || '&&colspr' || affirm || '&&colspr' || valid_role || '&&colspr' || verify +FROM vodg; + +spool off \ No newline at end of file diff --git a/db_assessment/dbSQLCollector/oracle_db_assessment_ONLY_FOR_11g.sql b/db_assessment/dbSQLCollector/oracle_db_assessment_ONLY_FOR_11g.sql index 9ac8dcf6..997696fb 100644 --- a/db_assessment/dbSQLCollector/oracle_db_assessment_ONLY_FOR_11g.sql +++ b/db_assessment/dbSQLCollector/oracle_db_assessment_ONLY_FOR_11g.sql @@ -1,5 +1,5 @@ /* -Copyright 2021 Google LLC +Copyright 2022 Google LLC Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -21,12 +21,12 @@ Please ensure you have proper licensing. For more information consult Oracle Sup /* -Version: 2.0.5 -Date: 2022-04-22 +Version: 2.0.6 +Date: 2022-06-15 */ -define version = '2.0.5' +define version = '2.0.6' define dtrange = 30 define colspr = ';' @@ -273,91 +273,6 @@ FROM vused; spool off -spool opdb__compressbytable__&v_tag - -WITH vtbcompress AS ( - SELECT '&&v_host' - || '_' - || '&&v_dbname' - || '_' - || '&&v_hora' AS pkey, - owner, - SUM(table_count) tab, - TRUNC(SUM(table_gbytes)) table_gb, - SUM(partition_count) part, - TRUNC(SUM(partition_gbytes)) part_gb, - SUM(subpartition_count) subpart, - TRUNC(SUM(subpartition_gbytes)) subpart_gb, - TRUNC(SUM(table_gbytes) + SUM(partition_gbytes) - + SUM(subpartition_gbytes)) total_gbytes - FROM (SELECT t.owner, - COUNT(*) table_count, - SUM(bytes / 1024 / 1024 / 1024) table_gbytes, - 0 partition_count, - 0 partition_gbytes, - 0 subpartition_count, - 0 subpartition_gbytes - FROM dba_tables t, - dba_segments s - WHERE t.owner = s.owner - AND t.table_name = s.segment_name - AND s.partition_name IS NULL - AND compression = 'ENABLED' - AND t.owner NOT IN - ( - SELECT name - FROM SYSTEM.logstdby$skip_support - WHERE action=0) - GROUP BY t.owner - UNION ALL - SELECT t.table_owner owner, - 0, - 0, - COUNT(*), - SUM(bytes / 1024 / 1024 / 1024), - 0, - 0 - FROM dba_tab_partitions t, - dba_segments s - WHERE t.table_owner = s.owner - AND t.table_name = s.segment_name - AND t.partition_name = s.partition_name - AND compression = 'ENABLED' - AND t.table_owner NOT IN ( - SELECT name - FROM SYSTEM.logstdby$skip_support - WHERE action=0) - GROUP BY t.table_owner - UNION ALL - SELECT t.table_owner owner, - 0, - 0, - 0, - 0, - COUNT(*), - SUM(bytes / 1024 / 1024 / 1024) - FROM dba_tab_subpartitions t, - dba_segments s - WHERE t.table_owner = s.owner - AND t.table_name = s.segment_name - AND t.subpartition_name = s.partition_name - AND compression = 'ENABLED' - AND t.table_owner NOT IN - ( - SELECT name - FROM SYSTEM.logstdby$skip_support - WHERE action=0) - GROUP BY t.table_owner) - GROUP BY owner - HAVING TRUNC(SUM(table_gbytes) + SUM(partition_gbytes) - + SUM(subpartition_gbytes)) > 0) -SELECT pkey || '&&colspr' || 'N/A' || '&&colspr' || owner || '&&colspr' || tab || '&&colspr' || table_gb || '&&colspr' || part || '&&colspr' || part_gb || '&&colspr' || - subpart || '&&colspr' || subpart_gb || '&&colspr' || total_gbytes -FROM vtbcompress -ORDER BY total_gbytes DESC; - -spool off - spool opdb__compressbytype__&v_tag WITH vcompresstype AS ( @@ -1135,6 +1050,7 @@ WHERE s.snap_id = g.snap_id or LOWER(stat_name) LIKE 'cell%smart%' or LOWER(stat_name) LIKE 'cell%mem%' or LOWER(stat_name) LIKE 'cell%flash%' + or LOWER(stat_name) LIKE 'cell%uncompressed%' or LOWER(stat_name) LIKE '%db%block%' or LOWER(stat_name) LIKE '%execute%' -- or LOWER(stat_name) LIKE '%lob%' @@ -1531,3 +1447,23 @@ SELECT pkey || '&&colspr' || 'N/A' || '&&colspr' || tab_count || '&&colspr' || i FROM vcidx; spool off + +spool opdb__dataguard__&v_tag + +WITH vodg AS ( +SELECT '&&v_host' + || '_' + || '&&v_dbname' + || '_' + || '&&v_hora' AS pkey, + inst_id, dest_id, dest_name, destination, status, target, schedule, register, + alternate, transmit_mode, affirm, valid_role, verify, + CASE WHEN target = 'STANDBY' OR target = 'REMOTE' THEN (SELECT DECODE(listagg(value, '|') WITHIN GROUP (ORDER BY value), NULL, 'LOG_ARCHIVE_CONFIG_NOT_CONFIGURED', listagg(value, '&&colspr') WITHIN GROUP (ORDER BY value)) FROM gv$parameter WHERE UPPER(name) = 'LOG_ARCHIVE_CONFIG') ELSE 'LOCAL_DESTINATION_CONFIG_NOT_APPLICABLE' END log_archive_config +FROM gv$archive_dest +WHERE destination IS NOT NULL) +SELECT pkey || '&&colspr' || 'N/A' || '&&colspr' || inst_id || '&&colspr' || log_archive_config || '&&colspr' || dest_id || '&&colspr' || dest_name || '&&colspr' || destination || '&&colspr' || status || '&&colspr' || + target || '&&colspr' || schedule || '&&colspr' || register || '&&colspr' || alternate || '&&colspr' || + transmit_mode || '&&colspr' || affirm || '&&colspr' || valid_role || '&&colspr' || verify +FROM vodg; + +spool off \ No newline at end of file diff --git a/db_assessment/opConfig/transformers.json b/db_assessment/opConfig/transformers.json index f358a6c1..c476d1d7 100644 --- a/db_assessment/opConfig/transformers.json +++ b/db_assessment/opConfig/transformers.json @@ -717,6 +717,56 @@ "usedspacedetails": [["pkey","STRING"],["con_id","STRING"],["owner","STRING"],["segment_type","STRING"],["size_gb","STRING"]], "idxpertable": [["pkey","STRING"],["con_id","STRING"],["tab_count","STRING"],["idx_cnt","STRING"],["idx_perc","STRING"]] } + }, + "2.0.6": + { + "111,112,121,122,180,181,182,183,184,185,186,187,188,189,1810,1811,1812,1813,190,191,192,193,194,195,196,197,198,199,1910,1911,1912,210,211,212,213,214,215,216": + { + "opkeylog": [["pkey","STRING"],["opscriptversion","STRING"],["dbversion","STRING"],["hostname","STRING"],["dbname","STRING"],["instance_name","STRING"],["collection_time","STRING"],["dbid","STRING"],["cmnt","STRING"],["loadtobqdate","STRING"],["jobparams","STRING"]], + "dbsummary": [["pkey","STRING"],["dbid","STRING"],["db_name","STRING"],["cdb","STRING"],["dbversion","STRING"],["dbfullversion","STRING"],["log_mode","STRING"],["force_logging","STRING"],["redo_gb_per_day","STRING"],["rac_dbinstaces","STRING"],["characterset","STRING"],["platform_name","STRING"],["startup_time","STRING"],["user_schemas","STRING"],["buffer_cache_mb","STRING"],["shared_pool_mb","STRING"],["total_pga_allocated_mb","STRING"],["db_size_allocated_gb","STRING"],["db_size_in_use_gb","STRING"],["db_long_size_gb","STRING"],["dg_database_role","STRING"],["dg_protection_mode","STRING"],["dg_protection_level","STRING"]], + "dboverview": [["pkey","STRING"],["metric","STRING"],["value","STRING"]], + "pdbsinfo": [["pkey","STRING"],["dbid","STRING"],["pdb_id","STRING"],["pdb_name","STRING"],["status","STRING"],["logging","STRING"]], + "pdbsopenmode": [["pkey","STRING"],["con_id","STRING"],["name","STRING"],["open_mode","STRING"],["total_gb","STRING"]], + "dbinstances": [["pkey","STRING"],["inst_id","STRING"],["instance_name","STRING"],["host_name","STRING"],["version","STRING"],["status","STRING"],["database_status","STRING"],["instance_role","STRING"]], + "compressbytype": [["pkey","STRING"],["con_id","STRING"],["owner","STRING"],["basic","STRING"],["oltp","STRING"],["query_low","STRING"],["query_high","STRING"],["archive_low","STRING"],["archive_high","STRING"],["total_gb","STRING"]], + "dbparameters": [["pkey","STRING"],["inst_id","STRING"],["con_id","STRING"],["name","STRING"],["value","STRING"],["default_value","STRING"],["isdefault_value","STRING"]], + "dbfeatures": [["pkey","STRING"],["con_id","STRING"],["name","STRING"],["current_usage","STRING"],["detected_usage","STRING"],["total_samples","STRING"],["first_usage","STRING"],["last_usage","STRING"],["aux_count","STRING"]], + "dbhwmarkstatistics": [["pkey","STRING"],["description","STRING"],["highwater","STRING"],["last_value","STRING"]], + "dbobjects": [["pkey","STRING"],["con_id","STRING"],["owner","STRING"],["objecttype","STRING"],["editionable","STRING"],["coun","STRING"],["in_con_id","STRING"],["in_owner","STRING"],["in_object_type","STRING"],["in_editionable","STRING"]], + "sourcecode": [["pkey","STRING"],["con_id","STRING"],["owner","STRING"],["type","STRING"],["nr_lines","STRING"],["qt_objs","STRING"],["nr_lines_w_utl","STRING"],["nr_lines_w_dbms","STRING"],["nr_lines_w_exec_im","STRING"],["nr_lines_w_dbms_sql","STRING"],["nr_lines_w_dbms_utl","STRING"],["nr_lines_total","STRING"]], + "indexestypes": [["pkey","STRING"],["con_id","STRING"],["owner","STRING"],["index_type","STRING"],["coun","STRING"]], + "datatypes": [["pkey","STRING"],["con_id","STRING"],["owner","STRING"],["data_type","STRING"],["coun","STRING"]], + "cpucoresusage": [["pkey","STRING"],["dt","STRING"],["cpu_count","STRING"],["cpu_core_count","STRING"],["cpu_socket_count","STRING"]], + "tablesnopk": [["pkey","STRING"],["con_id","STRING"],["owner","STRING"],["pk","STRING"],["uk","STRING"],["ck","STRING"],["ri","STRING"],["vwck","STRING"],["vmro","STRING"],["hashexpr","STRING"],["suplog","STRING"],["num_tables","STRING"],["total_cons","STRING"]], + "awrhistsysmetrichist": [["pkey","STRING"],["dbid","STRING"],["instance_number","STRING"],["hour","STRING"],["metric_name","STRING"],["metric_unit","STRING"],["avg_value","STRING"],["mode_value","STRING"],["median_value","STRING"],["min_value","STRING"],["max_value","STRING"],["sum_value","STRING"],["perc50","STRING"],["perc75","STRING"],["perc90","STRING"],["perc95","STRING"],["perc100","STRING"]], + "awrhistsysmetricsumm": [["pkey","STRING"],["dbid","STRING"],["instance_number","STRING"],["hour","STRING"],["metric_name","STRING"],["metric_unit","STRING"],["avg_value","STRING"],["mode_value","STRING"],["median_value","STRING"],["min_value","STRING"],["max_value","STRING"],["sum_value","STRING"],["perc50","STRING"],["perc75","STRING"],["perc90","STRING"],["perc95","STRING"],["perc100","STRING"]], + "awrhistsystimemodel":[["pkey","STRING"],["total_awr_secs","STRING"],["con_id","STRING"],["dbid","STRING"],["instance_number","STRING"],["hour","STRING"],["stat_name","STRING"],["hour_total_secs","STRING"],["avg_value","STRING"],["mode_value","STRING"],["median_value","STRING"],["perc50","STRING"],["perc75","STRING"],["perc90","STRING"],["perc95","STRING"],["perc100","STRING"],["min_value","STRING"],["max_value","STRING"],["sum_value","STRG"],["coun","STRING"]], + "awrhistosstat": [["pkey","STRING"],["dbid","STRING"],["instance_number","STRING"],["hour","STRING"],["stat_name","STRING"],["hour_total_secs","STRING"],["cumulative_value","STRING"],["avg_value","STRING"],["mode_value","STRING"],["median_value","STRING"],["perc50","STRING"],["perc75","STRING"],["perc90","STRING"],["perc95","STRING"],["perc100","STRING"],["min_value","STRING"],["max_value","STRING"],["sum_value","STRING"],["cnt","STRING"]], + "awrhistcmdtypes": [["pkey","STRING"],["con_id","STRING"],["hour","STRING"],["command_type","STRING"],["coun","STRING"],["avg_buffer_gets","STRING"],["avg_elapsed_time","STRING"],["avg_rows_processed","STRING"],["avg_executions","STRING"],["avg_cpu_time","STRING"],["avg_iowait","STRING"],["avg_clwait","STRING"],["avg_apwait","STRING"],["avg_ccwait","STRING"],["avg_plsexec_time","STRING"]], + "optimusconfig_bms_machinesizes": [["cores","STRING"],["ram_gb","STRING"],["machine_size","STRING"],["machine_size_short","STRING"],["processor","STRING"],["est_price","STRING"]], + "optimusconfig_network_to_gcp": [["network_to_gcp","STRING"],["gbytes_per_sec","STRING"],["mbytes_per_sec","STRING"]], + "awrhistsysmetrichist_rs": [["pkey","STRING"],["con_id","STRING"],["dbid","STRING"],["instance_number","STRING"],["hour","STRING"],["AAS_PERC90","STRING"],["BKGRCPU_PER_SEC_PERC90","STRING"],["CPU_PER_SEC_PERC90","STRING"],["EXEC_PER_SEC_PERC90","STRING"],["HOST_CPU_PER_SEC_PERC90","STRING"],["IOMBPS_PERC90","STRING"],["IOPS_PERC90","STRING"],["LOG_READS_PER_TXN_PERC90","STRING"],["LOGONS_PER_SEC_PERC90","STRING"],["PHY_READS_PER_SEC_PERC90","STRING"],["PHY_WRITES_PER_SEC_PERC90","STRING"],["REDO_GEN_PER_SEC_PERC90","STRING"],["SQL_RT_PERC90","STRING"],["USERCALLS_PER_SEC_PERC90","STRING"],["USER_TX_PER_SEC_PERC90","STRING"],["AAS_PERC95","STRING"],["BKGRCPU_PER_SEC_PERC95","STRING"],["CPU_PER_SEC_PERC95","STRING"],["EXEC_PER_SEC_PERC95","STRING"],["HOST_CPU_PER_SEC_PERC95","STRING"],["IOMBPS_PERC95","STRING"],["IOPS_PERC95","STRING"],["LOG_READS_PER_TXN_PERC95","STRING"],["LOGONS_PER_SEC_PERC95","STRING"],["PHY_READS_PER_SEC_PERC95","STRING"],["PHY_WRITES_PER_SEC_PERC95","STRING"],["REDO_GEN_PER_SEC_PERC95","STRING"],["SQL_RT_PERC95","STRING"],["USERCALLS_PER_SEC_PERC95","STRING"],["USER_TX_PER_SEC_PERC95","STRING"]], + "awrhistosstat_rs": [["pkey","STRING"],["con_id","STRING"],["dbid","STRING"],["instance_number","STRING"],["hour","STRING"],["BUSY_TIME_PERC90","STRING"],["FREE_MEMORY_BYTES_PERC90","STRING"],["IDLE_TIME_PERC90","STRING"],["INACTIVE_MEMORY_BYTES_PERC90","STRING"],["IOWAIT_TIME_PERC90","STRING"],["LOAD_PERC90","STRING"],["NICE_TIME_PERC90","STRING"],["NUM_CPUS_PERC90","STRING"],["NUM_CPU_CORES_PERC90","STRING"],["NUM_CPU_SOCKETS_PERC90","STRING"],["PHYSICAL_MEMORY_BYTES_PERC90","STRING"],["RSRC_MGR_CPU_WAIT_TIME_PERC90","STRING"],["SWAP_FREE_BYTES_PERC90","STRING"],["SYS_TIME_PERC90","STRING"],["USER_TIME_PERC90","STRING"],["VM_IN_BYTES_PERC90","STRING"],["VM_OUT_BYTES_PERC90","STRING"],["BUSY_TIME_PERC95","STRING"],["FREE_MEMORY_BYTES_PERC95","STRING"],["IDLE_TIME_PERC95","STRING"],["INACTIVE_MEMORY_BYTES_PERC95","STRING"],["IOWAIT_TIME_PERC95","STRING"],["LOAD_PERC95","STRING"],["NICE_TIME_PERC95","STRING"],["NUM_CPUS_PERC95","STRING"],["NUM_CPU_CORES_PERC95","STRING"],["NUM_CPU_SOCKETS_PERC95","STRING"],["PHYSICAL_MEMORY_BYTES_PERC95","STRING"],["RSRC_MGR_CPU_WAIT_TIME_PERC95","STRING"],["SWAP_FREE_BYTES_PERC95","STRING"],["SYS_TIME_PERC95","STRING"],["USER_TIME_PERC95","STRING"],["VM_IN_BYTES_PERC95","STRING"],["VM_OUT_BYTES_PERC95","STRING"]], + "dbparameters_rs": [["pkey","STRING"],["inst_id","STRING"],["con_id","STRING"],["buffer_pool_keep_value","STRING"],["buffer_pool_recycle_value","STRING"],["cluster_database_value","STRING"],["compatible_value","STRING"],["cpu_count_value","STRING"],["db_16k_cache_size_value","STRING"],["db_2k_cache_size_value","STRING"],["db_32k_cache_size_value","STRING"],["db_4k_cache_size_value","STRING"],["db_8k_cache_size_value","STRING"],["db_block_size_value","STRING"],["db_cache_size_value","STRING"],["db_domain_value","STRING"],["db_flash_cache_file_value","STRING"],["db_flash_cache_size_value","STRING"],["db_flashback_retention_target_value","STRING"],["db_keep_cache_size_value","STRING"],["db_name_value","STRING"],["db_recycle_cache_size_value","STRING"],["db_unique_name_value","STRING"],["enable_goldengate_replication_value","STRING"],["fal_client_value","STRING"],["fal_server_value","STRING"],["forward_listener_value","STRING"],["inmemory_size_value","STRING"],["instance_name_value","STRING"],["java_pool_size_value","STRING"],["large_pool_size_value","STRING"],["local_listener_value","STRING"],["max_iops_value","STRING"],["max_mbps_value","STRING"],["memory_max_target_value","STRING"],["memory_target_value","STRING"],["optimizer_features_enable_value","STRING"],["parallel_instance_group_value","STRING"],["parallel_max_servers_value","STRING"],["parallel_min_servers_value","STRING"],["pga_aggregate_limit_value","STRING"],["pga_aggregate_target_value","STRING"],["remote_listener_value","STRING"],["resource_manager_plan_value","STRING"],["sga_max_size_value","STRING"],["sga_min_size_value","STRING"],["sga_target_value","STRING"],["shared_pool_size_value","STRING"],["spfile_value","STRING"],["buffer_pool_keep_default_value","STRING"],["buffer_pool_recycle_default_value","STRING"],["cluster_database_default_value","STRING"],["compatible_default_value","STRING"],["cpu_count_default_value","STRING"],["db_16k_cache_size_default_value","STRING"],["db_2k_cache_size_default_value","STRING"],["db_32k_cache_size_default_value","STRING"],["db_4k_cache_size_default_value","STRING"],["db_8k_cache_size_default_value","STRING"],["db_block_size_default_value","STRING"],["db_cache_size_default_value","STRING"],["db_domain_default_value","STRING"],["db_flash_cache_file_default_value","STRING"],["db_flash_cache_size_default_value","STRING"],["db_flashback_retention_target_default_value","STRING"],["db_keep_cache_size_default_value","STRING"],["db_name_default_value","STRING"],["db_recycle_cache_size_default_value","STRING"],["db_unique_name_default_value","STRING"],["enable_goldengate_replication_default_value","STRING"],["fal_client_default_value","STRING"],["fal_server_default_value","STRING"],["forward_listener_default_value","STRING"],["inmemory_size_default_value","STRING"],["instance_name_default_value","STRING"],["java_pool_size_default_value","STRING"],["large_pool_size_default_value","STRING"],["local_listener_default_value","STRING"],["max_iops_default_value","STRING"],["max_mbps_default_value","STRING"],["memory_max_target_default_value","STRING"],["memory_target_default_value","STRING"],["optimizer_features_enable_default_value","STRING"],["parallel_instance_group_default_value","STRING"],["parallel_max_servers_default_value","STRING"],["parallel_min_servers_default_value","STRING"],["pga_aggregate_limit_default_value","STRING"],["pga_aggregate_target_default_value","STRING"],["remote_listener_default_value","STRING"],["resource_manager_plan_default_value","STRING"],["sga_max_size_default_value","STRING"],["sga_min_size_default_value","STRING"],["sga_target_default_value","STRING"],["shared_pool_size_default_value","STRING"],["spfile_default_value","STRING"]], + "ashprograms": [["pkey","STRING"],["program","STRING"],["module","STRING"],["machine","STRING"],["coun","STRING"]], + "ashsqlwaits": [["pkey","STRING"],["sql_id","STRING"],["sql_opname","STRING"],["sql_plan_hash_value","STRING"],["event","STRING"],["total_waits","STRING"]], + "topaccess": [["pkey","STRING"],["operation","STRING"],["options","STRING"],["object","STRING"],["object_owner","STRING"],["object_name","STRING"],["object_type","STRING"],["count_access","STRING"]], + "topsegments": [["pkey","STRING"],["object_id","STRING"],["owner","STRING"],["object_name","STRING"],["logical_reads_total","STRING"],["db_block_changes_total","STRING"],["buffer_busy","STRING"],["buffer_busy_waits_total","STRING"],["physical_reads_total","STRING"],["physical_writes_total","STRING"],["row_lock_waits_total","STRING"],["table_scans_total","STRING"]], + "topsqls": [["pkey","STRING"],["snap_id","STRING"],["inst_id","STRING"],["con_id","STRING"],["end_time","STRING"],["hour","STRING"],["sql_id","STRING"],["phv","STRING"],["module","STRING"],["rows_per_exec","STRING"],["rank_rows_buff","STRING"],["rows_per_buffer","STRING"],["rank_exec_elap","STRING"],["et_secs_per_sec","STRING"],["cpu_secs_per_exec","STRING"],["io_secs_per_exec","STRING"],["cl_secs_per_exec","STRING"],["ap_secs_per_exec","STRING"],["cc_secs_per_exec","STRING"],["pl_secs_per_exec","STRING"]], + "usrsegatt": [["pkey","STRING"],["con_id","STRING"],["owner","STRING"],["segmen_name","STRING"],["segment_type","STRING"],["tablespace_name","STRING"]], + "dbahistsysstat": [["pkey","STRING"],["dbid","STRING"],["instance_number","STRING"],["hour","STRING"],["stat_name","STRING"],["cnt","STRING"],["avg_value","STRING"],["mode_value","STRING"],["median_value","STRING"],["min_value","STRING"],["max_value","STRING"],["sum_value","STRING"],["perc50","STRING"],["perc75","STRING"],["perc90","STRING"],["perc95","STRING"],["perc100","STRING"]], + "dbahistsystimemodel": [["pkey","STRING"],["dbid","STRING"],["instance_number","STRING"],["hour","STRING"],["stat_name","STRING"],["cnt","STRING"],["avg_value","STRING"],["mode_value","STRING"],["median_value","STRING"],["min_value","STRING"],["max_value","STRING"],["sum_value","STRING"],["perc50","STRING"],["perc75","STRING"],["perc90","STRING"],["perc95","STRING"],["perc100","STRING"]], + "awrsnapdetails": [["pkey","STRING"],["dbid","STRING"],["instance_number","STRING"],["hour","STRING"],["min_snapid","STRING"],["max_snapid","STRING"],["min_begin_interval_time","STRING"],["max_begin_interval_time","STRING"],["cnt","STRING"],["sum_snaps_diff_secs","STRING"],["avg_snaps_diff_secs","STRING"],["median_snaps_diff_secs","STRING"],["mode_snaps_diff_secs","STRING"],["min_snaps_diff_secs","STRING"],["max_snaps_diff_secs","STRING"]], + "sourceconn": [["pkey","STRING"],["dbid","STRING"],["instance_number","STRING"],["hour","STRING"],["program","STRING"],["module","STRING"],["machine","STRING"],["command_name","STRING"],["cnt","STRING"]], + "exttab": [["pkey","STRING"],["con_id","STRING"],["owner","STRING"],["table_name","STRING"],["type_owner","STRING"],["type_name","STRING"],["default_directory_owner","STRING"],["default_directory_name","STRING"]], + "iofunction": [["pkey","STRING"],["dbid","STRING"],["instance_number","STRING"],["hour","STRING"],["function_name","STRING"],["sm_read_mb_delta_value_P95","STRING"],["sm_write_mb_delta_value_P95","STRING"],["sm_read_rq_delta_value_P95","STRING"],["sm_write_rq_delta_value_P95","STRING"],["lg_read_mb_delta_value_P95","STRING"],["lg_write_mb_delta_value_P95","STRING"],["lg_read_rq_delta_value_P95","STRING"],["lg_write_rq_delta_value_P95","STRING"],["no_iowait_delta_value_P95","STRING"],["tot_watime_delta_value_P95","STRING"],["total_reads_mb_P95","STRING"],["total_reads_req_P95","STRING"],["total_writes_mb_P95","STRING"],["total_write_req_P95","STRING"]], + "ioevents": [["pkey","STRING"],["dbid","STRING"],["instance_number","STRING"],["hour","STRING"],["wait_class","STRING"],["event_name","STRING"],["tot_waits_delta_value_P95","STRING"],["tot_tout_delta_value_P95","STRING"],["time_wa_us_delta_value_P95","STRING"]], + "sqlstats": [["pkey","STRING"],["con_id","STRING"],["dbid","STRING"],["instance_number","STRING"],["force_matching_signature","STRING"],["sql_id","STRING"],["total_executions","STRING"],["total_px_servers_execs","STRING"],["elapsed_time_total","STRING"],["disk_reads_total","STRING"],["physical_read_bytes_total","STRING"],["physical_write_bytes_total","STRING"],["io_offload_elig_bytes_total","STRING"],["io_interconnect_bytes_total","STRING"],["optimized_physical_reads_total","STRING"],["cell_uncompressed_bytes_total","STRING"],["io_offload_return_bytes_total","STRING"],["direct_writes_total","STRING"],["perc_exec_finished","STRING"],["avg_rows","STRING"],["avg_disk_reads","STRING"],["avg_buffer_gets","STRING"],["avg_cpu_time_us","STRING"],["avg_elapsed_us","STRING"],["avg_iowait_us","STRING"],["avg_clwait_us","STRING"],["avg_apwait_us","STRING"],["avg_ccwait_us","STRING"],["avg_plsexec_us","STRING"],["avg_javexec_us","STRING"]], + "dblinks": [["pkey","STRING"],["con_id","STRING"],["owner","STRING"],["count","STRING"]], + "usedspacedetails": [["pkey","STRING"],["con_id","STRING"],["owner","STRING"],["segment_type","STRING"],["size_gb","STRING"]], + "idxpertable": [["pkey","STRING"],["con_id","STRING"],["tab_count","STRING"],["idx_cnt","STRING"],["idx_perc","STRING"]], + "dataguard": [["pkey","STRING"],["con_id","STRING"],["inst_id","STRING"],["log_archive_config","STRING"],["dest_id","STRING"],["dest_name","STRING"],["destination","STRING"],["status","STRING"],["target","STRING"],["schedule","STRING"],["register","STRING"],["alternate","STRING"],["transmit_mode","STRING"],["affirm","STRING"],["valid_role","STRING"],["verify","STRING"]] + } } }, "parameters": @@ -3054,7 +3104,7 @@ " FROM sizingSummarySums", " ORDER BY host_name"], "iferror": "None", "type": "CREATE VIEW", "target_object_name": "V_DS_BMSsizing_summary", "store": "BIGQUERY"}, - "status": "ENABLED", + "status": "DISABLED", "tags": ["DATAFRAMERESHAPE"], "description": "" }, @@ -3079,7 +3129,7 @@ " db_long_size_gb,dg_database_role, dg_protection_mode,dg_protection_level", " FROM ${projectname}.${dataset}.dbsummary"], "iferror": "None", "type": "CREATE VIEW", "target_object_name": "V_DS_dbsummary", "store": "BIGQUERY"}, - "status": "ENABLED", + "status": "DISABLED", "tags": ["DATAFRAMERESHAPE"], "description": "" }, @@ -3165,7 +3215,7 @@ " 10 )", " select * from sourceSizing order by host_name"], "iferror": "None", "type": "CREATE VIEW", "target_object_name": "V_DS_HostDetails", "store": "BIGQUERY"}, - "status": "ENABLED", + "status": "DISABLED", "tags": ["DATAFRAMERESHAPE"], "description": "" }, @@ -3218,7 +3268,7 @@ " from", " ${projectname}.${dataset}.dbsizing_facts"], "iferror": "None", "type": "CREATE VIEW", "target_object_name": "V_DS_dbsizing_facts", "store": "BIGQUERY"}, - "status": "ENABLED", + "status": "DISABLED", "tags": ["DATAFRAMERESHAPE"], "description": "" }, @@ -3237,7 +3287,7 @@ " total_samples, first_usage, last_usage, aux_count", " FROM ${projectname}.${dataset}.dbfeatures"], "iferror": "None", "type": "CREATE VIEW", "target_object_name": "V_DS_dbfeatures", "store": "BIGQUERY"}, - "status": "ENABLED", + "status": "DISABLED", "tags": ["DATAFRAMERESHAPE"], "description": "" }, @@ -3260,7 +3310,7 @@ " where db_name is not null", " group by _PKEY, db_name,_INSTANCE_NUMBER"], "iferror": "None", "type": "CREATE VIEW", "target_object_name": "V_DS_ConsoldatedCoreCount", "store": "BIGQUERY"}, - "status": "ENABLED", + "status": "DISABLED", "tags": ["DATAFRAMERESHAPE"], "description": "" },