Re: MTTR and Optimal Logfile Size

From: Brent Day <>
Date: Fri, 16 Jan 2015 02:37:31 -0700
Message-ID: <>


How many logfile switches per hour occur at the heaviest switching hour? Here is a query that can help you find that information:

select trunc(first_time,'hh24'), count(*) from v$archived_log
where first_time >= sysdate - 30
group by trunc(first_time,'hh24')
order by 2;

Ideally you want a logfile switch about every 20 minutes (Oracle's documented best practice) and have your redo log files multiplexed. With current numbers provided this would be closer to 50GB.


On Thu, Jan 15, 2015 at 11:06 AM, Jeff C <> wrote:

> I set my fast_start_mttr_target to 3600 to get a baseline but I noticed
> that it suggest the optimal logfile size to 8561mb which seems very high.
> Currently my logfile size is 50mb and I have been getting a some more
> frequent log switch than in the past so I was going to increase it. And I
> never had mttr set so I set it to see what it suggest. But why would it
> suggest an 8gb log file? If I have 3 groups that is 24 gigs of a logs for a
> 30gb database.
> Thanks,
> Jeff

Received on Fri Jan 16 2015 - 10:37:31 CET

Original text of this message