Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • DBA_HIST_SQLSTAT contents Oracle
  • How To Transfer Passwords Between Databases (ref note: 199582.1) Oracle
  • exp syntax in oracle 10g Oracle
  • 284785.1 How to check RAC Option is currently linked into the Oracle Binary Oracle
  • Find All internal Parameters Oracle
  • SQL_PLAN.sql for checking real execution plan Oracle
  • Oracle 11g Training on 29JAN1010 Oracle
  • Oracle Metalink useful notes Oracle
  • How to remove blank lines using vi editor command Linux/Unix
  • Removing Blank lines from file using grep Linux/Unix
  • good note for shared pool tunnig Oracle
  • Another Tuning Article for subheap of shared pool Oracle
  • xargs use Linux/Unix
  • rm_backup_arch_file.ksh Linux/Unix
  • S3 Basic info AWS

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

  • To Find Orphan OS processes. Linux/Unix
  • chk_space_SID.ksh Linux/Unix
  • To seee semaphores and shared memory segments in Solaris Linux/Unix
  • scripts to take listener.log backup Linux/Unix
  • Korn Shell Arithmatic Linux/Unix
  • Find long Running Transaction 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)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (393)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (0)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (342)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • Trace a SQL session from another session using ORADEBUG30-Sep-2025
  • SQL Server Vs Oracle Architecture difference25-Jul-2025
  • SQL Server: How to see historical transactions25-Jul-2025
  • SQL Server: How to see current transactions or requests25-Jul-2025
  • T-SQL Vs PL/SQL Syntax25-Jul-2025
  • Check SQL Server edition25-Jul-2025
  • Checking SQL Server Version25-Jul-2025
  • Oracle vs MYSQL Architecture differences (For DBAs)24-Jul-2025
  • V$INSTANCE of Oracle in MYSQL24-Jul-2025
  • Day to day MYSQL DBA operations (Compared with Oracle DBA)24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Generate SSH without password authentication. Linux/Unix
  • telnet listening Linux/Unix
  • catall.sh Linux/Unix
  • MYSQL for Oracle DBA MYSQL
  • All About oracle password and security from metalink Oracle
  • send email from unix mailx with attachment. Linux/Unix
  • pvmehta.com SQL scripts
    Find which sessions is accessing object that prevent your session to have exclusive locks in Oracle Oracle
  • Test Case for Inserting Multiple (2.3 Million rows in 26 Seconds) Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme