Durability.SyncPolicy.NO_SYNC, checkpointer and other stuff

We plan to use Durability.SyncPolicy.NO_SYNC for our environment database (protected transaction). While we are looking for the best possible write performance, we always have as much longevity it is possible here. The javadoc for SyncPolicy.NO_SYNC says:
>
The number of transactions at risk is governed by how much log of updates can fit into the log buffer, how often the operating system empty dirty buffers to disk, and how often the log is controlled.
>

I would like to know how I can understand the actual values for my application? I think the main things are:

1 how many log updates can fit into the log buffer? I don't have to find the explanation of the size of log buffers and how to estimate the size of the update to a transaction. Is that what the nodes data sheet or the internal nodes as well?

2. How often the log is controlled? GSG - Txn says:
>
Currently, the checkpointer only property that you can manage is je.checkpointer.bytesInterval. This property identifies the journal of how I files can develop before a checkpoint is executed.
>
I wander what it would mean in my case?

The case that I don't follow. We have a number of DPL entity objects that are often accessible and updated day. That is the creation of a new object happens rather rare compared to the reading/updating of existing objects. I guess for most of the time, all the affected objects would fit into the cache I and there would be no overflow cache for a long time (if I understand correctly that the update of the entity that is already in the cache does not affect the size of the cache).

Does this mean that the checkpointer would not go for a time as there is nothing out of the cache? And does that mean that I would really lose a lot of data in the case of failure because there is no flushes/checkpoints?
What I run on some available times manually-set control points to achieve sustainability?
Or part "how updates log can fit into the log buffer" means that each update of the entity is added to connect the buffer, the log buffer would finally done the disk and it would fire a control point when the je.checkpointer.bytesInterval is reached?

Make the long story short: how to achieve a reasonable longevity with the Durability.SyncPolicy.NO_SYNC and how to measure the amount of data at risk?

(And writing code to make each transaction n-th issue commitSync() instead of commit() appears to be a clumsy solution..)

I'm afraid that the approach that you have updated here is the one you should use. Do not rely on the control points for the durability of transactions - are not intended for this.

If you use sustainability NO_SYNC, then you say to the EJ 'I hate it when the transaction becomes sustainable. To make a sustainable trade, which makes also all sustainable past transactions, you must commit a SYNCHRONIZATION or WRITE_NO_SYNC operation.

The easiest way to do this is to call Transaction.commit (Durability) (with SYNC or WRITE_NO_SYNC) each transaction N, where N is the maximum number of transactions, you can afford to lose in the event of collision.

Trying to use the control points and to calculate the amount of damage depending on the size of the buffer log is not something that we can support, and is not something that everyone does with I, I know.

-mark

Tags: Database

Similar Questions

  • IOM 10 g - xelsysadm no roles and other stuff tab missing

    Hello

    I installed IOM 10 g (9.1.0.2 with bp07) on WebLogic Server Version: 10.3.2.0.

    everything is ok, I have tried with success the commissioning and reconciliation with DBAT and other stuff like that.

    Now I would like to experiment with roles, strategies of authorization and other things like that. I am connected with the default user of xelsysadm in the xlWebApp console. Well, I don't see the roles tab in the left column, or auth policies.

    In fact, this is what I see

    http://i55.Tinypic.com/2ursaz7.jpg

    what I am doing wrong?

    THX in advance
    Alessandro

    Published by: Prorad84 on November 2, 2010 4.14

    Published by: Prorad84 on November 2, 2010 4.15

    Your answer's in the question!

    IOM 10 g (9.1.0.2 with bp07)

    roles & permissions policies is part of OIM 11 G and not previous versions. And the roles are equivalent groups in IOM 10 G. So you can play with groups of IOM

  • Need drivers and other stuff for my old Satellite 300 CDT

    Hello! Merry Christmas &
    I just got an old Satellite 300CDT for you me used to a laptop before I buy a new one.
    Can someone help me to download a manual, drivers or something else for this laptop.
    I can't find anything on the sites of Toshiba.

    Hi Mervyn,

    Click on Support and downloads - download files to open the download page.

    Product Type - click on the archived files
    Family - click on Satellite-Archive
    Series of products, click on Satellite 3XX
    In the model - click Satellite 300

    Note that you may need to click on 'research based other products' first on the download page, depending on how you are registered on the Toshiba site.

    nest of chance

  • How to recover photos and other stuff after formatting my mobile phone?

    Original title: GSM

    until I composed of a mobile phone, there a whole bunch of pictures of videos of stuff etc but then I formatted it and they were gone how can I get back them?

    Hello

    I suggest you to contact the manufacturer of phones for any data recovery and to get help.

  • have lost the best shortcuts on my desktop the 1 with the camera, mail, internet explore and other stuff.

    I lost the top of the page info on windows edition vista family is how do I check the mail go on the internet and there my camera on it and a few other things. Anyone know how to find?

    http://www.DellDock.com/

    If it is above > look in the start menu > programs > software Dell > Dell Dock > or re-download.

    If another brand computer > look in their software > under start > programs.

    See you soon.

    Mick Murphy - Microsoft partner

  • Wait on Flash Builder 4.5 and other stuff

    Initially, I wanted to ask a question, but after trying to find information on when FB 4.5 will be communicated, I came across a little information.  I hope someone rim reads this.

    Can anyone confirm if the final FB 4.5 will allow the use of design with the libraries of qnx?  It has been said in this post, he does.

    While I was trying to find that out I came across this little nugget on Adobe 4.5 FAQ:

    Flash Builder 4.5 now requires AIR 2.6 for mobile applications. RIM plans to deliver an over-the-air update for AIR 2.6 later in 2011, allowing developers to then use Flash Builder 4.5 for PlayBook application development. This means that developers will be able to recompile applications built for Android at that time for deployment to the BlackBerry PlayBook.
    

    Anyone know when this might be?

    I am mainly interested in can quickly access my screens with actionscript, mxml and design mode and use or C++ for complicated stuff.  Currently the design mode does not work and I'd rather not have to wrap each qnx component that I want to use so it will work even in mxml.

    Currently, we have not shared a release date for future updates to the runtime LOOK on the PlayBook. I can tell you that we are working on it well.

  • English... BONES and other stuff for my laptop?

    Hi all, there

    I am owner of a PSM35E-002EE-TR of Turkey and I am deeply satisfied with the capabilities of my laptop. However, my current language of software WindowsXP and Toshiba are all Turks. So I want, due to problems of compatibility, re - install all software from my laptop in language (English) "original". But the CD I have with my laptop are all in Turkish.

    Is it possible to have an English XP software and Toshiba for my laptop?

    Thank you for your interest...

    GEDIK Guarda

    Hello Gok

    Tom is a right. You can use Microsoft Windows XP CD to install the OS and all the necessary drivers and tools you can find on the Toshiba site on English.

    Check it in virtue http://eu.computers.toshiba-europe.com > support & downloads.

  • How to change my computer as were can I putin map Graphic and other stuff

    where should I put my Graphic card in my computer

    Google is your friend
    "How to install a video card.

  • iBooks - bookmarks, notes and other syncronization between devices with imported books

    Hello!

    I was wondering if there are any fay to synchronize bookmarks m, notes and other stuff acros my devices in imported books iBooks! (ePub)

    It would mean so much to have this featur. I see that the books syncronize on iCloud in the new iOS 9.3, but what about notes?

    Best regards

    Erik

    On my devices, iBooks is made salient and remarks on the ePub files synchronization. However it does that when I restart both devices.

    I really like the app and was happy to hear that I could sync between devices via iCloud downloaded items. However, at this time, I can't afford to jump through hoops to get my sync annotations. I must be able to retrieve any device and have it ready on the go.

    If this problem is not resolved, I'll have to give up the iBooks app once again in favor of something that works...

  • Satellite L500-1kk and L55-21dts and other products Support Pages Gone

    Hello..

    I have Toshiba L500-1kk and L500-21dts models... I used to view correctly... supported product information pages. Driver downloads and others 10 days now... He tells me that the pages are not available... When I even try to use the cell phone detection tool or to find my laptop model... He did everything as if these models ever existing! Could someone help me with this... is this a site problem or there is a reason that these pages have been deliberately removed?

    If the pages were moved, could you link me to their new location?

    Thank you

    In my support more important notice page download area so I think that you will be able to find drivers and other stuff from Toshiba on http://eu.computers.toshiba-europe.com/innovation/download_drivers_bios.jsp

    You will find models of laptops?

  • By opting for the local account affects the current files and other documents are store in the pc.

    I have windows 8 is installed in my desktop pc

    I want to move my account to GO to THE LOCAL because of user setting I m tried to synchronize my app Mail for new emails and other stuff his watch still unavailable then, opting for the account local affect current files and other documents are stored in the pc at this moment before I spend.

    Hello

    Passage of the account Microsoft local account will not affect your personal documents saved on the computer.

    Reference: http://support.microsoft.com/kb/2782145

    It would be useful that you could provide more information on the problem faced with synchronization.

    -What is the exact error you get when synchronization Mail app and other apps?

    -Do you use all parameters of proxy to access the internet?

    -Remember to make changes before the show?

    -What anti-virus software is installed on the computer?

    If you encounter the problem of synchronization with all applications, then I ran the http://download.microsoft.com/download/F/2/4/F24D0C03-4181-4E5B-A23B-5C3A6B5974E3/apps.diagcab Apps store

    Navigate through the steps mentioned in http://windows.microsoft.com/en-us/windows-8/what-troubleshoot-problems-app

    Check if you have any proxy enabled. If so, then delete it.

    a. open Internet Explorer.

    b. click on tools and select Internet Options.

    c. click on connections.

    d. click on LAN settings.

    e. remove the check mark next to proxy server.

    f. click OK and check if you are able to synchronize emails.

    If none of the steps work, try to remove the account from the messaging application and add it again and check.

    Go through http://windows.microsoft.com/en-IN/windows-8/mail-app-faq

    Hope this information is useful. Let us know if you have any questions.

  • APEXExportSplitter: update, nochecksum and other

    Hi, any omniscient!

    I search on Google, I read apex/utilities/readme.txt and John post (http://jes.blogs.shellprompt.net/2006/12/12/backing-up-your-applications) blog, but I have a few questions about this tool:

    0. everyone knows what algorithm is used when APEXExportSplitter runs with -Update option? I have a soft export the file f101.sql and I run twice:
    oracle@dark-place:utilities$ java oracle/apex/APEXExportSplitter -update /tmp/f101.sql
    Nothing changes in the export between the first and the second file, but second update_xxxxxxxx.sql contains a few calls from script:
    @init.sql /* I understand this line */
    @env.sql /* and this one too - setting NLS, version and other stuff */
    @/tmp/f101/application/shared_components/navigation/tabs/standard/t1.sql /* But why we have this one? */ 
    @/tmp/f101/application/shared_components/navigation/tabs/standard/t1.sql /* And why twice? */ 
    1. What is the option -nochecksum not - exactly and in detail? Maybe I'm not if smart, but '< not to check for changes >' is not enough to make me understand.

    2 How change/remove the prefix path in install.sql file before calling script? For example I have:
    @application/init.sql
    @tmp/f101/application/set_environment.sql
    @tmp/f101/application/delete_application.sql
    @tmp/f101/application/create_application.sql
    ...
    And I want to:
    @application/init.sql
    @application/set_environment.sql
    @application/delete_application.sql
    @application/create_application.sql
    ...
    I know that I can use command line utilities (for example, sed ), APEXExportSplitter generates this code but I want to treat so less tools because it is possible.

    3. how to run APEXExportSplitter from other directories, not only the apex/utilities from that? Is it still possible?

    4. APEXExport and APEXExportSplitter will continue in the future APEX communicated?

    I'll be appreciated for any information. Today apex/utilities/readme.txt is too short, too poor...

    Alex

    PS: sorry for my bad English.

    Alex,

    0 - update
    will create an update.sql based on what has changed since the last division that was made. It uses a checksum on both the new and the old in order to determine if there is a change to this article

    1 - nochecksum
    If you split f100.sql, you get all records of slot. Normally, he'll checksum that if page1.sql has not changed it will not update the time stamp on the file. If you show checksum it will always update the timestamp. The parity check to update the timestamp is nice for things like check in to version control. Only the page/section/tab /... SQL scripts that will be changed to changed so that you can quickly see what has and has not changed.

    2. I put a change for which has not yet been published.

    3. the same answer as #2

    4. Yes.

  • How can I get my contacts and all the other stuff I had on the old email?

    Original title: I changed my email because they said my old email was invalid... How can I get my contacts and all the other stuff I had on the old email? They said, it has been deleted

    If my email isn't valid how I used it?

    Hello

    1. which email account you are referring to?

    2. What is the version of Windows installed on the computer? For example, Windows 7, Vista

    Please answer these questions and provide additional information so that we can better guide you.

  • Is it possible to sync only bookmarks in one device, for example and all the other stuff between other devices?

    Hello.

    I have 3 devices. 2 of them are at work, so I don't want to sync items such as extensions (xnotifier, for example, is to synchronize my CPA), passwords for my PC at home with these two devices. But I want to synchronize my bookmarks and other things. Is it possible to separate between different devices sync settings?

    Thank you.

    You may need to use two separate sync accounts, if this is not possible with a single account.
    As you cannot use both accounts at the same time on a device, you will need to disconnect the computer which is the main device and (temporarily) connect to another account only synchronize to the other account to sync bookmarks.

  • Explorer Windows keeps freezing.it freezes when I try to explore my computer, but the other stuff works like firefox or other shortcuts Office

    Explorer Windows guard freezing.it freezes when I try to explore my computer but the other stuff works like firefox or another office short cuts.i do not know what to do about this.

    Please start with the basics:

    The first Question of troubleshooting: If the problem is new, what has changed between the time things worked and the time they do not have?

    The second issue of Windows troubleshooting: what is the status of virus/malware of the machine? If you think it's clean, what programs (and versions) allows you to determine this?

    Make sure that the computer is clean:
    http://www.elephantboycomputers.com/page2.html#Removing_Malware

    Post back with answers/results for help if you need it. MS - MVP - Elephant Boy computers - don't panic!

Maybe you are looking for

  • How much would it cost to replace the video card on an imac 27 "late 2009

    I have an imac late 2009 27 "with an ATI Radeon HD 4850 512 MB video card. He made rare as small squares on the screen and stuff of course freeze everything. Sometimes when it starts, vertical lines if poster and nothing else can do. I have to restar

  • Satellite L755 - Windows 7 loads OK but IE9 takes 15 minutes

    I have a L755 Satellite with Windows 7, IE 9 and Office Home 2010.When I boot windows 7 seems to load OK, the main problem is that IE9 takes an another 15mins to start after you click the icon. During this period of 15 minutes, I can use some program

  • How can I stop CHKDSK from running on startup?

    CHKDSK turned on somehow and now every time I start my Pc it runs this program.  It is on my hard drive and takes a long time to startup!  How can I stop the program from running at startup?

  • Disable the HP ENVY x 2 system

    My envy notebook begins with set admin password or power on password, when I put the password it says disabled system [71827972] How can I work around this?

  • Gmail notification does not

    My husband always gets a green light flashing when it receives a new email & it downloads automatically. I have never notice & I have to refresh to download new emails. I've marked in notification settings. Is there anything else I need to do?