How can I purge transaction logs files?

I have a transactional database (i.e., created by using the db. DB_CREATE | DB. DB_INIT_TXN | DB. DB_INIT_LOCK | DB. DB_INIT_LOG | DB. DB_INIT_MPOOL flags) which also generates a file log.0000000001 as part of its operation.

The log file exceeds the limit of 10 MB by default recently, and I saw this error: ' Region of logging out of memory»

While it was easy enough to fix (temporarily) by setting the variable configuration set_lg_regionmax for a larger number, is it possible to purge just the file log.0000000001 to something significantly less than 10 MB?

In my PB, I don't have a history longer than the previous transaction, so no logging more is superfluous.

Hello

Yes, by using the DB_LOG_AUTO_REMOVE flag with the log_set_config of the environment
method automatically deletes log files that are no longer needed. Another suggestion is to take a look at the method of log_archive environment with the DB_ARCH_REMOVE flag, which also removes log files that are no longer needed. It is documented at:

http://www.Oracle.com/technology/documentation/Berkeley-DB/DB/api_reference/C/logArchive.html

Thank you
Sandra

Tags: Database

Similar Questions

  • How can I check the log files

    I want to find my syslogs in windows 7. I faced a problem with ip address conflict. I need to know what is happening in my system/network. How can I check this problem?

    On the Start Menu, right-click on computer, and in the menu, click on manage.

    In the left pane, under System Tools, you will find event viewer, click on the arrow symbol.

    Which will display 4 submenus, some newspapers of Windows. Which displays a set of available log files than two sector those troubleshooting application logs and system. When you click in the left pane events will populate the middle pane with the most recent on top.

    The right pane has various tools that are active when a newspaper is opened.

  • How can I access the log files of the application of a ThinApp on the virtual drive?

    I thinstalled an application using the v4.6 and I am able to launch and run the captured application.

    But the application creates log files to:

    c:\Program files\ensembleProAgent\LOGS\

    So I can access them on of ThinApp virtual drive?

    If so, any help is appreciated, I don't know where is the virtual drive or how I can access / read it.

    Thank you

    Joel

    Hello

    A virtual drive in the world of ThinApp means a disk that you have virtualized so he will be present for the virtualized application. If you mean by the word virtual drive where we keep the changes not applied to the physical environment are you talking about what we call the sandbox. Default location would be users with roaming profiles in a folder called Thinstall (ThinApp used to be called Thinstall until VMware has acquired the product)... Method of pomp for the sandbox would be to hit start - run on your client and enter %APPDATA%\microsoft\windows\sendto and click OK...

  • How can I just disable logging in El Capitan? It is not visible in the disk utility by pressing alt and file!

    How can I just disable logging in El Capitan? It is not visible in the disk utility when you press alt and file!

    Mac OS X: about the logging of system - Apple Support files

    Hope this helps, good luck to you.

  • How can I move all my files from the user from one user to another on my pc?

    original title: moving files

    How can I move all my files from the user from one user to another on my pc?

    Log an administrator account. Open your folder 'user '. Select all the files, copy them, and paste them into the other folder 'user '.

  • How can I delete my events file in Win7?

    How can I delete my events file in Win7? I show more 40 000 events and more 8 000 warnings or errors. I'm unable to install any other software. without internal error 2503 and 2502. I tried to install Itunes, Java and Win7SP1 with the same result. "internal error 2503 and 2502.

    Run the event viewer > help > search for 'clear'... gives 'clear an event log.

    See if that helps with the CRV

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-system/internal-error-25032502/28b361b7-b2d7-494d-8470-5969f6850f5a

  • SQL * Loader - can I specify the log file in the control file

    SQL * Loader - can I specify the log file in the control file? If so how

    Yes,

    Try sqlldr "echo $command_line_par".

    Note: ' back quotes

    Kind regards

  • How can I open a rar. file on mac?

    I got a file in rar format and unfortunately I can not open

    How can I open a rar. file on mac?

    Thank you for your support

    It must 'open' (UN-compress/extract) using the Nations United-archive by double-clicking

    http://appletoolbox.com/2015/10/how-to-extract-RAR-files-on-Mac-OSX/

    Where did this come from?

  • I am trying to view PDF documents, but when I click on them lots and lots of tabs keep appearing above I got 1000 s, how can I stop this and how can I watch a PDF file

    I received an email from my supplier of energy in it that I have to click the Bill to display, it downloads and asks me if I want to open it with internet explorer or another thing, if I click on firefox. There is no guard opening loads and loads of tabs on the top, I tried to close them at the last count I had managed to close more than 1,000 feet but still do not see my wife bill.my had the same thing that she tried to open a PDF file and you have the same problem of . Then how can see us without problem files we receive in emails, etc., and how can I get rid off the coast of this multipling the tab itself? Thank you

    The details of your system do not have a pdf reader. You have, for example, Adobe Reader or Foxit Reader?

  • How can I copy an .exe file of the winow downloads on my hard drive?

    the header is the question

    "How can I copy an .exe file of the winow downloads on my hard drive?

    If the file is always displayed in the Download Manager window, then you can use open folder on the shortcut menu. If this entry is grayed out then the file is no longer at this location to download. Possible causes are cleaning software or anti-virus that deleted the file.

  • How can I find a missing file

    How can I find a missing file for microsoft office 2010 which has been installed on the pc when I bought it. the file is: C:\ProgramData\Microsoft\OEMOffice14\0Starter\en-US\WelcomeDocument.dotx

    Hi starr456,

    This is something tricky, simply because the Starter is not available anywhere to download (it's the OPK only), and it is not available to resettle them in the HP Recovery Manager. After researching this for awhile, it seems to me that your only option to get Starter upward and the execution is to perform a recovery of the HP System. This restores all of the original software, including programs that are not available to resettle them in the Recovery Manager. He is also the 'nuclear option' and will completely erase everything on your computer. You will need to back up all personal files that you do not want to lose.

    If you're desperate for Office Starter, you can use this recovery method. But if you're open to exploring other alternatives, you might want to try a freeware productivity suite (like OpenOffice, for example).

    Here is a link to the instructions for performing a HP system recovery for Windows 7. If you have a different version of Windows, let me know and I'll post a different link.

  • Hello, how can I insert a PDF file into a Pages Document?

    How can I insert a PDF file into a Document that I wrote with Pages? I know that I used to do with Windows Word.

    Drag it out of the Finder.

    Peter

  • I am a new player. How can I check my SD files?

    I am a new player. How can I check my SD files?

    Hello Alexban,

    I got a new customer (on the same network) and having the same problem as you. It took a bit of "Violin" to solve this one, but basically here's what you do: -.

    Your homescreen launch your application by clicking on the tab background Center tray can find quick Office and launch it. This will essentially ask you if you want to receive updates etc. and take you to a site Web etc (don't worry open office is not an online application, it is built into your phone). Away Web site, close the browser window by pressing the menu on the right key lower and then tapping on the exit button to end the browsing session.

    Once you do this, you will see a file indicating the memory card and another who says that recent documents. From there, you type just the memory card icon and you get a complete disassembly of all your files.

    I hope this helps, and if you get stuck again just post another message and I'll look out for it and try to explain another way.

    Good luck and best regards - Roy...

  • How can I add a PDF file to icloud?

    How can I add a PDF file to icloud?

    You need to clarify what you are trying to do. What do you mean by "add a PDF file to iCloud?

  • How can I remove a single file from a folder of bookmarks

    How can I remove a single file from a folder of bookmarks

    Drag the bookmark you want to delete to the left. A red button that says delete. Press the key and he went.

Maybe you are looking for

  • Can't seem to block the odium of the emails in Firefox even you "I hit"Block".

    29 Firefox. 0.1, Outlook.com. I continue to block the nasty sender but receive nasty emails anyway. What do enable to perform useful blocking?

  • I would replace the useragent for a specific site.

    I have the preference general.useragent.site_specific_overrides set to true and I general.useragent.override. [Web site] .com to my string of the user agent of your choice. However, this setting has no effect. However, I am able to get a global repla

  • Question about the extension of RAM on Satellite M30X 163

    Hello I can install it as an extension of RAM on my laptop model?I have now 2 x 256 MB (default factory equipment).I'd appreciate any help about my question:Type, frequency, the maximum capacity for each of the 2 slots? Thank you very much.

  • the home screen problem

    Not sure these issues at first but I noticed open space on my different screens where I can't place a shortcut to an application or widget. What is happening on all 5 panels, especially on the Panel to the left of the homescreen (by sliding to the ri

  • Problems with letter not appearing is not in Hotmail

    Original performance of title: jerky While my wife is on hot mail, while she types the letters do not appear as she types. They have a sort of shake along. There is a delay from the moment she presses a button and it appears.  How can I fix this.