Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • initUOCIOTTO.ora Oracle
  • normal maintenance for exp-imp and renaming table Oracle
  • Exadata Basics Oracle
  • alter database backup controlfile to trace Oracle
  • How to find who is using which Rollback segment and how many rows or blocks in that rollback segments, Oracle
  • Rename Tablespace Oracle
  • Drop all SPM baselines for SQL handle Oracle
  • Validating ORACLE_SID againt oratab file. Linux/Unix
  • crtgr.sql /* For creating trigger from data dictionary */ Oracle
  • secure crt settings Linux/Unix
  • Rename Oracle Instance Name Oracle
  • Jai Shree Ram Oracle
  • GSQ.sql Oracle
  • Restoring a user’s original password 1051962.101 Oracle
  • OEM-Commnds 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

  • Process Map for CPU and Memory for OS processes Linux/Unix
  • rm_backup_arch_file.ksh Linux/Unix
  • find_du.ksh to find # of files, their sizes in current folder and its subdolder Linux/Unix
  • Generate SSH without password authentication. Linux/Unix
  • cif crons Linux/Unix
  • CPU speed on solaris 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 (395)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (343)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • prepfiles.sh for step by step generating pending statistics files10-Mar-2026
  • tracksqltime.sql05-Mar-2026
  • 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

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • handling filenname with space Linux/Unix
  • find_open_cur.sql Find open cursorts per session Oracle
  • My FTP Job Scheduling for www.pvmehta.com PHP/MYSQL/Wordpress
  • pvm_rbs1.sql (to collect rbs info from db) Oracle
  • rm_backup_arch_file.ksh Linux/Unix
  • Temporary Tablespace Information and restriction. Oracle
  • changing kernel parameter in Oracle Enterpise Linux Linux/Unix
  • My Test Case On 21-OCT-2005 Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme