Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • tblwopk.sql /* Find Tables Without PK */ Oracle
  • oracle 11g RAC on vmware Oracle
  • Database link password in user_db_links Oracle
  • Generate SSH without password authentication. Linux/Unix
  • Load testing on Oracle 19C RAC with HammerDB Oracle
  • myfile Oracle
  • find_log_switch.sql Find log switches in graphical manner Oracle
  • Single character replacement in Unix Linux/Unix
  • configUOCIOTTO.ora Oracle
  • chk_space_SID.ksh Linux/Unix
  • arch_configUOCIOTTO.ora Oracle
  • get_vmstat_solaris Oracle
  • Btee and Bitmap Plans in Oracle 9i and higher Oracle
  • How to find who is using which Rollback segment and how many rows or blocks in that rollback segments, Oracle
  • AWR license Oracle

Monitor Long Running Job

Posted on 20-Dec-2009 By Admin No Comments on Monitor Long Running Job

SELECT SID, SERIAL#, CONTEXT, SOFAR, TOTALWORK, ROUND(SOFAR/TOTALWORK*100,2) “% COMPLETE”

FROM V$SESSION_LONGOPS

WHERE OPNAME LIKE ‘RMAN%’

AND OPNAME NOT LIKE ‘%aggregate%’

AND TOTALWORK != 0

AND SOFAR <> TOTALWORK

/

Oracle, SQL scripts

Post navigation

Previous Post: checking redhat linux version
Next Post: Physical Standby switchover with session active

Related Posts

  • logminer and my_lbu Oracle
  • _B_TREE_BITMAP_PLANS issue during 8.1.7 to 9.2.0.8 upgrade Oracle
  • Find_table_size.sql Oracle
  • Oracle Internal Good Websites 1 Oracle
  • PLSQL Table Syntax 1 Oracle
  • SQL_PLAN.sql for checking real execution plan Oracle

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 (395)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (343)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • prepfiles.sh for step by step generating pending statistics files10-Mar-2026
  • 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

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • TNSNAMES entries details Oracle
  • move_arch_files.ksh Linux/Unix
  • Standby Database Behavior when a Datafile is Resized on the Primary Database Note:123883.1 Oracle
  • Jai Shree Ram Linux/Unix
  • replace alphabets using sed Linux/Unix
  • Recovering lost SYS password Oracle
  • Find Command Linux/Unix
  • pvm_metric.sql for gathering report from vmstat tables Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme