Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • executing Function from SQLPLUS prompt Oracle
  • RMAN : Consistent Backup, Restore and Recovery using RMAN Oracle
  • How to find the real execution plan and binds used in that explain plan in Oracle 10g?? Oracle
  • Add new columns in dataframe Python/PySpark
  • Insert cause enqueue locks Oracle
  • Exadata Basics Oracle
  • S3 Basic info AWS
  • Btee and Bitmap Plans in Oracle 9i and higher Oracle
  • Removing Blank lines from file using grep Linux/Unix
  • Implementing Listener Security Oracle
  • online_ts_bkup.sql Oracle
  • cache buffer chain latch Oracle
  • Goldengate document from Porus Oracle
  • Find Command Linux/Unix
  • on IBM-AIX for display Linux/Unix

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

  • For Search and replace unix command. Linux/Unix
  • Zip and unzip with tar Linux/Unix
  • Removing Blank lines from file using grep Linux/Unix
  • scripts to take listener.log backup Linux/Unix
  • Check_recovery.sh program to run sqlplus and return its values remotely. Linux/Unix
  • Jai Shree Ram Linux/Unix

Leave a Reply Cancel reply

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

Categories

  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • Oracle (387)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (336)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • SQL Tracker by SID sqltrackerbysid.sql22-Apr-2025
  • How to connect to Oracle Database with Wallet with Python.21-Mar-2025
  • JSON/XML Types in Oracle18-Mar-2025
  • CPU Core related projections12-Mar-2025
  • Exadata Basics10-Dec-2024
  • Reading config file from other folder inside class24-Sep-2024
  • Python class import from different folders22-Sep-2024
  • Transfer SQL Profiles from One database to other database.05-Sep-2024
  • Load testing on Oracle 19C RAC with HammerDB18-Jan-2024
  • Add new columns in dataframe30-Sep-2023

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • rm_backup_arch_file.ksh Linux/Unix
  • avail.sh ( find filesystem spae usage) Linux/Unix
  • Oracle Identifiers Oracle
  • SQL Tracker by SID sqltrackerbysid.sql Oracle
  • import-export with multiple files Oracle
  • scripts to take listener.log backup Linux/Unix
  • To find all disk io ( EMC as well as local) Linux/Unix
  • Good Oracle Architecture In Short and point to point Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme