System Stats opinions Please - WORKLOAD vs. NOWORKLOAD?

Dear Experts,
Bit of a background - We've a big (10TB) 10.2.0.5, 5 node RAC system for a big Oracle eBusiness Suite (R12 - HRMS/Payroll) implementation and at the minute we are running on some old (2 years old) gathered NOWORKLOAD system stats and since then a significant underlying IO infrastructure change has gone in and we are planning to upgrade the underlying server infrastructure from IBM P5 to IBM P7 soon as well (which introduces significant CPU changes etc.) and me personally think its the time to let Oracle know about all these changes under the carpet by updating the System Stats and since its likely going to be a significant change as potentially all the plans will be impacted (and few/some might go in an unintended direction) so want to know your opinion on these questions about it please :
1. Shall we just update the Noworkload Stats and leave it as it is (db_file_multiblock_read_count in left unset i.e. left for the system to set automatically).
OR
2. Shall we go for the WORKLOAD stats instead? If we go this way then I am planning to go by the brilliant strategy mentioned by Christian Antognini in his lovely book 'Troubleshooting Oracle Performance' for stability point of view.
3. We are planning to go 11g (11.2.0.2+) in the 2nd half to next year as well - is better to leave this evil till then if 11g introduces or improves the system stats mechanism significantly? An opinion favoring this is also that we'll get better and more robust testings done if we pile it on 11g project so may be a bit safer approach (and better for work/human resources planning as well).
Out of the 5 RAC nodes, 2 are dedicated to OLTP stuff, 2 for Batch (Payrolls etc.) and 1 for (low priority) Reporting so obviously there are concerns around getting to a setting that's going to be the best fit for all of them and since thats not easy to achieve the risk is higher.
I am sure I am not new here and some of you'd have come across these questions as well so am wondering if I can get some opinions or advices please? Particularly from the people who have gone from NOWORKLOAD to WORKLOAD (preferable eBusiness suite and even better HRMS/Payroll) please and also from the people who've distributed workload like we have on difference RAC nodes- if they can share their experiences on how did it go for them - that'll be good please? (Obviously everyone's system is different and so is everyone's workload but if 8 out 10 say its been good for them or even bad - then that gives a bit of a feel about it).
Or are most people still running on 'safer' NOWROKLAOD stats please becs WORKLOAD is deemed to be a bigger change?
Also, in the end - I've heard some not so great stuff about IBM P7 as well - just wondering if there are people out there with some experience on these as well please?
Thanks in advance.

pdthedba wrote:
3. We are planning to go 11g (11.2.0.2+) in the 2nd half to next year as well - is better to leave this evil till then if 11g introduces or improves the system stats mechanism significantly? An opinion favoring this is also that we'll get better and more robust testings done if we pile it on 11g project so may be a bit safer approach (and better for work/human resources planning as well).Be careful about gathering system statistics in 11.2.0.2. Why? Well there is a bug.
Workload System Statistics Bug in 11.2
However, as of earlier this year there is a patch to fix it: 9842771.

Similar Messages

  • Has anybody had an issue with System State Backups on a Dell PowerEdge R510 Server running Server 2008 R2?

    Hi,
    We have recently had issues running system state backups on our 2008 R2 Domain Controllers.  They are running on Dell PowerEdge R510 Physical Hardware.  Whenever you initiate a system state backup,  the Domain Controller becomes unresponsive
    forcing us to physically reboot it.   Nothing in the Event logs or the Dell Open Management Hardware Software indicates issues with Phyiscal disks but we can always replicate the issue by starting the system state backup. 
    The system state backup is initialted as a batch file that runs as a scheduled task.   the commands run are as follows:
    WBADMIN START SYSTEMSTATEBACKUP -backupTarget:[drive letter] -quiet
    We have 4 Domain Controllers with identical disk configurations.  When the DCs were setup I confirmed the system state backups were working but the issue started occuring sometime in Dec 2014.  We are going to run the Dell Hardware Update Utility
    to update the RAID, BIOS, Firmware updates but Has anyone experienced a similar issue that may have been triggerd by a Microsoft Patch?
    Thanks,
    Kevin C.
    kconway@fnalgov
    

    Hi Kevin,
    This issue could be due to the Mountmgr.sys driver incorrectly maintains a global mutex. This behavior causes a deadlock situation in the Mountmgr.sys driver.
    Please install the hotfix in the article below to resolve the issue:
    A computer stops responding because of a deadlock situation in the Mountmgr.sys driver in running Windows 7 or in Windows Server 2008 R2 
    http://support.microsoft.com/kb/2614892
    Best Regards,
    Mandy
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Wbadmin System State Backup "Parameter is incorrect"

    Hello,
    We have two physical Windows Server 2008 R2 x64 Standard Domain Controllers and the system state backup on both fails with the same error.
    We issue the command:
    wbadmin start systemstatebackup -backuptarget:c:
    (NOTE: We did the REG fix to allow backups to the system volume)
    and we get  this as the output:
    C:\Windows\system32>wbadmin start systemstatebackup -backuptarget:c:
    wbadmin 1.0 - Backup command-line tool
    (C) Copyright 2004 Microsoft Corp.
    Starting to back up the system state [28/02/2010 21:26]...
    Retrieving volume information...
    This will back up the system state from volume(s) System(C:) to c:.
    Do you want to start the backup operation?
    [Y] Yes [N] No y
    Creating a shadow copy of the volumes specified for backup...
    Creating a shadow copy of the volumes specified for backup...
    Please wait while system state files to back up are identified.
    This might take several minutes...
    Summary of the backup operation:
    The backup of the system state failed [28/02/2010 21:27].
    Log of files successfully backed up:
    C:\Windows\Logs\WindowsServerBackup\Backup-28-02-2010_21-26-31.log
    Log of files for which backup failed:
    C:\Windows\Logs\WindowsServerBackup\Backup_Error-28-02-2010_21-26-31.log
    The operation ended before completion.
    The parameter is incorrect.
    C:\Windows\system32>
    This happens on both servers and the two backup log files mentioned in the output are both empty.
    There's no other information that I can find so I don't know what the "parameter" is or why it is incorrect.
    Has anyne come across this problem and know what the error is referring to?
    Thanks
    Sunil

    I received a PowerShell script from Suhas and ran it on the affected server, the script output gave:
    1.
         Service Name    : RMAGENT
         Service Caption : RMAGENT
         Registry key    : HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\RMAGENT\ImagePath
         Value           : \\PRIMARY\admin$\Microsoft DPM SRT\RFCAgent.exe
         Reason          : The service path contains a double slash. Network paths or paths containing a double slash are not supported.
    2.
         Service Name    : RMAGENT
         Service Caption : RMAGENT
         Registry key    : HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\RMAGENT\ImagePath
         Value           : \\PRIMARY\admin$\Microsoft DPM SRT\RFCAgent.exe
         Reason          : The service path does not have a proper path format. Only paths beginning with [<Drive>]:\ format are supported.
    The "RMAgent" is from Microsoft Data Protection Manager 2007 System Recovery Tool (DPM-SRT) and I think is the remote agent that DPM-SRT uses to backup the remote system.
    The DPM-SRT RMAgent isn't supported and doesn't work on Windows Server 2008 R2 systems and I am not sure how it ended up installed on the server. Removing this service should solve the problem and allow the System State Backups to work. The DPM-SRT agent wasn't listed in the "Programs and Features" and so couldn't be installed from there (if it was I would have spotted this a long time ago and probably solved the problem). Instead, I used the information at:
    http://www.howtogeek.com/howto/windows-vista/how-to-delete-a-windows-service-in-vista-or-xp/
    To delete the RMAgent service: sc delete "RMAgent" in an Administrator CMD prompt. This removed the registry entries shown in the script output above. When this was done, I ran the script again just to be sure there was nothing else and indeed the RMAgent entries had gone and there were no other items that needed attention.
    Finally, I tried "webadmin start systemstatebackup -backuptarget:C:" again in an administrator CMD prompt and it completed successfully.
    I would like to thank Abhinav Mathur and Suhas Rao in particular for their very helpful script.
    Sunil

  • System State Backup fail. Writer name: 'NTDS' : State: [11] Failed : Last error: Non-retryable error

    Hello!!! Everybody,
    I have Win Server 2008 R2 contain Domain controller (No Hyper-V). I have to take "SYSTEM STATE DATA BACKUP". I have ran following command on this Server.
    c:\>wbadmin start systemstatebackup -backuptarget:d:
    but backup was not successful & I got following error in command prompt.
    " A VOLUME SHADOW COPY SERVICE OPERATION HAS OCCURRED : <0X800423f4>. THE WRITER EXPERIENCED A NON-TRANSIENT ERROR. IF THE BACKUP PROCESS IS RETRIED,THE ERROR IS LIKELY TO REOCCUR."
    I also ran following command to know exact problem.
    c:\>vssadmin list writers
    I got following error
    Writer name: 'NTDS'
       Writer Id: {b2014c9e-8711-4c5c-a5a9-3cf384484757}
       Writer Instance Id: {21c57902-5037-467b-b9a3-72ed41c9723e}
       State: [11] Failed
       Last error: Non-retryable error
    I also checked Event Viewer & got following 3 noserror.
    (1) Event ID : 8229, Source : VSS
    A VSS writer has rejected an event with error 0x800423f4, The writer experienced a non-transient error. If the backup process is retried, the error is likely reoccur.
    Process ID : 608
    (2) Event Id : 412, Source : ESENT. Task Category: Logging/Recovery
    lsass (636) Unable to read the header of log file "\\?\Globalroot\device\harddiskvolumeshadowcopy2\Windows\NTDS\edb.log".Error:546
    (3)Event Id : 521 Source : Backup
    The backup operation that started at  '‎2014-‎05-‎13T01:44:31.444000000Z' has failed because the Volume Shadow Copy Service operation to create a shadow copy of the volumes being backed up failed with following error code '2155348129'. Please review
    the event details for a solution, and then rerun the backup operation once the issue is resolved.
    I have also restart the server but problem is not resolved. I have no SQL in my Server.
    I also re-register the VSS components with the help of following website.
    Website Link :  https://kb.acronis.com/content/45776
    You are requested please solve my problem on very urgent basis.

    You can refer below link for your issue
    http://waynestorey.com/blog/2012/01/18/windows-backup-fails-with-event-id-521-error-code-2155348129/
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question, please click "Mark As Answer"
    Mai Ali | My blog: Technical | Twitter:
    Mai Ali

  • DPM 2012 R2 failing on backup of BMR and System State

    We are running DPM 2012 R2 on Windows Server 2012 and I am trying to protect another Windows 2012 Server with a Bare Metal Recovery and system state but it fails on initial synchronization.  I get the following error in DPM:
    DPM failed to create the backup. If you are backing up only System State, verify if there is enough free space on the protected computer to store the System State backup.  On protected computers running Windows Server2008, verify that Windows Server
    Backup (WSB) is installed and that it is not performing any other backup or recovery task. (ID 30214 Details: Internal error code: 0x80990ED0)
    This is a new server and there is 65.7 GB of 99.9 GB free on the C drive.  131 of 136 GB free on the F drive.  The P drive only has 100 MB free of 36.3 GB but that is where the pagefile is located, nothing else is on the P drive. 
    Would that be a problem or is that irrelevant?
    The replica volume is 30 GB and the recovery point volume is 6.06 GB.  I tried increasing the replica volume all the way up to 200 GB and the recovery point volume to 30 GB but that didn't matter. 
    Why is this not working?

    Hi,
    Try this and troubleshoot any errors along the way.
    1) Set up a network share on a remote machine
    \\server\bmrshare
    2) From an administrative command prompt on the Protected Server you want the BMR backup for, type:
    wbadmin.exe start backup -allcritical -backuptarget:\\server\bmrshare
    This should show you the list of volumes included in the BMR backup and ask "Do you want to start the backup operation?. - Type
    Y to continue..
    3) Once completed, see how large the BMR backup is on the remote server, then resize the DPM replica accordingly to accommodate the size of the manual BMR backup.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Mike J. [MSFT]
    This posting is provided "AS IS" with no warranties, and confers no rights.

  • DPM 2012 R2 CU 4 - issue w/ system state backup completing on non domain servers with T2embed.dll

    I am really new to DPM and just took over a system that has servers being backed up that are not part of the domain. The volumes backup fine and system state will not complete. In looking at the protection group server the WindowsImageBackup folder is created
    and the backup starts however it will fail and DPM server will say Replica is inconsistent.  Back on the protected server in the backup event log, it fails w/ error code 2155347997.  In the backup error log file in C:\windows\logs\windowsserverbackup. 
    It says "Error in backup of C:\windows\system32\t2embed.dll during read.  Error [0x80070005] Access is denied.
    We have about 4 other servers that are not domain joined and they are getting similar errors w/ t2embed.dll in that system32 directory or in the WinSXS folder.   All servers are 2008 SP2 or 2008 R2 SP1.
    Thank you in advance for you help

    Hi,
    DPM has no control over errors that Windows server backup receives, but check permissions and Remove the DENY permission for EVERYONE on the below files:
    C:\Windows\system32\t2embed.dll
    C:\Windows\winsxs\amd64_microsoft-windows-font-embedding_31bf3856ad364e35_6.1.7601.17514_none_13e628b635935244\t2embed.dll
    C:\Windows\winsxs\x86_microsoft-windows-font-embedding_31bf3856ad364e35_6.1.7601.17514_none_b7c78d327d35e10e\t2embed.dll
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Mike J. [MSFT]
    This posting is provided "AS IS" with no warranties, and confers no rights.

  • Windows Server 2008 R2 - System State Backup - Application Log: CAPI2 513

    When performing a system state backup from wbadmin, I get...
    Creating a shadow copy of the volumes specified for backup...
    Creating a shadow copy of the volumes specified for backup...
    Please wait while system state files to back up are identified.
    This might take several minutes...
    Summary of the backup operation:
    The backup of the system state failed [12/15/2011 6:38 PM].
    Log of files successfully backed up:
    C:\windows\Logs\WindowsServerBackup\Backup-15-12-2011_18-38-05.log
    Log of files for which backup failed:
    C:\windows\Logs\WindowsServerBackup\Backup_Error-15-12-2011_18-38-05.log
    The operation ended before completion.
    The system writer is not found in the backup.
    In the event log, I get...
    Log Name: Application
    Source: Microsoft-Windows-CAPI2
    Date: 12/15/2011 6:38:24 PM
    Event ID: 513
    Task Category: None
    Level: Error
    Keywords: Classic
    User: N/A
    Computer: Server1.domain.com
    Description:
    Cryptographic Services failed while processing the OnIdentity() call in the System Writer Object.
    Details:
    AddCoreCsiFiles : GetNextFileMapContent() failed.
    System Error:
    The parameter is incorrect.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    <System>
    <Provider Name="Microsoft-Windows-CAPI2" Guid="{5bbca4a8-b209-48dc-a8c7-b23d3e5216fb}" EventSourceName="Microsoft-Windows-CAPI2" />
    <EventID Qualifiers="0">513</EventID>
    <Version>0</Version>
    <Level>2</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x8080000000000000</Keywords>
    <TimeCreated SystemTime="2011-12-15T23:38:24.430498600Z" />
    <EventRecordID>144157</EventRecordID>
    <Correlation ActivityID="{0450BC50-F800-0002-8457-553A80BBCC01}" />
    <Execution ProcessID="1240" ThreadID="4360" />
    <Channel>Application</Channel>
    <Computer>Server1.domain.com</Computer>
    <Security />
    </System>
    <EventData>
    <Data>
    Details:
    AddCoreCsiFiles : GetNextFileMapContent() failed.
    System Error:
    The parameter is incorrect.
    </Data>
    </EventData>
    </Event>
    The System Writer is not showing up when I view vssadmin list writers.
    I have already tried every tip in the following links:
    http://technet.microsoft.com/en-us/library/cc734021(WS.10).aspx
    http://social.technet.microsoft.com/Forums/en-US/windowsbackup/thread/bb760434-de80-4cb6-ae9e-bd253e4b037c/
    I have also run sfc /scannow and rebooted.  No luck.
    I think the reason none of the tips at the above links work for me is that the System Error is NOT access denied like many others are getting, but is instead
    The parameter is incorrect.  I think that's the key.
    Any ideas why I am getting this error and why my System Writer is nowhere to be found?

    Hi,  
    You mentioned that “The System Writer is not showing up when I view vssadmin list writers.”
    you may reboot the related services or re-register the writers, please refer to:
    How to Re-register Volume Shadow Copy Service (VSS) Components on Windows 2008/Windows 2003.
    http://www.symantec.com/business/support/index?page=content&id=TECH70486
    Best regards,
    Jeff Ren
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Windows 2012 System State Backup Fails

    We have a Windows 2012 Domain Controller VM that we would like to backup the System State using DPM. Agent has been installed and the Windows Backup has been added.
    When the backup runs in DPM, the job fails. Here is the error code:
    DPM cannot create a backup because Windows Server Backup (WSB) on the protected computer encountered an error (WSB Event ID: 517, WSB Error Code:  0x12363C0). (ID 30229 Details: Internal error code: 0x80990ED0)
    When we try and create the backup using Windows Backup, the following error is in the log file:
    following error code '0x807800C5' (There was a failure in preparing the backup image of one of the volumes in the backup set.). Please review the event details for a solution, and then rerun the backup operation once the issue is resolved.
    We have tried attaching a separate drive and backup to a shared location. Both fail.
    We have tried backup of just a few files on the DC instead of the System State, this fails as well.
    All VSS Writers show as Stable with no errors
    Server has the latest updates
    Server has been rebooted, same issue
    VM is Windows 2012 on a Windows 2008 R2 clustered host and is using Dynamic Disks (not fixed disks).
    Anyone have any thoughts on what could be going on?

    Hi,
    If any of the following are true, you will not be able to backup a system state to that volume.
    • Make sure that the target volume has no shadow copy before the backup starts.  
    • If a system state backup is stored on a source volume, backup settings should be configured for full backups. By default, settings are configured for full backups.  
    • Periodically check that no other user or program maintains a shadow copy on the target volume.  
    • Do not keep volume level backups and system state backups in the same location.  
    • The volume used to store the system state backup needs twice the amount of free space as the size of the system state backup until the backup completes
    Meanwhile please check if it is caused that you are backing up to a critical drive. Try modify the following key:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wbengine\SystemStateBackup\ 
    Set the value of this entry as follows: 
    Name: AllowSSBToAnyVolume 
    Data type: DWORD 
    Value data: 1 
    If you have any feedback on our support, please send to [email protected]

  • System state synchronizations and express full backups of protected 2012 R2 machines overload DPM server.

    I have one DPM 2012 R2 UR2 server which is running on Windows 2008 R2 and 2 protection groups (A, and B). The server uses direct attached storage for all replicas and recovery volumes.
    Group A protects the system state and bare metal recovery of 25 Windows 2008R2 servers. It creates recovery points using express full backup each night at 6PM. The servers range from file/print, SQL, domain controllers, terminal servers, web servers, etc. Total
    data 3TB.
    Group B protects the system state and bare metal recovery of only 3 Windows 2012R2 servers. It creates recovery points using express full backup each night (morning) at 1AM. The servers are 1 domain controller, 1 WSUS server, and 1 server that runs VMware VCenter.
    Total data 90GB.
    During group A's nightly backup, which takes approximately 2 hours, the DPM server becomes noticeably slower but remains functional. I can open Windows update and check for updates, copy files to and from network locations, launch intenet explorer, etc. It's
    stressed since 25 servers are creating backups on it but it remains functional.
    During group B's nightly backup the DPM server grinds to a complete halt. Launching internet explorer takes an hour (literally), 10 minutes will pass before I get a menu after clicking the start button. Basically it becomes completely unresponsive until the
    backups finish which typically doesn't happen because I'm forced to cancel them upon arriving at work...8 hours later.
    I read that DPM uses the built in Windows Backup to protect system state and bare metal recovery. Did something change in Windows Backup from 2008R2 to 2012R2 that would cause this? Why can my DPM server easily backup 25 Windows 2008R2 machines at once in 2
    hours yet freezes solid for 8 hours or more when backing up only 3 Windows 2012R2 machines?
    I left performance monitor running during the night and it showed an average disk queue length of 49 during group B's backup but everything else was normal. Seems the disks on the DPM server are the bottleneck but again I ask why can my DPM server easily backup
    25 Windows 2008R2 machines at once in 2 hours yet freezes solid for 8 hours or more when backing up only 3 Windows 2012R2 machines? Both protection groups use the same disks.
    How can I fix this?
    Teenage angst has paid of well, now I'm bored and old.

    Hi CS,
    You can also run a performance monitor.
    For some basic perfmon counters to help narrow down the possible bottleneck:
    Perf Counters for DPM
    Logical Disk/Physical Disk
    \%idle
    • 100% idle to 50% idle = Healthy
    • 49% idle to 20% idle = Warning or Monitor
    • 19% idle to 0% idle = Critical or Out of Spec
    \%Avg. Disk Sec Read or Write
    • .001ms to .015ms  = Healthy
    • .015ms to .025 = Warning or Monitor
    • .026ms or greater = Critical or Out of Spec
    Current Disk Queue Length (for all instances)
    80 requests for more than 6 minutes.
    • Indicates possibly excessive disk queue length.
    Memory
    \Pool Non Paged Bytes*
    • Less that 60% of pool consumed=Healthy
    • 61% - 80% of pool consumed = Warning or Monitor.
    • Greater than 80% pool consumed = Critical or Out of Spec.
    \Pool Paged Bytes*
    • Less that 60% of pool consumed=Healthy
    • 61% - 80% of pool consumed = Warning or Monitor.
    • Greater than 80% pool consumed = Critical or Out of Spec.
    \Available Megabytes
    • 50% of free memory available or more =Healthy
    • 25% of free memory available = Monitor.
    • 10% of free memory available = Warning
    • Less than 100MB or 5% of free memory available = Critical or Out of Spec.
    Processor
    \%Processor Time (all instances)                                                                  
    • Less than 60% consumed = Healthy
    • 51% - 90% consumed = Monitor or Caution
    91% - 100% consumed = Critical
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Mike J. [MSFT]
    This posting is provided "AS IS" with no warranties, and confers no rights.

  • DPM Server System State and Bare MEtal using SqlServerWriter

    HI All,
    Having issuing with bare metal backups of a DPM server and was hoping to get some help.
    I have a DPM 2010 Server running on server 2008 r2. SQL databases are hosted locally on a non system drive (e)
    When I run Windows Server Backup locally on the box to do a bare metal backup (it selects c and d drives along with system state) the backup fails.
    vssadmin lsit writers shows the following after the backup fails;
    Writer name: 'SqlServerWriter'
       Writer Id: {a65faa63-5ea8-4ebc-9dbd-a0c4db26912a}
       Writer Instance Id: {9a1fdd12-d702-4ffc-914d-4361259cc55f}
       State: [8] Failed
       Last error: Inconsistent shadow copy
    Application log shows this;
    The backup operation that started at '‎2014‎-‎07‎-‎09T08:30:54.453000000Z' has failed because the Volume Shadow Copy Service operation to create a shadow copy of the volumes being backed up
    failed with following error code '2155348129'. Please review the event details for a solution, and then rerun the backup operation once the issue is resolved.
    The backup log shows exactly the same error as above.
    When I stop the SQL Server VSS Writer service and run the backup it runs just fine, however then my database backup on this server fails.
    The C drive partition is marked as active.
    Any ideas as to why bare metal backup is using the SQL writer and failing. Is there any way to specify what writer to use?
    Thank in advance.

    Any ideas as to why bare metal backup is using the SQL writer and failing. Is there any way to specify what writer to use?
    You better should ask this the support of the software vendor of "bare metal backup"
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • Interactive logon process initialization has failed after system state is restored from backup

    Recently one of my Windows 2008 server was restored from system state backup, and below error appears before during startup, before logon screen:
    "interactive logon process initialization has failed. please consult the event log for more details"
    I do not have recovery disk, also repair didn't work, any other solutions?
    Thanks.

    Hi Justin,
    I would suggest you to use sfc to check if there is any systemfiles corrupted :
    1. boot from cd
    2.  sfc /scannow /offbootdir=X:\ /offwindir=Y:\windows (X  is boot partition , Y is windows system files partition )
    Best Regards
    Elton Ji
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Active directory system state backup

    We are running active directory ,Windows 2008 R2 with DPM 2012.
    I would like change the default location from C:\ to a remote network location. Such as, \\machine123\WindowsImageBackup
    I modified PSDataSourceConfig.XML to point to a network location but that did not work. it keep dumping the backup on C: drive.
    I found many article but all of them were locally on the same server.
    how to do it on a remote network location?
    Hussain
    hussain

    Hi,
    There is no provision in DPM to move the system state backup to a remote location. You can schedule windows server backup to perform the systemstate backup and use remote share, then configure DPM to protect that share.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Mike J. [MSFT]
    This posting is provided "AS IS" with no warranties, and confers no rights.

  • System State Backup - 2008R2 - Volume Shadow Copy Error

    I am attempting to do  system state backup in my Test environment.  I am running Hyper-V on a standalone "sandbox" server.  I have configured a semi-duplicate environment.
    We are updating the schema soon, and I would like to do a System State restore for practice and I haven't actually had to do one in about 10 years.  
    I am running 2008R2 DC as a VM in my Hyper-V environment.  It has a C: and E: volume, VSS is enabled on e: and set to Unlimited.  I set my set "BackupLocation=e:\adbackups" and attempt to run wbadmin.exe start systemstatebackup -backupTarget:"E:"
    (with quotes or without it still fails.
    My error from command is Error - Volume Shadow Copy Service operation error (0x800423f4) which appears to be a generic error.  In the Backup Event Viewer it shows as Event ID 9, another generic error.
    I am running as Domain Admin, and I checked that I have Backup Operator rights.  Volume Shadow Copy service is running.

    Hello Chris,
    This issue occurs if any of the virtual disks attached to the guest VM was created by using the option to copy the contents of a physical disk. Please refer the below mentioned MS KB..
    Backup of a Hyper-V virtual machine fails with error 0x800423f4 if the disk signature on a virtual hard disk is the same as a physical disk on the Hyper-V host
    http://support.microsoft.com/kb/975695
    Sincerely, Asifkhan -- Please mark my post helpful if it was really helpful to you.

  • System Stats on Sun Solaris poor than on Windows

    Hi,
    I have freshly gathered system stats on my Windows 64bit DB and Sun Solaris T3 SPARC but for some reason the stats on Windows look superior to those on Windows.
    Windows
    select
               sname
             , pname
             , pval1
             , pval2
    from
             SYS.AUX_STATS$;
    SNAME                          PNAME                          PVAL1                  PVAL2
    SYSSTATS_INFO                  STATUS                                                COMPLETED
    SYSSTATS_INFO                  DSTART                                                06-13-2011 20:36
    SYSSTATS_INFO                  DSTOP                                                 06-13-2011 20:37
    SYSSTATS_INFO                  FLAGS                          1
    SYSSTATS_MAIN                  CPUSPEEDNW                     2600.213
    SYSSTATS_MAIN                  IOSEEKTIM                      11.207
    SYSSTATS_MAIN                  IOTFRSPEED                     4096
    SYSSTATS_MAIN                  SREADTIM                       3.226
    SYSSTATS_MAIN                  MREADTIM
    SYSSTATS_MAIN                  CPUSPEED                       2600
    SYSSTATS_MAIN                  MBRC
    SYSSTATS_MAIN                  MAXTHR
    SYSSTATS_MAIN                  SLAVETHR
    13 rows selected
    Solaris
    SNAME                          PNAME                          PVAL1                  PVAL2
    SYSSTATS_INFO                  STATUS                                                COMPLETED
    SYSSTATS_INFO                  DSTART                                                06-13-2011 20:32
    SYSSTATS_INFO                  DSTOP                                                 06-13-2011 20:33
    SYSSTATS_INFO                  FLAGS                          1
    SYSSTATS_MAIN                  CPUSPEEDNW                     411.566
    SYSSTATS_MAIN                  IOSEEKTIM                      6.197
    SYSSTATS_MAIN                  IOTFRSPEED                     52653.625
    SYSSTATS_MAIN                  SREADTIM                       463.529
    SYSSTATS_MAIN                  MREADTIM
    SYSSTATS_MAIN                  CPUSPEED                       412
    SYSSTATS_MAIN                  MBRC
    SYSSTATS_MAIN                  MAXTHR
    SYSSTATS_MAIN                  SLAVETHR
    13 rows selectedCan anyone please explain why? Anu OS level params to be set?

    To give a background, the overall db performance on Solaris is slower than Windows. Therefore I am putting down info as required for a performance tuning thread.
    =====================================================================================================
    The following SQL statement has been identified to perform poorly on my new Sun Solaris machine. It performs as expected on my Wondows 2003 x64 server.
    It currently takes 15 seconds to execute on Windows and 78 seconds on Solaris.
    OS Configurations
    Windows: 2003 Server x64 with single 250GB HDD 4GB RAM
    Solaris:
    Operating System : Solaris 5.10/08
    Sun SPARC T3 -1 Server
    CPU : SPARC T3 16-Core 1.65 GHz Processor
    RAM : 16 GB DDR3
    HDD : 4*300 GB= 1200 TB
    This is the statement:
    select * from v_a_rd_data_entry; -- This is a view.
    The view query is:
    SELECT   1 RN,
          I.RD_TYPE_CODE,
          I.RD_TYPE,
          I.RD_CODE,
          I.TCNT,
          V1.VERSION_ID,
          V1.FLAG_1,
          V1.FLAG_2,
          V1.QUANTITY_1,
          V1.QUANTITY_2,
          V2.IDENTITY_START_DATE,
          V2.IDENTITY_TERMINATION_DATE,
          V1.VERSION_VALID_FROM,
          V1.CRE_USER,
          V1.CRE_DATIM,
          V1.IS_DELETING_VERSION,
          V1.DELETES_VERSION_ID,
          V1.CODE_1,
          V1.CODE_2,
          CAST (NULL AS DATE) AS lc_start,
          CAST (NULL AS DATE) AS lc_end,
          CAST (NULL AS DATE) AS version_valid_till,
          CAST (NULL AS DATE) AS next_lc_start,
          CAST ( MULTISET
             SELECT   RD_TYPE_CODE,
                VERSION_ID,
                LANGUAGE_CODE,
                SHORT_DESCRIPTION,
                LONG_DESCRIPTION
                 FROM RD_DATA_ENTRY_T
                WHERE RD_DATA_ENTRY_T.RD_TYPE_CODE = V1.RD_TYPE_CODE
                AND RD_DATA_ENTRY_T.VERSION_ID     = V1.VERSION_ID
          ) AS RD_DATA_ENTRY_T_TAB_TYPE) RD_DATA_ENTRY_T
           FROM RD_DATA_ENTRY_I I,
          RD_DATA_ENTRY_V V1,
          RD_DATA_ENTRY_V V2
          WHERE V1.RD_TYPE_CODE = I.RD_TYPE_CODE
          AND V2.RD_TYPE_CODE   = I.RD_TYPE_CODE
          AND V1.version_id     = get_version_id.RD_DATA_ENTRY (V1.RD_TYPE_CODE, 'CURRENT', V1.VERSION_VALID_FROM)
          AND V2.version_id     = get_version_id.RD_DATA_ENTRY (V2.RD_TYPE_CODE, 'KNOWLEDGE');The DB parameters:
    Windows:
    SQL> show parameters optimizer
    NAME                                 TYPE        VALUE
    optimizer_capture_sql_plan_baselines boolean     FALSE
    optimizer_dynamic_sampling           integer     2
    optimizer_features_enable            string      11.1.0.6
    optimizer_index_caching              integer     0
    optimizer_index_cost_adj             integer     100
    optimizer_mode                       string      ALL_ROWS
    optimizer_secure_view_merging        boolean     TRUE
    optimizer_use_invisible_indexes      boolean     FALSE
    optimizer_use_pending_statistics     boolean     FALSE
    optimizer_use_sql_plan_baselines     boolean     TRUE
    SQL> show parameter db_file_multi
    NAME                                 TYPE        VALUE
    db_file_multiblock_read_count        integer     128
    SQL> show parameter db_block_size
    NAME                                 TYPE        VALUE
    db_block_size                        integer     8192
    SQL> show parameter cursor_sharing
    NAME                                 TYPE        VALUE
    cursor_sharing                       string      EXACT
    select
               sname
             , pname
             , pval1
             , pval2
    from
             sys.aux_stats$;
    SNAME                          PNAME                          PVAL1                  PVAL2
    SYSSTATS_INFO                  STATUS                                                COMPLETED
    SYSSTATS_INFO                  DSTART                                                06-13-2011 20:36
    SYSSTATS_INFO                  DSTOP                                                 06-13-2011 20:37
    SYSSTATS_INFO                  FLAGS                          1
    SYSSTATS_MAIN                  CPUSPEEDNW                     2600.213
    SYSSTATS_MAIN                  IOSEEKTIM                      11.207
    SYSSTATS_MAIN                  IOTFRSPEED                     4096
    SYSSTATS_MAIN                  SREADTIM                       3.226
    SYSSTATS_MAIN                  MREADTIM
    SYSSTATS_MAIN                  CPUSPEED                       2600
    SYSSTATS_MAIN                  MBRC
    SYSSTATS_MAIN                  MAXTHR
    SYSSTATS_MAIN                  SLAVETHR
    13 rows selected          Solaris:
    SQL> show parameters optimizer
    NAME                                 TYPE                             VALUE
    optimizer_capture_sql_plan_baselines boolean                          FALSE
    optimizer_dynamic_sampling           integer                          2
    optimizer_features_enable            string                           11.2.0.1
    optimizer_index_caching              integer                          50
    optimizer_index_cost_adj             integer                          50
    optimizer_mode                       string                           ALL_ROWS
    optimizer_secure_view_merging        boolean                          TRUE
    optimizer_use_invisible_indexes      boolean                          FALSE
    optimizer_use_pending_statistics     boolean                          FALSE
    optimizer_use_sql_plan_baselines     boolean                          TRUE
    SQL> show parameter db_file_multi
    NAME                                 TYPE                             VALUE
    db_file_multiblock_read_count        integer                          256
    SQL> show parameter db_block_size
    NAME                                 TYPE                             VALUE
    db_block_size                        integer                          8192
    SQL> show parameter cursor_sharing
    NAME                                 TYPE                             VALUE
    cursor_sharing                       string                           SIMILAR
    select
               sname
             , pname
             , pval1
             , pval2
    from
             sys.aux_stats$;
    SNAME                          PNAME                          PVAL1                  PVAL2
    SYSSTATS_INFO                  STATUS                                                COMPLETED
    SYSSTATS_INFO                  DSTART                                                06-13-2011 20:32
    SYSSTATS_INFO                  DSTOP                                                 06-13-2011 20:33
    SYSSTATS_INFO                  FLAGS                          1
    SYSSTATS_MAIN                  CPUSPEEDNW                     411.566
    SYSSTATS_MAIN                  IOSEEKTIM                      6.197
    SYSSTATS_MAIN                  IOTFRSPEED                     52653.625
    SYSSTATS_MAIN                  SREADTIM                       463.529
    SYSSTATS_MAIN                  MREADTIM
    SYSSTATS_MAIN                  CPUSPEED                       412
    SYSSTATS_MAIN                  MBRC
    SYSSTATS_MAIN                  MAXTHR          Here is the output of EXPLAIN PLAN:
    Windows:
    SQL> select * from v_a_rd_data_entry;
    4434 rows selected.
    Elapsed: 00:00:03.26
    Execution Plan
    Plan hash value: 275055418
    | Id  | Operation                      | Name                 | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT               |                      |     1 |   111 |    73   (3)| 00:00:01 |
    |   1 |  TABLE ACCESS BY INDEX ROWID   | RD_DATA_ENTRY_T      |     1 |    38 |     2   (0)| 00:00:01 |
    |*  2 |   INDEX RANGE SCAN             | RD_DE_T_RD_DE_V_FK1X |     1 |       |     1   (0)| 00:00:01 |
    |   3 |  NESTED LOOPS                  |                      |       |       |            |          |
    |   4 |   NESTED LOOPS                 |                      |     1 |   111 |    73   (3)| 00:00:01 |
    |   5 |    NESTED LOOPS                |                      |     1 |    79 |    71   (3)| 00:00:01 |
    |*  6 |     TABLE ACCESS FULL          | RD_DATA_ENTRY_V      |     1 |    60 |    70   (3)| 00:00:01 |
    |   7 |     TABLE ACCESS BY INDEX ROWID| RD_DATA_ENTRY_I      |     1 |    19 |     1   (0)| 00:00:01 |
    |*  8 |      INDEX UNIQUE SCAN         | RD_DATA_ENTRY_I_PKX  |     1 |       |     0   (0)| 00:00:01 |
    |*  9 |    INDEX RANGE SCAN            | RD_DATA_ENTRY_V_PKX  |     1 |       |     1   (0)| 00:00:01 |
    |  10 |   TABLE ACCESS BY INDEX ROWID  | RD_DATA_ENTRY_V      |     1 |    32 |     2   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       2 - access("RD_DATA_ENTRY_T"."RD_TYPE_CODE"=:B1 AND "RD_DATA_ENTRY_T"."VERSION_ID"=:B2)
       6 - filter("V1"."VERSION_ID"="GET_VERSION_ID"."RD_DATA_ENTRY"("V1"."RD_TYPE_CODE",'CURRENT',
                  INTERNAL_FUNCTION("V1"."VERSION_VALID_FROM")))
       8 - access("V1"."RD_TYPE_CODE"="I"."RD_TYPE_CODE")
       9 - access("V2"."RD_TYPE_CODE"="I"."RD_TYPE_CODE")
           filter("V2"."VERSION_ID"="GET_VERSION_ID"."RD_DATA_ENTRY"("V2"."RD_TYPE_CODE",'KNOWLEDGE
    Statistics
          53704  recursive calls
              0  db block gets
         197001  consistent gets
              0  physical reads
              0  redo size
         785437  bytes sent via SQL*Net to client
           3747  bytes received via SQL*Net from client
            299  SQL*Net roundtrips to/from client
          26850  sorts (memory)
              0  sorts (disk)
           4434  rows processedSolaris:
    SQL> select * from v_a_rd_data_entry;
    4015 rows selected.
    Elapsed: 00:00:09.50
    Execution Plan
    Plan hash value: 1399662582
    | Id  | Operation                      | Name                 | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT               |                      |     1 |   135 |    19  (16)| 00:00:01 |
    |   1 |  TABLE ACCESS BY INDEX ROWID   | RD_DATA_ENTRY_T      |     1 |    39 |     1   (0)| 00:00:01 |
    |*  2 |   INDEX RANGE SCAN             | RD_DE_T_RD_DE_V_FK1X |     1 |       |     1   (0)| 00:00:01 |
    |   3 |  NESTED LOOPS                  |                      |       |       |            |          |
    |   4 |   NESTED LOOPS                 |                      |     1 |   135 |    19  (16)| 00:00:01 |
    |   5 |    NESTED LOOPS                |                      |     1 |    51 |    19  (16)| 00:00:01 |
    |*  6 |     TABLE ACCESS FULL          | RD_DATA_ENTRY_V      |     1 |    32 |    18  (17)| 00:00:01 |
    |   7 |     TABLE ACCESS BY INDEX ROWID| RD_DATA_ENTRY_I      |     1 |    19 |     1   (0)| 00:00:01 |
    |*  8 |      INDEX UNIQUE SCAN         | RD_DATA_ENTRY_I_PKX  |     1 |       |     1   (0)| 00:00:01 |
    |*  9 |    INDEX RANGE SCAN            | RD_DE_V_RDE_I_FK1X   |     2 |       |     1   (0)| 00:00:01 |
    |* 10 |   TABLE ACCESS BY INDEX ROWID  | RD_DATA_ENTRY_V      |     1 |    84 |     1   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       2 - access("RD_DATA_ENTRY_T"."RD_TYPE_CODE"=:B1 AND "RD_DATA_ENTRY_T"."VERSION_ID"=:B2)
       6 - filter("V2"."VERSION_ID"="GET_VERSION_ID"."RD_DATA_ENTRY"("V2"."RD_TYPE_CODE",'KNOWLEDGE
       8 - access("V2"."RD_TYPE_CODE"="I"."RD_TYPE_CODE")
       9 - access("V1"."RD_TYPE_CODE"="I"."RD_TYPE_CODE")
      10 - filter("V1"."VERSION_ID"="GET_VERSION_ID"."RD_DATA_ENTRY"("V1"."RD_TYPE_CODE",'CURRENT',
                  INTERNAL_FUNCTION("V1"."VERSION_VALID_FROM")))
    Note
       - 'PLAN_TABLE' is old version
    Statistics
          32000  recursive calls
              0  db block gets
         101816  consistent gets
              0  physical reads
              0  redo size
         631809  bytes sent via SQL*Net to client
           2214  bytes received via SQL*Net from client
            271  SQL*Net roundtrips to/from client
          15998  sorts (memory)
              0  sorts (disk)
           4015  rows processedThe problematic portion is the call to the package function. The queries in there are the ones causing trouble
    The TRCANLZR output for those statement looks like the following:
    Windows:
    224270.1 TRCA Trace Analyzer 11.4.2.4 Report: trcanlzr_43915.txt
    hecr_ora_3300.trc (32608792 bytes)
    Total Trace Response Time: 15.286 secs.
    2011-JUN-03 11:12:56.453 (start of first db call in trace 3717579.240823).
    2011-JUN-03 11:13:11.739 (end of last db call in trace 3717594.526453).
    RESPONSE TIME SUMMARY
    ~~~~~~~~~~~~~~~~~~~~~
                                              pct of                  pct of                  pct of
                                    Time       total        Time       total        Time       total
    Response Time Component    (in secs)   resp time   (in secs)   resp time   (in secs)   resp time
                        CPU:       6.422       42.0%
              Non-idle Wait:       0.000        0.0%
         ET Unaccounted-for:       0.359        2.4%
           Total Elapsed(1):                               6.782       44.4%
                  Idle Wait:                              14.745       96.5%
         RT Unaccounted-for:                              -6.241      -40.8%
          Total Response(2):                                                      15.286      100.0%
    ---SQl in question
    2262144708 cv4dua23db5q4
    Rank:3(14.1%) Self:3.036s Recursive:0.003s Invoker:83 Definer:83 Depth:1
    SELECT V.VERSION_ID FROM RD_DATA_ENTRY_V V WHERE V.RD_TYPE_CODE = :B3 AND V.VERSION_VALID_FROM <= :B2 AND V.CRE_DATIM <= :B1 AND
    V.DELETES_VERSION_ID IS NULL AND NOT EXISTS (SELECT NULL FROM RD_DATA_ENTRY_V V2 WHERE V.VERSION_ID = V2.DELETES_VERSION_ID AND
    V2.VERSION_VALID_FROM <= :B2 AND V2.CRE_DATIM <= :B1 ) ORDER BY V.VERSION_VALID_FROM DESC, V.CRE_DATIM DESC
    SQL SELF - TIME, TOTALS, WAITS, BINDS AND ROW SOURCE PLAN
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
              Response Time  Elapsed             Non-Idle     Elapsed Time       Idle
       Call   Accounted-for     Time  CPU Time  Wait Time  Unaccounted-for  Wait Time
      Parse:          0.000    0.000     0.000      0.000            0.000      0.000
    Execute:          2.456    2.456     2.438      0.000            0.019      0.000
      Fetch:          0.579    0.579     0.547      0.000            0.032      0.000
      Total:          3.036    3.036     2.984      0.000            0.051      0.000
                              OS  BG Consistent  BG Current         Rows  Library     Times   Times
               Call  Buffer Gets      Read Mode        Mode    Processed    Cache    Waited  Waited
       Call   Count       (disk)        (query)   (current)  or Returned   Misses  Non-Idle    Idle
      Parse:      1            0              0           0            0        1         0       0
    Execute:  13260            0              0           0            0        1         0       0
      Fetch:  13260            0         100502           0        13070        0         0       0
      Total:  26521            0         100502           0        13070        2         0       0
                                                                                    BG      OS     OS
                                                                            Consistent  Buffer  Write                      Estim
              Estim  Actual                                                  Read Mode    Gets  Calls    Time               Size
    ID   PID   Card    Rows              Row Source Operation                     (cr)    (pr)   (pw)  (secs)    ObjCost  (bytes)
    1:    0      1       1 SORT ORDER BY                                            8       0      0   0.000      0  6       58
    2:    1      1       4  NESTED LOOPS ANTI                                       8       0      0   0.000      0  5       58
    3:    2      3       4 . TABLE ACCESS BY INDEX ROWID RD_DATA_ENTRY_V            6       0      0   0.000  73471  4      111
    4:    3      3       4 .. INDEX RANGE SCAN RD_DE_V_RDE_I_FK1X                   2       0      0   0.000  73475  1        0
    5:    2    109       0 . TABLE ACCESS BY INDEX ROWID RD_DATA_ENTRY_V            2       0      0   0.000  73471  1     2289
    6:    5      1       0 .. INDEX RANGE SCAN RD_DE_V_RD_DE_V_FK2X                 2       0      0   0.000  73476  0        0
    EXPLAIN PLAN
    ~~~~~~~~~~~~
              Estim                                                         Search
    ID   PID   Card  Cost             Explain Plan Operation               Cols(1)
    0:           1    11 SELECT STATEMENT
    1:    0      1    11  SORT ORDER BY
    2:    1      1    10 . HASH JOIN ANTI
    3:    2      1     4 .. TABLE ACCESS BY INDEX ROWID RD_DATA_ENTRY_V
    4:    3      3     1 ... INDEX RANGE SCAN RD_DE_V_RDE_I_FK1X              1/1
    5:    2      1     5 .. TABLE ACCESS BY INDEX ROWID RD_DATA_ENTRY_V
    6:    5      1     4 ... INDEX RANGE SCAN RD_DE_V_VVF_CDT_ID1             2/2
    (1) X/Y: Where X is the number of searched columns from index, which has a total of Y columns.
    Indexed Cols and Predicates(1)
      2 - Access Predicates:      V2.DELETES_VERSION_ID=V.VERSION_ID
      3 - Filter Predicates:      V.VERSION_VALID_FROM<=:B2 AND V.CRE_DATIM<=TO_TIMESTAMP(:B1)
          AND V.DELETES_VERSION_ID IS NULL
      4 - Indexed Cols for RD_DE_V_RDE_I_FK1X (search 1/1):
          RD_TYPE_CODE
      4 - Access Predicates:      V.RD_TYPE_CODE=:B3
      5 - Filter Predicates:      V2.DELETES_VERSION_ID IS NOT NULL
      6 - Indexed Cols for RD_DE_V_VVF_CDT_ID1 (search 2/2):
          SYS_NC00014$
          SYS_NC00015$
      6 - Access Predicates:      SYS_OP_DESCEND(VERSION_VALID_FROM)>=SYS_OP_DESCEND(:B2) AND SYS_OP_DESCEND(CRE_DATIM)>=SYS_OP_DESCEND(TO_TIMESTAMP(:B1))
          AND SYS_OP_DESCEND(VERSION_VALID_FROM) IS NOT NULL
      6 - Filter Predicates:      SYS_OP_UNDESCEND(SYS_OP_DESCEND(VERSION_VALID_FROM))<=:B2
          AND
          SYS_OP_UNDESCEND(SYS_OP_DESCEND(CRE_DATIM)
          )<=TO_TIMESTAMP(:B1)
    (1) Identified by operation ID.
    TABLES AND INDEXES
    ~~~~~~~~~~~~~~~~~~
                               in Row       in                                                        Avg
                               Source  Explain      Current      Num   Sample                         Row     Chain                 Empty       Avg    Global
    #    Owner.Table Name       Plan     Plan  Count(*)(2)  Rows(1)  Size(1)  Last Analyzed(1)    Len(1)  Count(1)  Blocks(1)  Blocks(1)  Space(1)  Stats(1)  Part  Temp
    1: HECR.RD_DATA_ENTRY_V        Y        Y        13261    13255    13255 30-MAY-11 22:02:09       90         0        244         12      3864       YES    NO     N
    (1) CBO statistics.
    (2) COUNT(*) up to threshold value of 1000000 (tool configuartion parameter).
                                                          in Row       in
                                                          Source  Explain                                      Cols
    #    Owner.Table Name         Owner.Index Name         Plan     Plan       Index Type       Uniqueness   Count      Indexed Columns
    1: HECR.RD_DATA_ENTRY_V  HECR.RD_DATA_ENTRY_V_PKX         N        N NORMAL                 UNIQUE           2 RD_TYPE_CODE VERSION_ID
    2: HECR.RD_DATA_ENTRY_V  HECR.RD_DE_V_RDE_I_FK1X          N        Y NORMAL                 NONUNIQUE        1 RD_TYPE_CODE
    3: HECR.RD_DATA_ENTRY_V  HECR.RD_DE_V_RD_DE_V_FK2X        N        N NORMAL                 NONUNIQUE        1 DELETES_VERSION_ID
    4: HECR.RD_DATA_ENTRY_V  HECR.RD_DE_V_VID_UN1X            N        N NORMAL                 UNIQUE           1 VERSION_ID
    5: HECR.RD_DATA_ENTRY_V  HECR.RD_DE_V_VVF_CDT_ID1         N        Y FUNCTION-BASED NORMAL  NONUNIQUE        2 SYS_NC00014$ SYS_NC00015$
                                                                                                                                   Avg     Avg
                                                                                                                                  Leaf    Data
                                                                                                                                Blocks  Blocks
                                                              Num   Sample                      Distinct                  Leaf     per     per  Clustering    Global
    #    Owner.Table Name         Owner.Index Name       Rows(1)  Size(1)  Last Analyzed(1)     Keys(1)  Blevel(1)  Blocks(1)  Key(1)  Key(1)   Factor(1)  Stats(1)  Part  Temp
    1: HECR.RD_DATA_ENTRY_V  HECR.RD_DATA_ENTRY_V_PKX      13255    13255 30-MAY-11 22:02:09      13255          1         75       1       1       12018       YES    NO     N
    2: HECR.RD_DATA_ENTRY_V  HECR.RD_DE_V_RDE_I_FK1X       13255    13255 30-MAY-11 22:02:10       4389          1         59       1       2       11986       YES    NO     N
    3: HECR.RD_DATA_ENTRY_V  HECR.RD_DE_V_RD_DE_V_FK2X       114      114 30-MAY-11 22:02:10        114          0          1       1       1          61       YES    NO     N
    4: HECR.RD_DATA_ENTRY_V  HECR.RD_DE_V_VID_UN1X         13255    13255 30-MAY-11 22:02:10      13255          1         53       1       1         687       YES    NO     N
    5: HECR.RD_DATA_ENTRY_V  HECR.RD_DE_V_VVF_CDT_ID1      13255    13255 30-MAY-11 22:02:10       1015          2        143       1       1         807       YES    NO     N
    (1) CBO statistics.
                                    Col                      Asc/      Num   Sample                           Num          Num                       Num
    #       Owner.Index Name       Pos     Column Name      Desc  Rows(1)  Size(1)  Last Analyzed(1)    Nulls(1)  Distinct(1)    Density(1)  Buckets(1)
    1: HECR.RD_DATA_ENTRY_V_PKX      1 RD_TYPE_CODE          ASC    13255    13255 30-MAY-11 22:02:08          0         4389    2.8920e-04         254
    2: HECR.RD_DATA_ENTRY_V_PKX      2 VERSION_ID            ASC    13255    13255 30-MAY-11 22:02:08          0        13255    7.5443e-05           1
    3: HECR.RD_DE_V_RDE_I_FK1X       1 RD_TYPE_CODE          ASC    13255    13255 30-MAY-11 22:02:08          0         4389    2.8920e-04         254
    4: HECR.RD_DE_V_RD_DE_V_FK2X     1 DELETES_VERSION_ID    ASC    13255      114 30-MAY-11 22:02:08      13141          114    8.7719e-03           1
    5: HECR.RD_DE_V_VID_UN1X         1 VERSION_ID            ASC    13255    13255 30-MAY-11 22:02:08          0        13255    7.5443e-05           1
    6: HECR.RD_DE_V_VVF_CDT_ID1      1 SYS_NC00014$         DESC    13255    13255 30-MAY-11 22:02:08          0          126    3.7722e-05         126
    7: HECR.RD_DE_V_VVF_CDT_ID1      2 SYS_NC00015$         DESC    13255    13255 30-MAY-11 22:02:08          0         1010    4.1923e-03         254
    (1) CBO statistics.
    RECURSIVE SQL - TIME AND TOTALS
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
              Response Time  Elapsed             Non-Idle     Elapsed Time       Idle
       Call   Accounted-for     Time  CPU Time  Wait Time  Unaccounted-for  Wait Time
      Parse:          0.000    0.000     0.000      0.000            0.000      0.000
    Execute:          0.003    0.003     0.000      0.000            0.003      0.000
      Fetch:          0.000    0.000     0.000      0.000            0.000      0.000
      Total:          0.003    0.003     0.000      0.000            0.003      0.000
                              OS  BG Consistent  BG Current         Rows  Library     Times   Times
               Call  Buffer Gets      Read Mode        Mode    Processed    Cache    Waited  Waited
       Call   Count       (disk)        (query)   (current)  or Returned   Misses  Non-Idle    Idle
      Parse:      0            0              0           0            0        0         0       0
    Execute:     44            0             60           0          300        0         0       0
      Fetch:      0            0              0           0            0        0         0       0
      Total:     44            0             60           0          300        0         0       0
    RELEVANT EXECUTIONS
    ~~~~~~~~~~~~~~~~~~~
    There are 2 relevant executions of this SQL statement.
    Their aggregate "Response Time Accounted-for" represents 0.1% of this "SQL Response Time Accounted-for", and 0.0% of the "Total Response Time Accounted-for".
    Within these 2 SQL execuctions, there isn't any with "Response Time Accounted-for" larger than threshold of 5.0% of the "SQL Response Time Accounted-for".
                       SQL   Trace      Self                                           Recursive
    First/             RT      RT  Response  Elapsed             Non-Idle       Idle   Response                                            Response
      Last    Rank  Pct(1)  Pct(2)   Time(3)     Time  CPU Time  Wait Time  Wait Time    Time(4)   Start Timestamp       End Timestamp       Time(5)
    First:      3    0.1%    0.0%     0.004    0.004     0.000      0.000      0.000      0.003 JUN-03 11:12:56.497  JUN-03 11:12:56.504      0.007
      Last:  12638    0.0%    0.0%     0.000    0.000     0.000      0.000      0.000      0.000 JUN-03 11:13:11.738  JUN-03 11:13:11.739      0.000
    (1) Percent of "SQL Response Time Accounted-for", which is 3.036 secs.
    (2) Percent of "Total Response Time Accounted-for", which is 21.526 secs.
    (3) "Self Response Time Accounted-for" in secs (caused by this execution).
    (4) "Recursive Response Time Accounted-for" in secs (caused by recursive SQL invoked by this execution).
    (5) According to timestamps of first and last calls for this execution.
          

  • What is the Extract statement? Please give me some sample code.?

    What is the Extract statement? Please give me some sample code.?

    Hello ,
    Once you have declared the possible record types as field groups and defined their structure, you can fill the extract dataset using the following statements: EXTRACT . When the first EXTRACT statement occurs in a program, the system creates the extract dataset and adds the first extract record to it. In each subsequent EXTRACT statement, the new extract record is added to the dataset EXTRACT HEADER. When you extract the data, the record is filled with the current values of the corresponding fields. As soon as the system has processed the first EXTRACT statement for a field group , the structure of the corresponding extract record in the extract dataset is fixed. You can no longer insert new fields into the field groups and HEADER. If you try to modify one of the field groups afterwards and use it in another EXTRACT statement, a runtime error occurs. By processing EXTRACT statements several times using different field groups, you fill the extract dataset with records of different length and structure. Since you can modify field groups dynamically up to their first usage in an EXTRACT statement, extract datasets provide the advantage that you need not determine the structure at the beginning of the program.
    Sample program:
    REPORT  ZSPFLI  LINE-SIZE 132 LINE-COUNT 65(3)
                                                 NO STANDARD PAGE HEADING.
    TABLES:SPFLI,SCARR, SFLIGHT, SBOOK.
    SELECT-OPTIONS: MYCARRID FOR SPFLI-CARRID.
    FIELD-GROUPS: HEADER, SPFLI_FG, SFLIGHT_FG, SBOOK_FG.
    INSERT:
            SPFLI-CARRID
            SPFLI-CONNID
            SFLIGHT-FLDATE
            SBOOK-BOOKID
           INTO HEADER,
            SPFLI-CARRID
            SPFLI-CONNID
            SPFLI-CITYFROM
            SPFLI-AIRPFROM
            SPFLI-CITYTO
            SPFLI-AIRPTO
            SPFLI-DEPTIME
            SCARR-CARRNAME
          INTO SPFLI_FG,
            SFLIGHT-FLDATE
            SFLIGHT-SEATSMAX
            SFLIGHT-SEATSOCC
            SFLIGHT-PRICE
          INTO SFLIGHT_FG,
            SBOOK-BOOKID
            SBOOK-CUSTOMID
            SBOOK-CUSTTYPE
            SBOOK-SMOKER
           INTO SBOOK_FG.
    SELECT * FROM SPFLI WHERE CARRID IN MYCARRID.
      SELECT SINGLE * FROM SCARR WHERE CARRID = SPFLI-CARRID.
      EXTRACT SPFLI_FG.
      SELECT * FROM SFLIGHT
       WHERE CARRID = SPFLI-CARRID AND  CONNID = SPFLI-CONNID.
        EXTRACT SFLIGHT_FG.
        SELECT * FROM SBOOK
               WHERE CARRID = SFLIGHT-CARRID AND
               CONNID = SFLIGHT-CONNID AND FLDATE = SFLIGHT-FLDATE.
          EXTRACT SBOOK_FG.
          CLEAR SBOOK.
        ENDSELECT.
        CLEAR SFLIGHT.
      ENDSELECT.
      CLEAR SPFLI.
    ENDSELECT.
    SORT.
    LOOP.
      AT SPFLI_FG.
        FORMAT COLOR COL_HEADING.
        WRITE: / SCARR-CARRNAME,
                 SPFLI-CONNID, SPFLI-CITYFROM,
                 SPFLI-AIRPFROM, SPFLI-CITYTO, SPFLI-AIRPTO, SPFLI-DEPTIME.
        FORMAT COLOR OFF.
      ENDAT.
      AT SFLIGHT_FG.
        WRITE: /15 SFLIGHT-FLDATE, SFLIGHT-PRICE, SFLIGHT-SEATSMAX,
                   SFLIGHT-SEATSOCC.
      ENDAT.
      AT SBOOK_FG.
        WRITE: /30 SBOOK-BOOKID, SBOOK-CUSTOMID,
                     SBOOK-CUSTTYPE, SBOOK-SMOKER.
      ENDAT.
    ENDLOOP.

Maybe you are looking for

  • HT5395 why can't i use my imessage on my macbook air

    I'm trying to imessage someone from my macbook air to their iphone. but it said i am unavaliable?? why can't i send imessages anymore???

  • Error in using SQLLDR LKM

    I am trying to load fixed length flat file into Oracle table in ODI by using LKM File to Oracle (SQLLDR). But getting below error in Call sqlldr step, org.apache.bsf.BSFException: exception from Jython: Traceback (most recent call last):   File "<str

  • Bind variable value to a Swing component

    I'm totally lost in this one. I've been reading Swing tutorials and books and cant figure it out. I have an array of objects and their value is constantly changing as the program runs. What I want is their value reflected inside some Swing componente

  • Currency VPRS in sales order

    Hi experts, I have this problem: I have pricing in sales order with product costing( condition VPRS) and mark up; when currency document isn't EURO, for exemple USD, the system reads the change . If i modify the excange rate, the condition VPRS isn't

  • HT204266 What apps can I get that will work on an iPod Touch second generation?

    Someone gave me a second generation iPod touch. It has some apps, but I want to know what else I can get for it??