Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Important Solaris Commands Linux/Unix
  • Oracle GoldenGate lag monitoring shell script Linux/Unix
  • Proc code Oracle
  • TRUNCATE Privs Oracle
  • Very Good Oralce Internal Tuning Book Oracle
  • Process Map for CPU and Memory for OS processes Linux/Unix
  • runsql_once.ksh Linux/Unix
  • handling filenname with space Linux/Unix
  • Temporary tablespace explaination Oracle
  • Caching sequence in Memory Oracle
  • Privileges Required to Create Procedures and Functions that uses objects from other schema. Oracle
  • kill all processes from specific user in solaris. Linux/Unix
  • find_pk.sql /* Find Primary Key */ Oracle
  • ENQ: KO – FAST OBJECT CHECKPOINT tips Oracle
  • Creating never expiring DB user accounts in Oracle 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

  • Changing default shell Linux/Unix
  • Unix split command to split files Linux/Unix
  • How to remove blank lines using vi editor command Linux/Unix
  • Adding a new disk and mount it automatically. on VMWARE LINUX Linux/Unix
  • replace alphabets using sed Linux/Unix
  • Some useful Unix Commands 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 (394)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (343)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • 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
  • Checking SQL Server Version25-Jul-2025

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Query to Generate aggregate on every 30 mins. Oracle
  • My FTP Job Scheduling for www.pvmehta.com PHP/MYSQL/Wordpress
  • sess1.sql Oracle
  • Find_planinfo.sql Oracle
  • Oracle Identifiers Oracle
  • 284785.1 How to check RAC Option is currently linked into the Oracle Binary Oracle
  • Find all users who have DML privileges Oracle
  • shr1.sql for MTS or Shared server configuration Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme