RE: Log File Syncs

From: Osborne, Chris <Chris.Osborne_at_sky.uk>
Date: Tue, 29 Mar 2016 12:56:51 +0000
Message-ID: <608208D242735D458CDE934D20B2FDAA0EBE0421_at_WPMBX040.bskyb.com>



Hi Mladen,

In the end the develop changed the frequency of commits which made the issue disappear as both ‘machine’ had comparible performance.

I’m not convinced that IO was anything to do with it as the IO wait event ‘log file parallel write’ were very close in performance, and in fact the slower db had *better* response times for log file writes. The only other significant wait event was ‘log file sync’ which the slower DB showed a longer wait.

The really weird thing is that the log file sync times average was less than the Log file write time….I’m not sure how that can be possible given that a part of the time spent in log file sync is spent waiting on LGWR doing it’s writes

Chris

Christopher Osborne

From: oracle-l-bounce_at_freelists.org [mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Mladen Gogala Sent: 26 March 2016 04:11
To: oracle-l_at_freelists.org
Subject: Re: Log File Syncs

On 03/24/2016 12:53 PM, Osborne, Chris wrote: The log file write time is also slightly faster on the ‘slow’ DB leading me to believe that IO is not an issue. Chris, the obvious answer is in the different versions of Linux. RH 5.x is running an ancient kernel 2.6.18 while CentOS 6.6 is running much newer kernel 3.10. I don't know the underlying file systems, but I know that Red Hat 5.x did not support Ext4, while CentOS 6.x does support it, it's a default FS in that version. There is a huge difference between those two file systems, one is block based, another one is extent based. Block based file systems turn the vast majority of IO into random access IO, while extent based file systems can write sequentially, as is the nature of log file writes. So, my two obvious candidates for the differences are much newer kernel and different file system. Regards

--

Mladen Gogala

Oracle DBA

Tel: (347) 321-1217

Information in this email including any attachments may be privileged, confidential and is intended exclusively for the addressee. The views expressed may not be official policy, but the personal views of the originator. If you have received it in error, please notify the sender by return e-mail and delete it from your system. You should not reproduce, distribute, store, retransmit, use or disclose its contents to anyone. Please note we reserve the right to monitor all e-mail communication through our internal and external networks. SKY and the SKY marks are trademarks of Sky plc and Sky International AG and are used under licence. Sky UK Limited (Registration No. 2906991), Sky-In-Home Service Limited (Registration No. 2067075) and Sky Subscribers Services Limited (Registration No. 2340150) are direct or indirect subsidiaries of Sky plc (Registration No. 2247735). All of the companies mentioned in this paragraph are incorporated in England and Wales and share the same registered office at Grant Way, Isleworth, Middlesex TW7 5QD.
--

http://www.freelists.org/webpage/oracle-l Received on Tue Mar 29 2016 - 14:56:51 CEST

Original text of this message