Need help in decoding some Oralce SQL

Status
Not open for further replies.

kperrier

Ars Legatus Legionis
21,511
Here is the code and output:
Code:
SQL> select to_char((bytes_written/write_time)/1024/1024,'9,999,999,999.99') w_tput, GROUP_NUMBER, LABEL
  2  from v$asm_disk where mount_status != 'CLOSED';

W_TPUT            GROUP_NUMBER LABEL
----------------- ------------ -------------------------------
             2.40            1
             2.05            1
             2.27            1
             2.51            1
             2.39            1
             2.50            1

6 rows selected.
The vendor is trying to say that this shows that our SAN is too slow. I cannot see how a select statement would show this, but I am not a DBA, I am not an Oracle DBA, nor do I play one on TV, so I don't know what magic is hidden in the v$ table.

Thanks for any help.
 

kperrier

Ars Legatus Legionis
21,511
Looking at the realtime monitoring on our XIV, the application doesn't really do much I/O, except at backups. During backups, the ASM disks are pulling 5-6 MBps at peak. The system as a whole is doing over 100 MBps at peak, more than 20 sustained through out the backup.

Just so I understand it, this is taking all bytes written, since Oracle was started, and dividing that by the time that the database has been running? That is a rather piss poor metric, IMO.
 

EricI

Ars Scholae Palatinae
1,203
From oracle's doc on v$ams_disk:
WRITE_TIME NUMBER Total I/O time (in seconds) for write requests for the disk if the TIMED_STATISTICS initialization parameter is set to true (0 if set to false)

So it sounds like write_time is the time spent actually doing the i/o for the write operations.

http://docs.oracle.com/cd/B28359_01/server.111/b28320/dynviews_1020.htm
 
Status
Not open for further replies.