微前端架构如何改变企业的开发模式与效率提升
391
2023-12-14
今天就跟大家聊聊有关常用的Oracle 11g内存视图脚本有哪些,可能很多人都不太了解,为了让大家更加了解,小编给大家总结了以下内容,希望大家根据这篇文章可以有所收获。
今天主要分享几个关于Oracle数据库的内存视图的脚本。
一、V$MEMORY_DYNAMIC_COMPONENTS
V$MEMORY_DYNAMIC_COMPONENTS displays information about the dynamic SGA components. This view summarizes information basedon allcompleted SGA resize operations since instance startup.All sizes are expressed in bytes.脚本: Provides information about dynamic memory components.
COLUMN component FORMAT A30 SELECT component, ROUND(current_size/1024/1024) AS current_size_mb, ROUND(min_size/1024/1024) AS min_size_mb, ROUND(max_size/1024/1024) ASmax_size_mbFROM v$memory_dynamic_components WHERE current_size != 0 ORDER BY component;二、V$MEMORY_RESIZE_OPS
V$MEMORY_RESIZE_OPS displays information about the last 800 completed memory resizeoperations (both automatic and manual). This does not include in-progress operations. All sizes are expressed in bytes.脚本:Provides information about memory resize operations.
SET LINESIZE 200 COLUMN parameter FORMAT A25 SELECTstart_time, end_time, component, oper_type, oper_mode, parameter,ROUND(initial_size/1024/1024) ASinitial_size_mb,ROUND(target_size/1024/1024) AS target_size_mb, ROUND(final_size/1024/1024) AS final_size_mb, status FROM v$memory_resize_ops ORDER BY start_time;三、V$MEMORY_TARGET_ADVICE
V$MEMORY_TARGET_ADVICE provides information about how the MEMORY_TARGET parameter should be sized based on current sizingandsatisfaction metrics.脚本3: Provides information to help tune the MEMORY_TARGET parameter.
SELECT * FROMv$memory_target_adviceORDER BY memory_size;看完上述内容,你们对常用的Oracle 11g内存视图脚本有哪些有进一步的了解吗?如果还想了解更多知识或者相关内容,请关注行业资讯频道,感谢大家的支持。
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。
发表评论
暂时没有评论,来抢沙发吧~