Re: Rapid Log Switching

From: Jonathan Lewis <>
Date: Wed, 20 Feb 2008 20:51:38 -0000
Message-ID: <022501c87402$63fb7680$0300a8c0@Primary>

What time did it start ?

Are you aware of the automatic stats collection that takes place in 10g ? This runs to collects stats on objects with stale statistics every night with a window that is something like midnight to 6 am.

Your system might run for weeks doing a couple of minutes of stats collection every (weekday) night, and then decide one night that most of the tables in the system have gone stale and hammers the system for hours on end.


Jonathan Lewis

Author: Cost Based Oracle: Fundamentals

The Co-operative Oracle Users' FAQ

  • Original Message ----- From: "Weatherman, John" <> To: <> Cc: "Terrell, Paul" <>; "Shamim, Aziz" <> Sent: Wednesday, February 20, 2008 7:58 PM Subject: Rapid Log Switching


I'm on RH 2.6.9-42.ELsmp x86_64 Linux, running I've been having a lot of log issues for the last week. Thanks to some help here, I seem to have the worst of it under control now.

However, last night I began seeing log switches every 6 minutes. The logs are 20M in size, but are switching between 2-6M. We do have log_checkpoint_timeout set, but it is 1800 seconds (30 minutes), not 6 minutes.

Does anyone have any ideas what other than the timeout or the log filling up would cause a log switch? It's not manual and it's not backups, it's been too consistent and too long for either of those to make any sense. I'm not aware of anything else that should be triggering log switches and haven't been able to find anything suspicious with Google or Metalink.

TIA, John

John P Weatherman

Sr Oracle DBA Desk: (615) 762-1376

Asurion, Inc                Mobile: (615) 517-2831

Received on Wed Feb 20 2008 - 14:51:38 CST

Original text of this message