1 2 | [oracle@test02 ~]$ ps -ef | grep $ORACLE_SID | grep lgwr oracle 5140 1 0 Nov09 ? 00:00:12 ora_lgwr_mydb |
1 | [oracle@test02 ~]$ strace -p 5140 2>&1 | grep -i open |
1 2 3 | ALTER DATABASE ADD LOGFILE ('/u02/oradata/mydb/redolog/group04/redo05a.log', '/u02/oradata/mydb/redolog/group04/redo05b.log') SIZE 50m; |
1 2 3 4 5 6 | alter system switch logfile; alter system switch logfile; alter system switch logfile; alter system switch logfile; alter system switch logfile; alter system switch logfile; |
1 2 3 4 5 6 7 8 9 10 11 | open("/u02/oradata/mydb/redolog/group04/redo05a.log", O_RDONLY) = 60 open("/u02/oradata/mydb/redolog/group04/redo05a.log", O_RDWR|O_SYNC) = 60 open("/u02/oradata/mydb/redolog/group04/redo05b.log", O_RDONLY) = 61 open("/u02/oradata/mydb/redolog/group04/redo05b.log", O_RDWR|O_SYNC) = 61 open("/proc/5164/stat", O_RDONLY) = 62 open("/u01/app/admin/mydb/bdump/alert_mydb.log", O_WRONLY|O_CREAT|O_APPEND, 0664) = 8 open("/u01/app/admin/mydb/bdump/alert_mydb.log", O_WRONLY|O_CREAT|O_APPEND, 0664) = 8 open("/u01/app/admin/mydb/bdump/alert_mydb.log", O_WRONLY|O_CREAT|O_APPEND, 0664) = 8 ....... ....... ....... |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | [ora11g@FWDB ~]$ time dd if=/dev/zero of=/tmp/bigfile.bin bs=1048576 count=2048 ; time sync ; 2048+0 records in 2048+0 records out 2147483648 bytes (2.1 GB) copied, 11.7151 seconds, 183 MB/s real 0m11.763s user 0m0.002s sys 0m5.189s real 0m9.671s user 0m0.000s sys 0m0.561s [ora11g@FWDB ~]$ time dd if=/dev/zero of=/tmp/bigfile.bin bs=1048576 count=2048 oflag=sync; time sync ; 2048+0 records in 2048+0 records out 2147483648 bytes (2.1 GB) copied, 17.3505 seconds, 124 MB/s real 0m17.900s user 0m0.002s sys 0m6.546s real 0m0.150s user 0m0.000s sys 0m0.003s |
欢迎光临 重庆思庄Oracle、Redhat认证学习论坛 (http://bbs.cqsztech.com/) | Powered by Discuz! X3.2 |