Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • replace alphabets using sed Linux/Unix
  • Passing from Unix to PLSQL using bind variables Linux/Unix
  • In Addition to previous note, following grants needed on PERFSTAT user. Oracle
  • Btee and Bitmap Plans in Oracle 9i and higher Oracle
  • Gathering statistics with DBMS_STATS Oracle
  • OPENING A STANDBY DATABASE IN READ-ONLY MODE Oracle
  • send attachment from unix-shell script Linux/Unix
  • Jai Shree Ram Linux/Unix
  • grep multuple patterns Linux/Unix
  • FRA Information. Oracle
  • executing Function from SQLPLUS prompt Oracle
  • age_alert.ksh aging out alert.log Linux/Unix
  • Unix command for system configuration Linux/Unix
  • Sending email with file attachment. Linux/Unix
  • 751131.1 New Article Error 2819 While Requesting a Systemstate Dump Oracle

Author: Admin

Guide to Linux System Command Mastery

Posted on 20-May-2008 By Admin No Comments on Guide to Linux System Command Mastery

An introduction to system commands for newcomers to Linux In “Guide to Linux File Command Mastery,” we covered the basic information needed to take advantage of the most essential and commonly used Linux file commands. In this article, I’ll do the same with Linux system commands. As we learned in the previous article, everything is…

Read More “Guide to Linux System Command Mastery” »

Linux/Unix, shell

setting prompt display with .profile

Posted on 16-May-2008 By Admin No Comments on setting prompt display with .profile

PS1=” `hostname`*${ORACLE_SID}-${PWD} ==>”

Linux/Unix, shell

OEM-Commnds

Posted on 15-May-2008 By Admin No Comments on OEM-Commnds

D:oracle_homesagent10gBIN> emctl status agent D:oracle_homesagent10gBIN> emctl start agent D:oracle_homesagent10gBIN> emctl stop agent yantradevdb-YANTRAD> emctl getemhome yantradevdb-YANTRAD> emctl upload

Oracle, SQL scripts

V$ROLLSTAT status is Full

Posted on 13-May-2008 By Admin No Comments on V$ROLLSTAT status is Full

Problem Description: ==================== You receive the following error: ORA-01562: “failed to extend rollback segment number %s” Cause: Failure occurred when trying to extend rollback segment Action: This is normally followed by another error message that caused the failure. You may take the rollback segment offline to perform maintainence. Use the alter rollback segment offline command…

Read More “V$ROLLSTAT status is Full” »

Oracle, SQL scripts

Rman Notes -1

Posted on 12-May-2008 By Admin No Comments on Rman Notes -1

############## RMAN CATALOG ############## The recovery catalog contains information about RMAN operations, including: + Datafile and archived redo log backup sets and backup pieces + Datafile copies + Archived redo logs and their copies + Tablespaces and datafiles on the target database + Stored scripts, which are named user-created sequences of RMAN commands + Persistent…

Read More “Rman Notes -1” »

Oracle, rman-dataguard

Rman Notes -1

Posted on 12-May-2008 By Admin No Comments on Rman Notes -1

#—-Flash Recovery Area (FRA)——#

Oracle, rman-dataguard

Rman Notes -1

Posted on 12-May-2008 By Admin No Comments on Rman Notes -1

A flash recovery area is a disk location in which the database can store and manage files related to backup and recovery. Some features of Oracle database backup and recovery, such as Oracle Flashback Database and guaranteed restore points, require the use of an FRA. However, having an FRA for use by these features does…

Read More “Rman Notes -1” »

Oracle, rman-dataguard

find_log_switch.sql Find log switches in graphical manner

Posted on 10-May-2008 By Admin No Comments on find_log_switch.sql Find log switches in graphical manner

set linesize 100 set pagesize 100 column day format a15 heading ‘Day’ column d_0 format a2 heading ’00’ column d_1 format a2 heading ’01’ column d_2 format a2 heading ’02’ column d_3 format a2 heading ’03’ column d_4 format a2 heading ’04’ column d_5 format a2 heading ’05’ column d_6 format a2 heading ’06’ column…

Read More “find_log_switch.sql Find log switches in graphical manner” »

Oracle, SQL scripts

sql_plan9i.sql

Posted on 10-May-2008 By Admin No Comments on sql_plan9i.sql

set lines 132 set pages 1400 accept v_address prompt ‘Enter ADDRESS :’ accept v_hash_value prompt ‘Enter HASH VALUE :’ select sql_text from v$sqltext where address=’&v_address’ and hash_value=’&v_hash_value’ order by piece; SELECT LPAD(‘ ‘,2*(LEVEL-1))||operation||’ ‘||options ||’ ‘||object_name ||’ ‘|| DECODE(id, 0, ‘Cost = ‘||position) “Query Plan” FROM v$sql_plan START WITH id = 0 and address=’&v_address’ and…

Read More “sql_plan9i.sql” »

Oracle, SQL scripts

find_idle_cpu.sql

Posted on 10-May-2008 By Admin No Comments on find_idle_cpu.sql

spool /export/home/oracle/scripts/idle_cpu.txt set linesize 120 set pagesize 120 SELECT TO_CHAR (start_date, ‘DD-MON-RRRR:HH24:MI’) start_dt, user_cpu, system_cpu, idle_cpu, wait_cpu FROM stats$vmstat2 where idle_cpu=(SYSDATE – 1/48) AND ROWNUM

Oracle, SQL scripts

Posts pagination

Previous 1 … 22 23 24 … 57 Next

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
  • Check Oracle installed products using one command Oracle
  • TRUNCATE Privs Oracle
  • Oracle vs MYSQL Architecture differences (For DBAs) MYSQL
  • useful dg links Oracle
  • Oracle 11g RAC on OEL 5 and Vmware 2 Oracle
  • ORA-01220 Oracle
  • Processes Parameter decision Oracle
  • lck.sql Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme