Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • sesswait.sql Oracle
  • Database link password in user_db_links Oracle
  • currwait.sql Oracle
  • Good link for LIO in Oracle ( Logical IOs) Oracle
  • Some useful Unix Commands Linux/Unix
  • tuning commmand for cpu, ip and memory stats Linux/Unix
  • How to find password change date for user Oracle
  • SCRIPT TO LIST RECURSIVE DEPENDENCY BETWEEN OBJECTS UTLDTREE.sql Oracle
  • How to Decide upto what level you can decrement your datafile size. ( Shrink Datafile) Oracle
  • findx.sql /* Find Indexes on specified USER.TABLE_NAME */ Oracle
  • Reading config file from other folder inside class Python/PySpark
  • checking redhat linux version Linux/Unix
  • Specify the Rollback segment to use in Transaction Oracle
  • Histogram Overview Oracle
  • get_vmstat.ksh for Solaris Oracle

Year: 2005

rm_backup_arch_file.ksh

Posted on 02-Aug-2005 By Admin No Comments on rm_backup_arch_file.ksh

DESTFOLDER=/uocdb7/archlog/UAS LOGFILE=/oracle/scripts/log/rm_backup_arch_uas.log NOTIFY_LIST=’dbaoracle@1800flowers.com’ NODENAME=`hostname` ORACLE_SID=UAS SCRIPT_NAME=rm_backup_arch_file.ksh

Linux/Unix, shell

rm_backup_arch_file.ksh

Posted on 02-Aug-2005 By Admin No Comments on rm_backup_arch_file.ksh

#!/bin/ksh

Linux/Unix, shell

purge_trc.sh

Posted on 02-Aug-2005 By Admin No Comments on purge_trc.sh

#!/bin/sh . /oracle/oraprocs/oracle_env_10g_UAS ORACLE_HOME=/oracle/app/oracle/product/10.1;export ORACLE_HOME ORACLE_SID=UAS;export ORACLE_SID find $UDUMP/*.trc -mtime +15 -exec rm {} ; find $BDUMP/*.trc -mtime +15 -exec rm {} ; find $CDUMP/*.trc -mtime +15 -exec rm {} ;

Linux/Unix, shell

cif crons

Posted on 01-Aug-2005 By Admin No Comments on cif crons

01 * * * * /export/home/oracle/scripts/move_arch_files_uoc.ksh > /export/home/oracle/scripts/log/move_arch_files_uoc.log 2> /export/home/oracle/scrip ts/log/move_arch_files_uoc.err 10 * * * * /export/home/oracle/scripts/move_arch_files_cif.ksh > /export/home/oracle/scripts/log/move_arch_files_cif.log 2> /export/home/oracle/scrip ts/log/move_arch_files_cif.err 05,20,35,50 * * * * /export/home/oracle/scripts/switchlogfile_UOC.sh > /export/home/oracle/scripts/log/switchlogfile_UOC.log 2> /export/home/oracle/s cripts/log/switchlogfile_UOC.err 10,25,40,55 * * * * /export/home/oracle/scripts/switchlogfile_CIF.sh > /export/home/oracle/scripts/log/switchlogfile_CIF.log 2> /export/home/oracle/s cripts/log/switchlogfile_CIF.err 0 6 * * * /export/home/oracle/scripts/purge_trc_UOC.sh >> /export/home/oracle/scripts/log/purge_trc_UOC.log 2>> /export/home/oracle/scripts/log/purge_trc_UOC.err 0…

Read More “cif crons” »

Linux/Unix, shell

Changing unix system clock when Oracle database is running.

Posted on 01-Aug-2005 By Admin No Comments on Changing unix system clock when Oracle database is running.

Q: How does changing the system clock effect Oracle?? specifically, point in time recovery?? Is it different with V6 and Oracle7?? A: Changing the system clock should really have no effect on the Oracle kernel until it comes time to do time-based media recovery. Both in V6 and V7 there may be problems if you…

Read More “Changing unix system clock when Oracle database is running.” »

Oracle, SQL scripts

Paste command syntax

Posted on 29-Jul-2005 By Admin No Comments on Paste command syntax

paste file1 file2 > out1 Above command will paste file1 with line by line setting from file2 amd stores output on out1 file.

Linux/Unix, shell

online_ts_bkup.sql

Posted on 29-Jul-2005 By Admin No Comments on online_ts_bkup.sql

set serveroutput on execute dbms_output.enable(20000); declare cursor c1 is select distinct tablespace_name from dba_data_files order by tablespace_name; cursor c3 is select name from v$controlfile order by name; cursor c4 is select member from v$logfile order by member; staging_copy_area varchar2(100) := ‘10.201.43.51:/uocdb1/oradata/CIF’; begin for cur in c1 loop dbms_output.put_line (‘alter tablespace ‘ || cur.tablespace_name || ‘…

Read More “online_ts_bkup.sql” »

Oracle, SQL scripts

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

Linux/Unix, shell

arch_configUOCIOTTO.ora

Posted on 29-Jul-2005 By Admin No Comments on arch_configUOCIOTTO.ora

# # File – arch_configUOCIOTTO.ora # # Modification History – # log_archive_format = arch%t_%r_%s.arc log_archive_dest = /IOTTOARCH

Oracle, SQL scripts

configUOCIOTTO.ora

Posted on 29-Jul-2005 By Admin No Comments on configUOCIOTTO.ora

# # File – configUOCIOTTO.ora # # Modification History – # control_files=(/uocdb1/oradata/UOCIOTTO/controlUOCIOTTO_01.ctl, /uocdb2/oradata/UOCIOTTO/controlUOCIOTTO_02.ctl, /uocdb3/oradata/UOCIOTTO/controlUOCIOTTO_03.ctl) background_dump_dest=/opt/app/oracle/admin/UOCIOTTO/bdump core_dump_dest=/opt/app/oracle/admin/UOCIOTTO/cdump user_dump_dest=/opt/app/oracle/admin/UOCIOTTO/udump db_block_size = 8192 db_name = UOCIOTTO

Oracle, SQL scripts

Posts pagination

Previous 1 … 13 14 15 16 Next

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (392)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (0)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (341)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • 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
  • MYSQL and Oracle Comparison for Oracle DBA24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Jai Shree Ram Oracle
  • lck.sql Oracle
  • SCRIPT TO LIST RECURSIVE DEPENDENCY BETWEEN OBJECTS UTLDTREE.sql Oracle
  • find_idle_cpu.sql Oracle
  • Removing Blank lines from file using grep Linux/Unix
  • shr1.sql for MTS or Shared server configuration Oracle
  • Oracle 10g Wait Model Oracle
  • 284785.1 How to check RAC Option is currently linked into the Oracle Binary Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme