TimesTen and OLAP

Hello there,
I'm on the mission to check what advanateges can give TimesTen in terms of OLAP database performance. TT is kind of new subject for me and I'd be thankful for helping me to figure out following thing:
According to documentation TT is "memory resident relational database". I found out that one must use enhanced version of TT with OLAP database. Do I need Exalitycs for such activity or is it possible to deploy TT for OLAP on any system?

So... I can install DB Sofware with OLAP option then create database using Data Warhouse template and then I can use TimesTen as database cache but only for relational structures? Yes, but TimesTen should be based on application level (server) where your BI application is based for achieving the best performance. TimesTen can cache data from Oracle tables only.
I can live without columnar compression but using TT without rollups, cubes and so on is pointless. Am I correct? It depends. Previous TimesTen versions (11.2.1, 7.0.X) don't have these features at all :), but I know some customers who used TT 7.0.5 for BI purpose for instance. TimesTen 11.2.2 intoduced a lot of new SQL features like analytic functions (AVG, SUM, COUNT, MAX, MIN, DENSE_RANK, RANK, ROW_NUMBER, FIRST_VALUE and LAST_VALUE) clauses (OVER PARTITION BY and OVER ORDER BY) and etc.
Full list you can find here (http://docs.oracle.com/cd/E21901_01/doc/timesten.1122/e21630/toc.htm#BEIBHIHG). These features absolutely free for using except (rollups, cubes and grouping set).
Moreover, you can rewrite your SQL queries without using these operators.
regards,
Gennady

Similar Messages

  • Oracle Standard Edition and OLAP

    Hi all,
    Am I correct in thinking that datawarehouse and OLAP style features are only available as an extra option when you have purchased Oracle Enterprise edition?
    Are there any OLAP related features that come with Standard edition, or do you have to go the whole hog just to make a basic cube?
    Many thanks
    Simon

    [email protected] wrote:
    Are there any OLAP related features that come with Standard edition, or do you have to go the whole hog just to make a basic cube?Define 'cube'.
    If you mean Multidimensional OLAP cube, then yes it is only available in the OLAP option that extends Enterprise Edition. But few people need that kind of power.
    Or do you mean 'cube' or 'rollup' described http://download.oracle.com/docs/cd/E11882_01/server.112/e10810/aggreg.htm#DWHSG8648 which os a completely different animal. A LOT of ROLAP capability, including cube and rollup, even exist in Express Edition.

  • OLTP and OLAP databases on same SQL Server?

    Would you put OLTP and OLAP databases on same SQL Server or separate?
    I realize the ideal would be separate, but that means 2 expensive licenses instead of 1.  Most of our OLTP stuff happens during the day while OLTP processing happens at night (so good use of resources) if just 1 server.  Also, the disks that hold
    the files could have different allocations (small chunks for the OLTP disks, large for the OLAP disks).  Also, by being on the same database server, the OLTP data is immediately accessible for processing into the warehouse.
    Or, is it just a cardinal rule to never mix the two worlds as server completely different purposes?
    Thanks.

    Answer given in simillar below thread would help you for sure:
    MSDN Forum:
    Is keeping your OLAP and OLTP databases on the same server is considered bad practice?
    -Vaibhav Chaudhari

  • Exalytics OBIEE, TimesTen and Views

    Hi all,
    I'm currently working on a prototype with an Exalytics box. I have several schemas in the TimesTen database with caching groups using 11g in one Exadata as source. On TimesTen there's one extra schema that UNIONs ALL the information from all schemas into several Views. These Views are then used as OBIEE source.
    The first problem I ran into is that after adding the Views into OBIEE RPD Physical Layer, I'm not able to right click on the View and go into Physical Diagram, the option is not highlighted. I've imported tables from other schemas in TimesTen and was successfully able to join them in the Physical Diagram, the option is available to click, for Views it isn't, which is strange - You can use Oracle 11g Views as OBIEE source and it works perfectly.
    I've also tried to right click the Views in the RPD and View Data in the Physical Layer and OBIEE simply returns me a lot of errors, as can be seen below:
    [NQODBC][SQL_STATE:HY000][nQSError: 10058] A general error as occurred.
    [nQSError: 43113] Message returned from OBIS.
    [nQSError: 43093] An error occurred while processing the EXECUTE PHYSICAL statement.
    [nQSError: 16001] ODBC error state: 3700 code: 7025 message:
    [TimesTen][TimesTen 11.2.2.5.0 ODBC Driver][TimesTen]TT7025: Illegal use of reserved keyword "FROM", character position: 9 -- file "ptSqlY.y", lineno 9243, procedure "reserverd_word_or_syntax_error".
    [nQSError: 16014] SQL Statement preparation failed.
    Using TimesTen trace monitor I was able to see what query originated this error, and it was the following one:
    15:39:50.592 73 SQL      2L   11C   4393P Preparing: select  from DIM_DATE_VW
    15:39:50.592 74 SQL      4L   11C   4393P sbSqlCmdCompile1()(E): cmdType:100, cmdNum:1001123.
    15:39:50.592 75 ERR      4L   11C   4393P TT7025: Illegal use of reserved keyword "FROM", character position:9 -- file "ptSqlY.y", lineno 9243, procedure "reserved_word_or_syntax_error"
    Is this some sort of known bug or limitation between OBIEE, TimesTen and Views? Can anyone help?
    I'm running TimesTen 11.2.2.5.0, Oracle 11.2.0.3.0 and OBIEE 11.1.1.7.1.
    Best regards,
    André

    Who said you must buy Exalytics in order to use TT with OBIEE? If you already have it, just create an RPD connection pools and off you go. You won't be able to use all the nice bits 'n pieces a full Exalytics sports, but where OBIEE is concerned, it's just a source like any other.

  • What is OLTP and OLAP in BW .

    Hi friends
    Q: what is OLTP and OLAP.
    Q: SAP-BW follows which process OLTP or OLAP and explain the difference.

    Hi Vrushabh,
    Ans-1. OLTP vs OLAP
    OLTP : Online Transaction Processing (Operational System)
    OLAP : Online Analytical Processing (Data Warehouse)
    a. Source of data
    OLTP : Operational data; OLTPs are the original source of the data.
    OLAP : Consolidation data; OLAP data comes from the various OLTP Databases
    b. Purpose of data
    OLTP : To control and run fundamental business tasks
    OLAP : To help with planning, problem solving, and decision support.
    c. What the data Reveals
    OLTP : A snapshot of ongoing business processes
    OLAP : Multi-dimensional views of various kinds of business activities.
    d. Inserts and Updates
    OLTP :  Short and fast inserts and updates initiated byend users
    OLAP : Periodic long-running batch jobs refresh the data
    e. Queries
    OLTP :  Relatively standardized and simple queries Returning relatively few records.
    OLAP : Often complex queries involving aggregations
    f. Processing Speed
    OLTP : Typically very fast
    OLAP : Depends on the amount of data involved; batch data refreshes and complex queries may take many hours; query speed can be improved by creating indexes
    g. Space Requirements
    OLTP : Can be relatively small if historical data is archived. OLAP : Larger due to the existence of aggregation structures and history data; requires more indexes than OLTP
    h. Database Design
    OLTP :  Highly normalized with many tables
    OLAP : Typically de-normalized with fewer tables; use of star and/or snowflake schemas
    i. Backup and Recovery
    OLTP :  Backup religiously; operational data is critical to run the business, data loss is likely to entail significant monetary loss and legal liability
    OLAP : Instead of regular backups, some environments may consider simply reloading the OLTP data as a recovery method.
    Ans -2   SAP BW follows OLAP.
    Reward points if helpful.
    Regards
    Hemant

  • OWB 9.0.4 and OLAP

    Hi,
    I have questions regarding the OWB 9.0.4 and his OLAP features. I tried to set up an Analytical Workspace
    and OLAP objects (dimensions and a cube) as it was written in the OWB904UsersGuide. Therefore I created
    an PL/SQL script with the OWB Export Wizard. The script created the OLAP objects but I also got some errors,
    that several Identifiers need to be declared. Well, I thought it worked fine, cause when I checked the OLAP
    directory node in the OEM, I found my cube and dimensions there. But when I tried to load the OLAP objects
    with the WB_OLAP_LOAD_DIMENSION and WB_OLAP_LOAD_CUBE transformations from OWB I got the error that my dimensions are invalid, even if the OEM shows them as valid.
    I read several articles in the OWB and the OLAP forum about this issue and I'm a bit confused now. Does the OWB now support OLAP at all, and when will the post 9.2.0.3 patch be released?
    Is there an other way to convert the relational OWB starschema into an OLAP schema and to load it with data?
    Can I use BI Beans on the relational starschema without an working OLAP schema?
    Thanks in advance,
    Dirk

    Which version of the database is being used? The AW work involves a patch that has not yet been released. The OLAP 9.2.0.3 patch is due to be released in July, the exact
    release date is unknown.
    OWB provides the bridge which will populate the metadata for a relational OLAP cube in the OLAP catalog. BI Beans can be used on this relational cube. The bridge also supports cloning of this relational cube in an OLAP analytic workspace, both the metadata for the AW and the data loading programs are generated from the bridge. The OWB 9.0.4.10 patch has a number of improvements and bug fixes that will help deploying to OLAP. The OLAP 9.2.0.3 patch is due to be released in July, the exact
    release date is unknown.
    The OLAP metadata for ROLAP cubes can either be created using OWB, or through OEM or manually. If by OLAP schema
    you mean an AW, then either use OWB to clone the ROLAP cube in an AW, or use the Analytic Workspace Manager
    (AWM) that will clone the ROLAP cube and provide some more options or manually code up the OLAP DML metadata etc. Manual coding of the AW is a specialized task that involves substantial knowledge of OLAP DML (the Express SPL language) to write both the data object definitions and performant data loader programs, also the enabling of the AW through SQL for BI Beans is a complex task. All of these manual tasks are provided by both the OWB OLAP bridge and the AWM.
    For BI Beans, the ROLAP metadata must be populated in the OLAP catalog, so can be achieved using OWB to deploy the
    relational star schema then the OWB OLAP bridge to populate only the ROLAP metadata. OWB does this using CWM1 apis. BI Beans can be used on top of the ROLAP cube.

  • 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

  • Timesten and odbc driver

    i installed timesten 7.00.01, and created a mfc application(mfc 7.1).
    CDatabase is mfc class, see the following fraction code
    CDatabase     m_db;
    m_db.Open("mysql");//connect to mysql
    //m_db.Open("tt");//connect to timestamp
    CString sql("create table bar2(date1 char(20))");
    m_db.ExecuteSQL(sql);
    in timestamp, connect is ok, but when calling executesql, system complained
    "driver does not support this function"
    but in fact the table had been already created, i can see it using ttIsql
    in mysql, everything is ok.
    any idea about this? it seems to me it is a problem related to odbc drvier.

    sorry for my mistakenly typing.
    i found the reason is ::SQLMoreResults is not support in timesten.
    and this guy encounter the same problem as me.
    http://www.codeguru.com/forum/showthread.php?t=413620
    can anyone help? thanks in advance.

  • TimesTen and Memcached

    Hi,
    Memcached (http://www.danga.com/memcached/) is a product being used by highly transactional websites to cache data structures in memory.
    I beleive it is similar to what TimesTen does. I was trying to find comparison between TimesTen and Memcached at OTN, but no luck.
    Appreciate if someone can provide the comparison for these alongwith pros and cons of both technologies.
    Regards.

    memcached is a distributed memory object cache, it is commonly used to cache SQL resultsets, targeted at repetitive queries found in read intensive database web applications. The user application is responsible for managing and populating the cache, memcached does not provide data synchronization with the Oracle database.
    For example this is the logic the application developer needs to implement:
    * Wherever you go to do a database query, first check the memcache. If the memcache returns an undefined object, then go to the database, get what you're looking for, and put it in the memcache
    * To ensure the application does not see stale data, the application must update both the memcache and the database at the same time
    memcached does not understand SQL. If a memcached node dies, all data are lost and it is up to the application to reload the data from the source.
    TimesTen is a memory optimized SQL relational database, that can run standalone or as a cache in front of an Oracle database. Developers use standard JDBC, ODBC or SQL to access TimesTen. TimesTen provides real-time, updatable caching for Oracle database, the data synchronization between Oracle and TimesTen is automatically handled.
    The TimesTen database is persistent and supports full ACID transactions with recovery. TimesTen also offers real-time transactional replication between TimesTen databases for high availability and load sharing.
    Simon

  • Timesten and XLA

    I'm investigating TimesTen and am looking to implement trigger like functionality using XLA. The specific trigger-like behavior I'm trying to implement using XLA is to automatically increment table id values using sequences.
    After researching XLA, I don't see anything that would allow for "BEFORE INSERT" trigger functionality in order to provide a sequence's nextval as part of the same insert transaction.
    Am I looking at this the wrong way? Can I create true trigger-like functionality using XLA?
    Thanks

    While XLA provides some 'trigger like' capabilities it has many differences to triggers and not a general purpose replacement for triggers. The most significant differences between triggers and XLA are:
    1. XLA is an API which is called from coe executing outside the database whereas triggers are SQL constructs that reside, and execute, within the database.
    2. Transactional changes only become visible to XLA after a transaction commits and so XLA cannot change the outcome of any transaction directly. Triggers execute within the context of the database transaction and in general are invoked before the transaction commits; they are therefore able to directly influence the outcome of the transaction.
    I'm afraid that what you are looking to do is not possible in XLA. The closest that one could come would be to insert a record with a dummy value for the sequence derived field and then commit the insert. Your XLA based code could then detect the insert and, using SQL+ODBC calls on a separate ODBC connection, update the row with the value derived from the sequence. Note that if you are using this field as the primary key the nthis is still not possible since currently TimesTen does not allow primary key values to be updated...
    Chris

  • Failed to export the report \n Crosstabs and OLAP grids are not supported in this export format

    Post Author: ajaymoudgil
    CA Forum: Other
    We are using Crystal Reports (Product Version: 11.0.0.1282). We encountered with a problem while we are going to export report in CSV (Separated Text). The report Contained Cross-Tab. Its Shows the Error Message u201CFailed to export the report \n Crosstabs and OLAP grids are not supported in this export formatu201D. Please find the attachment with this mail having screen shot for the same.
    We were able to export CSV (Separated Text) Format in Crystal Report Version 7 for the same report. Please let us know any way(s) so that we will successfully export the report in CSV (Separated Text) format in Crystal Reports version 11.
    Thanks,
    Ajay Sharma

    Hi Ludek ,
    Thanks for reply,
    I download CR2008 Redistribale & Installed it.
    But still I am getting following  error on client PC;
    at CrystalDecisions.ReportAppServer.ConvertDotNetToErom.ThrowDotNetException(Exception e)
       at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)
       at CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream(ExportRequestContext reqContext)
       at CrystalDecisions.CrystalReports.Engine.FormatEngine.Export(ExportRequestContext reqContext)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToDisk(ExportFormatType formatType, String fileName)
    Please  give  solution.
    Thanks

  • OLTP and OLAP

    Hi,
    If I have a OLTP DB and also a DB for Datawarehouse and I want to generate
    reports on daily basis, why is it beneficial to bring the data to the datawarehouse and then generate the report and not directly from the Oltp?
    I do not require any significant bulk transformation of the data.
    Thanks,
    MD

    Hi there,
    The answer to the question you ask very much depends upon your individual situation.
    Sometimes, it is possible to do reporting directly on top of the OLTP if the reporting requirements are simple and the performance of the OLTP is not a critical factor.
    However, in many organisations, the OLTP is a critical part of the function of the business and it's performance cannot be compromised by having additional users running reports. Also, most OLTP systems do not structure the data optimally for analytical type queries meaning that such queries either perform badly (and therefore effect the performance of the OLTP even more), or cannot be performed at all.
    Datawarehouses and OLAP cubes do structure the data optimally for analytic query meaning the performance and range of functions available are greatly improved.
    Take a look at this Wiki entry for more background
    Stuart

  • Difference between BI Beans and olap api

    HI
    is there anyone can tell me the difference between
    BI and olap api ,
    is BI a language or components ,why
    when i build crosstab with BI beans it uses classes
    different from olap pi classes (oracle.dss.*)
    and olap api (oracle.express.*)
    so BI is another language independent of olap api
    or it uses olap api to connect to OLAP
    BI works , OLAP api doesn't work
    thanks

    Hi,
    This is a great question. The OLAP API is an Oracle published Java API for access to Oracle OLAP. This exposes the OLAP cube/dimension model via Java. The OLAP API documentation can be found on the OLAP secion of OTN, see the link on the BI Beans section of OTN. Within the documention section there is a link to the acle9i OLAP Release 2 - Developer's Guide to the OLAP API:
    http://otn.oracle.com/products/bi/pdf/OLAPIguide.pdf
    Customers can write their own Java code directly against this public API to display and manage OLAP objects. The OLAP API documentation explains how to do this.
    As users typically will want to present OLAP data in either a crosstab and/or graph Oracle created a pre-packaged set of components to help customers to quickly and easily create powerful OLAP applications. BI Beans are a set of fully J2EE compliant java beans that provide major components such as:
    - presentation beans (graph/crosstab/table)
    - OLAP beans
    - catalog services beans
    These components have extensive APIs to allow developers to comprehensively customize an application, both Java client and thin client (HTML/JSP and UIX).
    By default BI Beans connect to an Oracle database using the OLAP API as a primary data source (although users can create their own non-OLAP data sources). This allows developers and end-users to directly access dimensions and measures created to the OLAP specification.
    This is explained in more detail in the Oracle BI Beans Technical Whitepaper:
    http://otn.oracle.com/products/bib/htdocs/collateral/bi_beans_white_paper.pdf
    Hope this helps
    Business Intelligence Beans Product Management Team
    Oracle Corporation

  • Crystal Report - Cube and OLAP concept

    Hi,
    could anyone please provide the good url for to learn Crystal Report - Cube and OLAP concept.

    Moved to OLAP forum

  • Running TimesTen and 9i together

    The application I'm running has lots of reads from some tables and fewer writes on other tables.
    I'm running a C++ code that works with Oracle 9i. I want to use the cache connect option to cache some of my tables but to do all the writing to the database (different tables).
    I'm connecting using OTL to the oracle and what I couldn't figure out is if I need to do any code changes. If so, how can I support both the connection to the 9i and the TimesTen and what are the minimum changes that are required.
    Help will be highly appreciated.
    Thanks,
    Amnon
    Message was edited by:
    user616300

    If my understanding is correct, your requirement is that you want to cache the frequently used Oracle tables which are read only in TimesTen; but you also need to update tables which only exist in the Oracle database.
    If so, there are a couple of ways to do this:
    1. Your application can establish and maintain two separate database connections, one (ODBC/JDBC) to TimesTen for accessing the readonly tables and another (SQL*Net) to update the Oracle tables.
    2. Use the Cache Connect PASSTHROUGH feature in TimesTen, which allows you to send SQL requests for non-cached data directly to the backend Oracle database.
    Using the 2nd approach means that your application only need to provide connections to TimesTen, and TimesTen will spawn and manage the connection to the Oracle backend database. In terms of performance the 1st approach will always be the best, since the Oracle UPDATE statements do not need to go via TimesTen.
    Regards
    Simon

Maybe you are looking for

  • One Variable 2 Restricted key figures on 2 different Dimensions

    Hi all, Here is my problem: I have a cube based on SD sales items. I want to calculate 2 retricted key figures on the 0net_value retricted by a date. The first key would be restricted by the installation date, and the second one by the cancellation d

  • HTTP adapter - 500 Internal server error

    Hi Experts, I have configured a B2B scenarion in which i am using HTTP receiver adapter to send data to vendor.I have checked my configuration every thing is fine but i ended up with the error as below. SXMB_MONI: PLAINHTTP_ADAPTER">ATTRIBUTE_SERVER

  • Diff duedate paymentdate

    Dear Experts I would like to know how can I create a report informing the difference between the invoice due date to the payment date in all situations (paid and unpaid invoices u2013 paid in advance and overdue). This report will help the financial

  • Output Flatfile, fields alignment

    Dear SAP experts, I have this output flatfile, in which, SALES and TURNO fields were left-justified. PERIO;EAN;ILN;SALES;TURNO;PERFL;SUBSFL;SALUN;%CURRENCY%;STOCK;STOUN;ARTNR;ARKTX 20071215;737052018126 ;4327498000005;1____;10.50____;W;X;ST ;EUR;0000

  • Ear, war and jar question.

    Hi Communtiy, Can I split an ear file to a war file on one computer and to a jar file on an other computer, or doesnt it makes sense. Thanks Oliver.