Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • proc.sql Oracle
  • 751131.1 New Article Error 2819 While Requesting a Systemstate Dump Oracle
  • Search and Replace vi editor command. Linux/Unix
  • find_pk.sql /* Find Primary Key */ Oracle
  • Good Site for Oracle Internals Oracle
  • Vivek Tuning for Row Locks. Oracle
  • handling filenname with space Linux/Unix
  • Multiple listeners Oracle
  • First Entry in RAC Oracle
  • SQLPLUS COPY command Precautions. Oracle
  • TOP-N Sql to find Nth max or Top N rows Oracle
  • Good notes for shared pool Oracle
  • Sort with ASCII order and Numeric Order Linux/Unix
  • Composite Index creation tip from Vivek Oracle
  • block_ident.sql 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

  • db_status.sql Oracle
  • Good Link from metalink 1 Oracle
  • Sequence Resetting Oracle
  • Find Stale DR Physical Standby Oracle
  • dbinv.sql Oracle
  • Another export with Query Oracle

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
  • Search and replace pattern Linux/Unix
  • Search and Replace vi editor command. Linux/Unix
  • refre.sql Oracle
  • to see when crontab is changed. Linux/Unix
  • How to calculate PROCESSES parameter Oracle
  • longtx.sql with the flag whether session is blocking any DML locks or not. Oracle
  • DBMS_SQL for alter session. Oracle
  • sbind.sql Find Bind variable from sql_id sqlid Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme