Rebuild database hanging at 100%

I'm using a 17" macbook pro that's about 18 months old and I'm running Snow Leopard.
I've updated Aperture to 3.1.1 but I'm having an odd problem.
As of last night, when I attempt to access a library I get a message saying that the library should be rebuilt. I accept that option, a progress bar appears and after about ten minutes reaches 100%. At that point nothing at all happens, I even left it in that state over night only to find nothing changed this morning.
The only way to finish the process is to force quit Aperture and when it relaunches the process begins again with the 'you should rebuild' message.
What concerns me even more is that I get exactly the same message even when I attempt to launch a Vault backup instead, even though that Vault was created when everything was working properly. The Vault is stored on an external HDD.
I've tried deleting the Aperture preferences and then tried deleting Aperture and reinstalling (then updated to 3.1.1). I've repaired permissions and repaired the HDD without any issues arising.
Does anyone have any tips?

kevlar35 wrote:
I'm using a 17" macbook pro that's about 18 months old and I'm running Snow Leopard.
I've updated Aperture to 3.1.1 but I'm having an odd problem.
The only way to finish the process is to force quit Aperture and when it relaunches the process begins again with the 'you should rebuild' message.
How did you determine that force-quitting was "the only way to finish the process"?
Does anyone have any tips?
Let Aperture run longer. Close all apps, be sure to set your laptop to not turn off/go to sleep/shut down the drives, connect it to a power source, and try the rebuild option again.
I recently rebuilt a (very large) Library -- it took about 24 hr. During much of this time Aperture was reported as using c. 90% of the processors' capacity (and the CPU temp soared).
IME, force-quitting Aperture is never a good step.

Similar Messages

  • Primary and Physical Standby databases hanging on sqlplus shell command...

    I am primarily a java developer that has had the task of oracle dba thrust upon me due to circumstances that are beyond my control. In the QA lab we have two oracle 10 g release 1 instances running. They set up in a dataguard configuration: one is the primary and the other is in a physical standby.
    Last week I noticed that the disk space on the primary database was at 100%. After some investigation I discovered that a good deal of the files taking up space on the box were log files and the best solution that I could think of would be to delete all old archive files. So I deleted the old archive files that were at least two weeks old using RMAN.
    During this week the database started to shutdown automatically. The QA associate restarted the database twice using the ‘STARTUP’ command from sqlplus. Additionally, the standby database began to have issues: when login in to sqlplus the application would just hang: no ‘SQL” prompt or anything. Finally today the primary database has also begun to hang in a similar manner.
    I have looked at many of the trace files and alert logs but haven’t been able to really discern what the real problem is with the database and the proper rectification for the database. Does anyone have a clue into what is going on? If someone could even point me in the right direction it would be greatly appreciated.

    Guessing that your flash recovery area is full, archiving is stopped so the instance appears to hang.
    Do you see messages like so in the alert log:
    You have following choices to free up space from flash recovery area:
    1. Consider changing RMAN RETENTION POLICY. If you are using Data Guard,
       then consider changing RMAN ARCHIVELOG DELETION POLICY.
    2. Back up files to tertiary device such as tape using RMAN
       BACKUP RECOVERY AREA command.
    3. Add disk space and increase db_recovery_file_dest_size parameter to
       reflect the new space.
    4. Delete unnecessary files using RMAN DELETE command. If an operating
       system command was used to delete files, then use RMAN CROSSCHECK and
       DELETE EXPIRED commands.
    ************************************************************************

  • Shutting down database hangs

    Dear Gurus,
    I m facing a database hang issue while performing the scheduled offline backup.I m able to take the online backup.When the backup starts , the database starts to shutdown.When checked in the log of backup it shows in tail as shutting down database.When checked for user trace , it shows message as "Attempting to kill pid xxxxxxx" and keeps on retrying for n no. of times.Then I have to manually kill the backup and restart the application.Then again try for an offline backup.This time it happens smoothly.This activity we did for couple of weeks .But now from past 3 days even after restarting the backup, it goes to hang mode.In other words unable to perform the backup activity.
    The message had been raised to SAP from almost 15 days at very high.They every time ask the logs , and say that the data in log is nt providing much info for analysing the issue or cause of hang.Also enabled the traces of 10400 for trace level 1 ,10 some more traces also.But still the output is not helping even them to analyse the root cause.
    Its my observation that this issue is occuring only on ABAP+JAVA systems(CRM &BIW)not in ECC.We are on oracle database 10.2.0.0.4 with latest patch set as suggested by SAP for the same issue.
    This issue is h
    Please suggest me at the earliest.As need to resolve this at the earliest.
    Bye.
    Amit

    Hi,
    No "archive process shutdown avoided" message is there in the log file.
    In usertrace i get messages as mentioned below.
    bslcrmprddb #more bcp_ora_1257502.trc
    Dump file /oracle/BCP/saptrace/usertrace/bcp_ora_1257502.trc
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, Data Mining and Real Application Testing options
    ORACLE_HOME = /oracle/BCP/102_64
    System name:    AIX
    Node name:      bslcrmprddb
    Release:        3
    Version:        5
    Machine:        00C6C4024C00
    Instance name: BCP
    Redo thread mounted by this instance: 1
    Oracle process number: 0
    Unix process pid: 1257502, image: oracle@bslcrmprddb
    2009-06-05 08:01:36.875
    Oracle Instance Startup operation failed. Another process may be attempting to startup or shutdown
    Failed to acquire instance startup/shutdown serialization primitive
    bslcrmprddb #more bcp_ora_2453676.trc
    Dump file /oracle/BCP/saptrace/usertrace/bcp_ora_2453676.trc
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, Data Mining and Real Application Testing options
    ORACLE_HOME = /oracle/BCP/102_64
    System name:    AIX
    Node name:      bslcrmprddb
    Release:        3
    Version:        5
    Machine:        00C6C4024C00
    Instance name: BCP
    Redo thread mounted by this instance: 0 <none>
    Oracle process number: 0
    Unix process pid: 2453676, image: oracle@bslcrmprddb
    2009-06-06 07:04:22.494
    Dynamic strand is set to TRUE
    Running with 2 shared and 88 private strand(s). Zero-copy redo is FALSE
    bslcrmprddb #more bcp_ora_1495266.trc
    Dump file /oracle/BCP/saptrace/usertrace/bcp_ora_1495266.trc
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, Data Mining and Real Application Testing options
    ORACLE_HOME = /oracle/BCP/102_64
    System name:    AIX
    Node name:      bslcrmprddb
    Release:        3
    Version:        5
    Machine:        00C6C4024C00
    Instance name: BCP
    Redo thread mounted by this instance: 1
    Oracle process number: 213
    Unix process pid: 1495266, image: oracle@bslcrmprddb (TNS V1-V3)
    ACTION NAME:() 2009-06-06 03:00:22.223
    MODULE NAME:(sqlplus@bslcrmprddb (TNS V1-V3)) 2009-06-06 03:00:22.223
    SERVICE NAME:(SYS$USERS) 2009-06-06 03:00:22.223
    SESSION ID:(517.13229) 2009-06-06 03:00:22.223
    ksukia: Starting kill, force = 0
    ksukia: killed 274 out of 274 processes.
    ksukia: Starting kill, force = 0
    ksukia: killed 0 out of 2 processes.
    ksukia: Starting kill, force = 0
    ksukia: killed 0 out of 1 processes.
    ksukia: Starting kill, force = 0
    ksukia: killed 0 out of 1 processes.
    ksukia: Starting kill, force = 0
    Please suggest.
    Regards,
    Amit

  • Oracle 10g Database Hanging twice a day

    My database server has 10g with MS 2003 server as OS.
    Twice a day the database hangs and does disconnects all the users from local and remote locations.
    Current SYSTEM tablespace has a size of 470 MB and is 98.86 in use, when I try to add another datafile as 'SYSTEM02.DBF' in the same path where other system data files are, I kept this operation running during weekends but datafile was not added.
    Has it anything to do with the MS 2003 server no. of users.
    Any other suggestions for SYSTEM Tablespace to be free.
    Please reply.
    Thanks
    Ajaz Ahmed

    Hi friends / sameer,
    Sorry for the delay. Here is the attached alert.log file Since the data from foxpro was loaded into oracle on to oracle 10 g from 7th may the problem of database hanging started from the next day. I joined the organization on 22nd july.
    Current SYSTEM tablespace has a size of 470 MB and is 98.86 in use, when I try to add another datafile as 'SYSTEM02.DBF' in the same path where other system data file is, it does not add. I kept this operation running during weekends but datafile was not added.
    Has it anything to do with the MS 2003 server no. of users.
    Any other suggestions for SYSTEM Tablespace to be free.
    If you can get me your mail id then I can send the
    attachment of alert.log file as [email protected] bounces back.
    Thanks
    Ajaz Ahmed

  • Database Hanging

    Hi,
    I have Oracle database 10g my database is hanging and i want to check what locks occur on which table how can i work on this database hanging process.Kindly help...because i am new for this i need good procedure to face this problem..

    If db hangs there could be a lot of possibilities..
    eg. no more space for archive log or datafiles
    Locks on table are different. You can look on alertlog and start investigating..

  • Oracle 8i database hangs for the same amount during JDBC calls.

    Hi all,
    I have a Oracle 8i database on solaris. The database hangs for exactly 61 seconds for a random jdbc call from my Java application, i mean there is no particular pattern or a JDBC call for which the database hangs. If i choose to wait for 61 seconds it returns the results from the database but if i try to access the database with another query(SQL Plus) the first query starts executing immediately. Is that a database configuration problem or some thing else.
    And i also get some exceptions occasionally( Maximum Open Cursors exception). Are these two related?
    Any feedback is appreciated.
    Thanks
    Hugo Victor

    I have uninstalled Oracle 8i.
    Removed all the services from Windows services by deleting corresponding registry entries and deleted the Oracle folder.
    I have reinstalled Oracle 8i, this time i changed the name of global database to oracledb.
    I channged the tnsnames.ora file from DevSuite appropriately as:
    # tnsnames.ora Network Configuration File: C:\DevSuiteHome_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = mscserver)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = ORACLEDB)
    Still it can't login using scott/tiger authentication.
    What may be the problem? Please help.
    -Sameer

  • Rebuild Database did not reduce the database size

    I just completed a rebuild database. The rebuild completed much quicker than anticipated and in the end the did not reduce in size.
    This is my first rebuild and since original installation I have deleted a number of masters. From my understanding thumbnails and previews are not deleted when the master is deleted. In order to delete the thumbnails and previews the db must be rebuilt. Is this correct?
    The db is over 31.1gb. The rebuild took approx 10 minutes and when completed the db size was still 31.1gb. There was a message during the rebuild that read "Recovering projects". I was expecting to see stats showing previews and thumbnails being generated in the activity window but don't see it. Has the db been rebuilt?
    Thanks for any assistance.

    Rebuilding the database is for disaster-recovery, not file maintenance. I certainly wouldn't do it unless something was fundamentally broken and the application didn't run.
    "rebuilding" the database seems to do the following:
    (1) remove the database file completely (not even to the trash, it destroys the database utterly)
    (2) run through the plist files and reconstruct a brand-new database from them all
    I checked this (on an empty library) using hard-links from the commandline, and step (1) above scared me sufficiently that I'd only rebuild the database as an absolute last resort.
    Now, 31GB seems a lot for a database that only took 10 minutes to rebuild - are you sure you're not telling us the size of the library (to find the database size, right-click on the library and select view-package-contents, then open the 'Aperture.aplib' folder and find the size of the 'Library.apdb' file. That's the file you're changing when you 'rebuild database'.)
    If you're telling us the size of the entire aperture library instead, then that size will be completely dominated by the master RAW files you've imported. I'd guess your library will be less than 10MB.
    My understanding is that previews are deleted (since they're stored as separate files alongside the master image, if you look in the folder hierarchy), but thumbnails aren't. The thumbnails are aggregated together into one-file-per-project (presumably for speed of access), and I'd guess the space is reclaimed for future use, but the file doesn't get any smaller. That's a classic trade-off for speed-of-access, and users like us are normally very keen on things being fast
    -=C=-

  • What to do when database hang

    Hi all,
    May I know what to do when database hangs after shutdown immediate command perform? Can I use kill process command to stop Oracle process?

    Hello,
    see documentation for details of immediate-clause:
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/start.htm#sthref589
    You can do an shutdown abort instead, but then sql is terminated. You can read details here: http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/start.htm#sthref595
    Greets,
    Hannibal

  • Database Hang Analysis

    DB:11.2.0.3
    OS :Linux 5
    My database is in hung state now. I did the below steps
    sqlplus -prelim '/as sysdba'
    SQL*Plus: Release 11.2.0.3.0 Production on Thu Oct 24 08:18:17 2013
    Copyright (c) 1982, 2011, Oracle.  All rights reserved.
    SQL> oradebug setmypid
    Statement processed.
    SQL> oradebug unlimit
    Statement processed.
    SQL> oradebug hanganalyze 3
    Statement processed.
    SQL> oradebug hanganalyze 3
    Statement processed.
    SQL> oradebug tracefile_name
    /oemdwlk1/oracle/diag/rdbms/eioemd1/eioemd1/trace/eioemd1_ora_14132.trc
    SQL> exit
    Getting the below output in trace file
    Processing Oradebug command 'hanganalyze 3'
    ===============================================================================
    HANG ANALYSIS:
    ERROR: Can not perform hang analysis dump without a process
           state object and a session state object.
      ( process=(nil), sess=(nil) )
    As per oracle doc How to Collect Diagnostics for Database Hanging Issues (Doc ID 452358.1).
    Note: From 11.2.0.2 onwards, hanganalyze will not produce output under a sqlplus "preliminary connection" since it requires a process state object and a session state object. If a hanganalyze is attempted, the trace will output:
    HANG ANALYSIS:
    ERROR: Can not perform hang analysis dump without a process state object and a session state object.
    ( process=(nil), sess=(nil) )
    Is something i am missing or there is some different steps.
    ===============================================================================

    Level 3  --> will collect HANGANALYZE OUTPUT + DUMPS ONLY THE PROCESSES THOUGH TO BE IN HANG.
    This many not be a case of process hang. So check with LEVEL 10 .
    Still if you are getting the same error than , you need to contact oracle support.
    Thanks,
    <mod. action: blog ref. removed, please link to one of your blog entries when it's appropriate>
    Message was edited by: Nicolas.Gasparotto

  • On performing continuous delete operation database hangs

    Dear All,
    On performing continuous delete operation , the instance on which delete operation is performed database hangs i.e it does not allows to make new connection and some times on alert log we get ORA-3136 error
    Database version 10.2.0.3 , OS : HP-UXvi3
    Regards

    Refer this thread
    ORA-3136 while performing bulk delete

  • Database Hanging Error

    Hi,
    I am working oracle9i and WIndows 2003 Server.Sometimes my Database is Hanged up and i am not able to logint to the Database using PL/SQL. Then i restarted the DB again . After that the error is resolved. But everyday i am geeting this Database Hanging problem...
    Server and Network are fine.
    Please provide me the solution...
    REgs..

    Hi,
    You can see (Diagnosing Database Hanging Issues (Doc ID: Note:61552.1)) on Oracle Metalink.
    Adith

  • Rebuilding database in Aperture

    Rebuilding database in Aperture causes "Recovered Folder" to appear in project, even with Aperture & Mac trashes empty.  Tried deleting "recovered" images and emptying trashes then rebuilding but it has the same effect, another Recovered Folder.

    Kirby Krieger wrote:
    Mark Alan Thomas wrote:
    Don't rebuild the database unless absolutely necessary. Much better to repair. Rebuilding should be a last resort.
    While I agree "repair" should -- as Apple recommends -- precede "rebuild", I have not in my experience found any reason to not run "rebuild" when needed, and have never seen an ill effects.  Have you?
    I have. It was related to a bug I'd discovered a few years ago. Rebuilding the database made it worse, and afterward I was warned that rebuilding could be destructive, and that it should only be done as a last resort. So be careful.
    Here's the thread:
    https://discussions.apple.com/message/15334014#15334014

  • Audio Bin - Select unused - Delete - Hangs on 100% CPU for long time

    Hi
    I am running Logic Studio 9.0.2 on OS X 10.5.8 on a Mac Pro. Logic was upgraded from version 7.
    In Audio Bin and "Select Unused" and then "Delete", the application might hang on 100% CPU for hours on large projects.
    Anyone with an idea of what the problem might be? This was not a problem i Logic Pro 7.
    Thanks!
    GD

    I have this same problem, though I'm on 10.5.7. I was hoping maybe updating the OS would help but apparently not. I also get very slow file-selection windows sometimes, like when I go to bounce a file. Navigating to a specific folder is painfully slow. Would like to hear if any Snow Leopard users are experiencing this.
    Bull

  • Rebuilding Databases for indexing

    Hi,
    The question below is on rebuilding databases.
    I have the intermedia to index xml documents .The encoding of the xml documents is UTF-8.
    The Oracle database has a character set as "WE8ISO8859P1".
    The tokens do not get indexed for 2-byte characters like i, g, etc.
    Oracle support has suggested that the Database itself be rebuilt as UTF-8 to enable the encoding.
    Can anyone please tell me if it is possible to rebuild the database Iam working on, without affecting the other applications running on ORACLE. Note that my application has a seperate schema.
    In other words, can the rebuilding to UTF-8 be done on Database level for a specific schema or does it have to be universal.
    Thanks
    Syed

    It is entirely your choice is you want to use one schema or multiple schemas, personally I prefer using multiple schemas as it makes life easier for recovery and problem solving.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Rebuilding databases

    Hi,
    The question below is on rebuilding databases.
    I have the intermedia to index xml documents .The encoding of the xml documents is UTF-8.
    The Oracle database has a character set as "WE8ISO8859P1".
    The tokens do not get indexed for 2-byte characters like i, g, etc.
    Oracle support has suggested that the Database itself be rebuilt as UTF-8 to enable the encoding.
    Can anyone please tell me if it is possible to rebuild the database Iam working on, without affecting the other applications running on ORACLE. Note that my application has a seperate schema.
    In other words, can the rebuilding to UTF-8 be done on Database level for a specific schema or does it have to be universal.
    Thanks
    Syed

    Try the following:
    1 - delete the iPhoto preference file, com.apple.iPhoto.plist, that resides in your
         User/Home/Library/ Preferences folder.
    2 - delete iPhoto's cache file, Cache.db, that is located in your
    User/Home/Library/Caches/com.apple.iPhoto folder (Snow Leopard and Earlier).
    or with Lion and Mt. Lion delete the contents the User/Library/Containers/com.apple.iPhoto/
    Data/Library/Caches/com.apple.iPhoto folder.
    3 - reboot, launch iPhoto, reset the iPhoto preferences and try dragging again.
    NOTE: In Lion and Mountain Lion the Home/Library folder is now invisible. To make it permanently visible enter the following in the Terminal application window: chflags nohidden ~/Library and press the Return key - 10.7: Un-hide the User Library folder.
    If you're running Mavericks, 10.9,  go to your Home folder and use the View ➙ Show View Options menu to bring the this window:
    where you can check the Show Library Folder checkbox.

Maybe you are looking for

  • How can I move my iTunes media folder from users/shared back to one user account?

    I shared my music with multiple users on one macbook pro. Like on the Apple support discussions described I changed the iTunes media folder to users/shared. My question is how to reverse that action? Once I reset the media folder location it tells me

  • Contacts - how to get faces icon to appear so that I can select photos from iPhoto?

    In Contacts when I try to edit and select a persons photo all I can select from is buttons labelled Defaults, Recents, and Camera.  I have heard there should be a Faces button which would allow me to select photos from iPhoto.  In iPhoto I have appli

  • Unit Test exports between different SQL Developer versions

    Hi, I am having problems with trying to export and import unit test suites between SQL Developer versions. I can't find any documentation in this area. We have a number of unit test suites exported as XML files from version 2.1.1.64, and below are co

  • Upload Notes to DP planning area

    Hi All, We have requirement of initializing the planning area and then reloading the data by backupcube. Also notes created/maimtained in the planning books needs to be backed up and loaded back after planning area initialization. Please let me know

  • Audio gain, treble and bass

    Hi there, Again, equating this software with Premiere Pro...in the past I treated my audio with a few basic tweaks, namely right click on the audio and choose "audio gain - normalize". I'd then add some bass and treble depending on the person and the