Friday, March 9, 2012

High "Disk Write Bytes/sec" in Mirror server

I have do some benchmark test between the "Principle", "Mirror" and "Witness", things seems normal, the System usage (CPU, Disk Read/Write) on the "Witness" is very small and the CPU usage on Principle and Mirror is similar, However....

For the "Disk Write Bytes/sec", the usage on Principle is 200,000 and the Mirror is 1,500,000, the mirror server is talking about x7 times Disk Write Bytes/sec on the Mirror.

I cannot think of any reason why the Disk Write Bytes /sec is so much higher than the Principle, can somebody help me?

Hi Benny,

Just curious - is the mirrored database the only thing that's running on the mirror machine, or you may have other workloads there?

Could you please run the sp_dbmmonitorresults stored proc on the principal and the mirror, and check whether the send and receive queues show something reasonable?

-- Kaloian.

|||

Hi Kaloian, in the mirror server, I find 19 row but only 1 row in the principle server, is it normal?

According to the result of sp_dbmmonitorresults, I find that the transaction delay on the mirror server is quite long. We are using hardware RAID-5 on the Principle server and normal disk (no RAID) on mirror server, will it increase the write byte /sec, because of the slower in "disk" speed, should be make it lower, am I right?

Thank you very much for your help.

This are the result for your reference:

On Principle Server:

all the counter are "0"

On Mirror Server:

database namerolemirroring_statewitness_statuslog_generation_rateunsent_logsend_rateunrestored_logrecovery_ratetransaction_delaytransactions_per_secaverage_delaytime_recordedTime_behindlocal_time
Mirror2142710710026744630:00.729:00.130:00.7
Mirror2141830830032450629:00.129:00.129:00.1
Mirror2141740740039742928:01.028:01.028:01.0
Mirror21410000001027:00.827:00.827:00.8
Mirror21410000001026:00.726:00.726:00.7
Mirror21410000001025:00.525:00.525:00.5
Mirror21410000001024:00.424:00.424:00.4
Mirror21410000001023:00.223:00.223:00.2
Mirror21410000001022:00.122:00.122:00.1
Mirror21410000001021:00.921:00.921:00.9
Mirror21410000001020:00.820:00.820:00.8
Mirror21417070082419:00.619:00.619:00.6
Mirror21410000021218:00.518:00.518:00.5
Mirror21410000001017:00.317:00.317:00.3
Mirror21410000001016:00.216:00.216:00.2
Mirror21410000000015:40.215:40.215:40.2
Mirror21210000000044:00.115:40.244:00.1
Mirror21210000000043:00.115:40.243:00.1
Mirror21210000000042:00.115:40.242:00.1

No comments:

Post a Comment