Automatic Deletion of Files in FRA

Ok, I am about fired up right now. I have read over and over how Oracle will reclaim space in the FRA if it is running low yet I can't reproduce this behavior to save my life.
- I have archive logging enabled.
- I am using the FRA.
- I have a recovery window of 1 day set.
- I have full incremental (level 0) backups for the past three days.
- I am also backing up archivelogs and have "all not backed up" specified as well.
"report obsolete" does indeed report the backups that fall outside of my recovery window correctly. When I run another backup I receive the following:
ORA-19809: limit exceeded for recovery files
ORA-19804: cannot reclaim 9163505664 bytes disk space from 16106127360 limit
All I have at this moment is a strong desire to repeat the word "derp" over and over. Can someone explain what I am missing (or perhaps misconstruing) or point me at some docs that clearly spell this out for me?
Or is it simply that what is being stated implies that I run the following to cause Oracle to "automatically delete files" to create space for new FRA additions:
allocate channel for maintenance type disk;
delete noprompt obsolete device type disk;
release channel;
Cheers!
Edited by: 909736 on Feb 14, 2013 11:10 AM

Alrighty then... I think this paints the appropriate picture:
select file_type, space_used*percent_space_used/100/1024/1024 used, space_reclaimable*percent_space_reclaimable/10 /1024/1024 reclaimable, frau.number_of_files from v$recovery_file_dest rfd, v$flash_recovery_area_usage frau;
FILE_TYPE                  USED RECLAIMABLE NUMBER_OF_FILES
CONTROL FILE                  0           0               0
REDO LOG                      0           0               0
ARCHIVED LOG          8277.5077           0              36
BACKUP PIECE           3864.931    2938.875              13
IMAGE COPY                    0           0               0
FLASHBACK LOG                 0           0               0
FOREIGN ARCHIVED LOG          0           0               0
7 rows selected.So it appears that I cannot create new backups due to the Archived Logs being ineligible for space reclamation and NOT the backupsets.
Edit: I shall now work on recreating my test scenario (appropriately).

Similar Messages

  • ITunes automatically deleted Podcast file location?

    Hello,
    I recently had an interesting situation that I can't seem to solve so I thought I'd turn to the community for help.  I currently subscribe to a particuar podcast and have the iTunes settings configured to ONLY keep the two most recent episodes before iTunes automatically deletes older episodes. Everything was going smoothly until this week when I realized that I actually wanted to keep an episode that was automatically downloaded (the episode that was deleted was deleted today and I started serching for it today).
    The simple answer would be for me to just re-download the episode that iTunes automatically deleted...but that is not possible.  Unfortunately, the episode that I was saving is no longer available so I can't re-download it (yes, an episode from three weeks ago is no long available to download because the podcaster changed the episode and re-uploaded a new shorter episode in it's place).  After checking the trash, I noticed the file wasn't there so I turned to a file recovery program (Disk Drill).  After running the utility, I was able to locate all of the podcasts that I had manually deleted, but the podcast episodes that iTunes automatically removed (due to the settings I put in place) are not included in the list of files. 
    I'm assuming that iTunes must delete the files in some other method, but if that's the case, the files have to go somewhere, right?  Any ideas on where these files may be located...or any thoughts on how to recover the podcast episode?
    Thanks to anyone for any assistance or thoughts.
    T.J.

    Thanks, Jeremy292.  I was looking for a word and didn't notice the icon.

  • Automatically deleting qtch files?

    Hello,
    A times goes by, QuickTime cache files (.qtch) are accumulated in my profile folder (C:\Documents and Settings\UserName\Local Settings\Application Data\Apple Computer\QuickTime\downloads) and they can reach several hundreds of MB.
    Since I backup my profile from time to time and I don’t wish back this files, I searched for a way to automatically delete them from the QT GUI, but found nothing, so I had to delete them manually.
    Have I missed a better way to do it?
    Will apple add such a feature, like "delete cached QT files when exiting QT player"?
    Regards,
    Eitan Caspi
    Israel
    Professional Blog (Hebrew): http://www.notes.co.il/eitan
    Personal Blog (Hebrew): http://blog.tapuz.co.il/eitancaspi
    Blog (English): http://eitancaspi.blogspot.com
    "Technology is like sex. No Hands On - No Fun." (Eitan Caspi)
      Windows XP Pro  

    Thank you Gentelmens (I think... ), the "advanced" tab has a button to clear all the cache files and folders.
    Which is nice to have, but please, is someone from Apple reads this - please add a checkbox to empty the cache as QT unloads (either from a full gui or from within a browser) - it will make our OS cleaner. Thanks.
    Keep on Geeking everyone!
    Eitan
    old   Windows XP Pro   you really don't wanna hear the dirty details.

  • My 2 TB Time Capsule's memory is full because it will not automatically delete old files as it is supposed to, so it is giving me zero backup of my two computers now.  How can this be fixed so my Time Capsule deletes the old data and saves the new?

    My 2 TB Time Capsule’s memory is full because it will notautomatically delete old files as it is supposed to, so it is giving me zerobackup of my two computers now. How can this be fixed so my Time Capsule deletes the old data and savesthe new?
    Neither my local computer consultant nor I have been ableto change any of the settings in Time Machine to correct this problem.  Working with the choices in the TimeMachine, there does not appear that there is any way to change the frequency ofthe backups either, so, after a year has elapsed, the time capsule is full, andmy only choice appears to be to erase all the current data on the Time Capsuleand start over, something that I do not want to at all let alone repeat on anannual basis.  My questions are:
    What can be done to have my Time Capsule delete old filesas it is supposed to do, so it has memory available to allow my computers toback up? 
    Is this a software problem that can be fixed online or isdoes this require a mechanical fix of defective hardware?

    How much data is being backed-up from each Mac?  (see what's shown for Estimated size of full backup under the exclusions box in Time Machine Prefs > Options).
    Is there any other data on your Time Capsule, besides the backups?
    Most likely, there just isn't room.  Time Machine may be trying to do a very large (or full) backup of one or both Macs, and can't.  Since it won't ever delete the most recent backup, there has to be enough room for one full backup plus whatever it's trying to back up now, plus 20% (for workspace).
    Also see #C4 in Time Machine - Troubleshooting for more details.

  • N79 automatically deletes my files

    As the title says, my nokia N79 kees deleting my files. The files are mainly pictures or videos I have captured. I am very sure I don't do delete them. It does it on its own and it is either photos or videos, but not both at the same time. I am soooo mad, because I have lost sooo many files!!
    I suspect it has something to do with connecting it on the pc, because when I press the safly remove option on my pc the phone still displays the "connected" icon, so maybe the files are damaged when I remove the cable, as thesynchronization icon "a blue windows-vista-like circle" over the folders is still there.
    Any solution????

    Hi brianthedog. I don't have a solution for you but I want to share that I experienced the same problem with my 5800...Lost about 5 videos of my wonderful kids singing and dancing. (I wouldn't mind if it were the freebie videos that got deleted.) The videos had been in my phone for a couple of weeks and then they were gone. I just could not believe that they were all gone! I am also sure I did not delete those videos. I hope Nokia takes notice soon as this is really a deal breaker for me.

  • Automatically Delete Troubled Files

    You know those stupid files that have those stupid exclamation marks next to them is there a way to simply delete those without having to click multiple times on the song and manually do it?

    Id recommend using Otto42's windows script for dead/broken links (In other words songs with ! marks) Heres the link
    http://ottodestruct.com/iTunes/QuickScripts.zip

  • How to - delete physical files that have been removed from library

    Hello,
    I have recently purged my iTunes library from unwanted music tracks. However, most of those tracks were located in various folders on my harddisk, thus not managed by iTunes (not being on the "My Music\Itunes" folder).
    I would now like to somehow delete those files that are still on my harddisk. I've searched if there's a script around, but with no luck. What I'd like to do is to have a script that parses my library xml file, and that compares it with the files still present on the harddisk but not listed in iTunes, so that it either generates a list of files to delete, or automatically deletes those files.
    Once this will be done, I plan to move all my remaining music to a new HDD, but before doing that I will need to clean the mess.
    Thanks in advance for your hints!
    Max
    P.S. : I thought of making a new iTunes lib, to import all, and then to somehow run a diff program to remove duplicate items. Does that makes sense ?

    Don't know of any script to do this.
    If the songs are not in iTunes (you deleted them) and they are not in the iTunes music folder, you will need to search & delete them yourself.
    You could do a Windows search the HD for all music and sort by location (In Folder), then delete everything not in the iTunes music folder.
    Or move everything not in the iTunes folder to a folder on the desktop, then sort it out from there.

  • Delete Record Automatically deleting

    I have been trying to see if anyone has had this same issue with no real luck. I was hoping someone could give me a quick hand. I am created a delete record page as you would usually do. It is supposed to populate like any other page first so that yiou see the user's information. You should then be able to hit the delete button to delete the actual record. Unfortunately as soon as you go to the page it automatically deletes the record not giving you a chance to review the file first.
    Here is the standard delete record code from Dreamweaver:
    if ((isset($_GET['ID'])) && ($_GET['ID'] != "")) {
      $deleteSQL = sprintf("DELETE FROM entry WHERE ID=%s",
                           GetSQLValueString($_GET['ID'], "int"));
      mysql_select_db($database_toyosupport, $toyosupport);
      $Result1 = mysql_query($deleteSQL, $toyosupport) or die(mysql_error());
      $deleteGoTo = "/support/EnterDealer/Admin_Edit_dealer.php";
      if (isset($_SERVER['QUERY_STRING'])) {
        $deleteGoTo .= (strpos($deleteGoTo, '?')) ? "&" : "?";
        $deleteGoTo .= $_SERVER['QUERY_STRING'];
      header(sprintf("Location: %s", $deleteGoTo));
    My form is pretty basic:
    <form action="/support/EnterDealer/Admin_Edit_dealer.php" method="post" name="delete_User" id="delete_User">
    Form is set to post so i can;t see any reason it should automatically delete the file.
    Any ideas? 

    OK so thi sis not the "RIGHT" answer as I still don't know why it is automatically deleting. But with that in mind all I did was create a "View" page stating "ARE YOU SURE YOU WOULD LIKE TO DLETE THIS USER?" After that they are then sent to the delete record page which then deletes the record. If anyone wants to take a stab at it here is the complete code for the "delete" page. There may be something i am just not seeing ...
    <?php  session_start(); ?>
    <?php require_once('../../Connections/toyosupport.php'); ?>
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      if (PHP_VERSION < 6) {
        $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;   
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      return $theValue;
    if ((isset($_GET['ID'])) && ($_GET['ID'] != "")) {
      $deleteSQL = sprintf("DELETE FROM entry WHERE ID=%s",
                           GetSQLValueString($_GET['ID'], "int"));
      mysql_select_db($database_toyosupport, $toyosupport);
      $Result1 = mysql_query($deleteSQL, $toyosupport) or die(mysql_error());
      $deleteGoTo = "/support/EnterDealer/Admin_Edit_dealer.php";
      if (isset($_SERVER['QUERY_STRING'])) {
        $deleteGoTo .= (strpos($deleteGoTo, '?')) ? "&" : "?";
        $deleteGoTo .= $_SERVER['QUERY_STRING'];
      header(sprintf("Location: %s", $deleteGoTo));
    $colname_rsDEALERLIST = "-1";
    if (isset($_POST['ID'])) {
      $colname_rsDEALERLIST = $_POST['ID'];
    mysql_select_db($database_toyosupport, $toyosupport);
    $query_rsDEALERLIST = sprintf("SELECT * FROM entry WHERE ID = %s", GetSQLValueString($colname_rsDEALERLIST, "int"));
    $rsDEALERLIST = mysql_query($query_rsDEALERLIST, $toyosupport) or die(mysql_error());
    $row_rsDEALERLIST = mysql_fetch_assoc($rsDEALERLIST);
    $totalRows_rsDEALERLIST = mysql_num_rows($rsDEALERLIST);
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
    <head>
    </head>
    <!--<body oncontextmenu="return false;">-->
    <body>
    <form method="post" name="delete_User" id="delete_User">
      <table border="0" cellspacing="0" cellpadding="3" align="center" bgcolor="#FFFFFF" width="100%">
        <tr valign="top" bgcolor="#FFFFFF">
          <td colspan="3" bgcolor="#3399CC" class="BoldTextBLK"><font class="drupal_blend_9pt">Please
            enter ALL  information.
            <input name="ID" type="hidden" id="ID" value="<?php echo $row_rsDEALERLIST['ID']; ?>" />
          </font></td>
        </tr>
        <tr valign="top" bgcolor="#FFFFFF">
          <td width="38%" bgcolor="#FFFFFF"><span class="Drupal_Blend_9pt">First
            Name/Pr&eacute;nom <br />
            </font></span></td>
          <td width="14%" colspan="2" bgcolor="#FFFFFF"><?php echo $row_rsDEALERLIST['Name']; ?></td>
        </tr>
        <tr valign="top" bgcolor="#FFFFFF">
          <td width="38%" bgcolor="#FFFFFF"><span class="Drupal_Blend_9pt"><font class="drupal_blend_9pt">Last
            Name/Nom</font></span></td>
          <td colspan="2" bgcolor="#FFFFFF"><?php echo $row_rsDEALERLIST['NameLast']; ?></td>
        </tr>
        <tr valign="top" bgcolor="#006699">
          <td height="5" bgcolor="#FFFFFF"> </td>
          <td height="5" colspan="2" bgcolor="#FFFFFF"><?php echo $row_rsDEALERLIST['Password']; ?></td>
        </tr>
        <tr valign="top" bgcolor="#FFFFFF">
          <td bgcolor="#FFFFFF"><span class="Drupal_Blend_9pt"><font class="drupal_blend_9pt">Store
            Number <font size="1">(Toyo Account #)</font></font></span></td>
          <td colspan="2" bgcolor="#FFFFFF"><?php echo $row_rsDEALERLIST['DealerNumber']; ?></td>
        </tr>
        <tr valign="top" bgcolor="#FFFFFF">
          <td width="38%" bgcolor="#FFFFFF"><span class="Drupal_Blend_9pt"><font class="drupal_blend_9pt">Company
            Name/Nom du D&eacute;taillant </font></span></td>
          <td colspan="2" bgcolor="#FFFFFF"><?php echo $row_rsDEALERLIST['Company']; ?></td>
        </tr>
        <tr valign="top" bgcolor="#FFFFFF">
          <td bgcolor="#FFFFFF"><span class="Drupal_Blend_9pt"><font class="drupal_blend_9pt">Address/Adresee</font></span></td>
          <td colspan="2" bgcolor="#FFFFFF"><?php echo $row_rsDEALERLIST['Address']; ?></td>
        </tr>
        <tr valign="top" bgcolor="#FFFFFF">
          <td bgcolor="#FFFFFF"><span class="Drupal_Blend_9pt"><font class="drupal_blend_9pt">City/Ville</font></span></td>
          <td colspan="2" bgcolor="#FFFFFF"><?php echo $row_rsDEALERLIST['City']; ?></td>
        </tr>
        <tr valign="top" bgcolor="#FFFFFF">
          <td bgcolor="#FFFFFF"><span class="Drupal_Blend_9pt"><font class="drupal_blend_9pt">Province</font></span></td>
          <td colspan="2" bgcolor="#FFFFFF"><?php echo $row_rsDEALERLIST['DealerProv']; ?></td>
        </tr>
        <tr valign="top" bgcolor="#FFFFFF">
          <td bgcolor="#FFFFFF"><span class="Drupal_Blend_9pt"><font class="drupal_blend_9pt">Postal
            Code/Code Postal</font></span></td>
          <td colspan="2" bgcolor="#FFFFFF"><?php echo $row_rsDEALERLIST['PostalCode']; ?></td>
        </tr>
        <tr valign="top" bgcolor="#FFFFFF">
          <td bgcolor="#FFFFFF"><span class="Drupal_Blend_9pt"><font class="drupal_blend_9pt">Email/Courriel</font></span></td>
          <td colspan="2" bgcolor="#FFFFFF"><?php echo $row_rsDEALERLIST['EmailAddress']; ?></td>
        </tr>
        <tr valign="top" bgcolor="#FFFFFF">
          <td bgcolor="#FFFFFF"><span class="Drupal_Blend_9pt"><font class="drupal_blend_9pt">Phone/Num&eacute;ro</font></span></td>
          <td colspan="2" bgcolor="#FFFFFF"><?php echo $row_rsDEALERLIST['Phone']; ?></td>
        </tr>
        <tr valign="top" bgcolor="#FFFFFF">
          <td bgcolor="#FFFFFF"><span class="Drupal_Blend_9pt"><font class="drupal_blend_9pt">Fax</font></span></td>
          <td colspan="2" bgcolor="#FFFFFF"><?php echo $row_rsDEALERLIST['Fax']; ?></td>
        </tr>
        <tr valign="top" bgcolor="#006699">
          <td height="5" bgcolor="#FFFFFF"><span class="Drupal_Blend_9pt">Price List</span></td>
          <td height="5" colspan="2" bgcolor="#FFFFFF"><?php echo $row_rsDEALERLIST['Plist_0']; ?><br />
            <?php echo $row_rsDEALERLIST['Plist_U']; ?> <br />
            <?php echo $row_rsDEALERLIST['Plist_G']; ?></td>
        </tr>
        <tr valign="top" bgcolor="#FFFFFF">
          <td colspan="3" bgcolor="#FFFFFF"><font class="drupal_blend_9pt"> </font></td>
        </tr>
        <tr valign="top" bgcolor="#FFFFFF">
          <td width="38%" align="right" bgcolor="#FFFFFF"><font class="drupal_blend_9pt"><b>Delete record.</b></font><font color="#FF0000">Note this is permanent!</font></td>
          <td colspan="2" bgcolor="#FFFFFF"><font class="drupal_blend_9pt">
            <input name="Delete_User" type="submit" id="Delete_User" value="Delete_User" />
          </font></td>
        </tr>
      </table>
    </form>
    </body>
    </html>
    <?php
    mysql_free_result($rsDEALERLIST);
    ?>

  • Automatic deletion of old archive files and trace files

    I've got a database that must run 24x7 without being monitored by a DBA.
    Two questions:
    1. Is it possible to get Oracle to automatically delete and uncatalog old archive files?
    2. Is it possible to get Oracle to automatically delete old trace files located in udump and bdump?
    Thanks in advance

    1. When you say 'uncatalog old archives’ do you mean that your database is backed up using RMAN and a catalog? If this is the case then RMAN can delete the backed up archives for you. Just add 'delete input' to the end of the 'backup archive log...' line in your backup script.
    2. Oracle can't delete the trace files. Best way is to write a script that delete all files older than X days and schedule it to run every night.

  • .lck files not automatically deleting

    We save all of our .fm book and chapter files to a central server, and recently we've noticed that when we close a file the .lck file does not automatically delete. Thus, we are having to manually delete this before updating books, opening files, etc. We're using FM8 on PC's with Win 7 x64. We have FM set to run in XP x32 compatability mode, which is working pretty well for us aside from the aformentioned issue.
    Has anybody else run into this? Any ideas on a fix?
    Thanks! Scott

    Do the lock files actually still exist?
    If you're discovering them because FM is complaining on open, then yes they effectively still exist (although possibly only in server FS cache).
    But if you're merely seeing them in a file browser, they may or may not be there. Doing a refresh may or may not clear up matters,
    Browser currency is a fundamental, and probably intractable, problem in computer science. Many OS'es don't even attempt to keep track of multiple local and remote browsers that presently have a dir open, much less asynchronously force-refresh them when the dir contents change. Windows tries to, with an assortment of performance, nuisance and failure modes.
    I blame Bill Gates.
    Reboot the server .

  • Will a Mac automatically delete files/videos/pictures from an external hard drive?

    I plugged in one of my external hard drives that contained documents, photos, and videos formatted from Windows.  When I plugged it into my MacBook none of my files were on the external hard drive and I didn't see any prompts asking if I wanted to reformat my hard drive so I'm not sure if it was automatically deleted.  Will a MacBook automatically delete files, pictures, videos from an external hard drive?

    No.
    What format is the external drive?

  • How do I automatically delete a .ps file after creating a pdf?

    Hi all! I vaguley remember in the past that there is a preference to automatically delete a .ps file after creating a pdf. Can someone remind me of how to do this? I'm using Distiller version 9.2.0. Thank you so much!
    Julie
    PS: I'm creating the .ps file from Quark 7, if that makes a difference.

    I am unaware of any feature allowing automatic delete of .PS files.
    The adobePDF print driver which has been removed in OSX.6.x (Snow Leopard) That you choose when ina Document would go through the following steps in the background this made it slow.
    create .ps File (hidden)
    Checksum Verify the .ps File
    Open Distiller in background (hidden)
    Create Pdf
    Checksum Verify the .pdf File
    shut down Distiller in Backgroun (hidden)
    Delete .ps File (hidden)
    Pdf suddenly appears
    If at any point in this chain something dies the pdf was not made.
    Actually in prior OS to X.3.x the print driver provided for my Hp Inkjet, it was actually better to go to print menu, and choose save as  postscript, then drop the postsript file on distiller and creat the PDF. or just open the ps in Acrobat.
    with the PRint Drive provided for my HP Inkjet for X.3 it was changed to  create Postcsript file from PDF.  In the start having the PDF button on print menu. The pdf's were not as good as those created in the AdobePDF driver. But were aceptable for most purposes.

  • OneDrive deletes my files automatically

    Hi,
    I was recommended to post here instead of the OneDrive forums.
    I have a client whom uses OneDrive across six operating systems. There are 6 operating systems on 2 macs, parallels desktop, each have 3 cloned profiles.
    Everything works good except OneDrive. It deletes new files we put in, and you can find them in the recycle bin on the other computers.
    I have updated all profiles to Windows 8.1, I also tested this some days ago, and my files were kept for some reason (and they are still there). Now, again, whenever my client puts new documents in the OneDrive folder on one of his profiles, they get uploaded,
    but suddenly deleted from the other profiles.
    I have checked the computer names on all machines, they are not matching. Since each profile is cloned once, I thought there was an ID mistake (As someone else on this forum had this problem and solved it this way).
    Can I get a detailed view of what is causing the problem? I can PM the username to a Microsoft employee if nobody else has a fix.
    Kind regards,
    Nima

    Hi,
    Please first take a try with the
    Microsoft Accounts troubleshooter. After that check your sync settings again.
    For more information, please see:
    Sync settings between PCs with
    OneDrive
    The sync you have mentioned is associated with the Microsoft Account, I am afraid little help could be offered here.
    For the logs, we might consider to audit the object access to check if someone changes the file location.
    For more detailed information about auditting, please check:
    Advanced Security Audit Policy Settings
    Advanced Security Auditing Walkthrough
    Best regards
    Michael Shao
    TechNet Community Support

  • If i delete a file from a smart folder is it deleted from the hard drive?

    I've got a late 2011 17" MacBook Pro with a 750 GB harddrive. I'm trying to free up space by deleting movie files. I spoke with tech support about this, and they suggested creating a smart folder of all my movie files in order to find them and delte them. I did this and deleted many files, but when I open system information to check on the amount of hard drive space, I'm still seeing the same amount of hard drive space dedicated to movies.
    If I make a smart folder and delete files in that, am I really deleting them from my hard drive or just from the smart folder?

    What files are stored automatically by Time Machine?  I thought Time Machine pretty much saved everything on my hard drive to my external hard drive.  If that is the case, wouldn't my music files and picture files be on Time Machine (via my external hard drive)?
    Time Machine does backup almost all files on your hard drive, unless you have chosen to exclude them. There are a few exceptions, but nothing you should worry about. Your music and photos should be there, but Time Machine will not backup your iPhoto library if iPhoto is open.
    Also, are the photos from iPhoto automatically stored on my external hard drive via Time Machine?  If so, can I delete the pictures from iPhoto without deleting them from the external hard drive?
    Yes to both questions, with the above cavat that Time Machine won't backup the library if iPhoto is open.
    I notice that it takes iPhoto quite a while to load, and if deleting those photos would allow it to load quicker I would delete them (providing they would remain on the external hard drive.
    I only have a few pictures in iPhoto, compared to my wife's 3,500+, and my iPhoto doesn't load appreciably faster that her's does even though I have a faster computer. In my opinion, it isn't worth the effort it would take to delete them for such a small gain.
    You should have at least 2 complete backups to try to make sure you won't lose any data. Hard drives do fail and/or files can become corrupted. Time Machine can back up to more than one external hard drive or you can use a cloning program.
    Time Machine FAQ

  • Why can't I delete the file?

    What I want to do is: After user download the file from web, the application will delete the file automatically on ther server. However, the delete function cannot work which it prompts the java.lang.Exception, I suspent it is the download process hold the file, how can I solve it?
    DownloadReport(request, response, reportFile);
    Utility.deleteFile(reportFile);
         public void DownloadReport(HttpServletRequest request,
                   HttpServletResponse response, String reportFile) throws Exception {
              File fFile = new File(reportFile);
              String stFileName = fFile.getName();
              response.setContentType("application/vnd.ms-excel");
              response.setHeader("Content-Disposition", "attachment;filename=\""
                        + stFileName + "\"");
              // System.out.println("Henry "+getServletContext());
              InputStream isStream = null;
              try {
                   PrintWriter out = response.getWriter();
                   isStream = new FileInputStream(fFile);
                   int i;
                   while ((i = isStream.read()) != -1) {
                        out.write(i);
                   isStream.close();
                   out.close();
              } catch (Exception ioeException) {
                   log.error("Download report error", ioeException);
                   ioeException.printStackTrace();
                   throw new ServletException("Download report error", ioeException);
         public static void deleteFile(String path) {
              boolean deleted = false;
              try {
                   File delefile = new File(path);
                   if (delefile.exists())
                        deleted = delefile.delete();
                   if (deleted == false)
                        throw new Exception("File could not be deleted " + path);
              } catch (Exception e) {
                   e.printStackTrace();
         }

    Hi, my application is using POI API generating the Excel report, after genration, the report will be stored on the server, and then user download the report to their local machine throught web and then I delete the report on the server. I don't quitely understand what you mean, could you kindly explain to me detailly:p. Btw, I have tried to print out the exception, but it only shows "java.lang.Exception: File could not be deleted " which is so limited. If I comment the DownReport function, the file could be deleted successfully. But if it happens after the download action, it is failed.

Maybe you are looking for

  • Data Recovery from Late 2008 Macbook Hard drive?

    I have a late 2008 Macbook. It was recently dropped by a child, resulting in it no longer turning on. (It worked one time when tried within about 12 hours after the fact and then wouldn't get past the Apple logo and spinning wheel on startup). I brou

  • Does anyone else have an iMac that displays a non-selected desktop image at start-up?

    I bought my system new in 2009. It's a 2.66 GHz Core 2 Duo Intel processor with 4 GB 1067 MHz DDR3 installed memory. I'm running OSx 10.6.8 Mavericks. The behavior of not displaying my chosen desktop image is new and disturbing. Although the problem

  • How do you change the program ALL files of a type open with?

    Hello. I run Parallels Desktop for Mac on this system. Since I upgraded to v3, OS X wants to open my Mac Word/Excel/Etc... files using the MS Office installed in windows XP from PD. I don't always have PD running, and do not want it to start up to us

  • How to fix chinese characters

    I have some Chinese songs, titles of which are displayed as garbage.  Recent additions show Chinese characters.  Anyway to fix this.

  • Just moved from GoLive to DW, how do I do this?

    I've just moved over to Dreamweaver CS3 from GoLive and there are a few things I cant figure out how to do that we're really simple in GoLive: 1.How do you make a scrollable window? I want to make a scrollable fixed window for a 'news section'. (I us