Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1446025
  • 博文数量: 239
  • 博客积分: 5909
  • 博客等级: 大校
  • 技术积分: 2715
  • 用 户 组: 普通用户
  • 注册时间: 2010-07-24 20:19
文章分类

全部博文(239)

文章存档

2014年(4)

2013年(22)

2012年(140)

2011年(14)

2010年(59)

我的朋友

分类: Oracle

2012-07-18 22:10:30

默认是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

阅读(1128) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~