Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Gather Stats manually using DBMS_STATS after disabling DBMS_SCHEDULER jobs as previous entry Oracle
  • Caching sequence in Memory Oracle
  • Jai Shree Ram Oracle
  • Updated LCK.SQL file. Oracle
  • backspace in SQL Plus not working then..? Linux/Unix
  • scripts to take listener.log backup Linux/Unix
  • Restoring a user’s original password 1051962.101 Oracle
  • To see only files and/or folders using LS command Linux/Unix
  • Drop all SPM baselines for SQL handle Oracle
  • Wait Based Tuning Step by step with SQL statement Oracle
  • Guide to Linux System Command Mastery Linux/Unix
  • scripts to take listener.log backup Linux/Unix
  • Monitor Long Running Job Oracle
  • How to set Processes Parameter Oracle
  • load SPM baseline from cursor cache 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

  • move_arch_files.ksh Linux/Unix
  • How to sort list of files on basis of their sizes. Linux/Unix
  • How to know Number of CPUs on Sun Box Linux/Unix
  • Oracle GoldenGate lag monitoring shell script Linux/Unix
  • Changing default shell Linux/Unix
  • catting.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 (393)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • 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

  • Complete Git Tutorial for Beginners25-Dec-2025
  • Postgres DB user and OS user.25-Dec-2025
  • 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

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Find long Running Transaction Linux/Unix
  • find_err.sql for finding errors from dba_errors. Oracle
  • backspace in SQL Plus not working then..? Linux/Unix
  • oracle tips… from http://www.bijoos.com/oracle/douknow.htm Oracle
  • Korn Shell Arithmatic Linux/Unix
  • DBMS_PROFILER for tuning PLSQL programs. Oracle
  • Jai Shree Ram Oracle
  • How to Use DBMS_STATS to Move Statistics to a Different Database Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme