Crash recovery of productive db very slow

We had to shutdown a productive database with db2_kill, because it couldn't be stopped normally and had problem with a full FAILARCHPATH (After TSM server had problems, the archiving to TSM has not been successfully any more, even after TSM Server was up again: We had this problems before....)
The crash recovery takes very long.  Sometimes even db2 list utilities <show details> seems to hang.
With db2pd -everything  I can see the progress of the crash recovery:
Database Partition 0 -- Database PC1 -- Active -- Up 0 days 01:57:14 -- Date 05/07/2008 11:34:59
Recovery:
Recovery Status     0x00000C01
Current Log         S0003363.LOG
Current LSN         061F2B330DBA
Job Type            CRASH RECOVERY     
Job ID              1        
Job Start Time      (1210145904) Wed May  7 09:38:24 2008
Job Description     Crash Recovery     
Invoker Type        User    
Total Phases        2        
Current Phase       1        
Progress:
Address            PhaseNum   Description          StartTime                  CompletedWork                TotalWork          
0x000000020018E580 1          Forward              Wed May  7 09:38:24 2008   786766439 bytes              1998253346 bytes           
0x000000020018E670 2          Backward             NotStarted                 0 bytes                      1998253346 bytes           
So the db has now finished approx 1/3 of the bytes of the forward phase and then also have the backward phase!
In the db2diag.log there are no more entries after beginning of the crash recovery of 09:38.
We have move one logfile from the FAILARCHPATH directory (which was 100% full) to a different directory  to be sure, that the slow crash recovery has nothing to do with the full FAILARCHPATH.
The log_dir directory  has 20 logfiles (LOGPRIMARY+ LOGSECOND) in it  (more could not be allocated there because the log_dir is sized according to the LOG-Parameters)
Parameter UTIL_HEAP_SZ = 150.000
Does anybody have an idea, why the crash recovery is so slow ?
Kind regards,
Uta

Hello Ralph,
the needed logfiles were all there and we didn't need to restore any logfiles from tsm (the "active" logfiles, which are needed for crash recovery should always reside in the log_dir...)
At  2008-05-07-14.17.07.357544   crash recovery was completed successfully.
At 2008-05-07-13.56.41.297552   the db has started  archiving to tsm again:
ADM1844I  Started archive for log file "S0003329.LOG".
According to dba collegues the crash recovery were  only 50 % finished and then suddenly  everything was finished. Since the "db2 list utilities" takes forward and backward phase into account for percentage, I assume that the backward phase  was very fast.
The dba collegues  have also recognized, that in the log_dir there were logfiles which were archived to tsm already. So they moved them out of the log_dir, and additional logfiles could be allocated (Before no add. logfile could be allocated). I couldn't say, if this was the reason, why the recovery was finished then afterwards.
The only problem is, that the database doesn't want to archive  Logfiles  S0003329- S0003350. Strange  is also, that logfile 3329 was archived to the FAILARCHPATH yesterday successfully,
2008-05-06-12.27.10.316403+120 E4284459A420       LEVEL: Warning
PID     : 3907                 TID  : 1           PROC : db2logmgr (PC1) 0
INSTANCE: db2pc1               NODE : 000
FUNCTION: DB2 UDB, data protection, sqlpgArchiveLogFile, probe:3170
MESSAGE : ADM1846I  Completed archive for log file "S0003329.LOG" to
          "/db2/PC1/log_archive/db2pc1/PC1/NODE0000/C0000009/" from
          "/db2/PC1/log_dir/".
and now the db searches in the log_dir:
2008-05-07-13.57.02.525715+120 E25224816A315      LEVEL: Warning
PID     : 28182                TID  : 1           PROC : db2logmgr (PC1) 0
INSTANCE: db2pc1               NODE : 000
FUNCTION: DB2 UDB, data protection, sqlpgArchiveLogFile, probe:3108
MESSAGE : ADM1844I  Started archive for log file "S0003329.LOG".
2008-05-07-13.57.02.526949+120 I25225132A364      LEVEL: Error
PID     : 28182                TID  : 1           PROC : db2logmgr (PC1) 0
INSTANCE: db2pc1               NODE : 000
FUNCTION: DB2 UDB, data protection, sqlpgArchiveLogVendor, probe:1630
RETCODE : ZRC=0x860F000A=-2045837302=SQLO_FNEX "File not found."
          DIA8411C A file "" could not be found.
2008-05-07-13.57.02.527866+120 E25225497A367      LEVEL: Warning
PID     : 28182                TID  : 1           PROC : db2logmgr (PC1) 0
INSTANCE: db2pc1               NODE : 000
FUNCTION: DB2 UDB, data protection, sqlpgArchiveLogFile, probe:3150
MESSAGE : ADM1848W  Failed archive for log file "S0003329.LOG" to "TSM chain 9"
2008-05-07-13.57.02.528352+120 I25225865A370      LEVEL: Error
PID     : 28182                TID  : 1           PROC : db2logmgr (PC1) 0
INSTANCE: db2pc1               NODE : 000
FUNCTION: DB2 UDB, data protection, sqlpgArchiveLogFile, probe:3160
MESSAGE : Failed to archive log file S0003329.LOG to TSM chain 9 from
          /db2/PC1/log_dir/ with rc = -2045837302.
and this was none of the logfiles, which the collegue moved out of log_dir.
Has anybody  seen the situation  that the db couldn't  archive from failarchpath to TSM after failure. We don't want  to control every FAILARCHPATH after TSM-Failures....
Kind regards,
Uta

Similar Messages

  • IMac Crashes when I render - also very slow

    Having used CS5 for some time on a 24 inch 2008 iMac, I recently upgraded to CS6 when I purchased a very "new" used iMac. The iMac in question was from a work colleague who purchased it for one project then decided to buy a Macbook instead. He had it for under 5 months.
    The spec is as follows: http://www.everymac.com/systems/apple/imac/specs/imac-core-i5-2.7-27-inch-aluminum-mid-201 1-thunderbolt-specs.html:// it came with 12GB RAM (bought from an Apple approved dealer)
    I am loading 1080p files from four Sony NX5s and either nesting them or where required (two filming dates merged) four or more video tracks and around three our four audio tracks.
    After a while the footage becomes too choppy to watch at full res, and I usually drop to 1/2 then 1/4 resolution. WIth around two or three minutes of footage on the time line the video freezes and I need to render.
    Herein lies the big problem: When I render such footage the bar tracks until 99% and then the machine powers down. Although I have autosave set to every 2 minutes and I manually save the project before I render, when the system powers back up the project will revert to the start point (footage disappears from the import folders and nothing appears in the time line) - Ive checked the scratch discs and the latest version always shows as the prevous save.
    This is becoming frustrating and yesterday I decided to export the footage without rendering and again it crashed with three minutes of footage with two video and two audio tracks.
    Is there a fix for this? Is my hardware insufficient and should I go to a 32gb RAM on a Mac Pro? 
    Any advice gladly received!

    This is for Windows, but it "seems" that you have a similar problem, so some reading that MAY help with ideas
    Read Bill Hunt on BSOD http://forums.adobe.com/thread/772169
    -and an Encore fix http://forums.adobe.com/thread/1060443

  • Affter Effects "Cube" all four videos play very slow

    Hi everyone,
    As I have produced a rotating "Cube" . Four videos to play as the Cube rotates slowly from left to right.
    The negative is that all four videos in the rendered finished product play very slow.
    my wish is to have all four videos to play at  a normal speed.
    any input would be appreciated.
    yes I am new to After Effects and this is my best piece of work so far but the element of no realtime of the videos is
    troubling. Premiere Pro is coming nicely.
    Many thanks! Merry Christmas!
    System:
    Dell Precision M6800
    Windows 7 pro 64 bit
    16GB Ram.
    AMD Firepro M6100 (open cl)

    Are you pressing the space bar to preview? Did you try and render your project to a delivery format? Have you gone through the basic getting started materials found here? How to add effects and motion graphics in After Effects | Adobe After Effects CC tutorials

  • Samsung 1.5TB External HDD problems - very slow and crashes Mac

    I recently bought a Samsung 1.5TB Story Station External HDD, to supplement my full iomega 320GB drive (firewire). The Samsung is USB 2.0, and I quickly realised that the Mac only has USB 1 - i.e. very slow. The HDD took about 15mins to even register in Finder and transfers were inevitably slow.
    I bought a new USB 2.0 PCI card, with 4 external and 1 internal USB 2.0 connectors. Installed securely and correctly, it should be plug and play right? Wrong. Firstly I checked with a Compact Flash card that the USB 2.0 was working and it is - very fast upload of images to the Mac. Then I tried to move a group of files from the Samsung to the iomega drive and it started off transferring really fast, saying under one minute to perform the task. Then it froze, and slowly worked it's way up to 2hrs remaining. I had to crash out of it in the end. I tried a few simpler transfers, but it froze in finder each time. Now the Samsung drive is not even getting recognised by the Mac.
    What am I doing wrong? Is there a shut down/eject order that I have not been doing? I usually just shut down the Mac with the HDDs on, and that has never been an issue for the iomega drive.
    Any help or links appreciated. PSD

    Hi-
    Welcome to Discussions!
    External drive controller chipsets vary greatly.
    Along with this, and a big problem for PPC Mac users, is that the makers don't take PPC Mac architecture into consideration.
    The first mistake is to rely on USB/USB 2.0 for connection.
    Firewire is +the surest+ bet for an external drive for a Mac.
    USB 2.0 is for WinPC machines, which often don't have firewire.
    It is NOT a reliable connection method for hard drives.
    Second, these ready made externals are often a problem with PPC Macs.
    WD MyBook, Seagate FreeAgents, and others, are often just no good.
    I don't see why the Samsung would be different.....
    The best way to use an external drive, is to get a firewire drive enclosure kit that has an Oxford chipset, and then install the drive of your choice inside.
    http://eshop.macsales.com/item/Other%20World%20Computing/MEFW91UAL1K/
    These all have drives installed, but the case and controller is definitely no problem:
    http://eshop.macsales.com/shop/firewire/1394/USB/EliteAL/eSATAFW800_FW400USB
    I would return the drive.
    Is early failure a problem? Look here:
    http://www.newegg.com/Product/Product.aspx?Item=N82E16822152179
    http://www.testfreaks.com/external-hard-drives/samsung-story-station-hx-du015eb/ user-reviews/
    http://www.amazon.com/Samsung-Station-Desktop-External-HXDU015EB/product-reviews /B002C3S6V8/ref=cmcr_dpsynop?ie=UTF8&showViewpoints=0&sortBy=bySubmissionDateDescending#R9CEXOPSF7FKA
    All reviews have an alarming number of failures.

  • I updated my iPod touch 4g 64gb to iOS 6.1 and now it's been very slow, safari keeps crashing, apps being very slow and crashing ? Can anyone help ?

    I updated my iPod touch 4g 64gb to iOS 6.1 and now it's been very slow, safari keeps crashing, apps being very slow and crashing ? Can anyone help ?

    Next
    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Go to Settings>Safari and Clear Cookies, Data and History
    - Restore from backup. See:                                 
    iOS: How to back up           
    - Restore to factory settings/new iOS device.

  • Multiple crashes fixed by turning off hardware and Flash acceleration; very slow now. Takes five seconds to exit and still listed as a running process

    A workaround was suggested by a member of the community to turn off both hardware and Flash acceleration. It worked fine (no crashes since), but runs very slowly. In particular, takes five seconds to exit and is often still listed as a running process. Very slow in connecting to Web pages, and very slow loading them because of the graphics. Very slow in loading video. I expected slower responses, but this is REALLY slow. I'm running 64-bit Windows 7 and an Nvidia GE Force 7800 graphics card with all the drivers updated and the plugins for Firefox mostly set on "ask to activate". Should I expect this much reduction in performance when the workaround I mentioned was put into place? If so, it's half a loaf at best. The only thing questionable is that I have two Youtube downloaders that I am trying, but I made the assumption that these were only applied when you downloaded something from Youtube.

    In case you are using "Clear history when Firefox closes": do not clear the Cookies
    If you clear cookies then Firefox will also try to remove cookies created by plugins and that requires to start plugin-container processes that can slow down closing Firefox.
    Instead let the cookies expire when Firefox is closed to make them session cookies.
    *Firefox/Tools > Options > Privacy > "Use custom settings for history" > Cookies: Keep until: "I close Firefox"

  • Cover flow is very slow and crashes on iOS 5 or is it just my iPod Touch?

    Basically, everytime I use cover flow on my music and scroll around it laggs and crashes. The simple solution is to not use it I know but I'm just wondering if you guys are having the same problem.

    Same here on my 3GS. Found that restoring a second time the phone helps,no more crash,but still very slow and freezing,compare to flawless response on previous IOS3-4.
    Note that looking at diagnostics reports,it have lot's of "LowMemory" and "awdd" messages with dates corresponding to the times is was using cover flow.
    Even outside of cover flow,my 3GS registers lags corresponding "LowMemory" reports quite often.
    I enable then sharing to Apple of those diagnostics on the phone,hope they fix this soon!

  • Materialized view refresh is very slow in production

    Hi,
    I am using Oracle 10.2.0.4.0 version and facing problem in Materialized view refresh in production.
    There is a set of Materialized views (15 Mviews) are refreshed through refresh group in production every week or adhoc basis. And for refreshing it is taking 5hrs. I have refreshed the same set of Materialized views multiple times in development environment through refresh group but it got refreshed within 3min. The structure of materialized base tables, type of materialized view refresh, materialized definition and volume of base tables are same between development and production. The production disk space also larger than development. But I am not sure why in production the refresh is very slow compare to development. As this is very critical can some one help on this?
    Thanks is advance.
    - Gopinath.

    Is it fast refresh Mviews? If yes, then check size of materialized view logs. Also check is any other mviews registered on those tables and not refreshing.
    select log_owner, master, log_table, REFRESH_method, version,
           owner, name as ragistered_snapshot, snapshot_site, current_snapshots last_refresh_time, sl.snapshot_id
    from dba_snapshot_logs sl,
         dba_registered_snapshots rs
    where sl.snapshot_id = rs.snapshot_id (+)
    order by 1,2,3 
    ;

  • Recovery very very slow on the physical standby recently

    The standby was running fine for over a year. But recently the recovery became very slow. It took over an hour to apply one archivelog causing the standby falling behind. What could be the cause and solution?
    Thanks!

    Before I go further with my comment, I would recommend to open a SR with Oracle and have them help you to resolve the problem.
    You said that the archive logs are being applied, however the apply rate is slow? Is this true?
    Since you are applying the archive logs, it looks like your protection mode is set to ASYNC Maximum Performance.
    Can you check if all the logs are being shipped to the standby without any problem?
    There are couple of DG healthcheck scripts available on Metalink.
    Metalink Note 241438.1 Script to Collect Data Guard Physical Standby Diagnostic Information
    Metalink Note 241374.1 Script to Collect Data Guard Primary Site Diagnostic Information
    Can you run those scripts? If you feel comfortable, publish the output of the scripts on this tread, otherwise review them. They may give you some clue on what might be going on.
    Also check v$dataguard_status view.
    select *
    from v$dataguard_status
    where severity in ('Error','Fatal')
    order by timestamp; If you are not able to run the scripts due to database hanging state, as you described in your last post, try to determine why the database is hanging.
    In this kind of situations I usually use HANGANALYZE that will generate trace files for all the running processes. It may take a while until you review these files. Especially pay attention to the RFS process.
    SQL>oradebug setmypid
    SQL>oradebug unlimit;
    SQL>oradebug hanganalyze 266For more information on how to use HANGANALYZE refer to Metalink Notes: 175006.1, 452358.1 and 61552.1
    However, if you haven't used oradebug before or don't feel comfortable using it, you better don't do that and wait on instructions from Oracle.
    Also, as always, check the alert log file and the data guard log file (drc<sid>.log).
    Cheers,
    Edited by: tekicora on Dec 31, 2008 10:22 AM

  • Any ideas? In the history may iPad never crashed but after updating to iOS 5 it crashed every 30 minutes, and browsing is very slow

    Any ideas? In the history may iPad never crashed but after updating to iOS 5 it crashed every 30 minutes, and browsing is very slowAny ideas? In the history may iPad never crashed but after updating to iOS 5 it crashed every 30 minutes, and browsing is very slow

    I found the reason why our iPads are slow after iOS 5!!!!!!!
    What you need to do is this:
    1) launch settings, go to mail contacts and calendars, go to fetch new data, advanced, and set iCloud to fetch.
    2) go back and set an interval of when to fetch. Mine is set for thirty minutes. 
    3) make sure on top push is still on, that means that all your emails will still be pushed, but all the iCloud sync (contacts, calendars, reminders, bookmarks) will happen at the interval you choose.
    Restart the device. Your performance should be 10x faster! No more keyboard lag, nothing! Doing this puts less stress on the A4 chip, which we know we need every bit we can get with it now!!!
    Optional:
    1) in the settings, go to safari.
    2) clear all history and cookies/data
    3) enable private browsing. One of the biggest reasons why devices are slow is because it keeps all the history and cookies in the RAM. You need more RAM to make things faster. By turning on private browsing, it never records it!

  • Since I updated to os X 10.8.4 Safari is very slow and crashes

    I just updated to os X 10.8.4, and since then safari 6.0.5 is very slow, websites like youtube take forever to load, and I have problems opening new tabs.
    I hope someone can help me.
    P.S. Sorry for my english, not my first language.

    Do you get a notice that Safari has quit unexpectedly? If so, please do the following.
    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Step 1
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Enter the name of the crashed application or process in the Filter text field. Select the messages from the time of the last crash, if any. Copy them to the Clipboard (command-C). Paste into a reply to this message (command-V).
    When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some private information, such as your name, may appear in the log. Anonymize before posting.
    Step 2
    Still in the Console window, look under User Diagnostic Reports for crash reports related to the process. The report name starts with the name of the crashed process, and ends with ".crash". Select the most recent report and post the entire contents — again, the text, not a screenshot. In the interest of privacy, I suggest that, before posting, you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if it’s present (it may not be.) Please don’t post shutdownStall, spin, or hang logs — they're very long and not helpful.

  • Internet Recovery very slow

    I've been trying to Internet recovery to rebuild a 13" MacBook Pro with retina display. I'm not sure if I'm doing anything wrong but it's moving along very slow. I have restarted and reset the pram and everything is still slow. It currently says downloading additional components and the time says 19 hours left.
    I guess I will just let it go overnight. I've done this before and it normally takes 1-2 hours at most. I have a 20mbit connection and tested the speed and it seems fine.
    Is this normal?

    Which computer? There is a label on the bottom.
    -Jerry

  • Premier Elements 4 very slow and frequently crash

    Dear Adobe support staff,
    I've purchased Adobe Premier Elements 4 several yeard ago for an urgnet job I made.
    I didn't use it much because it crashes all the time, and it is very very slow and frustrating. So I've used other software instead.
    Needless to say that I was very dissappointed.
    Now, I want to give it a second chance. but it stiil keep crashing and still very very slow.
    My questions:
    1.  Why does it  crash all the time?  is there is a fix for the problem?
    2.  What kind of  Graphics Card or Video Editing Card do you recommend for my system to work relatively normal ?
    3.  How much will it  cost me to upgrade to version 11 ?
    My system SPEC:
    OS:  Microsoft Windows 7 ultimate  with SP1 (32bit) .
    CPU:  INTEL Core2 QUAD cpu Q9550 , 2.83 GHZ with a 4 GB of RAM.
    Graphics card:  NVIDIA GeForce 9600 GT.
    Motherboard:   MICRO STAR INTERNATIONAL , MODEL MS-7353  3.0,  CHIPSET INTEL X48,
    RAM:  4 GB Dual Channel DDR2, 400 MHZ ,  512 MB memory.
    Please  advice.
    Sincerely yours,
    Shimon Tourgeman.

    For the crashing, this FAQ Entry might be useful. It starts with a general PrE checklist, then goes into computer and OS tuneup, and ends with many links on troubleshooting and finding causes: http://forums.adobe.com/thread/792580?tstart=0
    As for the GPU, any current video card, with at least 1GB of VRAM, will work well. PrE does not place much of a load on the GPU, but it DOES rely very, very heavily on the video driver. Both nVidia and AMD/ATI issue constant driver updates, with nVidia leading the way at this moment.
    Also, while talking about drivers, some users have experienced issues with Win8 drivers. I would wait until SP1 has been released for Win8, before changing to it from Win7. For this reason, I just ordered a new laptop, and specified Win7. As the company, ADK, only builds custom and semi-custom video editing machines, they commented that they will ONLY install Win7 at this time, and have been testing Win8, since the first beta. They do not think that it is yet ready for "prime time."
    Good luck,
    Hunt
    PS - I still use PrE 4.0, but on XP-Pro SP3, and have only crashed it 2-3 times over the years. At least 2 times, it was due to OE on my part. However, my computer is tuned and built for video editing.

  • Firefox keeps crashing on me every day at least two or three and it is very slow - what can I do to stop this??

    When I turn on my laptop computer to use it, it crashes on me every day at least two or three times before I can use it.
    Also, it is very slow such as when I want to scroll down my e-mail list. It stops and shows "loading" for a long period of time so I can't get to my older e-mails.
    I didn't know that I was to keep the crash ID when I send crash reports.

    Your issue may be caused by Malware. You can run and update the following '''free''' anti virus software:
    1. Malwarebytes (Free version) - http://www.malwarebytes.org
    2. Spybot Search & Destroy - http://www.safer-networking.org
    3.Spyware Terminator - http://www.spywareterminator.com
    In addition, there are a number of forums you can use to help get rid of your infection. These include:
    *[http://www.bleepingcomputer.com/forums/ Bleeping Computer]
    *[http://forums.spybot.info/ Safer-Networking Forums]
    *[http://www.spywarewarrior.com/index.php Spyware Warrior Forums]
    *[http://www.spywarewarrior.com/index.php SpywareInfo Forums]

  • My mac has become very slow and crashes frequently after installing Lion

    My mac has become very slow and crashes frequently after installing Lion. I have a 4 GB DDR3 ram and 2.4 GHz Processor. The Mac was running just fine on Snow Leopard. Has anyone else faced this issue?
    Any suggestions on how to solve it?
    Thank you
    Kimberly M. Noronha

    I refer you to the TM expert
    http://web.me.com/pondini/Time_Machine/14.html
    As a extra precaution I would copy the user file folders of Music, Documents, Pictures etc to another external drive and disconnect, just in case.
    Always maintain TWO backups of your data at all times, since your messing with one, you need another until your back at two again.

Maybe you are looking for