Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • scripts to take listener.log backup Linux/Unix
  • chk_space_SID.ksh Linux/Unix
  • Follwoing korn shell is used to move files from source folder to destination folder and gzip it in destination folder. mv_iotto.ksh Linux/Unix
  • Error Handling in Proc Oracle
  • oracle tips… from http://www.bijoos.com/oracle/douknow.htm Oracle
  • Find Multiple levels of object dependencies : depen.sql Oracle
  • TRUNCATE Privs Oracle
  • tab.sql Oracle
  • tar and untar a dolder with all its subfolder. Linux/Unix
  • The most important Tuning Notes Oracle
  • cp_filesystem.sql Oracle
  • process id based files and processes Linux/Unix
  • import-export with multiple files Oracle
  • Load SPM baseline from AWR Oracle
  • AWR settings- MMON is not taking snapshot. 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

  • grep multuple patterns Linux/Unix
  • find the files that are 1 day old. Linux/Unix
  • Running select from V$ views from remote server Linux/Unix
  • avail.sh ( find filesystem spae usage) Linux/Unix
  • adding new line after specific pattern using sed Linux/Unix
  • process id based files and processes 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
  • moving lob object to other tablespace lob_mvmt.sql Oracle
  • move_arch_files.ksh Linux/Unix
  • Free conference number from http://www.freeconference.com Oracle
  • MYSQL and Oracle Comparison for Oracle DBA MYSQL
  • CTAS with LONG Column for 9i and higher Oracle
  • DBMS_UTILITY.ANALYZE_SCHEMA Oracle
  • pvm_metric.sql for gathering report from vmstat tables Oracle
  • 751131.1 New Article Error 2819 While Requesting a Systemstate Dump Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme