- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to know how much work done for a session
Operating System - HP-UX
1748136
Members
3683
Online
108758
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2004 02:35 PM
08-04-2004 02:35 PM
How to know how much work done for a session
Hi,
I got the below script from Metalink to know about How much work done for a RMAN session.
Likewise can we find out for each session of other jobs. Because users are oftently asking like how much ( presentage %) work done and
how long estimated time ..
How to answer them !! can we use the below SQL
formula for any job ? Please reply me.
-----------------------------------
To calculate the progress of an RMAN job, run the following query in SQL*Plus while the RMAN job is executing:
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;
-----------------------------------
Thanks
Ezhil
I got the below script from Metalink to know about How much work done for a RMAN session.
Likewise can we find out for each session of other jobs. Because users are oftently asking like how much ( presentage %) work done and
how long estimated time ..
How to answer them !! can we use the below SQL
formula for any job ? Please reply me.
-----------------------------------
To calculate the progress of an RMAN job, run the following query in SQL*Plus while the RMAN job is executing:
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;
-----------------------------------
Thanks
Ezhil
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2004 05:31 PM
08-04-2004 05:31 PM
Re: How to know how much work done for a session
hi,
To monitor the progress of backups, copies, and restores, you can query the view V$SESSION_LONGOPS.
The query should work fine.
To determine which events are being waited for, you can query V$SESSION_WAIT.
e.g.
SELECT sid, seconds_in_wait AS sec_wait, event FROM v$session_wait
WHERE wait_time = 0
ORDER BY sid;
If you want to tune performance, see: http://download-east.oracle.com/docs/cd/A81042_01/DOC/server.816/a76992/toc.htm
hope this helps!
regards
Yogeeraj
To monitor the progress of backups, copies, and restores, you can query the view V$SESSION_LONGOPS.
The query should work fine.
To determine which events are being waited for, you can query V$SESSION_WAIT.
e.g.
SELECT sid, seconds_in_wait AS sec_wait, event FROM v$session_wait
WHERE wait_time = 0
ORDER BY sid;
If you want to tune performance, see: http://download-east.oracle.com/docs/cd/A81042_01/DOC/server.816/a76992/toc.htm
hope this helps!
regards
Yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP