Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Oracle Internal Good Websites 1 Oracle
  • Consolidated Reference List Of Notes For Migration / Upgrade Service Requests -ID 762540.1 Oracle
  • Passing from Unix to PLSQL using bind variables Linux/Unix
  • Ports used by Oracle Software Oracle
  • how to find OS block size Oracle
  • Sequence Resetting Oracle
  • Oracle 11g Environment Setup Oracle
  • TRUNCATE Privs Oracle
  • OEM-troubleshooting on 20-MAY-08 Oracle
  • logminer and my_lbu Oracle
  • Useful Solaris Commands on 28-SEP-2005 Linux/Unix
  • V$CONTROLFILE_RECORD_SECTION reference notes. Oracle
  • pvmehta.com SQL scripts
    Find which sessions is accessing object that prevent your session to have exclusive locks in Oracle Oracle
  • reset Sequence Oracle
  • kill all processes from specific user in solaris. Linux/Unix

Year: 2009

Backup and Recovery Scenarios

Posted on 09-Sep-2009 By Admin No Comments on Backup and Recovery Scenarios

Backup and Recovery Scenarios Doc ID: 94114.1 In this Document Purpose Last Review Date Instructions for the Reader Troubleshooting Details BACKUP SCENARIOS a) Consistent backups b) Inconsistent backups c) Database Archive mode d) Backup Methods e) Incremental backups f) Support scenarios RECOVERY SCENARIOS 1. Online Block Recovery. 2. Thread Recovery. 3. Media Recovery. Media Failure…

Read More “Backup and Recovery Scenarios” »

Oracle, rman-dataguard

Benefits and Usage of RMAN with Standby Databases

Posted on 09-Sep-2009 By Admin No Comments on Benefits and Usage of RMAN with Standby Databases

Subject: Benefits and Usage of RMAN with Standby Databases Doc ID: 602299.1 Applies to: Oracle Server – Enterprise Edition – Version: 9.0.1.4 to 11.1.0.6 Information in this document applies to any platform. Goal Benefits and Usage of RMAN with Standby Databases . Solution RMAN can back up the standby database and its associated archived redo…

Read More “Benefits and Usage of RMAN with Standby Databases” »

Oracle, rman-dataguard

backspace in SQL Plus not working then..?

Posted on 01-Sep-2009 By Admin No Comments on backspace in SQL Plus not working then..?

If you set “stty erase ^H” on unix prompt and it works fine on unix prompt. But not working on SQLPLUS then you need to put “stty erase ^H” in .kshrc file as following. -> pwd /home/oracle oem.localdomain:OEMDB:/home/oracle -> more .kshrc stty erase ^H oem.localdomain:OEMDB:/home/oracle ->

Linux/Unix, shell

Changing default shell

Posted on 01-Sep-2009 By Admin No Comments on Changing default shell

Following statement will be used to change default shell to /bin/ksh for oracle user. [root@oem ~]# chsh -s /bin/ksh oracle Changing shell for oracle. Shell changed. [root@oem ~]#

Linux/Unix, shell

Oracle 11g Environment Setup

Posted on 01-Sep-2009 By Admin No Comments on Oracle 11g Environment Setup

11g Environment Setting: ======================= —————————————————————– ==>cat .profile . /oracle/app/oracle/set_env_var_dba PS1=” `hostname`*${ORACLE_SID}-${PWD} ==>” EDITOR=vi; export EDITOR set -o vi stty erase PATH=$PATH:. dba() { cd /oracle/app/oracle/scripts/MAINT/DBA/bin } ———————————————————————————— ==>cat /oracle/app/oracle/set_env_var_dba # This File Sets all the Oracle Environment Variables and is called from # Each Users’s . profile file. # # Please Don’t change these settings…

Read More “Oracle 11g Environment Setup” »

Oracle, SQL scripts

New OFA for 11g

Posted on 25-Aug-2009 By Admin No Comments on New OFA for 11g

export INSTANCE_NAME=`echo $ORACLE_SID | tr ‘[:upper:]’ ‘[:lower:]’` export ORA_BDUMP=$ORACLE_HOME/admin/”$ORACLE_SID”_`hostname`/diag/rdbms/$INSTANCE_NAME/$ORACLE_SID/trace

Oracle, SQL scripts

Alter procedure auditing

Posted on 28-Jul-2009 By Admin No Comments on Alter procedure auditing

A common misconception is that the ‘audit any procedure’ is a privileges auditing option associated with the privilege ‘alter any procedure’ and thus does NOT cover the alteration of a procedure that is owned by the user altering it. Note that AUDIT PROCEDURE covers: CREATE FUNCTION CREATE LIBRARY CREATE PACKAGE CREATE PACKAGE BODY CREATE PROCEDURE…

Read More “Alter procedure auditing” »

Oracle, SQL scripts

EXTPROC

Posted on 23-Jul-2009 By Admin No Comments on EXTPROC

EXTPROC Scope and Application A list of the essential components for executing an external procedure is included below, along with a brief description of the role of each. Database: Responsible for storing any information required to locate and execute an external procedure (e.g. the location of shared library, number and types of arguments, etc.) Initiates…

Read More “EXTPROC” »

Oracle, SQL scripts

How to remove blank lines using vi editor command

Posted on 09-Jul-2009 By Admin No Comments on How to remove blank lines using vi editor command

use the following: :g/^$/d

Linux/Unix, shell

remove archfiles only when it is applied to DR rm_archfiles.sh

Posted on 08-Jul-2009 By Admin No Comments on remove archfiles only when it is applied to DR rm_archfiles.sh

echo “script execution starts at `date`” echo “COMFORT_SPACE=$COMFORT_SPACE” echo “ARCH_DEST=$ARCH_DEST” echo “ALERT_LOG=$ALERT_LOG” ARCH_SPACE=`df -k $ARCH_DEST | tail -1 | awk ‘{print $5}’ | sed ‘s/%//g’` echo “ARCH_SPACE=$ARCH_SPACE” STDBY_LAST_RECOVERED_FILE=`grep “Media ” $ALERT_LOG |grep -v grep|grep “arch” | tail -1 | sed -e ‘s#^.*/##g’ ` echo “STDBY_LAST_RECOVERED_FILE=$STDBY_LAST_RECOVERED_FILE” STDBY_LAST_RECOVERED_NUMBER=`grep “Media ” $ALERT_LOG |grep -v grep|grep “arch” | tail…

Read More “remove archfiles only when it is applied to DR rm_archfiles.sh” »

Linux/Unix, shell

Posts pagination

Previous 1 2 3 4 … 9 Next

Categories

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

Recent Posts

  • load SPM baseline from cursor cache05-Jun-2025
  • Drop all SPM baselines for SQL handle05-Jun-2025
  • Load SPM baseline from AWR05-Jun-2025
  • Drop specific SQL plan baseline – spm05-Jun-2025
  • findinfo.sql (SQL for getting CPU and Active session info)27-May-2025
  • 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

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • ORA-01220 Oracle
  • Database link password in user_db_links Oracle
  • How to check current redo log progress redo_progress.sql Oracle
  • Find_table_size.sql Oracle
  • Monitor and Trace Unix processes using truss Linux/Unix
  • How to Use DBMS_STATS to Move Statistics to a Different Database Oracle
  • Parallel DML Oracle
  • My Minimum Tuning Programs Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme