TimesTen and minimal logging

As a matter of interest does TimesTen support minimal logging operations at database level? This will mean that TT contents are lost when TT goes down unexpectly. The advantage would be that fully logged operations will not be required, thus potentially speeding up TimesTen.
Thanks,
Mich

TimesTen used to support 'no logging' mode (Logging=0) and a 'diskless logging' mode (Logging=2) but both have been removed in recent releases. Although both sounded attractive for special use cases, the limitations inherent in both modes meant they were of very limited usein reality and having to support them complicated the log manager code and was an impedance to implementing things like the parallel log manager that was introduced in TimesTen 11.2.1. Basically, delivering maximum performance, scalability and functionality for mainstream use cases was deemed more important than supporting niche options of limited usability.
Chris

Similar Messages

  • DIFFERENCE BETWEEN THE FULL AND BULK-LOGGED RECOVERY MODEL

    DIFFERENCE  BETWEEN THE  FULL AND BULK-LOGGED  RECOVERY MODEL 

    In bulk logged recovery mode certain bulk operations are minimally logged. In FULL recovery mode these are fully logged. These bulk operations are as mentioned below
    1. SELECT INTO
    2. BULK IMport operations including BULK INSERT and BCP
    3. INSERT INTO SELECT command using the OPENROWSET(BULK) function
    4. Partial updates to columns having large value data type
    5. Using WRITE clause in UPDATE statements
    6. Index operations e.g CREATE INDEX, ALTER INDEX REBUILD , DROP INDEX
    In Bulk Logged Recovery Mode when you execute these operations SQL Server only logs the fact that these operation occured and information about space allocation. The actual change in the data is maintained in the BCM (Bulk
    Changed Map)
    Since the actual changes are not recorded in the log file, the log file size in the reletively less in size but this tradeoff comes with the price of increased backup time. This is so because during the log backup its not just the log being backup, but also
    the extents that are marked by the Bulk Changed Map as changed.
    SQLEnthusiast
    http://sqlsimplified.com/
    Please click the Mark as Answer button if a post solves your problem!

  • Message and Error Logging

    Version : TimesTen Release 11.2.1.4.0 (32 bit NT)
    In C:\TimesTen\tt1121_32\srv\info we have 2 TimesTen log files : tterrors.log and ttmesg.log
    Based on C:\TimesTen\tt1121_32\srv\info\ttendaemon.options I expected these files to grow to a maximum of 1Mb each, then retain 10 copies of each. However I find they grow to unlimited size, e.g. ttmesg.log was 1.2 Gb last week before I manually renamed it. Am I missing a setting somewhere? This functionality was working correctly last month, and as far as I am aware I have not intentionally changed anything.
    Contents of
    C:\TimesTen\tt1121_32\srv\info\ttendaemon.options
    # By default, turn verbose logging on
    -verbose
    # Commented values are default values
    #-supportlog C:\TimesTen\TT1121~1\srv\info\ttmesg.log
    #-maxsupportlogfiles 10
    #-maxsupportlogsize 0x100000
    #-userlog C:\TimesTen\TT1121~1\srv\info\tterrors.log
    #-maxuserlogfiles 10
    #-maxuserlogsize 0x100000
    -tns_admin C:\oracle\product\111~1.0\db_1\NETWORK\ADMIN
    -server 53385
    Also included is directory listing to show it used to work.
    Directory of C:\TimesTen\tt1121_32\srv\info
    12/11/2007 18:32 470 snmp.ini
    19/11/2009 22:50 3,244 cluster.oracle.ini
    06/01/2010 15:17 378 ttendaemon.options
    06/01/2010 15:18 <DIR> crs_scripts
    08/01/2010 16:11 3,996 DBI4b475916.1~
    12/01/2010 15:47 1,048,430 ttmesg.log.9
    15/01/2010 01:55 1,048,605 ttmesg.log.8
    17/01/2010 09:28 1,048,882 ttmesg.log.7
    26/01/2010 01:03 1,048,610 ttmesg.log.6
    26/01/2010 01:03 1,048,670 ttmesg.log.5
    29/01/2010 21:37 1,048,500 ttmesg.log.3
    29/01/2010 21:57 1,048,490 ttmesg.log.2
    29/01/2010 22:17 1,048,483 ttmesg.log.1
    29/01/2010 22:37 1,048,146 ttmesg.log.0
    29/01/2010 23:47 1,048,977 tterrors.log.9
    30/01/2010 03:08 1,052,803 tterrors.log.8
    30/01/2010 06:39 1,048,725 tterrors.log.7
    30/01/2010 09:50 1,048,851 tterrors.log.6
    30/01/2010 13:09 1,048,633 ttmesg.log.4
    01/02/2010 19:26 1,052,682 tterrors.log.5
    22/02/2010 08:22 1,051,629 tterrors.log.3
    22/02/2010 11:43 1,048,943 tterrors.log.2
    22/02/2010 15:04 1,049,926 tterrors.log.1
    22/02/2010 18:25 1,048,968 tterrors.log.0
    23/02/2010 01:04 1,048,934 tterrors.log.4
    01/03/2010 18:24 135,615,162 ttmesg.log.20100301
    01/03/2010 18:24 2,135,473 tterrors.log.20100301
    01/03/2010 18:26 6 timestend.pid
    07/03/2010 19:42 <DIR> ..
    07/03/2010 19:42 <DIR> .
    08/03/2010 12:32 138,266,337 tterrors.log.20100307
    08/03/2010 12:32 1,306,793,217 ttmesg.log.20100307
    16/03/2010 06:05 31,213 tterrors.log
    16/03/2010 06:45 3,996 DBI4b4b6484.0
    16/03/2010 08:23 1,933,865 ttmesg.log
    32 File(s) 1,605,773,244 bytes
    3 Dir(s) 34,267,926,528 bytes free
    C:\TimesTen\tt1121_32\srv\info>

    This sounds like this bug:
    Bug 9442841: AFTER MAXSUPPORTLOGFILES IS REACHED TTMESG.LOG CONTINUES TO GROW
    This is published so you should be able to see the details of a potential workaround for it.
    I believe this is unique to TT on Windows, and from the internal bug also logged for it, it states it has been fixed in 11.2.1.5 which has just been released (available on Windows 32-bit and 64-bit) from here:
    http://www.oracle.com/technology/software/products/timesten/index.html

  • TimesTen and Eclipse java development problem

    Hello all
    Using TimesTen with JDBC in from a Java code developed on Eclipse I encounter a problem: when running the program in debug mode, everything works fine. Running without debug, or outside Eclipse, results in the following error:
    java.sql.SQLException: [TimesTen][TimesTen 7.0.5.0.0 ODBC Driver][TimesTen]TT0837: Cannot attach data store shared-memory segment, error 8 -- file "db.c", lineno 7891, procedure "sbDbCreate"
    Does anyone know the cause of this, or can point me to logs or other resources I can look into?
    Regards,
    Shaul Peled
    Nuance Communication Inc.

    Okay, it is almost certainly an address space issue. Unfortunately 32-bit Windows is about the most problematic platform from this perspective. A TimesTen datastore is a single, contiguous memory region of size approximating PermSize+TempSize+LogBuffSize+DS header. In your case that will be about 1098 Mb. To 'connect' to this datastore, it is necessary to map the datastore memory (it is a shared mapping allocated from the Windows paging file) into your process (in this case the JVM) as a single region. Unfortunately, unlike most O/S, in Windows shared libraries (DLLs) have to be loaded at fixed locations in the address space defined when the DLL was linked. This means that although your process has a 4 GB address space (with quite a bit reserved for WIndows and other uses) that space is often highly fragmented with various DLLs (system and application) located all over the place. This means that often it is hard to find a single contiguous address space region to map a large datastore.
    into.
    To verify that this is the issue, could you try reducing the datastore size to say PermSize=128, TempSize=64 and see if you can connect then. If you can then you will have to experiment by slowly increasing Perm and Temp until you find the maximum size store you can accomodate. If you are using no logging (Are you sure that is what you want? You will end up with a single threaded datastore if you do that...) you could reduce LogBuffSize to the smallest allowed value (128 Kb).
    If it does turn out to be an address space issue then you have 3 options:
    1. Live with a smaller datastore size.
    2. Try and re-arrange the memory map by rebasing DLLs to create a larger contiguous region. Note that ijn any event it is very unlikely you will ever be able to exceed ~1.5 Gb for a datastore.
    3. Switch to 64-bit Windows, 64-bit TimesTen and a 64-bit JVM. Then the only limit on datastore size is available RAM.
    Let me know the outcome.
    Regards,
    Chris

  • Minimal Logging

    The database is in Simple recovery mode.
    When I use the following,
    truncate table testtable
    insert into testtable with(tablock)
    select * from testtable1
    My ldf file grows big. This means that this is not following the minimal logging. But if I wrap truncate and insert into with begin and end separately the minimal logging happens,
    begin
    truncate table testtable
    end
    begin
    insert into testtable with(tablock)
    select * from testtable1
    end
    What is the reason behind this ?

    Hello,
    >>My ldf file grows big. This means that this is not following the minimal logging. But if I wrap truncate and
    insert into with begin and end separately the minimal logging happens,
    For just Truncate statement  to just prove that if truncate is between begin and end tran will logs generated be
    more.No in both case same logs will be generated.
    I took help of DMV sys.dm_database_transaction to see how much logs are generated for this transaction
    Now with truncate between begin and end command.
    You can see same logs generated.
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • World readable permissions on the tterrors.log and ttmesg.log

    Is it possible to get timesten to create the tterrors.log and ttmesg.log with world readable permissions?
    Regards
    Chris

    It sounds like you should just turn off Maintain Previews for the project you are on (selct prj and change state in top level gear menu in prj pane) - then make your adjustments ( your previews won't be up to date then of course) but the when you are ready to make into previews just select all the images and choose Update Preview manually from the context menu.
    LC, Classic, 8500, DP2.5, MBP2.1   Mac OS X (10.4.7)   i have a cool mousepad

  • Log messages for 'auditing' are different in 'general'  and'application log

    Hi,
    From UI, When I audit a file using a profile which comprises of user-defined 'rules/categories/analyzers', I will get log messages at ''File-name(Application) log window' and 'Messages' log window, which are located at bottom of Jdev UI page. One common message in both the log windows is
    " <n1> violations, <n2> exceptions, <n3> documents, <n4> seconds>.
    But here the 'n1,n2,...' numbers are dfferent in two windows though the log output is for a same file. In this the 'file-name' log shows the correct
    Example:-
    In 'file-name' log window ,it shows as:
    3 documents, 8 violations, no exceptions
    In messages window, it shows as
    "Audit starting on EFC.jpr (Default)
    Audit completed: no violations, no exceptions, 3 documents, 1 second"
    If I use the 'pre-existed'(Jdev's) rules profile, I will get similar output in both log windows.
    From this I concluded that there is something missing to register for a new 'rule/category/analyzer'.
    Could you suggest me in this case. Do I forgot anything to do in any files of '<rule-implementation.java>', 'audit.properties', <add-in launcher>.java, extension.xml.
    Actually, I want to use 'ojaudit' executable from command line to my project files. Here I observed that the output of the 'ojaudit' is similar to the above explained 'Message' log window in JDeveloper UI. But where the 'Message' log window output is not correct for user-defined rules.
    Regards
    Madhu

    Romano,
    In the upcoming production release (planned to be released next week), we added caching of authorized roles and permissions in JhsAuthorizationProxy class.
    I suggest you wait for this relase, if the problem persists, it is most likely an ADF issue (as is the logging)
    Steven Davelaar,
    JHeadstart team.

  • Blackberry 8310 Curve randomly deletes text/sms messages and phone logs

    Why does this keep happening to me?
    There are times that my phone goes over a week without it happening and then there are times like today it has happened three times.
    I will have maybe 5 ot 6 text messages in my inbox and maybe 2 or 3 emails and I get a phone call and POOF the text messages and phone logs are gone!
    I have repeatedly lost important text messages and numbers from my call log.
    The tech support excuse for it is that I have too many messages in my inbox which causes it, but 6 sms messages and 3 emails is too much?
    I have tried everything (updating the desktop software, updating all of the settings NOT to delete messages until i delete them, hard booting my phone once a day, etc..) and it still does it.
    This also used to happen with my Blackberry Pearl.
    If I can't get it resolved, I will just switch to the iPhone.  I can deal with the randomly dropped calls, but constantly loosing my call logs and text messages is BEYOND frustrating and Blackberry tech support has been no help!.
    Solved!
    Go to Solution.

    DCmuseum,
    Hi,
    You have low free memory left on your device.
    Do you have a lot of third party applications on your BB weather, icall,bbalerts etc?
    I do not know your experience level, so if you know this I'm sorry but please read and let me
    know if this applies.
    Most people close the applications by pressing the escape or red key. This does not close the applications.
    Each application has a CLOSE option. For instance if you are in the calendar hit the menu key (spotted key) and scroll down to the bottom CLOSE is listed. Go through each application and press close. Go into the browser press menu and options select cache operations clear all categories and hit escape it will say cleaning memory.
    Go to options - security - memory cleaning - enable it. The BB will now clean memory when idle for 5 minutes.
    you will have an icon on you screen for memory cleaning make sure you press it. Make sure you use the CLOSE button each time you are done with an application.
    Read the link below and follow each step that Tanzim outlines,
    http://supportforums.blackberry.com/rim/board/message?board.id=8300&message.id=9225#M9225
    If you follow these steps and keep up with your memory your phone will operate smoothly.
    Please let us know if you need help with any of the steps.
    Thanks
    Message Edited by Bifocals on 09-07-2008 11:58 AM
    Click Accept as Solution for posts that have solved your issue(s)!
    Be sure to click Like! for those who have helped you.
    Install BlackBerry Protect it's a free application designed to help find your lost BlackBerry smartphone, and keep the information on it secure.

  • HT5625 apple id problems with apple id and icloud log on

    hi all you dudes out there?
    i am having problems with my log on to itunes and icloud?
    really thye problem began some time ago when i got an upgrade from iphone 3s to iphone 4s, i kept my old iphone as a second phone then gave the old one to my mrs?
    the problem is when i send a message to anyone the wife gets it on hers too? and vice versa? i have now desected/romoved the old iphone 3s from my apple account but its still happening? on removing the old iphone i got an icloud log on with new passwords and i changed the email on record for itunes and apple log on as my emial address had changed due to a new broardband supplier so the old one became usless to me so i changed it all?
    now the aqpple id still comes up as the log on id for itunes and icloud and i cant seem to rectify this even though i have changed all the details around to the new log on id`s ???and i still get her messages and her mine??? its driving me potty? i mean when you change the id surly apple should wipe the old log on? apparently not so if i try to log on with the old details it wont let me on? now i cant buy music or anything else?
    has anyone got any answers so i can retify the log on and stop messages going to my phone from the wifes and mine to hers? like if i text her i get the message on both my own and to hers ???
    i would say niether of us could cheat cos we get each others messages
    any help would be greatly appreciated believe me! thankyou all in advance! herrline or Graham!

    hi guys and gals an update to the above question?
    the settings for icloud still has my old email address which i deleted from itune and apple? so maybe this is why i cant get on to itunes etc But? i cant change or delete from my iphone icloud account so i can reset it with out logging in with the old details which are no longer on itunes or apple system so im compleatetly stuck?
    aaaarrhhhhh? herrline or Graham.
    on the godd side the problem with the texting seems to have rectified after i followed the info from the right hand side other questions like "my wifes iphone thinks its the same as mine"? its now not messageing mine when i send messages so i hope when she sends messages i wont get her either?

  • I have installed the agent 10 or 15 times and one installation hasfailed, no error appeared during the installation but I am havinginconsistent issues with my ethernet card not working here and there. Werebooted and can log into Novell client but th

    I have installed the agent 10 or 15 times and one installation has failed, no error appeared during the installation but I am having inconsistent issues with my ethernet card not working here and there. We rebooted and can log into Novell client but the login prompt did not appear for ESM client or the icon was not in the systray. Everything seems to work, besides at times (a couple times today) it terminates his ethernet card/connection. I would re-image his computer but he has several applications and it would take several hours, so I am hoping someone has an idea to fix this issue. So I was trying to figure out why he did not get the prompt to login and why it's not in the systray and it appears to not have completed the install? I checked the add/remove programs, its not listed within their, I also checked the registry and found nothing for endpoint within their, but the files are within c:\program files\novell\zenworks endpoint security.
    I have also tried uninstalling it but that fails due to it "not being installed", and it will not reinstall over itself either.
    I did notice that stuninstdrv.exe is running in task manager. Any help would be great...
    Windows xp sp3
    ESM 3.5.154
    Thanks,
    Andy

    If you are searching the registry, check for the "Senforce" string. It should be at HKLM\Software\Senforce
    Try running the install program for the ZSC with the following command line:
    setup.exe /V"STUNINSTALL=1"
    If you've specified an uninstall password, try this one instead:
    setup.exe /V"STUNINSTALL=1 STUIP=password"" (please note the double quote at the end)
    Let me know if that helped you.
    Daniel
    >>>
    From: Andy_DeWees<[email protected] du>
    To:novell.support.zenworks.endpoint-security-management
    Date: 2/5/2009 12:52 PM
    Subject: I have installed the agent 10 or 15 times and one installation hasfailed, no error appeared during the installation but I am havinginconsistent issues with my ethernet card not working here and there. Werebooted and can log into Novell client but the login prompt did not appearfor ESM client or the icon was not in the systray. Everything seems towork, besides at times (a couple times today) it terminates his ethernetcard/connection. I would re-image his computer but he has severalapplications and
    I have installed the agent 10 or 15 times and one installation has failed, no error appeared during the installation but I am having inconsistent issues with my ethernet card not working here and there. We rebooted and can log into Novell client but the login prompt did not appear for ESM client or the icon was not in the systray. Everything seems to work, besides at times (a couple times today) it terminates his ethernet card/connection. I would re-image his computer but he has several applications and it would take several hours, so I am hoping someone has an idea to fix this issue. So I was trying to figure out why he did not get the prompt to login and why it's not in the systray and it appears to not have completed the install? I checked the add/remove programs, its not listed within their, I also checked the registry and found nothing for endpoint within their, but the files are within c:\program files\novell\zenworks endpoint security.
    I have also tried uninstalling it but that fails due to it "not being installed", and it will not reinstall over itself either.
    I did notice that stuninstdrv.exe is running in task manager. Any help would be great...
    Windows xp sp3
    ESM 3.5.154
    Thanks,
    Andy

  • HT4865 I just bought this ipad and cannot log out from icloud because i dont have the password.how can i log out from icloud?need help

    I just bought this ipad and cannot log out from icloud because i dont have the password.how can i log out from icloud?need help

    You need to return it to the seller and get your money back.  You cannot reset or use the device with another AppleID installed unless you know the password for that ID.
    If the device has been jailbroken, no one on here can give you any further help...the Terms of Use prohibit us from doing so.

  • I show and old defunct email address for my Apple ID on my APP store, iCloud, and iTune accounts and cannot log in.  I am told my ID or password is incorrect.  I did change my primary email address.  that is the app ID that is showing.

    How do I rename my App Store, iCloud, and iTunes accounts so i can update apps and software?  I have closed the original email address i started my App Store, icloud, and iTunes account and cannot log in unders that Apple ID.  I have tried going through device and my MacBook Air.  Where can i get on-line assistance?

    If you mean you are trying to delete your iCloud account in iOS 7 and you don't know the passwod for the old ID, do one of the following:
    If you still have access to your old email address, go to https//appleid.apple.com, click Manage my Apple ID and sign in with your iCloud ID.  Tap edit next to the primary email account, tap Edit, change it back to your old email account and verify it.  Then edit the name of the account to change it back to your old email address.  You should then be able to turn off Find My iPhone with your password. Then go to Settings>iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud).  Next, go back and change your primary email address and iCloud ID back to the way it was.  You will then be able to go to Settings>iCloud and sign in with your current ID and password to reconnect to your iCloud account.
    If you don't have access to your old email address, you will have to contact Apple to get them to reset the password for it so you can disable Find My iPhone and sign into your iCloud account.  You will have to prove your identity to them in order to do so.  You can either contact iTunes support for assistance with this (https://ssl.apple.com/emea/support/itunes/contact.html), or contact Apple Support (http://www.apple.com/support/icloud/contact/).

  • My daughter and I have separate iCloud accounts set up on out desktop PCs and our iPhones and iPads. We want to share the usage of a Win 8 laptop and will log in using using separate user accounts. Is it possible to set up our own iCloud accounts?

    My daughter and I have separate iCloud accounts set up on out desktop PCs and our iPhones and iPads. We want to share the usage of a Win 8 laptop and will log in using using separate user accounts. Is it possible to set up our own iCloud accounts in each of those separate user accounts?

    No it is not possible.  Content purchased from the iTunes Store is permanently tied to the account from which it was originally purchased, and Apple does not provide a way to change it.

  • I have got 2 iPad Air one of it is not logging me in because I have forgotten the pass code and have logged out from iCloud by accident. Can you please help me to use my iPad.

    HI
    I have 2 IPads, I am unable to use one of it because I have forgotten my pass code and also logged out from iCloud accidentially. Can you please help me to solve this problem.
    Cheers
    Raveena

    Follow the instructions on this page : Forgot passcode for your iPhone, iPad, or iPod touch, or your device is disabled - Apple Support

  • How do you clear system and application logs in a server?

    Hello all,
    How do you clear system and application logs in a server?
    thanks,
    mike

    go to start button,all programs,assosories, System tools T event viewer. now select application & rt click & clear & do not save.similarly do for sytem too.

Maybe you are looking for