In Oracle databases, a log switch occurs when the current online redo log group becomes full and LGWR needs to continue writing. Oracle then switches to the next available redo log group. This is a normal, automatic operation that happens continuously during database operation. Transaction completion, instance startup, or shutdown do not directly cause log switches.