Newspapers of vacuum/underutilized files not deleted

I have an application that runs at the vacuum cleaner and checkpointer explicitly (instead of rely on the database to do so).
Here's the relevant environment settings: je.env.runCheckpointer = false, je.env.runCleaner = false, je.cleaner.minUtilization = 5, je.cleaner.expunge = true.

When you run the application, I noticed that a few dozen logs were removed, but later (even vacuuming was performed at regular intervals), no more logs were deleted.

I have run the utility of DbSpace environmental and found the following result:

Used execute% file size (KB)
-------- --------- ------
00000033 97656 0
00000034 97655 0
00000035 97656 0
00000036 97656 0
00000037 97656 0
00000038 97655 2
00000039 97656 0
0000003a 97656 0
0000003b 97655 0
0000003c 97655 0
97655 0000003d 0
0000003E 97655 0
97656 0000003F 0
00000040 97655 0
00000041 97656 0
00000042 97656 0
00000043 97656 0
00000044 97655 0
00000045 97655 0
00000046 97656 0
...

This continues for a long time. I got database monitoring activated at the level of the CONFIG. Here are the last lines of the newspaper, just before the last logfile (0x32) is deleted:

2009-05-06 08:41:51:111:CDT INFO CleanerRun 49 file 0 x 30 starts back = 2
2009-05-06 08:41:52:181:CDT SERIOUS CleanerRun 49 on file 0 x 30 invokedFromDaemon = false finished = true = false nEntriesRead = nINsObsolete 206347 fileDeleted = 6365 nINsCleaned = 0 nINsDead = 0 nINsMigrated = 0 nLNsObsolete = nLNsCleaned 199971 = 0 nLNsDead = 0 nLNsMigrated = 0 nLNsMarked = 0 nLNQueueHits = 0 nLNsLocked = 0
2009-05-06 08:41:52:182:CDT INFO CleanerRun 50 on file 0 x 31 starts back = 1
2009-05-06 08:41:53:223:CDT SERIOUS CleanerRun 50 on file 0 x 31 invokedFromDaemon = false finished = true fileDeleted = false nEntriesRead = nINsObsolete 205475 = 6319 nINsCleaned = 0 nINsDead = 0 nINsMigrated = 0 nLNsObsolete = 199144 nLNsCleaned = 0 nLNsDead = 0 nLNsMigrated = 0 nLNsMarked = 0 nLNQueueHits = 0 nLNsLocked = 0
2009-05-06 08:41:53:224:CDT INFO CleanerRun 51 file 0 x 32 starts back = 0
2009-05-06 08:41:54:292:CDT SERIOUS CleanerRun 51 of file 0 x 32 invokedFromDaemon = false finished = true fileDeleted = false nEntriesRead = nINsObsolete 205197 = 6292 nINsCleaned = 0 nINsDead = 0 nINsMigrated = 0 nLNsObsolete = nLNsCleaned 198893 = 0 nLNsDead = 0 nLNsMigrated = 0 nLNsMarked = 0 nLNQueueHits = 0 nLNsLocked = 0
2009-05-06 08:42:24:300:CDT INFO CleanerRun 52 file 0 x 33 starts back = 1
2009-05-06 08:42:24:546:CDT CONFIG Checkpoint 963: source = api success = true nFullINFlushThisRun = 13 nDeltaINFlushThisRun = 0
2009-05-06 08:42:24:931:CDT cleaner SEVERE deleted file 0 x 32
2009-05-06 08:42:24:938:CDT cleaner SEVERE deleted file 0 x 31
2009-05-06 08:42:24:946:CDT cleaner SEVERE deleted file 0 x 30

Here are a few lines of newspaper just after the last log message with cleaner deletion (until the next control point):
2009-05-06 08:42:25:339:CDT SERIOUS CleanerRun 52 on file 0 x 33 invokedFromDaemon = false finished = true = false nEntriesRead = nINsObsolete 204164 fileDeleted = 6277 nINsCleaned = 0 nINsDead = 0 nINsMigrated = 0 nLNsObsolete = nLNsCleaned 197865 = 11 nLNsDead = 0 nLNsMigrated = 0 nLNsMarked = 11 nLNQueueHits = 9 nLNsLocked = 0
2009-05-06 08:42:25:340:CDT INFO CleanerRun 53 of file 0 x 34 starts back = 0
2009-05-06 08:42:26:284:CDT SERIOUS CleanerRun 53 on file 0 x 34 invokedFromDaemon = false finished = true fileDeleted = false nEntriesRead = nINsObsolete 203386 = 6281 nINsCleaned = 0 nINsDead = 0 nINsMigrated = 0 nLNsObsolete = nLNsCleaned 197091 = 2 nLNsDead = 2 nLNsMigrated = 0 nLNsMarked = 0 nLNQueueHits = 0 nLNsLocked = 0
2009-05-06 08:42:56:290:CDT INFO CleanerRun 54 file 0 x 35 starts back = 4
2009-05-06 08:42:57:252:CDT SERIOUS CleanerRun 54 on file 0 x 35 invokedFromDaemon = false finished = true fileDeleted = false nEntriesRead = nINsObsolete 205497 = 6312 nINsCleaned = 0 nINsDead = 0 nINsMigrated = 0 nLNsObsolete = 199164 nLNsCleaned = 10 nLNsDead = 3 nLNsMigrated = 0 nLNsMarked = 7 nLNQueueHits = 6 nLNsLocked = 0
2009-05-06 08:42:57:253:CDT INFO CleanerRun 55 on file 0 x 39 starts back = 4
2009-05-06 08:42:58:097:CDT SERIOUS CleanerRun 55 on file 0 x 39 invokedFromDaemon finished = false = true = false nEntriesRead = nINsObsolete 204553 fileDeleted = 6301 nINsCleaned = 0 nINsDead = 0 nINsMigrated = 0 nLNsObsolete = 198238 nLNsCleaned = 2 nLNsDead = 0 nLNsMigrated = 0 nLNsMarked = 2 nLNQueueHits = 1 nLNsLocked = 0
2009-05-06 08:42:58:098:CDT INFO CleanerRun 56 on file 0x3a starts back = 3
2009-05-06 08:42:59:261:CDT SERIOUS CleanerRun 56 on file 0x3a invokedFromDaemon = false finished = true fileDeleted = false nEntriesRead = nINsObsolete 204867 = 6270 nINsCleaned = 0 nINsDead = 0 nINsMigrated = 0 nLNsObsolete = 198586 nLNsCleaned = 0 nLNsDead = 0 nLNsMigrated = 0 nLNsMarked = 0 nLNQueueHits = 0 nLNsLocked = 0
2009-05-06 08:42:59:262:CDT INFO CleanerRun 57 file 0 x 36 starts back = 2
2009-05-06 08:43:02:185:CDT SERIOUS CleanerRun 57 on file 0 x 36 invokedFromDaemon finished = false = true fileDeleted = false nEntriesRead = nINsObsolete 206158 = 6359 nINsCleaned = 0 nINsDead = 0 nINsMigrated = 0 nLNsObsolete = nLNsCleaned 199786 = 0 nLNsDead = 0 nLNsMigrated = 0 nLNsMarked = 0 nLNQueueHits = 0 nLNsLocked = 0
2009-05-06 08:43:02:186:CDT INFO CleanerRun 58 file 0 x 37 starts back = 2
2009-05-06 08:43:03:243:CDT SERIOUS CleanerRun 58 on invokedFromDaemon file 0 x 37 = false finished = true = false nEntriesRead = nINsObsolete 206160 fileDeleted = 6331 nINsCleaned = 0 nINsDead = 0 nINsMigrated = 0 nLNsObsolete = 199817 nLNsCleaned = 0 nLNsDead = 0 nLNsMigrated = 0 nLNsMarked = 0 nLNQueueHits = 0 nLNsLocked = 0
2009-05-06 08:43:03:244:CDT INFO CleanerRun 59 0x3b file starts back = 1
2009-05-06 08:43:04:000:CDT SERIOUS CleanerRun 59 on file 0x3b invokedFromDaemon = false finished = true fileDeleted = false nEntriesRead = nINsObsolete 206576 = 6385 nINsCleaned = 0 nINsDead = 0 nINsMigrated = 0 nLNsObsolete = nLNsCleaned 200179 = 0 nLNsDead = 0 nLNsMigrated = 0 nLNsMarked = 0 nLNQueueHits = 0 nLNsLocked = 0
2009-05-06 08:43:04:001:CDT INFO CleanerRun 60 on file 0 x 38 starts back = 0
2009-05-06 08:43:08:180:CDT 0 x 38 invokedFromDaemon = false finished = true fileDeleted = false nEntriesRead = nINsObsolete 205460 = SERIOUS CleanerRun 60 on file 6324 nINsCleaned = 0 nINsDead = 0 nINsMigrated = 0 nLNsObsolete = nLNsCleaned = 194125 4999 nLNsDead = 0 nLNsMigrated = 0 nLNsMarked = 0 nLNQueueHits = 0 nLNsLocked = 4999
2009-05-06 08:43:08:224:CDT INFO CleanerRun 61 on file 0x3c starts back = 0
2009-05-06 08:43:09:099:CDT SERIOUS CleanerRun 61 on file 0x3c invokedFromDaemon = false finished = true fileDeleted = false nEntriesRead = nINsObsolete 206589 = 6343 nINsCleaned = 0 nINsDead = 0 nINsMigrated = 0 nLNsObsolete = 200235 nLNsCleaned = 0 nLNsDead = 0 nLNsMigrated = 0 nLNsMarked = 0 nLNQueueHits = 0 nLNsLocked = 0
2009-05-06 08:43:24:548:CDT CONFIG Checkpoint 964: source = api success = true nFullINFlushThisRun = nDeltaINFlushThisRun-12 = 0

I couldn't see something fundamentally different between the log messages when log files have been deleted, and when they were not. The DbSpace utility has confirmed that there are a lot of logs under minimum usage, so I can't explain everything so that deleting files of newspaper stopped all of a sudden.

Any help would be appreciated (I version: 3.3.75).

Hi Bertold,

My first guess is that the one or more operations are accidentally not completed (committed or aborted) not the sliders closed.

A clue is nLNsLocked = 4999 in the second series of trace messages. This means that 4999 records were locked by your application and do not have be migrated by vacuuming. Vacuuming will wait until these records locks are released before you remove the log files. Records locks are maintained by transactions and cursors.

If is not ring a Bell, and you need to look further, one thing you can do is to print the EnvironmentStats periodically (System.out.println (Environment.getStats (null))). Take a look at the nPendingLNsProcessed and nPendingLNsLocked. The first is the number of records in the cleaner tries to migrate because they were locked earlier. This last is the number that are still blocked and cannot be migrated.

-mark

Tags: Database

Similar Questions

  • Project files not deleted from the server

    Thank you in advance if you can help.

    Application: Robohelp6/Server6 and earlier versions. Don't know about 7 or 8.
    Output: Webhelp Pro

    Reminder: whenever I delete a topic to the editor and the Publisher a project to our server, this topic htm file is not deleted. I started calling them 'ghost' files because they should be dead and buried. Some users access these files after a direct URL where providing outdated information. They are not normally appear in the results of search of the application but the hyperlinks to their work until the file is deleted.

    I tried different publishing options for their removal. Check to delete the files and republish the entire project. The only way I found to get rid of them is to remove the file from the server manually. Another option is to remove the project from the server, and then republish it.

    Can question: Anyone explain what is happening and if there is anything I can to make sure that they are automatically deleted when publishing.



    Hi Captiv8r,

    Quote:
    Posted by: Captiv8r

    I do not believe that anything it either in the edition of RoboHelp erase files. It is my experience that any file that needs to be deleted from the server must be done manually.

    I think as the responses above in the quote from my question. I guess I was looking for confirmation on what I saw.

    Thank you very much for your help.

  • The missing files (NOT deleted) of the file/directory of the system drive NTFS

    Greetings!

    I have a WinXP SP3 system with a SATA 2 TB to the additional internal address as a data reader. This player has only the data (.mp3, video) files in a directory and has never been used for anything other than data files. There is only one directory for the files, and although it is four levels of subdirectories to the bottom, the tree is only these four subdirectories.

    A week ago, I noticed that the free disk space on this drive jumped from 350 GB up to 1.2 TB, leaving about 600 GB of data on the disc (about 2 500 files). After checking what is obvious (Rebreather, etc.), I noticed that the missing files were all from one file *. * to n *. * and [0-9] *. *. All files beginning with o *. * to z *. * are still there. So, essentially, Miss me about 9 000 files.

    I checked to see if the missing files could be cancelled or retrieved and downloaded several utilities 'undelete' recovery or data. All public services showed that there was no data to recover, that is, the files just disappeared or evaporated.

    Where did they go? I'm totally distraught about it.

    The files are not hidden, because the reduction of space disk; hidden files still take up the space.

    I didn't something in training in the hope of recovering the data. I thought that perhaps an index obtained corrupted or deleted because files deleted did not appear in the correct order of the directory index. I ran a chkdsk on the volume, he came to own, and the files were still missing. If the files have been deleted in alphabetical order, they would still be "deleted", recoverable files?

    I also tried to see if I could do a restoration of the system to the point in time before the files have disappeared, but my System Restore says there is nothing to not restore, no action to take.

    Any ideas appreciated.

    ....k

    R - Studio found the files missing, but only about 75% of them were really recoverable. Those who were not recovered was a length of zero byte. The advantage is that the names of the files were still intact, so at least I know which ones to re - create. The downside is that it's a few thousand files that need to be redone. That will take time, but a lot less time that I would have had to spend to recreate all missing files.

    R Studio also found entries previously deleted files, and I got these, too. However, the recovered files are damaged and unusable. Given that I didn't really need those, it wasn't a problem. I mention this simply as something that R-Studio accomplished (and the other tools do not have).

    The recovery is complete in terms of finding the missing files and restoring their readers to spare.  It took a lot of time, about three days I was doing piecemeal in bursts of 500 GB move the files recovered on spare disks. I'll move the files that I had not lost before out of the disc problem, as well, and then replace it. readers are cheap these days.   :-)

    Thanks for the help! Also, thanks for the recommendation R-Studio; This is a very useful tool and well worth the expense!

    ....k

  • RMan is missing some files when deleting obsolete archivelogs

    Hi all

    in one of our databases 9iR2, I noticed a rather strange behavior of the RMan delete obsolete archivelogs. The RMan script has the "OBSOLETE RECOVERY WINDOW DELETE 7 DAYS DEVICE TYPE DISK"-command. If RMan deletes the archivelogs regularly. But unfortunately, in every race, it leaves 3 files cancelled. The log file is (only relevant lines):

    Remove the following obsolete backups and copies:
    Making key time filename/handle type
    ---- ----
    Archive 24779 08 - SEVEN journal.-10 /oralogs/oraArchive/VG41MED/VG41MED_12402.ora
    Archive Log 24780 08-SEVEN.-10 /oralogs/oraArchive/VG41MED/VG41MED_12403.ora
    ...
    Archive 24785 08 - SEVEN journal.-10 /oralogs/oraArchive/VG41MED/VG41MED_12408.ora

    on the next race (the next day) the log file says:

    Remove the following obsolete backups and copies:
    Making key time filename/handle type
    ---- ----
    Archive Log 24799 09-SEPT.-10 /oralogs/oraArchive/VG41MED/VG41MED_12412.ora
    Archive 24800 09 - SEVEN journal.-10 /oralogs/oraArchive/VG41MED/VG41MED_12413.ora
    ...
    Archive Log 24805 09-SEPT.-10 /oralogs/oraArchive/VG41MED/VG41MED_12418.ora

    As you can see, RMan lack VG41MED12409.ora log file, VG41MED12410.ora, and VG41MED_12411.ora that are available before and after the backup procedure. We treat archivelogs on operating system level. A "overlap archivelog all ' - command does not list these 3 files, if the database thinks that they are removed - which is not really true. This odd pattern is repeated every day, so my archivelog directory is growing everyday with the 3 files not deleted.

    This behavior appears still more strange, because the RMan backup script even run on 3 other databases with same structure does not show this "error". I checked the configuration of 4 databases and not detected no difference.

    Maybe it's a corrupt controlfile (we do not catalog-db). Someone has any idea how to solve this problem?

    Thank you
    Friedhelm

    Edited by: user8964905 the 20.09.2010 00:18

    Hello
    (1) I think the command of OVERLAP is the only way to know what archivelogs are always specific to the database (expired or available) kn.
    (2) thank you for your explanations. You're right - the order REPORT OBSOLETE list backups, but my problem are the obsolete archivelogs of backups. If my humble opinion REPORT OBSOLETE wouldn't help.

    In fact no and no :).

    (1) a simple

    list archivelog all;
    

    lists the known archivelog (expired or available) files.

    crosscheck archivelog all;
    

    will check if the information on their availability is still topical, but it will not help you in this case (they exist!)

    2.

    report obsolete recovery...;
    

    http://download.Oracle.com/docs/CD/B10501_01/server.920/a96566/rcmconc3.htm#463220
    Order REPORT displays OBSOLETE backups and copies of data files, control files, and archived redo logs that can be deleted because they are no longer needed.
    ...
    OK, but if you read a little more of the documentation:
    ...
    In addition to backups of file obsolete data, RMAN reports obsolete archived newspapers and archived backups of logs. When backups of files of data from one point in time are obsolete, then archived logs that can apply to these data files are also is no longer necessary and become obsolete according to the specified retention policy.

    ---------------------------------------------------------------------------------------------------------------------------

    I have increased the CONTROLFILE_RECORD_KEEP_TIME now and watch the results next night. Perhaps the reason for this behavior is the fact that this database is very small compared to other databases, which do not show the effect.
    I'll post the result of this strategy, here the next few days.
    Wait & see

    Best regards
    Phil

  • Files size columns pane does not update when files are deleted

    Version of Thunderbird 38.4.0 day the "Total"-column, when files are deleted, but the column "size" in unchanged.»

    I use the 'size' as you mentioned above to remind myself to keep my records.

    When you delete a message, it is "marked as deleted" and from your point of view, it disappears from the eg: Inbox and moves to the folder "Deleted/trash".

    In reality, it's still in the Inbox, looks and "marked as deleted.

    This makes it much easier to retrieve a message deleted if made in error.

    To remove all traces of messages "marked as deleted", you need to compact your folders.
    Right click on "Inbox" and select "compact".

    Or do all the folders 'file' > 'Compact '.

    You will also notice that when you empty the "Junk" folder, it also still shows a size until you compact the fodler.

    Compaction, it's something, you should do regularly especially on the Inbox and Junk folders as they propbably make the most of the activity when it comes to deletion.
    Compaction is a way to keep your files and to create a space.

    If you were not compact, then it is advisable to create abackup first, just in case there is a hidden file corruption.

    More info on:
    How to keep your health thunderbird:

    Compaction - what it does and why it is important.

    Backup:

  • Rsync backup does not delete files on the target

    Hello

    I have a disc on a Windows Server 2012 machine running DeltaCopy.

    I have a RN312 on OS 6.4.2 with a configured rsync backup to save the action (which is the root of the drive) to the local NAS.

    I then go into the settings - Advanced - tab and tick the "remove files deleted on the target."

    I also add ' / $RECYCLE. BIN' and ' / System Volume Information "as being excluded.

    The first is fine - there are a few errors but they are due to the System Volume Information I think that - even if its exclusion.

    But if I can delete a file on the source (the server) and run it again the file are not deleted on the target (SIN).

    Any suggestions?

    Connects here - https://www.sendspace.com/file/z90ynm

    Thank you
    A

    What version of Rsync using DeltaCopy? Have you tried to copy a new version of Rsync and other utilties of cygwin for example in DeltaCopy directory?

  • during the implementation it keeps saying failed... can not delete output file

    I am trying to install a wireless printer... went to the hp site and downloaded the new software, halfway inside his failure (not CAN NOT DELETE OF TURN FILE.. said IAM on windows 32 bit, ie9... It's a laptop, so I can't use software cd so the download... Thank you tony

    Hello! Could you please provide more information about the issue, for example what product do you use? Additional information will be useful in resolving your problem. Thank you!

  • Why files are not deleted in research appearing in the trash?

    I went to search - files/folders. JPG - and there were 6,000 points---(mon fils m'a dit de vérifier là)

    -When I play OKBridge - all the people on the bridge were there---(j'ai laissé un message OK à ce sujet)

    I used shift - delete to delete them all, but they are not in the trash - please help - KC222

    SHIFT + delete deletes the files selected without moving them to the trash. You will need to use data recovery software to recover these files.

    When a file is deleted in this way, it is actually marked as unused space on your hard drive. Windows can replace the files during normal use, making them unrecoverable. It is therefore important to use your computer as little as possible until what they are retrieved. There are several data recovery on the strong programs - do a search on the web for them.

    Finally a tip for the future, if all the data are important to support you.

  • The user may not delete the file from the folder on the server but can rename file

    Hi all

    Please suggest how to give permission to some folder so that the user may not delete all the files in the folder but can create, update, or RENAME the folder.
    I gave permission where user is not able to delete the file, but the user is also able to rename the file or folder in this specific folder.

    Thanks in advance.

    Hello

    The question you posted would be better suited in the TechNet Forums. I would recommend posting your query in the TechNet Forums.

    http://social.technet.Microsoft.com/forums/en-us/winserverfiles/threads

  • folder (and file inside) which cannot not delete

    I have a folder that doesn't help I want to delete, but I can't. It's a ZIP file that is located in C:\Documents and Settings\broken but not delete\Local Settings\Temp

    I renamed that folder for «broken...» ", since it was in my name Jeff but he was my old stuff as Favorites, etc. After reinstalling Windows and starting over on this pc. I have another folder for me with all my stuff in it.

    How can I delete?

    Difficulty for the folder or file that cannot be deleted > youtube video of Sourse ( Article Sorce ) to remove the file or folder that cannot be deleted http://youtu.be/f-xQ6Rgny1E

  • *.chk del does not delete files

    *.chk del does not delete files change the attrib - r any ideas?

    Try this:

    ATTRIB r c:\path to your file.chk

    Then del *.chk

  • I have only 7 GB of 288 free FEPs GB on C:... There are massive hidden temporary internet files. They get not deleted using tools of IE... cant remove using BACK or using tools for Explorer?

    I have only 7 GB of 288 free FEPs GB on C:... There are massive hidden temporary internet files. They get not deleted using tools of IE... cant remove using BACK or using tools for Explorer?

    Temporary Internet files are HIDDEN... they are in the C:\Users\Peter\AppData\Local\Microsoft\Windows\Temporary Internet Files directory

    How to remove the contents of the temporary Internet files folder:

    http://support.Microsoft.com/kb/260897

    Vista - strategies to free disk space:

    http://Windows.Microsoft.com/en-us/Windows-Vista/strategies-for-freeing-disk-space

  • File will not delete under Internet tools

    Under Internet tools, display objects, there is a file that will not delete.  FFFFFFFF-CACE-BABE-BABE-00AA0055595A.  Can someone tell me what it is and how to get rid of?

    If you try to delete a file which you know the folder location, and then read my article:

    http://dixplore.blogspot.com/2010/08/how-to-delete-stubbornundeletable-file.html

    DaveTheRoyale http://secondthought.weebly.com http://dixplore.blogspot.com

  • Whenever I try to delete files from my USB, the message saying that you can not delete the file, the disk is write protected

    original title: write protection

    Whenever I try to delete files from my USB, the message saying that you can not delete the file, the disc is write protected is displayed. What I can do to undo the write protection?

    Try this
    Go to disk management in administrative tools of the control by just one panel right click on the icon my computer on the desktop and select manage and then try to format your USB

    OR

    Try this
    http://www.ehow.com/how_5187399_format-write-protected-disk.html

  • How can I retrieve my files from the clouds after my hard drive has crashed - files were not deleted.

    How can I retrieve my files from the clouds after my hard drive has crashed - files were not deleted.

    Don't know what your problem is - log on to Skydrive and recover the files that you need them, or download the app to Skydrive and they will all be uploaded at the same time.

Maybe you are looking for