Skip to content

Commit

Permalink
Fix test for 12.2
Browse files Browse the repository at this point in the history
  • Loading branch information
rammpeter committed Sep 27, 2024
1 parent d3e1ef3 commit 0e4798a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions app/helpers/key_explanation_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1201,6 +1201,7 @@ def other_xml_info_type(type)
"parse time elapsed" => "Total elapsed time for parsing, in 10s of milliseconds. Subtract \"parse time cpu\" from this statistic to determine the total waiting time for parse resources.",
"physical maps pmem" => "Number of direct-mapped references acquired from FsDirect. Note that in steady state this is approximately the same as the number of unmaps, because each map requires an unmap (e.g. reuses a PMEM buffer).",
"physical read bytes" => "Total size in bytes of all disk reads by application activity (and not other instance activity) only.",
'physical read total bytes optimized' => "Total number of bytes read from Exadata Smart Flash Cache, and bytes avoided by using storage index or columnar cache.",
"physical read flash cache hits" => "Total number of reads from flash cache instead of disk",
"physical read IO requests" => "Number of read requests for application activity (mainly buffer cache and direct load operation) which read one or more database blocks per request. This is a subset of \"physical read total IO requests\" statistic.",
"physical read requests optimized" => "Number of read requests that read one or more database blocks from the Database Smart Flash Cache or the Exadata Smart Flash Cache.",
Expand Down
2 changes: 1 addition & 1 deletion app/helpers/menu_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def menu_content
]
},
{ :class=> 'menu', :caption=> 'Segment Statistics', :content=>[
{:class=> 'item', :caption=>t(:menu_current_caption, :default=> 'Current'), :controller=>:dba, :action=> 'segment_stat', :hint=>t(:menu_wait_segment_current_hint, :default=> 'Current waits by DB-objects'), min_db_version: '12.2' },
{:class=> 'item', :caption=>t(:menu_current_caption, :default=> 'Current'), :controller=>:dba, :action=> 'segment_stat', :hint=>t(:menu_wait_segment_current_hint, :default=> 'Current waits by DB-objects'), min_db_version: '18' },
{:class=> 'item', :caption=>t(:menu_historic_caption, :default=> 'Historic'), :controller=> 'dba_history', :action=> 'segment_stat_historic', :hint=>t(:menu_wait_segment_historic_hint, :default=> 'Historic values (waits etc.) by DB-objects') },
]
},
Expand Down
2 changes: 1 addition & 1 deletion test/controllers/dba_controller_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ class DbaControllerTest < ActionDispatch::IntegrationTest
end

test "segment_stat with xhr: true" do
if get_db_version >= '12.2'
if get_db_version >= '18'
post '/dba/list_segment_statistics', params: { format: :html, update_area: :hugo, sample_length: 5 }
assert_response :success

Expand Down

0 comments on commit 0e4798a

Please sign in to comment.