Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • To see how much time or progress of long transaction Oracle
  • load SPM baseline from cursor cache Oracle
  • Finding Oracle Patches with opatch Oracle
  • To Find Orphan OS processes. Linux/Unix
  • setting prompt display with .profile Linux/Unix
  • login.sql Oracle
  • longtx.sql Oracle
  • Export Oracle data and Compress at same time Oracle
  • Best approach for Oracle database patching sequence to latest/required patchset along with CPU/PSU/any-other-one-off patch ID 865255.1 Oracle
  • scp with ssh2 Linux/Unix
  • RAC with RHEL4 and 11g Oracle
  • Zip and unzip with tar Linux/Unix
  • Implementation of key based authentications Linux/Unix
  • Windows based Command line mailing program like mailx (Sednmail for windows) PHP/MYSQL/Wordpress
  • Very Good Oralce Internal Tuning Book Oracle

switchlogfile.sh

Posted on 29-Jul-2005 By Admin No Comments on switchlogfile.sh

#!/bin/sh

. /export/home/oracle/oraprocs/oracle_env_10g_CIF

ORACLE_HOME=/oracle/app/oracle/product/10.1;export ORACLE_HOME

ORACLE_SID=CIF;export ORACLE_SID

$ORACLE_HOME/bin/sqlplus << EOF
connect / as sysdba

alter system switch logfile;

disconnect;

EOF

Linux/Unix, shell

Post navigation

Previous Post: arch_configUOCIOTTO.ora
Next Post: online_ts_bkup.sql

Related Posts

  • find checksum of a file. Linux/Unix
  • How to know Number of CPUs on Sun Box Linux/Unix
  • Nice Article about semaphores and init.ora Processes parameter relations Linux/Unix
  • rm_backup_arch_file.ksh Linux/Unix
  • rm_backup_arch_file.ksh Linux/Unix
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Django (0)
  • GIT (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (400)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (18)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (348)
  • SQL Server (6)
  • Uncategorized (3)
  • Videos (0)

Recent Posts

  • Running PDB on single node in RAC09-Apr-2026
  • find_arc.sql09-Apr-2026
  • pvm_pre_change.sql08-Apr-2026
  • find_encr_wallet.sql08-Apr-2026
  • find_pdbs.sql08-Apr-2026
  • Creating a Container Database using dbaascli08-Apr-2026
  • track_autoupgrade_copy_progress.sql01-Apr-2026
  • refre.sql for multitenant01-Apr-2026
  • prepfiles.sh for step by step generating pending statistics files10-Mar-2026
  • tracksqltime.sql05-Mar-2026

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Find nth max and min. Oracle
  • How to connect to Oracle Database with Wallet with Python. Oracle
  • compile_inv.sql Oracle
  • 276434.1 Modifying the VIP or VIP Hostname of a 10g or 11g Oracle Clusterware Node Oracle
  • check_copy_progress.sh Linux/Unix
  • Postgres DB user and OS user. POSTGRESQL
  • arch_configUOCIOTTO.ora Oracle
  • Test Case for Inserting Multiple (2.3 Million rows in 26 Seconds) Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme