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.

Similar Messages

  • 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=-

  • 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

  • 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/

  • After using migration assistant to a new Mac 10.9.5, Outlook failed to open...mssge "Could not rebuild database -18000"

    After using migration assistant to my new MacBook Retina 10.9.5, Outlook failed to open...mssge "Could not rebuild database -18000"

    See if this previous discussion/link to microsoft support helps
    Re: There is a problem with the Outlook database.  Your database could not be rebuilt. [-18000]

  • Rebuild database 2005q4

    Hi,
    I'm in trouble with csdb rebuild. I have a copy of the *.db in other directory and run csdb rebuild [dbdir] [rebuild_dir]. the output is:
    Building calprops based on component information.
    Please be patient, this may take a while...
    Scanning events database...
    41134 events scanned
    41134 events copied
    Scanning todos database...
    828 todos scanned
    828 todos copied
    Scanning deletelog database...
    42430 deletelog entries scanned
    Scanning gse database...
    1864 gse entries scanned
    Scanning recurring database...
    498 recurring entries scanned
    Successful components db scan
    Calendar database has been rebuilt
    Building components based on calprops information.
    Please be patient, this may take a while...
    Scanning calprops database to uncover events...
    After that it takes a looooooong time doing nothing. I think I'm patient but one night at 0,02% of CPU is so much.
    A truss of the process say :
    lwp_park(0xF6A37E98, 0) Err#62 ETIME
    /4: lwp_park(0xF6A37E98, 0) Err#62 ETIME
    /4: lwp_park(0xF6A37E98, 0) Err#62 ETIME
    /4: lwp_park(0xF6A37E98, 0) Err#62 ETIME
    /4: lwp_park(0xF6A37E98, 0) Err#62 ETIME
    /4: lwp_park(0xF6A37E98, 0) Err#62 ETIME
    /4: lwp_park(0xF6A37E98, 0) Err#62 ETIME
    /4: lwp_park(0xF6A37E98, 0) Err#62 ETIME
    /4: lwp_park(0xF6A37E98, 0) Err#62 ETIME
    /4: lwp_park(0xF6A37E98, 0) Err#62 ETIME
    /5: lwp_park(0xF6937A88, 0) Err#62 ETIME
    /5: time() = 1163152714
    /4: lwp_park(0xF6A37E98, 0) Err#62 ETIME
    every 60 seconds it gets:
    /5: time() = 1163152780
    /5: time() = 1163152780
    /5: time() = 1163152780
    /5: stat64("/var/tmp/restoredb.1.rebuild/log.0000000001", 0xF6937448) = 0
    /5: open64("/var/tmp/restoredb.1.rebuild/log.0000000001", O_RDONLY) = 23
    /5: fcntl(23, F_SETFD, 0x00000001) = 0
    /5: fstat64(23, 0xF69374E0) = 0
    /5: llseek(23, 0x05EE0FDF, SEEK_SET) = 0x05EE0FDF
    /5: read(23, "840FEE05 4\0\0\0 MA6B6 a", 12) = 12
    /5: close(23) = 0
    /5: stat64("/var/tmp/restoredb.1.rebuild/log.0000000001", 0xF6937448) = 0
    /5: open64("/var/tmp/restoredb.1.rebuild/log.0000000001", O_RDONLY) = 23
    /5: fcntl(23, F_SETFD, 0x00000001) = 0
    /5: fstat64(23, 0xF69374E0) = 0
    /5: llseek(23, 0x05ED9013, SEEK_SET) = 0x05ED9013
    /5: read(23, "\0\0\0\0\0 ' MC2AA J o".., 32768) = 32768
    /5: close(23) = 0
    Thanks in advance.

    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=-

  • Office 2011 for Mac - Error rebuilding database following full restore from Time machine

    This is my first time on here, so will try to be brief and specific.
    I have been using Outlook without issues. I had a logic board failure and had to replace my logic board on my Macbook pro.
    After repair, I then restored the entire computer from my Time machine backup
    Everything worked perfectly until I tried to use Outlook, when I was given an error message saying "Your Office database index is missing and needs to be rebuilt. This is usually caused by restoring an identity with Time Machine." It then offers
    me a chance to rebuild using the Database Utility.
    I went ahead and tried to rebuild, but after running through the 5 steps, the task failed and I was given another error msg: :Your database could not be rebuilt [-18000]
    I did some research online and found an article which suggested I go back in time on my Time machine and find an old version of my 'Main Identity' folder from when Outlook was working. Then to copy that folder,
    rename it 'Restored Main Identity' and paste it into the 'Office 2011 Identities' folder on my HD. 
    I have done that, so it now appears with the other identities in the Microsoft Database Utility, and then tried to rebuild again, but still no luck. 
    Any ideas on how I can get around this issue…. don't really understand how Outlook is the only thing that I can't get working after restoring my old data. 
    Tried to get some help from Microsoft, but they pointed me to this forum or wanted to charge me for advice… 
    Any help would be much appreciated,
    Paul 

    Hi,
    We mainly support Office problems on Windows, since you are using Office for Mac, I suggest you post the question to Office for Mac forum:
    http://answers.microsoft.com/en-us/mac
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank
    you for your understanding.
    Regards,
    Melon Chen
    TechNet Community Support

  • IPhoto 11 issues syncing via itunes and rebuilding database

    Hopefully someone can help here. I originally had an issue where some photos in an event would not sync. They are viewable OK in iPhoto, ut will not sync, even if they are renamed or editted. Based on some research I deleted the iPod photo cache to rebuild the Phone and iPad optimised versions. Now I can sync the event I had an issue with, but have another issue. Now I cannot sync all photos, events, etc.. I get "The iPhone cannot be synced. An unknonw error occured (-50). I can sync a subset, but seem to have an issue with 3 "Faces". If I go into iPhoto and look at all the photos that contain those Faces it all looks OK.
    My assumption is that this is some kind of corruption in the iPhoto database, So I have tried to use the tools to fix it. A reapir of the permissions works OK, but when I try to repair the library database it flies along to 69% and then gets stuck.
    I have put a lot of work into the faces and locations sections, so I would really like to fix this instead creating a new library.
    Any ideas?

    OK, some progress, btu not out of the woods yet.
    THrough trial and error I found that by deleting the 3 of my 'faces' that would not sync I can now sync all photos again. i have since recreated then and can still sync it all. it seems that I still have an issue with the iPhoto database though as a repair sticks at 69%
    I could live with this as it does not seem to be having an effect, but I am worried what it may mean in future.

  • IPhoto 11 (9.4.2) rebuilding database file

    Hi All
    iPhoto 11 keeps corrupting the database file resulting in the following:
    •     deletion of video and photo particulaly those that were imported from my iPhone 5.
    •     when recent photos and video are deleted as a result of the system recommending rebuilding the databse file there is no way to recover lost video and photos.
    •     rearranging of the album list on the left hand side al;so ocours
    •     after the system rebulsd the database file the photos are all duplicated (I have over (3,000 original files) I now have over 6,000.
    The itunes libery is now extreamly unreliable. To try to resolve the problem I have moved the photos out of another library then created a new account. I then imported the library into the new account.  This was fine for a few days then the problem of a corrupt database file came up again.
    • I will try creating a new libraty again but this time import he photos manually and see how this goes.
    If anyone has knowledge of the situation and can offer a better and or permanent fix please ket me know.
    Kind regards
    Tony

    Moving a Library from account to account will not fix it.
    Download iPhoto Library Manager and use its rebuild function. (In Library Manager it's the FIle -> Rebuild command)
    This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.  

  • Rebuild database, ran out of space on /var

    Hi all,
    while Syu-ing today I ran out of space on the /var directory. Now some updates are not complete, the applications won't launch, but pacman says everything is up to date. How do I rebuild the package database so I can complete the update?

    You might decide backing up /etc and /home and then reinstalling is easiest.
    This thread from the mailing lists may help you decide: http://www.mail-archive.com/arch@archli … 09351.html.

  • Rebuild database in itunes

    How do I rebuild my database in iTunes for the Mac.  I'm using version 10.  The knowledge base suggest removing (http://support.apple.com/kb/HT1451) the itunes music library.xml and itunes music library.itl and then restarting iTunes.  These files are locked however and I can't throw them away.  Suggestions are greatly appreciated.
    Thank you,
    Scott Myers

    anyone.....
    I can't figure this out either!?!

  • Entourage crashed but couldn't self-rebuild database

    Hello,
    I was trying to send attachments (jpgs at large K-size) but Entourage crashed. I tried to restart and reboot, then I got this msg:
    Entourage cannot access your data. To attempt to fix the problem, rebuild your database.
    So I clicked OK, chose Typical Rebuild, but got another msg:
    Compacting failed
    A read/write error has occured (-40)
    Entourage then offered to do Advanced Rebuild, so I clicked OK, then the same error msg occured with a final msg:
    Rebuilding failed. It is likely that your database cannot be repaired.
    Is there anyway this problem can be fixed while the databse remains undamaged and that I can retrieve the info in the database?
    Thank you for helping me out :<
    <br>
    Powerbook G4   Mac OS X (10.3.9)  

    I just posted this response to another user's query regarding an essentially identical problem:
    This is a relatively frequent, recurring and ongoing problem for Entourage users. My advice is generally to migrate away from the application at your first opportunity, as it is prone to such data corruption issues. If that is not practical, you'll need to become an Entourage maintenance expert to reduce the likelihood of future problems, and you will need to back up regularly.
    You'll find this site a great place to start when trying to deal with these issues:
    http://www.entourage.mvps.org/faq_topic/database.html
    Link segments four and five on this page may be particularly helpful, but you should read the entire document before attempting to recover or reconstruct your Entourage database.

  • Rebuild Database

    Sorry to all if this has already been covered, but I purused the Adobe LR forum and the FAQ/Tips over at LightroomExtra.com and cannot find an answer to my question...
    Like many of you I just upgraded to the official release of LR 1.0 and allowed the software to rebuild my library into the correct format. However, I have decided on a more logical tree structure for all my image files and, now, would like to totally wipe out everything LR knows and re-import all my files. I use "by ref" for all importing, btw. On Mac, can I simply delete ~/pictures/Lightroom? Or, how do I wipe the database clean?
    Thank you for any help provided.

    Hi Eric,
    Not to appear too dense... The library I would delete is: ~/picutures/Lightroom/Lightroom Database.lrdb? And, I suppose I could also remove Lightroom Metadata.lrdata and Lightroom Previews.lrdata?
    Since I didn't use Lightroom throughout the beta period for any "real" work, I don't have any keywords, IPTC, etc, data to worry about saving.
    Thanks, again, for your help.
    AlanH

  • TS3276 Received Microsoft Entourage 2008 error message: Entourage cannot access your data. To try to fix problem, rebuild database.

    Went through the verify database integrity process which seemed Ok once the process was complete. still could not open entourage same error message. tried to compact database... an error occured with that. Now entourage will not open at all.  Suggestions?

    Do not find three folders labeled Main Identity - only one Main Identity
    That shouldn't be possible. You say you rebuilt the database twice. Which would have to mean you launched Entourage while holding the Option key. When you do that, you should get this utility:
    This is for Outlook 2011, but the 2008 Entourage interface looks pretty much the same. Did you perhaps highlight the backed up databases in this utility and then click the minus button to remove them?
    That would be one of the only ways they wouldn't exist. The other would be going to the folder in your user account where they reside and manually putting them in the trash.

  • 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.

Maybe you are looking for

  • Show BLOB (open a pdf) from Report in a new window

    I use BLOB Support in Apex 3.2/4.0 (MIMETYPE..) at an IR: http://download.oracle.com/docs/cd/E14373_01/appdev.32/e11838/advnc.htm#sthref2199 Because my BLOB (pdf,...) should be opened without asking for download or open I use content_position INLINE.

  • Portal and Delegated Administrator for Messaging

    Hi, I was wondering if anyone has managed to get the iPlanet Messaging server Delegated Admin working properly with the portal gateway. In particular - was anyone able to adjust the gateway rewrite rules to prevent the gateway only from appending to

  • Migrating 3.0.9 to 10.1.2

    All, We are upgrading from 1158 to R12 and I want to know the process for this tasks. 1) Process to set up Portal in R12 2) Migrating the Portal 3.0.9 projects to latest Oracle Portal 10.1.2 Thanks,

  • Keeps requesting appleID password

    I have ios 8 on a 5S - about once a day my phone will crash and then ask repeatedly for appleID passwords this happened in a major way about 5 days ago meaning ALL my IOS devices (4 of them, one belonging to my wife) started asking for appleID passwo

  • Trying to download Bridge to MacAir.  Get message that I need additional software to download?

    Trying to download Bridge and Photoshop to MacAir.  Message back says I need additional software.  What software do I need?