OBIEE:  logical SQL to Physical sql conversion

Hi,
Is there any way i can get the physical sql from logical sql ( Apart from reading log file).. I am looking something like JAVA api which does that for us.. Do we have any mapping table which stores this mapping.
Does the OBIEE provides any Java API.
Appreciate your help in advance.

Hi Experts,
Please help on this.

Similar Messages

  • Difference between OBIEE Logical Modelling and physical modelling

    HI.
    what is the difference between logical modeling (BMM) and physical modelling(Physical layer) in obiee admin tool
    please narrate it in definition format
    thank you
    rakesh

    Hi rakesh,
    Administrator tool consists of 3 layers
    Physcial layer:-It is typically first layer built in the repository.Contains objects representing the physical data sources to which the BI server submits queries.It may conatin multiple data sources.The common way is to import metadat from different databases.You can define joins after import if they are not defined.
    Business model and mapping layer:-It is defined as business or logical models of data and specifies the mapping between the physical and business layers.This is where the physical schemas are simplified to form the basis for the end user.We can say data is seperated into facts and dimension tables
    Presentation layer:-simplifies and organizes the business model to make it easy for users to understand and query
    go through the user guides for all the definition and subject
    Hope it helps you.my points?
    By,
    Kranthi
    Edited by: Kranthi.K on Sep 1, 2009 10:22 PM

  • Logical SQL to physical SQL in datamodel.

    I am designing a report in BI publisher and for that I am creating a datamodel.
    My datamodel contains 4 dataset with 4 different logical SQLs and all use source as Oracle BIEE.
    When I generate/execute xml from datamodel I observed in nqquery.log that BI publisher is executing each logical SQL in sequence.
    That is OBIEE first send logical SQL of one of the dataset and then convert it to physical SQL. After first physical SQL is completed then only it is converting second logical SQL to physical.
    So logical to physical query is happening in sequence rather than in parallel.
    My datamodel contains huge logical SQLs and OBIEE takes almost 40 seconds each to convert it physical query. This will result in total 160 seconds for just converting 4 logical SQLs to physical SQLs.
    Does anybody know if there is any setting where I can manage to convert multiple logical to physical in parallel?

    Hi Experts,
    Please help on this.

  • Logical SQL to physical SQL taking time in datamodel.

    I am designing a report in BI publisher and for that I am creating a datamodel.
    My datamodel contains 4 dataset with 4 different logical SQLs and all use source as Oracle BIEE.
    When I generate/execute xml from datamodel I observed in nqquery.log that BI publisher is executing each logical SQL in sequence.
    That is OBIEE first send logical SQL of one of the dataset and then convert it to physical SQL. After first physical SQL is completed then only it is converting second logical SQL to physical.
    So logical to physical query is happening in sequence rather than in parallel.
    My datamodel contains huge logical SQLs and OBIEE takes almost 40 seconds each to convert it physical query. This will result in total 160 seconds for just converting 4 logical SQLs to physical SQLs.
    Does anybody know if there is any setting where I can manage to convert multiple logical to physical in parallel?

    Hi Experts,
    Please help on this.

  • Extracting the Logical sql query for the specified report  in OBIEE 11g

    Hi ,
    I want to extract the logical SQL Query for the Particular report in OBIEE 11.1.1.5.
    Any pointers related to this will be very helpful.
    Thanks,
    Sonali

    for a try please add Logical sql view to ur report it will dispaly the Logical sql for that Report..
    Hope it will helps you.

  • Converting logical SQL to physical

    I have a bunch of logical queries stored in my usage tracking table. What's the easiest way that I can convert these to physical SQL? I want to avoid re-running the reports and looking at the NQQuery.log.
    Let me know if there's an easy way to run my logical sql and getting the physical query from it.

    Hi,
    i) Dashboard -> Click Settings > Administration to open the Oracle BI Presentation Services Administration Window
    ii) Click the Manage Sessions link to open the Session Management window.
    iii)In the Session Management window, under Cursor Cache, click the View Log link for the last entry.
    The log displays the last query.
    iv)Locate :
    the SQL Request section. This section contains the logical SQL issued from Answers.
    the General Query Info section, just below the SQL Request section. This section identifies the repository, subject area, and presentation catalog from which the query was run.
    the Sending query to database named SH section, just below the General Query Info section. This section identifies the physical data source to which Oracle BI Server is connecting and the physical sql that was generated.
    Cheers,
    Aravind

  • OBIEE 11g Usage Tracking - Physical SQL

    Hi All,
    The Query Text column gives me only the logical SQL. The Log Level is set at 2. How can I get the physical SQL via Usage tracking?
    Thanks for your time and help.

    Hi,
    Good for you.
    Maybe you can post the solution and how you solved your issue to help other users having the same problem and then close the thread (currently it's still This question is Not Answered.)

  • OBIEE 10g - Can I use logical SQL to set variable?

    I am trying to set value of a session variable in the Advanced tab Prefix box of a request.
    Assigment of absolute value like this is working good:
    SET VARIABLE MYVAR=1;
    Can I set the variable using logical SQL? Something like:
    SET VARIABLE MYVAR = (SELECT table1.col1 from catname where table1.col2=1)
    Thanks in advance.

    Hi,
    You can create a session variable or dynamic variable in the RPD and try using it in here at the Advanced Tab prefix.
    But still check yourself if you need multiple values returning in the SQL statement.
    Hope this is helpful/ useful.
    Regards
    MuRam

  • How to ignore special characters in Logical SQL.

    Hi Experts,
    I am using Logical SQL generated from BI Answers in dataset of BIP Data model.
    The column name or presentation table name contains special character as “&, %’
    So when I try to create dataset using suppose following Logical SQL, I am getting prompt/error as
    “Please enter values for lexical references in SQL
    *~ description"."security name" s_9, ”
    Could you please suggest what should I do to ignore these special characters?
    SELECT
    0 s_0,
    "TEST_RPD"."Account"."As Of Date" s_1,
    "TEST_RPD"."Security Identifier & Description"."Security Name" s_9,
    "TEST_RPD"."Statistics"."Quality - S&P Rating" s_26,
    "TEST_RPD"."Statistics"."Yield To Maturity" s_27
    FROM "TEST_RPD"
    WHERE
    (("Account"."As Of Date" = date '2011-01-31') AND ("Account"."Report Account ID" = '1733'))

    Thanks..That is what we did in RPD.
    I was looking for any other approach as our RPD is shared between OBIEE and BIP.

  • How to pass parameter in "Filter By Using " Logical SQL

    Hi
    Newbie in BI Publisher and OBIEE.
    I have the following requirement;
    Generated the Logical SQL and added as New Dataset to BI Publisher Data Model.
    The Logical SQL has statement as;
    SELECT
    0 s_0,
    AGGREGATE(FILTER("BISubjectArea"."Comparative"."ME % - Account" USING ("BISubjectArea"."Common"."RPT_Date" = date '2011-10-31')) BY "BISubjectArea"."Classifications"."Country") s_1,
    I want to parameterize the query by providing Data Model Parameters to the Filter By Statement. Example of what I want.
    SELECT
    0 s_0,
    AGGREGATE(FILTER("BISubjectArea"."Comparative"."ME % - Account" USING ("BISubjectArea"."Common"."RPT_Date" =:Prior_date)) BY "BISubjectArea"."Classifications"."Country") s_1,
    By providing this; it doesn't give any syntax error and accepts it. But when trying to run the Generate XML option, it gives out XML Tag error.
    Please help to resolve this and thanks in advance
    I am using OBIEE 11.1.1.5 version ...
    Edited by: 908476 on Jan 17, 2012 1:12 AM

    I have not worked with 11g version but I believe that if you use Answers as a datasource then you can not have parameters on the BI publisher side. Not sure if that has changed. Please let me know if this is incorrect.
    I guess you would have to use dashboard prompts and presentation variables and note that the Presentation variable MUST BE same as the parameters defined in the BI Publisher. Take a look at the following link for an example.
    http://kirti-bi-solutions.blogspot.com/2009/06/passing-parameters-from-obiee.html
    Thanks,
    Bipuser

  • I am trying to stop encryption in fire vault, but I keep getting the message, The target disk isn't eligible for reversion because it wasn't created by conversion or it is not part of a simple setup of exactly one logical and one physical volume.¨

    I am trying to cease encryption in fire vault, Mac os x lion 10.7 4
    I keep getting the message,
    ¨The target disk isn’t eligible for reversion because it wasn’t created by conversion or it is not part of a simple setup of exactly one logical and one physical volume.¨
    Please can someone advise the way to disable?
    Thank you.

    Are you using Boot Camp? See this discussion at MacRumors.
    Clinton

  • Logical SQL about Expression Builder

    Dear all
    I am Michel.
    When I was always trouble,
    everyone will go to support this Forum, I am glad.
    I want to fix Logical SQL about Expression Builder of Oracle BI 11.1.1.3.
    In detail, Business each year, fiscal year you want to make is to display
    the beginning of the fiscal year of April 1, always, the data,
    "OUTPUT_DATE" from April until March the following year.
    Currently being output error is as follows.
    :[nQSError: 22020] Function Subtring ( argument 1) does not support non-text types. (HY000)
    I want to fix logical SQL is as follows.
    case when substring("app_support"."TABLE_NAME"."OUTPUT_DATE" from 4 for 5)
    in ('04','05','06','07','08','09','10','11','12')
    then Cast
         Concat
    Substring(
                   Cast(
                        "app_support"."TABLE_NAME"."OUTPUT_DATE" AS char
              FROM 4 for 8
         '04-01'
    AS DATE
    when substring("app_support"."TABLE_NAME"."OUTPUT_DATE" from 4 for 5)
    in ('01','02','03')
    then timestampadd(SQL_TSI_YEAR,-1,
         Cast
         Concat
              Substring(
                   Cast(
                       "app_support"."TABLE_NAME"."OUTPUT_DATE" AS char
                   FROM 4 for 8
              '04-01'
    AS DATE
    For reference, logical SQL follows,
    there is no error, and it is operating normally.
    Cast
         Concat(
              Substring(
                   Cast(
                        "app_support"."TABLE_NAME"."OUTPUT_DATE" AS char
              FROM 0 for 5
         '-01')
    AS DATE
    I will grad to reply message.
    Thanks and regards.

    Dear Fame and all
    Hello.Thanks you for reply.
    Hi,
    You Missed END key word in the statement.Sorry,I mistake copy & paste only.
    So,The problem is still not resolved.
    The following shows, that the error has been corrected in the first message.
    Dear all
    I am Michel.
    When I was always trouble,
    everyone will go to support this Forum, I am glad.
    I want to fix Logical SQL about Expression Builder of Oracle BI 11.1.1.3.
    In detail, Business each year, fiscal year you want to make is to display
    the beginning of the fiscal year of April 1, always, the data,
    "OUTPUT_DATE" from April until March the following year.
    Currently being output error is as follows.
    :[nQSError: 22020] Function Subtring ( argument 1) does not support non-text types. (HY000)
    I want to fix logical SQL is as follows.
    case when substring("app_support"."TABLE_NAME"."OUTPUT_DATE" from 4 for 5)
    in ('04','05','06','07','08','09','10','11','12')
    then Cast
    Concat
    Substring(
    Cast(
    "app_support"."TABLE_NAME"."OUTPUT_DATE" AS char
    FROM 4 for 8
    '04-01'
    AS DATE
    when substring("app_support"."TABLE_NAME"."OUTPUT_DATE" from 4 for 5)
    in ('01','02','03')
    then timestampadd(SQL_TSI_YEAR,-1,
    Cast
    Concat
    Substring(
    Cast(
        "app_support"."TABLE_NAME"."OUTPUT_DATE" AS char
    FROM 4 for 8
    '04-01'
    AS DATE
    end
    For reference, logical SQL follows,
    there is no error, and it is operating normally.
    Cast
    Concat(
    Substring(
    Cast(
    "app_support"."TABLE_NAME"."OUTPUT_DATE" AS char
    FROM 0 for 5
    '-01')
    AS DATE
    I will grad to reply message.
    Thanks and regards.

  • Extracting Logical SQL of the adhoc reports

    Hi,
    I have an requirement, where I need to extract the logical SQL, of the adhoc reports. I tried using "Usage tracking", but that doesnt fit my requirement, as I need to write back the result set of the SQL queries in the database. I need to kind of automate the process of getting the logical queries from the user created reports and load it back to database. I canot use direct database request,as business users will not have this ability to use this request.
    Can somebody help in ways of getting the logical SQL , apart from usage tracking, log file, or manage sessions.
    Thanks
    Alakananda

    I am closing this, question, as I solved it by calling web services through a java program. Thanks

  • Logical sql firing larger aggregate table instead of smaller one

    Hi
    When we process a request containing one particular column alone along with some time dimension say month or year, the logical sql is firing larger aggregare table instead of smaller aggregate table. Please, help us in resolving this issue.
    The OracleBI version we are using is 10.1.3.4.1
    Thanks.

    Hi,
    Try posting in the OLAP forum.
    OLAP
    Thanks, Mark

  • What is the diff b/w logical query and physical query?

    Thanks In advance

    In OBIEE terms the logical query is how you query the BI Server, the Presentation services sends logical SQL to the BI Server, you can also write your own using JDBC , pull from BI Server using ODI etc.
    The BI Server engine takes this logical query and writes (a number of) phyiscal querie(s) to satisfy the logical request, depeninding on how your BMM and Physical layer is setup. There are a number of rules the BI Server evaluates before deciding the most appropriate Physical query to generate, rules include Physical Joins, Aggregate tales / Hierarchy levels and so on.
    Hope this helps,
    Good luck with interview :-)
    Alastair

Maybe you are looking for

  • I am having issues installing my router!

    i have recently purchased a wireless-G broadband router it's model is WRT54G. i plugged in my modem to the router and them my comp i made sure that the router and every thing was plugged in and all the lights that are suppose 2 be on are on. but once

  • Restrict Rado Buttons in Report

    Hi Gurus, Need some help/advice we have developed new T-Code, it has radio buttons selections now we have ask the security team to create one new Auth object to restrict those radio buttons can you please let me know what are the field we have to add

  • Time Machine - all backups gone, backups fail

    I've been backing up with time machine for 10 months via direct USB connection. I've recently been receiving a string of Time Machine error messages including "Error completing backup, an error occurred while creating backup folder" and "backup disk

  • How to reinstall Safari in my iphone as I deleted it by mistake

    I deleted Safari icon by mistake and cannot find it on my iphone screen. When I click on any web url, it opens up in Safari but I cannot see Safari icon on my phone screen. Please tell me how can I reinstall Safari icon on my screen again. Thanks & R

  • Flickr changing Master File name in sync'd albums

    Has anyone noticed that when syncing with Flickr from Aperture that the sync'd images get altered Master File names? This doesn't have an effect on the images in the Aperture projects, only on the images in the sync'd folders under Flickr. I just fin