你好,游客 登录 注册 搜索
背景:
阅读新闻

Oracle中的Parallel Execution 和有用的view

[日期:2012-08-04] 来源:Linux社区  作者:icybay [字体:大 中 小]

默认是parallel_max_servers是大于0的 也就是打开的

alter session enable parallel [ddl | dml | query];
alter session disable parallel [ddl | dml | query];
alter session force parallel ddl parallel 5;

用来分析DB性能的几个view.

V$PROCESS
Contains information about the currently active processes

V$SESSION
Lists session information for each current session

V$SESS_IO
Contains I/O statistics for each user session

V$SESSION_LONGOPS
Displays the status of various operations that run for longer than 6 seconds (in absolute time). These operations currently include many backup and recovery functions, statistics gathering, and query execution. More operations are added for every Oracle Database release.

V$SESSION_WAIT
Displays the current or last wait for each session

V$SESSION_WAIT_HISTORY
Lists the last ten wait events for each active session

V$WAIT_CHAINS
Displays information about blocked sessions

V$SYSSTAT
Contains session statistics

V$RESOURCE_LIMIT
Provides information about current and maximum global resource utilization for some system resources

V$SQLAREA
Contains statistics about shared SQL areas. Contains one row for each SQL string. Provides statistics about SQL statements that are in memory, parsed, and ready for execution

更多Oracle相关信息见Oracle 专题页面 http://www.linuxidc.com/topicnews.aspx?tid=12

linux
相关资讯       Oracle基础 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款