OBIEE 11g caching question - cross database joins

Hi, I'm seeing something strange (a.k.a. not wanted) in OBIEE (11g, not sure that version matters).
I have a simple data mart that contains spend information. The supplier dimension contains keys that can be used to join it to detailed supplier information and supplier address information in our ERP system (that sits in a different database / on a different box). In the OBIEE physical layer I've created a cross database join between the supplier dimension table and the ERP tables that contain the address info.
Here's the odd behavior I'm seeing. If I write an answers request to select the supplier, some address info, and total spend for fiscal year 2010, I'm seeing OBIEE fire off two queries (this I expect):
A) Select supplier, address key, and total spend for fiscal year = 2010 against the spend mart
B) select address_key and associated address info against the ERP system (no limit on this query, it pulls back all rows from the address table)
OBIEE then does an internal join itself and serves up the results, everything is correct. But here's what's "wrong" - if I then run the exact same answers request, but change the fiscal year to 2009, I again see OBIEE firing off the two queries. What I expected and/or want to see is that, since the entire result set from query #B doesn't change at all, that it wouldn't have to rerun this query. However, it seems to be.
Is there any way to get #B to cache so that, for any subsequent query that contains supplier address info, OBIEE can pull it from cache instead of rerunning the query (which is pretty slow)? I really thought it would do that, but it doesn't seem to be.
Thanks!
Scott

Hi,
Could you give a bit more of context for this case? The table in SQL server; Is it a dimension and the one in Oracle DB is a fact? I am guessing, you have set up the driving table here. Have you given a try taking it off, and let BI Server do the filter in memory?
-Dhar

Similar Messages

  • OBIEE error: Getting error in creating cross database joins

    Hi,
    We are trying to create a cross database join in OBIEE.
    CHild table is on SQL server and we are using ODBC 3.5 call interface to connect.
    Parent table is in Oracle
    11.2.0.3.0
    Each table can be queried separately. Main task required was to fetch records from Oracle based on records returned by SQl server (Query based on other saved request).
    The count of inner query got increased to 30,000 due to which we got too many records in IN predicate error.
    Now while creating cross database join between Oracle and SQL server we are getting following error:
    [nQSError: 10058] A general error has occured. ODBC state: 37 000
    code: 102 message: [microsoft][ODBC SQL Server driver][SQL Server] Incorredt Syntax near 'Session'
    [nQSError: 16015] SQL statement execution failed.

    Hi,
    Could you give a bit more of context for this case? The table in SQL server; Is it a dimension and the one in Oracle DB is a fact? I am guessing, you have set up the driving table here. Have you given a try taking it off, and let BI Server do the filter in memory?
    -Dhar

  • Question about Crystal Reports 4.0 and "cross database joins"

    Hi everybody,
    in Crystal Reports 2008 we could use the cross database joining feature to put two or more BEx queries via MDX into one report and join them within Crystal Reports. We know that this might lead to performance problems but for some scenarios this was the only solution.
    Now with Crystal Reports for Enterprises 4.0 the whole connection to SAP systems will change. Will we have a chance to make one report agains two or more BEx queries any other way than using subforms. The latter will not fit our needs.
    Thank you very much!
    Thorsten

    Hi,
    Crystal Reports 4.0 is in RampUp right now. In case you are interested in the details I would suggest you join the RampUp.
    regards
    Ingo Hilgefort

  • Cross database join Oracle - SQL server date column - nQSError: 46008

    Hi,
    I am using OBIEE 10.1.3.4.2 and
    I am able to make cross database join between Oracle and SQL server using varchar columns, but I am getting this error:
    nQSError:22024-A comparison is being carried out between noncompatible type when I try to make "foreign key" join between two tables (one from Oracle, second from SQL Server) using number columns (INT, DOUBLE...). It is strange, but I when I make "complex join" on physical layer no error is thrown and everything works fine.
    But I am not able to make join between tables using Date column. Column in Oracle table has DATE datatype, column in SQL server tables has datetimeoffset(7) datatype (example: 2011-07-19 13:14:22.2032605 +02:00). So I tried to cast datetimeoffset(7) to date datatype using "convert(DATE,HappenedOn,120)" - this returns me 2011-07-19 . In this format, BI can show converted date column, I can make filter using this date column, but I am not able to make physical join with Oracle table using this column
    Answer using data from both joined tables gives me this error:
    [nQSError: 46008] Internal error: File .\DataType\SUKeyCompare.cpp, line 875. (HY000)
    Do you have some tips, how to solve this "bug"?

    Parse the command column to get the SSIS package file name may be your only option here.

  • Cross database join support timeline

    Hi
    As I am reading on this forum and over the web, SQL Azure doesnt support cross database joins.
    Even the synonym entity is restricted to current database or the tempdb.
    Need to understand the official position on above.
    1. Whether there is a plan to support cross database joins in future.
    2. If yes, by when can such a support be expected.
    Thanks
    Abhishek

    Hi Mekh
    Thanks for the quick response.
    Your reply means that we will need to combine multiple databases into one, in order to be able to use SQL Azure.
    Here is our situation:
    1. We have two development Databases - let us say DB A and DB B, managed by different product development teams.
    2. Some customers require both A and B, while some require only A, and others only B. All customers are proposed to be on SQL Azure. So now we have three types of production database schemas - A+B, A and B.
    3. With continuous development, schemas of both DB A and DB B keep changing.
    4. We need to replicate this schema change to all customer databases deployed on SQL Azure.
    Kindly let me know the best way to achieve above, in terms of best tools and practices.
    Thanks
    Abhishek

  • Using OBIEE 11g Analytics with VPD database

    We are new to the OBIEE world. Our background has been in Discoverer for the past eight years. With Discoverer, the database handled all VPD issues. We simply had users create private database connections and Discoverer Plus would pass the user's credentials to the back end where a VPD policy would attach a predicate to a user's queries.
    So I guess our question is, How do we accomplish the same thing in OBIEE 11g for Analytics? We don's see any way to get around the need for a shared connection pool, and we cannot see any way to add a database login screen, nor would we want to.
    We are seeing things called initialization blocks and variables in the help files. We are assuming we will have to create some way of capturing the user's ID and passing it to the back end.
    We can't be the first ones to face this challenge, so any help is appreciated.
    Thanks in advance,
    Ken

    in the connection pool, you can use :USER and :PASSWORD and these will send the OBIEE login to the db, assuming each OBIEE user exists as a db user this should sort you out.
    Alternatively, you implement a psuedo-VPD using OBIEE Security filters, assuming you have access to the tables that VPD is using, you can hold the predicates to be applied in variables via INIT blocks and have OBIEE apply them on an as-needed basis. Check security filters in the documentation.

  • Changes to be done in OBIEE 11g with respect to database change

    Hi,
    Our database has been SHIFTED to new system and got new tnsnames details(hostname, service name etc). What changes do i need to do with respect to the new shifted database in obiee 11g application so that I can connect to the database with same repository with out losing my previous data.
    The things I have done:
    1.Copied the new tnsnames file to oracleBI1\network\admin
    2.Created the new DSN with respect to new databse service name.
    Thanks

    Hi raj,
    You are going in the right direction.Are you facing any problem after executing these steps?
    After copying the tns file to the location,instead of creating new DSN name you can associate the old DSN name by editing it and changing the required fields and credentials and test it then your done.
    UPDATED POST
    It is clearly saying that listener is not reading the DB,so go to the DB where it is installed and check if TNS name related to new database is added and the corresponding listerner is added to listner.ora file for the new DB.
    It will locate at DB installed for example c:\oracle\product\10.1.0\Db_1\network\admin\listener.ora
    If needed paste the listner at the BI path where you have pasted your TNS name.
    UPDATED POST-2
    DSN is not reading the DB name that is what the error is saying so that is the reason you are not able to start the services.....create a new DSN and give a try at it.
    Hope helps you.
    Cheers,
    KK
    Edited by: Kranthi.K on Apr 17, 2011 9:51 PM
    Edited by: Kranthi.K on Apr 17, 2011 10:19 PM

  • OBIEE 11g Map question

    Hi all,
    We are using OBIEE 11g Mapviewer to display some results. We have point as well as polygon location geometries which combined with other dimensions display scores on the map.
    It seems there is a restriction on the display graphics that can be used based on a geometry type. It is something like the following table:
    Geometry Type - Graphic Format
    Polygon - Color Fill, Bubble, Pie Graph, and Bar Graph
    Point - Bubble, Variable Shape, Image, and Custom Point
    We display a pie graph of scores on a given polygon and would like to keep it standard irrespective of the underlying geometry.
    I was wondering if its possible to force use a Pie Graph on Point geometry?
    Please let us know if there is a way to solve this. Really appreciate your time.
    Thanks!

    Hi
    Your best bet is to follow the Security Guide:
    http://docs.oracle.com/cd/E20490_01/bia.7963/e19042.pdf
    Really you just need to make sure the Responsibility names are the same as the Application Roles. So either you create new responsibilities in EBS to match the existing (seeded) roles or you create new roles in OBI Apps to match your existing responsibilites. Both ways round are valid and it all depends on your security solution.
    Thanks
    Robin

  • OBIEE 11G Formatting Question

    Hello - I'm new to OBIEE 11G.
    Is there a way to format one column of a pivot table to have the percentage sign (and possibly have more decimal places) and leave the rest to whole numbers?
    Thank you.
    Jennifer

    To format a column, simple go into the column properties and change it to percentage.
    Take a look at the documentation...
    http://download.oracle.com/docs/cd/E21764_01/bi.1111/e10544/format.htm#i1030865

  • Obiee 11g Executing a Direct Database Request in my Dashboard

    Hi Experts,
    i want to create in my dashboard Button:
    when i presses Button message will appear with question with 2 buttons :
                  1 Ok        : will execute Direct Database procedure.
                  2 Cancel : return to source dashboard.
    what is the way to execute ?
    I would appreciate your help.
    sin

    Analyses based on direct database requests and sent out through agents work just like any other analysis in terms of content, delivery etc.
    Are you sure that you're not hitting a privilege problem and that the user executing the agents isn't allowed to run direct database requests?

  • Obiee 11g Noob question - bring in one sql table

    I am a new to obiee.
    Using version 11g and trying to bring in one sql table. I created my db and table, then I create the data source in odbc. Everything tests fine.
    I then open up the oracle BI administration tool, and 'import metadata'. Everything imports fine - under the 'physical' side I see my sql table and if I hit 'view data' I can see my data just fine.
    I think my problem is that under 'business model and mapping' the icon isn't green it has what looks like a red 'no' type icon. My guess is there is something I have to make that green before I will be able to create a report using my sql table. (diagram?)
    This is just one sql table with no foreign keys or even a pkey. How can I bring in just this one table?

    I created the key in the physical layer...
    then I dragged over the table and then dragged it over again (into the BMM) this created a table called (IT_Metric #1)..
    now I right click and select 'business model diagram', 'whole diagram' which opens a new window with my one table (IT_Metric) then the mouse cursor just shows waiting (hourglass) ...it never stops the hourglass..

  • OBIEE 11g Repository Question: session context

    The Metadata Repository Builder's Guide says in chapter 13, "Note: Alternatively, you can use the database session context to pass end user identity to the database. Use a connection pool script to set up session context. Note that this approach does not rely on database authentication."
    However, no example or instruction is given to show/explain how to do that. Does anyone know how to set up a connection pool script to pass the :USER value to the database session context object? We have to pass the user ID of the Analytics user to the database so as to apply VPD policies.
    Thanks,
    Ken

    I'm trying also to get work VPD with OBIEE 11.1.1.5, but no luck. I have done almost all the same as are in Venkatakrishnan's example. It seems that select statement with set function in "execute befire query" goes to the database, but it have no effort because query in Answers returns no rows, means that :USER is not forwarded to the policy function. Is it possible that statement in "execute before query" and Answer request are not in same database session? Have anyone got work VPD with OBIEE 11.1.1.5? Everything works ok for example in SQLPlus and in SQL Developer.
    - Risto
    Edited by: risto.soikkeli on 6.8.2011 17:56
    Edited by: risto.soikkeli on 6.8.2011 23:04

  • Security question in obiee 11g

    Hi,
    I have a question on security configuration on what we have in 10 and deploying to 11g.
    Q1. how deploy external database security(users, groups) to OBIEE 11g.
    we used external database security in 10g. all the users and groups maintained in database and obiee rpd has security groups. repository has group information only so it is deployed groups information to obiee 11g by upgrade assistant but how can it deploy users in external database?
    Q2. all the users and roles in LDAP server. in this case how obiee 11g read users and group information?
    Thanks
    Jay.

    Q1. how deploy external database security(users, groups) to OBIEE 11g.
    we used external database security in 10g. all the users and groups maintained in database and obiee rpd has security groups. repository has group information only so it is deployed groups information to obiee 11g by upgrade assistant but how can it deploy users in external database?
    Solution:
    http://www.varanasisaichand.com/2011/09/external-table-authenticationorder-of.html
    http://www.rittmanmead.com/2012/03/obiee-11g-security-week-connecting-to-active-directory-and-obtaining-group-membership-from-database-tables/
    http://obieeblog.wordpress.com/2009/06/18/obiee-security-enforcement-%E2%80%93-external-database-table-authorization/
    Q2. all the users and roles in LDAP server. in this case how obiee 11g read users and group information?
    Obiee11g is intergated with weblogic fusion middleware (Console,EM). in that console have feature to enable mulitiple LDAP authentication
    while configuring AD via weblogic console we need to give the users and group info
    Solution refer:
    http://obieeelegant.blogspot.com/2012/01/obiee-11g-integration-with-ldap.html
    http://docs.oracle.com/cd/E23943_01/bi.1111/e10543/privileges.htm#BABCDCFE
    Thanks
    Deva

  • Oracle Web Cache and OBIEE 11g

    Anyone using Oracle Web Cache with OBIEE 11g?
    Can I get an insight into whether this solution is beneficial? Or I shouldn't even bother.

    No iam not using oracle web cache
    Can I get an insight into whether this solution is beneficial? Or I shouldn't even bother.I dont have idea about it,but i think its not beneficial ,anyways there is OBIEE cache that is more than sufficient.
    hope answered your question.
    Cheers,
    KK

  • OBIEE 11g database connection error after deploying to server.

    Hi,
    I deployed RPD to obiee 11g server and when I run a report it is giving database connectivity error. In 10g we just specify OLAP_DSN, OLAP_USER and same in connection pool with database password. I did the same in 11g as well but it's not working.
    Is there any other place I need to specify database connection detail?
    Thanks
    Jay.

    coming with different names :) If you respond to your older threads will happy to respond you.
    When we answer your question we love to know how it helped you. we are not asking your $$$$$$$$$$$$$

Maybe you are looking for

  • Print PO (crystal report design) in 9*11" continuous paper

    Hi There Does anyone have been faced this problem before? We have created PO from Crystal report and attached to SAP B1.  When printing many POs with continuous paper in size of 9*11" , the socond PO onward keep losing start position and printed to l

  • Photos will not Sync to iPad, iPhone or Apple TV.

    I am not able to Sync photos, on my iPhone or iPad, when cabled to my iMac. I have checked  "Sync Photos from iPhoto" and the photo albums (within iTunes) show zero photos. Also, not able to view photos on Apple TV.  I have gone to iTunes File>Home S

  • IMessage Not working on 4g iOS 6.0

    Hey! So I recently got my iphone 4g, and now i downloaded the iOS 6.0 and hoped my iMessage would be working nice and smoothly... but it isint. For whatever reason, I can't get it to work. whenever i send a text, and i send it to another iphone that

  • Can't pair iPhone 6 via Bluetooth

    I just got my iPhone 6 today. I tried to pair it both with my hands-free device and my Jam speaker. The phone doesn't find either device. Just spins and spins. The devices are charged, on and near the phone. I saw some solutions her and online, so I

  • Please help me in my note

    Please help me I have a problem occurred with My iClaude Notes The refugee disappeared without warning Please help me in any way where I Feedback is very important Please I recovered form an important and why this problem occurred with me I will lose