单用户系统特征

偶然发现一个标准的单用户系统,和大家分享一下。
其实判断依据很简单,并不是通过会话数,或者检查是否只有一个非系统会话实现的,事实上是通过TOP 5等待得出的结论:
Event Waits Time(s) Avg Wait(ms) % Total Call Time Wait Class
CPU time 79,791 78.7
log file sync 61,567,574 58,918 1 58.1 Commit
log file parallel write 61,726,240 58,053 1 57.3 System I/O
db file sequential read 8,292,977 22,979 3 22.7 User I/O
control file parallel write 297,497 867 3 .9 System I/O

很明显log file sync的等待和log file parallel write等待无论是等待次数还是等待时间几乎完全相同,这就足以说明这是一个单用户系统了。
当然有可能存在个别会话进行数据的读取,因此这个系统严格意义上说应该是单用户写入系统。

This entry was posted in ORACLE and tagged , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *