Block size in tt for writing data to transaction log and checkpoint files

Hello,
what block size is TimesTen using when its writing data to transaction log and checkpoint files? Does it use some fixed block size during filesystem writes?

Although in theory logging can write 2 KB blocks in almost all circumstances it will write 4 KB or larger so yes a filesystem with a 4 KB block size is fine for both checkpointing and logging.
Chris

Similar Messages

  • Input needed for writing data back into BW/ECC data

    Hello Everyone,
    Can anyone please let me know an example or process you have used for writing data back into BW (DSO/Cubes) or ECC systems.
    We do not have integrated planning in our current system configuration currently.
    So, any sample code for using any of the BAPI/RFC for writing data would be appreciated.
    Also, I am trying to find out if there is any way to schedule the models developed in VC 7.1 in background to automate certain type of data processing which goes across multiple systems.
    Any help would be appreciated.
    Thanks.

    Hello,
    Can anyone please help me out on this one....
    I am aware of few BAPI's such as RSDRI_ODSO_INSERT_RFC but I am not aware of what action has to be used to transfer the data from the table within VC to this BAPI and how to define the parameters as the one's available for the BAPI I mentioned do not fit into the data I have in the table within VC.
    The following are the columns I have in the table within VC,
    1. GL Account
    2. Credit Amount
    3. Debit Amount
    4. Sales Amount
    I have defined the DSO with the same where G/L Account is the keyfield and the rest being data fields.
    Any help would be really appreciated.
    Thanks.

  • Please ..give me some example APDU for writing data to java card

    morning everybody .. :)
    I need some example APDUs for writing data to java card. (CLA || INS || P1 || P2 etc)..
    please..thank for your attention .. god blessing u.

    Hi,
    did you check some articles about JavaCards:
    [Understanding Java Card 2.0|http://www.javaworld.com/cgi-bin/mailto/x_java.cgi?pagetosend=/export/home/httpd/javaworld/javaworld/jw-03-1998/jw-03-javadev.html&pagename=/javaworld/jw-03-1998/jw-03-javadev.html&pageurl=http://www.javaworld.com/javaworld/jw-03-1998/jw-03-javadev.html&site=jw_core]
    [How to write a Java Card applet: A developer's guide|http://www.javaworld.com/cgi-bin/mailto/x_java.cgi?pagetosend=/export/home/httpd/javaworld/javaworld/jw-07-1999/jw-07-javacard.html&pagename=/javaworld/jw-07-1999/jw-07-javacard.html&pageurl=http://www.javaworld.com/javaworld/jw-07-1999/jw-07-javacard.html&site=jw_core]
    Hope it helps,
    Tex

  • Shared Disk solution for Transaction Logs and JMS?

              In a machine failure, two key resources for a clean recovery are the Transaction Logs
              and the JMS Store.
              The WebLogic Server Administration Guide discusses moving the Transaction Logs to
              a new machine before starting a failed WLS server on that machine in order to achieve
              a clean recovery.
              It suggests use of "a dual-ported disk available to both machines."
              I'm looking for such a solution.
              We currently use Veritas Cluster Server to manage our Database environment, but I
              am concerned it is too expensive or too comprehensive a solution for the size of
              the Transaction Logs and the complexity of the problem.
              Has anyone implemented a solution to achieve high availability of the Transaction
              Logs and JMS Store?
              Can you recommend solutions I should be looking into, in addition to Veritas?
              Thanks,
              Steve Tahmosh
              Sovereign Bank
              617 533-1258
              

    Sully,
    OK, I am just about as frustrated as I can get. I'm doing everything that you said, at least as far as I can tell, but all of my Windows machines (two XP, one Vista) are asking me for a username and password and then saying they can't connect.
    Any help would be appreciated.
    Mitch

  • How to get Log and Output File Names for a concurrent request

    Hi,
    I am submitting a concurrent frm OAF with the following code in AM
    try{
    OADBTransaction tx = getOADBTransaction();
    Connection conn = tx.getJdbcConnection();
    ConcurrentRequest cr = new ConcurrentRequest(conn);
    Vector parameters = new Vector();
    parameters.addElement("10");
    nRequestID= cr.submitRequest("CIE","DTFEMP","","",false,parameters);
    tx.commit();
    }catch(RequestSubmissionException e)
    How do i get the handle to log and output files for the abvoe concurrent request ?
    One more thing is there a way where we can evaluate the environment variables
    like in the above example once i get a the request id
    logfile = $APPLCSF/$APPLOUT/"l"+requestID+".log"
    and
    outputfile=$APPLCSF/$APPLOUT/"o"+requestID+".out"
    is there a way i can get the values of $APPLCSF and $APPLOUT from the os ?
    Thanks
    Tom...
    Thanks
    Tom ...

    You can query the Fnd_Concurrent_Requests table using Request_ID, which has the log & out file directory details.
    Hth
    Srini

  • Appropriate directory for themes, logs and config files

    Hello, I would like to know what would be the appropriate directory to place a application's config directory that contains themes, logs and config files for that application.
    I want that directory to be accessible but since ~/Library is now invisible on Lion, that kinda rules it out for accessibility. The only place left now would be ~/Applications, but I don't think it was intended for that.
    There is also an invisible config file that contains the path to the config directory and that's what the app uses to know where the config directory is located. The current emplacement of that config file is in the home directory, which I think is not in accordance to Apple's guidelines. So where should I place that file?
    What should I do?
    Thanks

    Whee wrote:
    I wish I could choose both of your answers as being the good one.
    Thanks for the additional info about the Home and Documents directory, that clears a lot of things up. I needed to know that too. Do you know where that documents is located now? http://developer.apple.com/library/mac/#documentation/MacOSX/Conceptual/BPFileSy stem/Articles/WhereToPutFiles.html
    Apple prefers you use the system API for these things. Here is one document that explains it.
    So even though I won't use NSDefaults because what I am working on is a cross Platform app that is in C, I will put the config file in ~/Library/Preferences and the config folder in ~/Library/Application Support.
    Almost everything has a C equivalent. You can use CFPreferences instead. I strongly urge you to use one of the system APIs instead of trying to write your own files. For one thing, the user can put their home directory virtually anywhere they want. For another, Lion is rewriting the underlying architecture with the new screen sharing and iCloud. If you use the system APIs, your program will work properly with any new technologies or custom network settings.

  • APIs for accessing the ESS log and output files from UCM

    Hi,
    As I understand, the output and log files of an ESS job will be uploaded to UCM.
    We have a requirement where in we are building a simple error handling framework, which gets triggered after a series of ESS jobs are run. In the error handling framework based on some processing logic we need to e-mail the error or log files to the users. I am not able to find any information related to retrieving the log and output files for and ESS job from UCM. Any inputs on this will be appreciated.
    Thanks for your help,
    Thiru

    For accessing content in UCM you can use the RIDC APIs or UCM Web Services. Note that the UCM also provides features for workflow etc. that could potentially be used for notifications refer to the developer guide for details. For UCM related questions you may want to use this forum instead
    Jani Rautiainen
    Fusion Applications Developer Relations
    https://blogs.oracle.com/fadevrel/

  • When I try to open large files that i have created (1.2 gb to 1.5 gb) the ram usage for Photoshop climbs to 4 gb and the file will not open.

    I am using PS 12.1 x64 on a Windows 7 64 bit pc.when I try to open large files that i have created (1.2 gb to 1.5 gb) the ram usage for Photoshop climbs to 4 gb and the file will not open

    Machine specs, please.  Totallinstalled RAM, scratch disk space, etc
    BOILERPLATE TEXT:
    If you give complete and detailed information about your setup and the issue at hand, such as your platform (Mac or Win), exact versions of your OS, of Photoshop and of Bridge, machine specs, what troubleshooting steps you have taken so far, what error message(s) you receive, if having issues opening raw files also the exact camera make and model that generated them, etc., someone may be able to help you.
    Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers:
    http://forums.adobe.com/thread/419981?tstart=0
    Thanks!

  • Best Block Size in Raid for Photo files

    I am setting up my two drive striped RAID 0 and came to a screeching halt at the raid block size.
    This RASID is strictly for photo scans and PS CS2 photo files, mostly high res, some medium JPEGs.
    Adobe says PS CS2's default block size in 64K, if I can believe the technical support guy, who said it off the top of his head, after not understanding what I was talking about.
    Apple Tech support first knew nothing about it. Then, after checking all over for quite some time, said 32K is adequate for what I am doing but 64K is alright. In other words, he said nothing.
    What would be the best block size for my purpose and why.
    One scan file size that I just checked is 135.2MB, another 134.6 MB and that is typical. JPEGs are, of course, smaller, ca 284 KB. Photos with the Canon EOS-1Ds Mk II run 9mb up to 200mb after processing. No other tyhpes of files will be on this drive.
    What would be the ideal block size and why?
    Thanks much,
    Mark

    The default 32K is for small random I/O pattern of a server. Use 128/256K for audio and video files. And 64K for workstation use.
    the larger block size gives the best performance for sequential I/O. Someone mentioned an AMUG review of CS2 tests that showed that 64K.
    Because this is probably a scratch volume, you could always test for yourself, and rebuild the RAID later and try a different scheme. Sometimes that is the best way to match your drives, your workflow, and system. There are a couple CS2 scripts and benchmark utilities to help get an idea of how long each step or operation takes.

  • Trail record size & check frecuency for end of uncommitted transactions

    Hi, everyone,
    Does anyone know if the trail record size can be changed from its default value of 4K?
    What about how long the data pump process delays before searching for more data to proccess in its source trail while it waits for the end of a uncommitted transaction (which is 1 second)?

    Thank you for your answer, MikeN
    The delay I'm referring to cannot be set with EofDelay or EofDelayCSecs: these parameters establish how much time the Data Pump process sleeps when it has nothing new in its source trail. The delay that bothers me seems to happen when the Data Pump has nothing new in its source trail but it is in the middle of an open transaction processing.
    I think is better explained with an example (which I think explains the goal of changing the record size too):
    This is an excerpt for the Extract process trace:
    *09:51:59.653622 write(20, "G\1\0\307H\0\0<E\4\0A\0F\5\377\2\361\361\317\21\232\265\300\0\0\0\0\0)h\20"..., 4096) = 4096* <----- Extract writes down the first 4K record of the transaction
    09:51:59.653690 time(NULL) = 1349769119
    09:51:59.653726 time(NULL) = 1349769119
    09:51:59.653763 time(NULL) = 1349769119
    09:51:59.653803 time(NULL) = 1349769119
    09:51:59.653838 time(NULL) = 1349769119
    09:51:59.653877 time(NULL) = 1349769119
    09:51:59.653913 time(NULL) = 1349769119
    09:51:59.653948 time(NULL) = 1349769119
    09:51:59.653987 time(NULL) = 1349769119
    09:51:59.654024 time(NULL) = 1349769119
    09:51:59.654058 time(NULL) = 1349769119
    09:51:59.654097 time(NULL) = 1349769119
    09:51:59.654140 time(NULL) = 1349769119
    09:51:59.654174 gettimeofday({1349769119, 654182}, NULL) = 0
    09:51:59.654207 clock_gettime(CLOCK_REALTIME, {1349769119, 654216293}) = 0
    09:51:59.654234 futex(0x9b62584, FUTEX_WAIT_PRIVATE, 957, {0, 999965707}) = 0
    09:51:59.751502 futex(0x9b62568, FUTEX_WAKE_PRIVATE, 1) = 0
    09:51:59.751554 llseek(19, 2722304, [2722304], SEEKSET) = 0
    09:51:59.751608 futex(0x9b62534, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x9b62530, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
    09:51:59.751682 nanosleep({0, 0}, NULL) = 0
    *09:52:00.162689 write(20, "\0D\0\0O\0\0\0\30\0\0\0\0240000100050134977631"..., 2374) = 2374* <----- Extract writes down the remaining data for the transaction
    And this is an excerpt of the corresponding Data Pump process trace:
    09:51:59.653398 read(11, "F\0\4/0\0\1\3210\0\0\10GG\r\nTL\n\r1\0\0\2\0\0032\0\0\4 \0"..., 1048576) = 7604
    09:51:59.653472 stat64("/stella_dat/ggate/tlstella/tl000195", 0xbfca2a0c) = -1 ENOENT (No such file or directory)
    09:51:59.653543 nanosleep({0, 0}, NULL) = 0
    09:51:59.653651 llseek(11, 0, [0], SEEKSET) = 0
    *09:51:59.653543 nanosleep({0, 0}, NULL) = 0* <---- This is EOFDELAY: it's set to 0
    09:51:59.653651 llseek(11, 0, [0], SEEKSET) = 0
    *09:51:59.653709 read(11, "F\0\4/0\0\1\3210\0\0\10GG\r\nTL\n\r1\0\0\2\0\0032\0\0\4 \0"..., 1048576) = 11700* <----- Data Pump detects a new record in the source trail
    09:51:59.653767 read(11, "", 1048576) = 0
    09:51:59.653840 time(NULL) = 1349769119
    09:51:59.653910 time(NULL) = 1349769119
    09:51:59.653959 time(NULL) = 1349769119
    09:51:59.654014 time(NULL) = 1349769119
    09:51:59.654067 time(NULL) = 1349769119
    09:51:59.654123 time(NULL) = 1349769119
    09:51:59.654181 time(NULL) = 1349769119
    09:51:59.654232 time(NULL) = 1349769119
    09:51:59.654274 time(NULL) = 1349769119
    09:51:59.654312 time(NULL) = 1349769119
    09:51:59.654351 time(NULL) = 1349769119
    09:51:59.654389 time(NULL) = 1349769119
    09:51:59.654428 time(NULL) = 1349769119
    09:51:59.654467 time(NULL) = 1349769119
    09:51:59.654505 time(NULL) = 1349769119
    09:51:59.654543 time(NULL) = 1349769119
    09:51:59.654582 time(NULL) = 1349769119
    09:51:59.654620 time(NULL) = 1349769119
    09:51:59.654657 time(NULL) = 1349769119
    09:51:59.654695 time(NULL) = 1349769119
    09:51:59.654733 time(NULL) = 1349769119
    09:51:59.654771 time(NULL) = 1349769119
    09:51:59.654809 time(NULL) = 1349769119
    09:51:59.654844 read(11, "", 1048576) = 0
    *09:51:59.654881 nanosleep({1, 0}, NULL) = 0* <----- This is the 1 second delay that I want to get rid of
    *09:52:00.655079 read(11, "\0D\0\0O\0\0\0\30\0\0\0\0240000100050134977631"..., 1048576) = 2374* <----- Data Pump reads the second record of the transaction

  • Writing data to New Line in a File

    Hi guys,
    Im writing data to a file, i want to write data on different lines, not contineously.
    My code is writing the data but not the next line.
    Please Help. My code is below :
    fw = new FileWriter(filename,append);
    fw.write(cur_timestamp().toString());
    fw.write("\n");
    error_data = errorCode + "     " + msg;
    fw.write(error_data.toString());//appends the string to the file
    fw.write("\n");Thanks
    Rebekah

    You'd still want to use the System property, because other editors might display it correctly, but for the Windows platform, it's acctually incorrect behavior. The separator would be "\r\n". I think on a Mac, it'd be "\r" - so your program would fail again there.

  • "Searching for movie data... Without this file the movie cannot play..."

    I have been deleting old projects from my hard drive (macbook pro) and my external hard drive.
    Now, when I go into iMovie '09 to work on another project, the following warnings keep popping up on the screen:
    "Searching for movie data"
    and
    "Without this file, the movie cannot play properly."
    I click "cancel" but they keep popping up, prohibiting me from doing anything else in imovie.
    If anybody has a clue how I can get rid of these warnings, it would be greatly appreciated.
    Thanks in advance.
    Hank

    Ive been getting the same crap. Ive since deleted all of my imovie projects. It seems to have the problem when I am trying to pull up the videos in the iPhoto library. My particular file it is getting hung up on was used once in Sound Track Pro, but is not there anymore. Not sure if that rings a bell with you at all.

  • Does the Music Store have a place for release dates on TV shows and videos?

    Just wondering if they will have any idea when they will get new episodes of various shows they carry.I have heard it takes 24 hours for them to get them but I have come across about five shows that have episodes that are well over 72 hours and still not released.
    Do they have a guide for release dates?Or a website that shows when they will carry certain episodes of shows?

    yeah, you're right. I got an email yesturday from iTunes stating pretty much just that. I complained that they weren't getting my SG1 and SGA shows up on time. Anyway, I was an idiot for blasting them. We pay iTunes bills...not some advertisers...so they will deff get the shows out to us when they get them from the studios. Moreover, the email stated that they'll let sci fi (i'm assuming that's the network we're talking about here?) know to send those recent epps. BTW, I also posted this info on the sci fi board.
      Windows XP  

  • What's wrong with my code for comparing date retreived from db and sysdate?

    Hi all,
    I need to retrive date from the DB and compare it to system date.i have posted the code below.i get java.sql.SQL Exception:Io exception:Socket closed.
    What's wrong with the code?please help me.Thanks in advance.
    public boolean date() throws IOException, SQLException {
    Connection con1;
    long millis = System.currentTimeMillis();
    Timestamp timestamp = new java.sql.Timestamp(millis);
    ResultSet rs4 = null;
    try
    Class.forName("oracle.jdbc.driver.OracleDriver");
    con = DriverManager.getConnection(
    "jdbc:oracle:thin:@abc:1605:xyz",
    "cdf", "cdf");
    Statement stmt_exp = con.createStatement();
    rs4 = stmt_exp.executeQuery("SELECT DATE FROM TABLE_NAME")
    while (rs4.next()) {
    Timestamp timestamp2 = rs4.getTimestamp("expire_date");
    con1.close();
    catch (Exception e)
    e.printStackTrace();
    finally
    //ResultSet rs4 = null;
    //Timestamp timestamp2;
    Timestamp timestamp2 = rs4.getTimestamp("expire_date");
    if (timestamp2.compareTo(timestamp) < 0)  //sysdate < exp date
    return true;
    } else {
    return false;
    }

    Didn't you understand what BalusC said? You're closing the connection and then trying to use the ResultSet. The ResultSet will be closed when you close the connection so you can't use it anymore.
    You should close the connection last thing in your code, probably in a finally. And after you close your ResultSet and Statement.
    People on the forum help others voluntarily, it's not their job.
    Help them help you.
    Learn how to ask questions first: http://faq.javaranch.com/java/HowToAskQuestionsOnJavaRanch
    ----------------------------------------------------------------

  • Data from transaction cubes to text file in bw directories

    hi all
    i have 2 transactional planning cubes in BW. the data in these cubes in bw needs to be uploaded monthly in to a single text file so that APO system can access the data for some purpose.
    my question is how to upload the data from transactional cubes to the text file, which is more detailed. is that use ful to construct a ODS or CUBE(basic) on top of the transactional cubes.
    if i keep the file in BW directory whethere APO can access that.?..
    please help me out
    praveen.

    You can load data directly from the BW cubes to APO if the BW system is set up as a source system.
    If you need the file then you may want to investigate using open hub.

Maybe you are looking for

  • Visibility of a field in webdynpro

    Hi All, I am working on webdynpro.I am facing a problem.I have a field in one component say COUNTRY.If Country = 'some value',a field should visible.This particular field is in another component.How can I handle this? Can anyone gimme some inputs on

  • Keys malfunctioning on BB 8520

    The keys on my phone is not working properly. When I press z,c,n, m and space it types nm.

  • V.V.Urgent (Recording)

    Query is I am recording cn21 . I need to record for activities which i am entering in Tabctrl. When i am using for the next time more than 17 activites it is overwriting in the 17th activity. (It is limiting to 17 only) Wat should i do to solve this

  • Running out of disk space on root partition

    Hello, I'm running gnome 3 and every time I boot and logon with my user I'm getting a warning that my root partition is running out of disk space (~350MB free out of 7.5GB). This seems really strange to me since I've not installed very much software.

  • Two-step verification code from apple

    Hi, I've been trying to setup again the "two step verification security code" from Apple and they request that I add a telephone number for verification, to which they send a SMS with the 4 digit code when I try to access/change my contact details fr