Event Pooling table using OCI

Hi All,
In our project we tried to configure the cache pooling tables, But as a DSN if we use the OCI/TNS names, the Cache purging not working. If i use ODBC DSN it is working fine. Is there any limitation from OBIEE that we have to ODBC DSN only for Cache Pooling table? Is any body got into the same problem?
As i am using windows box i am able to configure ODBC DSN, But how things will work in Linux boxes?
Comments please.
thanks

Our BI Server is deployed on Linux and I had no problem implementing the workaround. Like I said, I just configured the DSN on my Windows laptop and imported with ODBC 3.5. Also, I've never read or seen anything that would indicate to me that the .rpd file would "attach itself" to any OS. So, I do not anticipate that you will have trouble with the .rpd file itself if you move it from a successful Windows deployment into a successful Linux deployment.

Similar Messages

  • When we are using Event pooling tables explicitly we have insert data into

    hi all
    i have read about event pooling table,
    if we implement event pooling tables then explicitly we have insert table information (like product_dim) in event pooling table explicitly
    suppose i have updated more then 5 tables in my database that time i have to enter(insert) 5 table information in event pooling table(Tables_nq_emt) in the back end
    if so then what is the use of event pooling table???
    this is event pooling table i have crated in back end
    CREATE TABLE S_NQ_EPT (
    UPDATE_TYPE DECIMAL(10,0) DEFAULT 1 NOT NULL,
    UPDATE_TS DATE DEFAULT SYSDATE NOT NULL,
    DATABASE_NAME VARCHAR2(120) NULL,
    CATALOG_NAME VARCHAR2(120) NULL,
    SCHEMA_NAME VARCHAR2(120) NULL,
    TABLE_NAME VARCHAR2(120) NOT NULL,
    OTHER_RESERVED VARCHAR2(120) DEFAULT NULL NULL
    Thanks

    Hi,
    IF you are using event pooling then you should make use of triggres in database.Create a trigger 'after insert' on some major table which you think is gonna update after every etl load.As soon as some data is inserted into this table trigger will automatically insert a record in event pooling table and cache will be purged.I am not sure about the syntax of triggers.Please google it around.
    If you are trying to purge cache through oDBC procdure then you need to create a shell script and based on whether ETL load has completed ,you need to execute this script.
    regards,
    Sandeep

  • How can we impliment event pooling table in 11g

    how can we use event pooling table in obiee11g for the cache seeding .could you please share knowledge.
    Regards
    bethamsetty

    Hi,
    Refer-
    http://docs.oracle.com/cd/E14571_01/bi.1111/e10541/querycaching.htm
    see 7.8 section
    http://obieehome.blogspot.in/2012/07/event-polling-in-obiee-11g.html
    Hope this helped/ answered
    Regards
    MuRam

  • Event Pooling Table doesn't work

    I have created Event Pooling Table and registered it. When I insert correct name into field TABLENAME nothing happens - when I look at BI Administrator - Manage - Cache - the table still has entry in cache (and record is deleted from EPT table). When I insert incorrect name info field TABLENAME, I can see message in errorlog (The physical table misstat1_db::MIP:MV_E_HIMA in a cache polled row does not exist.) and I suppose that it is working. But cache not purged.
    Can you someone tell me why?
    Thx.

    Hi,
    Stale cache entries are purged automatically at the specified polling intervals. As your saying record has deleted, it means that polling has occured.
    Are you sure that the cache entry you are looking at is the same table which has been modified?
    If possible, not a solution just for debugging, try to create sample request in Answers and check whether it's been changing when the table get modified.
    -Vency

  • Event pool table

    Hi,
    I have S_NQ_EPT table in physical layer and enabling event pool table
    Tools--> Utilities-->Oracle Bi Event Tables.
    I have selected S_NQ_EPT table and given f recency that is 4 mins. So every 4 minutes entries are going to be deleted.
    For testing, i have inserted a new record in S_NQ_EPT table and afte 4 mins that entry got deleted.
    I have created a new report from analytics. That has been stored in cache, When i check in S_NQ_EPT table, no records has been stored. How the S_NQ_EPT table got updated when entry got cached .
    Can you please give me some idea on it
    Regards,
    Malli
    Edited by: user10675696 on Dec 27, 2012 2:15 AM

    Check this link
    http://gerardnico.com/wiki/dat/obiee/event_table
    If helps pls mark

  • Event pooling table

    Hi Team,
    could i know how to implement the event pooling table in OBIEE...
    Thanks,

    Tested only on 10g:
    http://gerardnico.com/wiki/dat/obiee/event_table
    Success
    Nico

  • Fetching whole table using OCI calls

    I am new to OCI programming .I am writing an appliaction in C# to fetch data from ORACLE using OCI calls,Using that application i can able to fecth single row,
    but i need to load/ fetch the entire table data from the database using the single fetch?
    I have created a scrollable resultset by using the below give statement
    and i can able to fetch single coloumn.
    short paramSizee = 20;
    IntPtr TestNo = GetPointer((int)paramSizee);
    rc = OCI.OCIDefineByPos(hStatement, out HDefine, hError, 1, TestNo, paramSizee, OCI.DATATYPE.VARCHAR2, OCI.NullHandleRef, OCI.NullHandleRef, OCI.NullHandleRef, OCI.MODE.OCI_DEFAULT);
    if (rc != 0)
    Console.WriteLine(CheckError(hError));
    throw new Exception("OCI Define Failed...");
    rc = OCI.OCIStmtExecute(hServiceContext, hStatement, hError, iters, 0, OCI.NullHandleRef, OCI.NullHandleRef, OCI.MODE.OCI_STMT_SCROLLABLE_READONLY);
    rc = OCI.OCIStmtFetch(hStatement, hError,50, OCI.FETCH.OCI_FETCH_NEXT, OCI.MODE.OCI_DEFAULT);
    if (rc != 0)
    Console.WriteLine(CheckError(hError));
    throw new Exception("OCI Fetch Failed...");
    Using above calls i can able to fetch arround 100 rows per fetch but my customer table has 16000 rows .
    So it will be great if someone suggest proper way to fetch entire table data in single fetch.
    Thanks,
    Raj

    For fetching large number of rows in single Db roundtrip use the following
    To get the bulk Data use the following.MAX_PREFETCH_ROWS is the integer value you want fetch in BULK
    (void) OCIAttrSet((dvoid *)DBctx->stmthp, (ub4) OCI_HTYPE_STMT,
    (dvoid *)&MAX_PREFETCH_ROWS,(ub4)sizeof(MAX_PREFETCH_ROWS),
    (ub4) OCI_ATTR_PREFETCH_ROWS, DBctx->errhp);

  • JDBC20 connect pool issue using OCI driver

     

    I tried to use:
    url=jdbc20:weblogic:oracle.
    driver=weblogic.jdbc20.oci.Driver
    and got the following error:
    <Jul 11, 2001 5:52:34 PM PDT> <Error> <JDBC Connection Pool> <Cannot
    startup connection pool "ExrGlobalDbPool" Cannot load driver class:
    weblogic.jdbc20.oci.Driver>
    "Chuan Li" <[email protected]> wrote in message news:<[email protected]>...
    If you use the driver provided by Oracle, then use the following:
    url=jdbc:oracle:oci8:
    driver=oracle.jdbc.driver.OracleDriver
    "Jeff Guo" <[email protected]> wrote:
    Hi,
    What is the correct way to define the url in the jdbc connection pool
    to
    support jdbc20
    features using Oracle OCI driver?
    Thanks!
    Jeff

  • REG:Event pooling table  insert record automatically

    Hi All,
    when ever database table update/insert a record then
    I want to insert new record in to EPT table automatically.
    Is any script available please send or send any links regarding.
    please help me .
    Thanks&Regards,
    jell

    You have to put the insert statement for EPL table into your ETL where the tables are updated/inserted.
    - If you are using ODI, OWB as ETL then you can query the Run-time Execution tables to find the tables which were updated/inserted during the ETL and insert into EPL accordingly
    - For BIAPPS, you can query DAC tables for the same

  • Event Polling Table

    1. I created an event polling table S_NQ_EPT in MS SQL SERVER.
    3. Imported the table S_NQ_EPT into RPD and designated as EPT.
    4. Inserted the record as
    INSERT INTO dbo.S_NQ_EPT
    VALUES (1,
    getdate (),
    NULL,
    NULL,
    NULL,
    'TBL_OBIEE_DRIVE_LOB',
    NULL);
    INSERT INTO dbo.S_NQ_EPT
    5. After 5 minutes it deleted the cache associated with the table.
    6. However it did not truncate the S_NQ_EPT table and instead copied the same row in the S_NQ_EPT table.
    Conclusion it deletes the cache but it does not truncate the table. Which results into multiple rows getting replicated after every 15 minutes. Even though the data hasn't changed for the physical tables. ALso, it would unnecessarily delete the cache due to this.
    I have checked the user that OBIEE uses has truncate rights and Read write privileges on the database.
    Please help
    Edited by: 974664 on May 23, 2013 10:22 AM

    Hi Raj,
    What you said is correct , Event Polling is one of the method to improve the performance in obiee.
    http://gerardnico.com/wiki/dat/obiee/event_table
    Oracle BI Server event polling table (event table) is a way to notify the Oracle BI Server that one or more physical tables have been updated and then that the query cache entries are stale. Each row that is added to an event table describes a single update event, such as an update occurring to a Product table. The Oracle BI Server cache system reads rows from, or polls, the event table, extracts the physical table information from the rows, and purges stale cache entries that reference those physical tables.
    why we have to go exactly for event polling table for cache purging?
    A. If you want to table wise polling data the we can implement this method, whenever table update or insert into database immediately event pool table purge the exit cache and stale the update one means included modified data also.
    Hope this help's
    Thanks,
    Satya

  • View, Clustur & Pooled Table

    Hi,
    I have few questions on the above topics.
    How can we retreive data from View , Clustur & Pooled Table using Select statements.
    If possible can you explain me with an example.
    what kind of data can we retreive from them . for example BSEC - how can we use it .
    Thank you in advance.
    Ry

    hi,
    You can access them using SELECT statements,  you CAN NOT use joins though.
    For example, BSEG is a cluster table.
    report znave_0003 .
    data: ibseg type table of bseg with header line.
    parameters: p_bukrs type bseg-bukrs.
    select * into table ibseg from bseg
            up to 100 rows
               where bukrs = p_bukrs.
    loop at ibseg.
      write:/ ibseg-bukrs, ibseg-belnr.
    endloop.
    to retrieve the data from a view....
    Declare the internal table with the type of View.
    Data : itab type table of zview001.
    or write select query as
    select * from zview001 into corresponding fields of itab.
    Also you can uncheck the Unicode checks active (checkbox) in the program attributes.
    {When you check that unicode checkbox, you should use an internal table without a header line. Instead you should declare a work area)
    Hope it helps...
    ~~Guduri

  • Possible for Native SQL to read Pooled Tables?

    Hi Experts,
    Is it possible to run native SQL against SAP's internal Pool Table, the table that stores the many "Pooled Tables" across SAP?  I realize that is much preferred to access the pooled table using Open SQL via ABAP functions, but that is not an option for me.  I am writing native SQL against a copy of the SAP ECC underlying tables.
    If it is possible, what is the technical name of the table?
    Thanks,
    Kevin

    Hello Kevin,
    quite a strange question. As you mentioned it before, the preffered way is to use open sql. The pooled tables are handled by the application server and so, they are not accessible by native sql.
    Independently, consider about two things:
    1.) The ABAP DDIC uses sometimes different sizes and field-lengths, so you should not read LSTR or LRAW fields with native sql.
    2.) You have to be more patient about transaction handling and parameter setting via SQL, because your application server does not get any information about what you have done before.
    Kind regards,
    Hendrik

  • How do I execute "Select count(*) from table " in OCI

    Hi,
    I am new to OCI and so this question may seem stupid. I would like to know how to execute the query "select count(*) from <table>" using OCI V8 functionality? Also after how do I get the result into a integer datatype? I have gone through most of the demo programs but is is of little help to me.
    Thanks in advance...
    Regards,
    Shubhayan.

    Hi,
    Here is sample code to give you some idea how to do it. If you want some more info let me know.
    Pankaj
    ub4 count;
    // Prepare the statement.
    char szQry = "SELECT count() FROM T1";
    if(OCI_ERROR == OCIStmtPrepare(pStmthp, pErrhp, (unsigned char*)szQry, strlen(szQry), OCI_NTV_SYNTAX , OCI_DEFAULT) )
         cout << "Error in OCIStmtPrepare" << endl;
         exit(1);
    // Bind the output parameter.
    OCIDefine *pDefnpp;
    if(OCI_ERROR == OCIDefineByPos ( pStmthp, &pDefnpp, pErrhp, 1,
    &count, sizeof(ub4), SQLT_INT,
    (dvoid *) 0, (ub2 *) 0, (ub2 *) 0,
                        OCI_DEFAULT) )
         cout << "Error in OCIDefineByPos" << endl;
         exit(1);
    if(OCI_ERROR == OCIStmtExecute(pSvchp, pStmthp, pErrhp, 1, 0, NULL, NULL, OCI_DEFAULT) )
         cout << "Error in OCIStmtExecute" << endl;
         exit(1);

  • Cache purgin is not working with event polling table

    hi all,
    i am facing problem with event polling tables
    i will tell you the steps which i have followed for event polling tables
    1.i have created a table in back end for event polling table
    2.i have created ODBC connection to import the tables
    3. i have imported the tables along with event polling table
    4. i made the table as event polling table using utilities
    5.and then i ran the report in presentation catalog and i checked out the cache entries in Administration tool(in cache)
    6.and in back end i have manually inserted a db_name,catalog_name,schema_name and table name in to the event polling tales
    but cache purging is not happening ,
    any other steps that i have to follow ,or did i do any mistake while implementing event polling table
    please can any tell me how to make use of event polling table, i have followed following link
    http://gerardnico.com/wiki/dat/obiee/event_table_
    Thanks

    Hi,
    The steps are correct frm the link i have given,is the table name correctly specified i mean is it matching with the physical layer table.
    Test it for 1 table and check out by running the request containing that table and then insert 1 row manually to purge the activity or not by going to and verify that the cache entry is deleted and that you can find the below trace in the NQQuery.log file.
    Still the problem exists check out the log details whats the error.If your getting error in the same blog gerard has given some common errors and their support.
    hope you follow etiquitte.
    By,
    KK

  • How to Seed Cache using Event Polling Table

    Hello Experts
    I Have configured Event Polling Table in my PC
    Steps :
    1) Created table using SAEPT.Oracle.sql schema in 10g
    2) Imported SAEPT.Oracle.sql by creating an new connection pool in Physical Layer
    3) Configured in Repository - Tools - Utilities - OBI Event Polling Tables by selecting SAEPT.Oracle.sql and gave 15 min in polling frequency
    4) Inserted some data in SAEPT.Oracle.sql
    5) Checked NQserver.log after the polling time which is 15 min . NQserver.log was not getting updated or has any details about the event occurred .
    Do you guys think i have missed some step in configuring EPT , if so ..please help me out i need to implement on client machine soon.
    Appreciate your time guys .
    Edited by: newbi on Jul 1, 2010 10:34 AM

    As far as i know event polling tables are used to purge the cache automatically. It is not used to seed the cache.
    If you want to seed the cache, use ibots or you have to do it as a program..
    Edited by: user8000915 on Jul 1, 2010 7:37 AM

Maybe you are looking for