Should I use TimesTen for unstable table

Hi all,
I have a table that there are a lot of accessing operations to it, include: select, insert, update, delete. My table has 80 columns, about 1M rows, one primary key (2 cols), 5 indexes in other cols.
I want to increase select speed.
Should I use TimesTen Cache for this table? Which cachegroup type (read-only, awt, swt,...) I should use?
Thanks!

Sure you could use TimesTen to cache this table from the Oracle database. As you are performing DML against it I would recommend you look at the Asynchronous Write-Through (AWT) Cache Group.
Start here -> http://docs.oracle.com/cd/E21901_01/doc/timesten.1122/e21634/concepts.htm#BABFBIEC
Info on AWT -> http://docs.oracle.com/cd/E21901_01/doc/timesten.1122/e21634/define.htm#CHDJAJAC

Similar Messages

  • Why using workarea for internal table is better in performance

    Please tell me
    why using workarea for internal table is better in performance

    Hi Vineet ,
      Why would we choose to use an internal table without a header line when it is easier to code one  with a header line?
    it has following reason.
    1)Separate Internal Table Work Area:
         The work area (staging area) defined for the internal table   is not limited to use with just one internal table.
    take ex-
    Suppose you want two internal tables for EMPLOYEE – one to contain all records and one to contain only those records where country = ‘USA’.  You could create both of these internal tables without header lines and use only one work area to load data into both of them. You would append all records from the work area into the first internal table.  You would conditionally append the ‘USA’ records from the same work area into the second internal table.
    2)  Performance Issues:  Using an internal table without a header line is more efficient than one  with a header line
    3) Nested Internal Tables:  If you want to include an internal table within a structure or another   internal table, you must use one without a header line.
    If this one is helpful ,then rewards me
    Regards
    Shambhu

  • Should I use flex for my website

    Hey, I am having trouble figuring out if I should be using
    flex for a site similar to the BBC site:
    http://www.bbc.co.uk. I have
    started the site in flex but I am running into a lot of problems.
    It could be that I am a newbie to Flex, but wanted to make sure if
    I should still be going a head with this in Flex. Any advice would
    be appreciated.
    Thank you,
    Vinny

    "vinny31187" <[email protected]> wrote in
    message
    news:goaup9$9ta$[email protected]..
    > Hey, I am having trouble figuring out if I should be
    using flex for a site
    > similar to the BBC site:
    http://www.bbc.co.uk. I have
    started the site in
    > flex
    > but I am running into a lot of problems. It could be
    that I am a newbie to
    > Flex, but wanted to make sure if I should still be going
    a head with this
    > in
    > Flex. Any advice would be appreciated.
    I would say that if you don't know the answer to that
    question, then the
    answer is probably no. You need to have a pretty firm
    understanding of how
    sites like that work under the hood before trying to build
    one in Flex.

  • Why should we use WSDL for developing webservices

    I need to develop Webservice Application for our Client .
    I dont know anything about WSDL4J
    Hi from the net i found this
    "The Web Services Description Language for Java Toolkit (WSDL4J) allows the creation, representation, and manipulation of WSDL documents.
    Is the reference implementation for JSR110 'JWSDL' (jcp.org)."
    But anybody please tell me why should we use WSDL for developing webservices ??
    Is there any specific advantage we will get ??
    And Can body please point me a link where to start for working with WSDL4j ?
    Thank you very much

    i seriously doubt you want to use wsdl4j unless you are doing really advanced webservice work. assuming you are developing this webservice from scratch, you basically want to use JAXWS: define an appropriate interface and your value classes, and let JAXWS do the rest. metro is the JAXWS implementation included in the oracle jdk and it has great tutorials and reference documentation online. i'd suggest you start here: http://metro.java.net/getting-started/

  • Is xmlgen.insertxml used only for single table

    Is xmlgen.insertxml used only for single table or can be used to insert the xmldata into xle tables
    Thanks,
    Sudheer

    Hi Sudeesh,
    I am fetching data for PO details, GR details along with condition types of PO.
    All data is collected in ALV OUTPUT itab, after this I am trying to assign the values of VAT from another itab in ALV OUTPUT LOOP using READ TABLE with reference to PO-PO_ITEM-CONDITION_TYPE.
    Now, when the alv loop is getting executed and in that I am fetching data for VAT using READ statement, the program is assigning VAT to all records of output alv with comparison of PO-PO_ITEM-CONDITION_TYPE.
    see:
    LOOP AT it_alv ASSIGNING <fs-alv>.
         READ TABLE it_vat ASSIGNING <fs-vat>
              WITH KEY ebeln = <fs-alv>-ebeln
                               posnr = <fs-alv>-posnr
                                kschl = 'JVCS'.
         IF sy-subrc = 0.
              <fs-alv>-vat = <fs-vat>-kbetr / 10.
      <fs-alv>-vat_val = <<fs-alv>-vat * it_alv-menge.
         END IF.
    END LOOP.
    Please refer above.
    Thanks.
    Ritesh

  • Which RFC module/s should I use to access BW tables?

    Hello,
    I am in a proccess of creating an adaptive RFC model in Web Dynpro.
    I am in a stage where I need to select my RFC modules.
    My requirement is to access our BW tables.
    I see many BAPI's and functions under the SAP Business Information Warehous tree. Which one should I use for needs?
    Roy

    Hi Roy,
    You should use BI SDK for Java to connect to BW from Web Dynpro (https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/how%20to%20use%20the%20bi%20java%20sdk%20in%20a%20web%20dynpro%20application.pdf)
    http://help.sap.com/saphelp_nw04/helpdata/en/6e/011e681cf74ab4b3acf73f77653405/frameset.htm
    https://media.sdn.sap.com/public/html/submitted_docs/BW/BI_SDK_JavaDocs/bi_sdk_doc/docs/documentation.html
    /people/moya.watson/blog/2004/04/05/the-bi-java-sdk-whats-in-it-for-you
    /people/moya.watson/blog/2004/12/27/three-new-how-to-guides-for-the-bi-java-sdk
    Best regards, Maksim Rashchynski.

  • Any way to use merge for mutliple tables w/ shared PK?

    If you have multiple tables who share the same PK (or I should say the main table has a certain valye used as Primary Key and then multiple child tables use that PK as a foreign key), would merge be able to work for you?
    in my case I have one source table, which is loaded by flat file and represents a flattened record of what would in my database be separated into multiple tables.
    I need to update records from that source table where they exist (based on join of non-PK columns) and then insert where they do not exist. So I thought I could utilize the nifty merge command.
    However I am quickly realizing this is not a standard use of merge which seems to be designed for going from one source table to one target tables which are roughly equivalent. But in my case I have one source table which has pieces going into table A, other pieces table B, etc... and all those tables share an ID.
    So when I first merge into the main table I use a sequence to generate it's PK. But then the problem becomes, how do I then have this same PK used as the value for the FK in the inserts done by the following merge commands for this child tables?

    trant wrote:
    If you have multiple tables who share the same PK (or I should say the main table has a certain valye used as Primary Key and then multiple child tables use that PK as a foreign key), would merge be able to work for you?
    in my case I have one source table, which is loaded by flat file and represents a flattened record of what would in my database be separated into multiple tables.
    I need to update records from that source table where they exist (based on join of non-PK columns) and then insert where they do not exist. So I thought I could utilize the nifty merge command.
    However I am quickly realizing this is not a standard use of merge which seems to be designed for going from one source table to one target tables which are roughly equivalent. But in my case I have one source table which has pieces going into table A, other pieces table B, etc... and all those tables share an ID.
    So when I first merge into the main table I use a sequence to generate it's PK. But then the problem becomes, how do I then have this same PK used as the value for the FK in the inserts done by the following merge commands for this child tables?realize that everyone here speaks SQL
    I could better understand what you have & what you desire if you post DDL for all tables
    & then you explain what is desired using actual table & column names.
    Simply put, I would not recognize any post SQL as being correct, since I do not understand the desired goal/results

  • Which RFC module/s should I use to access DSO tables?

    Hello,
    I am in a proccess of creating an adaptive RFC model in Web Dynpro.
    I am in a stage where I need to select my RFC modules.
    My requirement is to access our DSO tbles.
    I see many BAPI's and functions under the SAP Business Information Warehous tree. Which one should I use for needs?
    Roy

    Hi Roy,
    You should use BI SDK for Java to connect to BW from Web Dynpro (https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/how%20to%20use%20the%20bi%20java%20sdk%20in%20a%20web%20dynpro%20application.pdf)
    http://help.sap.com/saphelp_nw04/helpdata/en/6e/011e681cf74ab4b3acf73f77653405/frameset.htm
    https://media.sdn.sap.com/public/html/submitted_docs/BW/BI_SDK_JavaDocs/bi_sdk_doc/docs/documentation.html
    /people/moya.watson/blog/2004/04/05/the-bi-java-sdk-whats-in-it-for-you
    /people/moya.watson/blog/2004/12/27/three-new-how-to-guides-for-the-bi-java-sdk
    Best regards, Maksim Rashchynski.

  • Using XDB for manipulating table BLOBS?

    Hi!
    I have got a database table with a BLOB column which contains MS Office documents.
    For editing the documents I have written a small application for downloading the document, edit it with Office and upload it again to the database. Can I use XDB for this task? If yes it would be easier to use because the users don't have to download and upload the documents...
    I would expect the following - when the user clicks for editing a document, I copy the blob-column to a temporary XDB directory (for example /public/editing). The document gets opened from the XDB directory (with file assosiation in the right office program) and the users edit and save the document directly to the XDB folder. When they have finished I update the table BLOB with the XDB file and remove the file from XDB.
    Can I use XDB therefore or do you know better solutions? I would be glad about any tips!
    Thanks
    Markus

    I assume that using the XML format for word documents is not an option... If is you register a dummy schema for WORD-ML (Don't try and register the complete schema) and then have a table level trigger to store the content back in your table.
    The problem is bi-directional..
    First, when the user wants to open a document how are you going to ensure that the 'virtual document' in the XML DB repository has the correct content. Even a trigger on XDB$RESOURCE cannot help here..
    Second, for writing the content back in theory a trigger on XDB$RESOURCE could work. However this is an unsupported confguration, since the trigger could slow down repository operation to the point where protocol timeouts could occur.
    The 11g XML DB repository events feature was designed to solve these problems...
    Message was edited by:
    mdrake

  • Using Alias for the table column

    Dear all,
       Can we use alias name for the table column while developing zreport.
    ie.,
      without using standard  table column name ( like mara-matnr ), i wish to use mat_num for matnr. So that, one can easily understand the column.
    Could you help me out in this regard.
    Thanks in Advance,
    S.Sridhar.

    yes you can declare in ur internal table like
    material_number like mara-matnr.

  • SHould I use keynote for this?

    We will exhibit at the Frankfurt ProLight+Sound this year and the task of producing the picture slideshow with promotional material has fallen on to my desk.
    Plan is to have three plasma screens connected in to one giant screen so that images move from one screen to another, to the third, and so on.
    Should I use keynote to produce this? Or is it better to do something in iMovie/FCE/FCP? Or is Director the software to use?
    The other thing is that this will run either on a PC or off a DVD player and it has to be looped.
    Thanks in advance.

    I would suggest using FCP because I don't think iMovie can show 3 pictures at the same time. FCP does cost a lot and is used by many to edit movies (Like any movie you would see in a theater). I wouldn't suggest buying it if your not going to use it a lot. Then use Keynote. Make the pictures move with each slide. Loop it and make it a QuickTime (.mov). Click 'Manual Advance' and change it to 'Fixed Timing'. Click 'None' and change it to 'Loop'. Check 'Enter full screen mode when opened'. Click on 'Full Quality, Large' and change it to 'CD-ROM Movie, Medium'. Check 'Include transparency'. That should make it easy to burn to CD/DVD and play back on a Windows Machine. On a VCR I have no idea.

  • Why should we use BRTOOLS for  oracle data backup?

    Hi there,
    Any one of you have any idea on specific advantages with using BRTOOLS for backup over using only Oracle RMAN?
    Are there any advantages using brbackup in databackups which we do not get with RMAN alone?
    thanks
    Arlin

    i seriously doubt you want to use wsdl4j unless you are doing really advanced webservice work. assuming you are developing this webservice from scratch, you basically want to use JAXWS: define an appropriate interface and your value classes, and let JAXWS do the rest. metro is the JAXWS implementation included in the oracle jdk and it has great tutorials and reference documentation online. i'd suggest you start here: http://metro.java.net/getting-started/

  • What should i use fireworks for?

    Ok, so im thinking of upgrading my current Adobe package with
    CS2 to the new CS3 and i was looking at the Webdesign premuim. And
    it comes with Fireworks. I do a lot of webdesign and I was
    wondering what exactly would i use fireworks for?
    What does it do better than using plain ol' Photoshop for
    making templates and stuff? ect...
    Thanks

    Clandestinex337,
    There is signficant difference between the Fireworks 8 and
    Photoshop in terms of application feature and functionality.
    Fireworks 8 is specifically designed for
    web graphic
    and
    web photos
    while Photoshop is specifically designed for high-end
    professional print and if you will also for professional
    photographers to edit high quality photo images.
    Additionally, like others have said about Fireworks have
    built-in vector-based and bitmapped-based, while Photoshop is
    mainly bitmapped-based application. That is a major difference
    between Fireworks and Photoshop in that respect.
    If you understand, have some hands-on experience with
    Fireworks and/or Photoshop, you will know the difference and
    undeerstand the main or primary purpose of those two applications
    -- whichever that fits right into your needs, your requirement and
    things like that.
    If you aim for webdesign projects and if you work a lot of
    image files aiming for web graphic and web photos, then Fireworks
    is for you.
    I don't know if you have Fireworks or Photoshop installed on
    your machine. If you do not have those two, perhaps that you might
    want to test-drive those two for 30 days and let the experience and
    hands-on tell the story and it speaks for itself.
    quote:
    Originally posted by:
    Clandestinex337
    Ok, so im thinking of upgrading my current Adobe package with
    CS2 to the new CS3 and i was looking at the Webdesign premuim. And
    it comes with Fireworks. I do a lot of webdesign and I was
    wondering what exactly would i use fireworks for?
    What does it do better than using plain ol' Photoshop for
    making templates and stuff? ect...
    Thanks

  • Should I use Windows for Filetopia?

    I'd like to download Filetopia but their info says it's only compatible with Windows.
    At this point, I haven't used Windows for anything and am concerned about viruses.
    BTW, I was invited into a secure chat group on Filetopia.

    HI,
    Installing Windows on your Mac requries doing your homework first. It can be a daunting task at best depending on your computer background and experience.
    To install Windows on a Mac just for one application which would deem your Mac vulnerable to viruses (on the Windows partition only) doesn't quite seem worth the work.
    If you were to install Windows using BootCamp, you might want to check out the BootCamp Manual here first. http://manuals.info.apple.com/en/bootcampinstall-setup.pdf
    Carolyn

  • For custom tables should we use UTC for date/time fields

    A general question.
    Can anyone confirm that SAP does seem to be moving towards storing date/time in UTC format?
    We're building custom tables and we're making it a standard to store date/time fields in UTC format.
    Regards,
    Lavaughn

    Hello Lavaughn,
    I can not speak for SAP, but from my personal experience TimeStamps are the state of the art to store time date info in db tables. Even with date/Time fields a conversion to the local timezone is necessary. Of course you can reuse your db definition on dynpros. But since UI and business logic will be divided anyway this is also not really a valid point.
    Best Regards
    Klaus

Maybe you are looking for