Can we change physical SQL generated by BI Server?

Hello gurus:
I have a doubt. How can we change the physical SQL generated by OBIEE?
is there any way we can modify the SQL Cost?
Let me know.
Thanks.
Vinay R.

So If I have a View and a physical table, so View will have lower cost compared to Table?
Can you explain a bit more about this?There is absolutely no way we can estimate the cost of a view or a table we don't know. There are too many variables so your question is too wide and unprecise. Generally speaking views that select from only one table do not add any extra cost to the execution plan, Oracle will convert them to the underlaying table. Having said the usual reason to have a view is to join different tables and apply some data filtering conditions so it will depend a lot on what kind of query you are running.

Similar Messages

  • View log not showing physical SQL generated in OBIEE 11.1.1.6.7

    Hi,
    I am currently using OBIEE 11.1.1.6.7 version. In this version I am unable to view the physical SQL generated by OBIEE under Administration --> Manage Marketing Jobs --> Select a Job --> Click on View SQL OR Administration --> Manage Sessions--> Select a Job --> Click on View SQL. It is not showing the physical SQL generated by OBIEE for a report or segment which I have executed.
    It was available in previous version i.e. OBIEE 10.1.3.4.2.
    I have searched in metalink and it has been suggested to use the following <Filters> section into instanceconfig.xml file. I have added the following details into existing instanceconfig.xml file and then restarted the BI services. Still the problem persist.
    <Filters>
    <!--This Configuration setting is managed by Oracle Enterprise Manager Fusion Middleware Control--><FilterRecord writerClassGroup="Console" path="saw" information="16" warning="31" error="31" trace="32" incident_error="1"/>
    <!--This Configuration setting is managed by Oracle Enterprise Manager Fusion Middleware Control--><FilterRecord writerClassGroup="File" path="saw" information="16" warning="31" error="31" trace="32" incident_error="1"/>
    <!--This Configuration setting is managed by Oracle Enterprise Manager Fusion Middleware Control--><FilterRecord writerClassGroup="Marketing" path="saw.mktgsqlsubsystem.joblog" information="16" warning="31" error="31" trace="32" incident_error="1"/>
    <!--This Configuration setting is managed by Oracle Enterprise Manager Fusion Middleware Control--><FilterRecord writerClassGroup="File" path="saw.httpserver.request" information="16" warning="31" error="31" trace="32" incident_error="1"/>
    <!--This Configuration setting is managed by Oracle Enterprise Manager Fusion Middleware Control--><FilterRecord writerClassGroup="File" path="saw.httpserver.response" information="16" warning="31" error="31" trace="32" incident_error="1"/>
    </Filters>
    Thanks,
    Prasanta

    Hi,
    Thanks for the reply.
    We used to view the log details (physical SQL) using Manage Marketing Jobs in OBIEE10g.
    In OBIEE11g we can see the job details and when selecting a job (under Action column Details link) there is an option in left pane as 'View Log'. If I click on 'View Log' it is showing as 'No Logs Found'.
    Just wanted to confirm if this is an issue in OBIEE11g.
    Also, I believe there is a limitation in 'Manage Session' to view the number of job details whereas in 'Manage Marketing Jobs' section we can increase the number of jobs to be displayed.
    Thanks,
    Prasanta

  • [NQQuery log]: Physical SQL generated agaisnt 2 Database in OBIEE 11g

    Hi Experts,
    I have a problem regarding the physical SQL generated by Query log.
    So this is the setup.
    SCENARIO 1:
    Oracle Data Warehouse DB
    - col1
    - col2
    - col3
    OLAP_OBIEE
    - col4
    When I run these columns together in Analysis. It seems like the physical SQL generated in the Query log is partitioned with each other and I cant get the exact SQL so I can make comparison with the total record count in Analysis UI and the SQL developer.
    select col1, col2, col3 from Oracle Data Warehouse tables
    select col4 from OLAP_OBIEE tables
    ================================================================
    SCENARIO 2:
    Oracle Data Warehouse DB
    - col1
    - col2
    - col3
    - col4
    Running these columns together in Analysis. I am wondering why the physical SQL is somewhat also partitioned just like in SCENARIO 1.
    select col1, col2, col3 from Oracle Data Warehouse tables
    select col4 from Oracle Data Warehouse tables
    Hope that you get what am I trying to say. :(
    Thanks,
    Edited by: OBIEE/BIP Forumer on Oct 29, 2012 1:27 AM
    Edited by: OBIEE/BIP Forumer on Oct 29, 2012 1:27 AM

    Hi Maqsoon,
    Sorry for the confusion, in my Analysis report, I have a report where it generates 2 physical SQL in one Database, also I have a report where it uses 2 Database which also generates 2 physical SQL.
    Below is the SQl generated in my Analysis report using 1 Database
    select count(distinct case when T68197.OPTY_WID > 0 then concat(T67058.INTEGRATION_ID, cast(T67058.DATASOURCE_NUM_ID as CHARACTER ( 30 ) )) end ) as c1,
    T67058.OPTY_O_REVN as c2,
    T67365.CUST_VALUE_NAME as c3,
    T157680.NAME as c4,
    T157680.INTEGRATION_ID as c5
    from
    W_OPTY_D T67058 /* Dim_W_OPTY_D */ ,
    W_REVN_F T68197 /* Fact_W_REVN_F */ ,
    W_PARTY_D T157680,
    W_PARTY_ORG_D T67365
    where ( T67058.ROW_WID = T68197.OPTY_WID and T67365.ROW_WID = T157680.PARTY_ORG_WID and T68197.PR_CUSTOMER_WID = T157680.ROW_WID )
    group by T67058.OPTY_O_REVN, T67365.CUST_VALUE_NAME, T157680.NAME, T157680.INTEGRATION_ID
    order by c5, c2
    [2012-10-30T11:44:39.000+00:00] [OracleBIServerComponent] [TRACE:2] [USER-18] [] [ecid: 352c537d7893ee94:-5718ddd6:13aaccb7670:-8000-0000000000005c50] [tid: f650d700] [requestid: 45ca0005] [sessionid: 45ca0000] [username: joshua.l.manego.iii] -------------------- Sending query to database named Oracle Data Warehouse (id: <<1201371>>), connection pool named Oracle Data Warehouse Connection Pool, logical request hash edb0c7c0, physical request hash 87553d2a: [[
    select sum(D1.c1) over (partition by D1.c4, D1.c2) as c1,
    D1.c2 as c2,
    D1.c3 as c3,
    D1.c4 as c4,
    sum(D1.c5) over (partition by D1.c6, D1.c4, D1.c2) as c5,
    D1.c6 as c6
    from
    (select count(T84444.ORDER_WID) as c1,
    T67365.CUST_VALUE_NAME as c2,
    T157680.NAME as c3,
    T157680.INTEGRATION_ID as c4,
    sum(T84444.ORDER_NRC) as c5,
    T67058.OPTY_O_REVN as c6
    from
    W_OPTY_D T67058 /* Dim_W_OPTY_D */ ,
    W_PARTY_ORG_D T67365,
    W_ORDER_F T84444 /* Fact_W_ORDER_F */ ,
    W_PARTY_D T157680
    where ( T67058.ROW_WID = T84444.OPTY_WID and T67365.ROW_WID = T157680.PARTY_ORG_WID and T84444.CUSTOMER_WID = T157680.ROW_WID )
    group by T67058.OPTY_O_REVN, T67365.CUST_VALUE_NAME, T157680.NAME, T157680.INTEGRATION_ID
    ) D1
    order by c4, c6
    Below is the physical SQL that uses 2 Database
    select T68071.QUOTE_NUM as c1,
    T116081.CURRENT_BASE_POSTN as c2,
    T66755.PER_NAME_MONTH as c3,
    T68071.STATUS_I as c4,
    T68071.QUOTE_TYPE_I as c5,
    T68071.SUB_TYPE_I as c6,
    T84523.ROW_WID as c7
    from
    W_POSITION_D T74722 /* Dim_W_POSITION_D */ ,
    W_QUOTE_D T68071 /* Dim_W_QUOTE_D */ ,
    W_QUOTE_F T84523 /* Fact_W_QUOTE_F */ ,
    W_DAY_D T66755 /* Dim_W_DAY_D_Common */ ,
    W_POSITION_DH T116081 /* Dim_W_POSITION_DH_Position_Hierarchy */
    where ( T66755.ROW_WID = T84523.OPEN_DT_WID and T68071.ROW_WID = T84523.QUOTE_WID and T74722.ROW_WID = T84523.PR_EMP_POS_WID and T74722.ROW_WID = T116081.POSITION_WID and T84523.PR_EMP_POSTN_DH_WID = T116081.ROW_WID )
    order by c7
    [2012-10-30T11:51:42.000+00:00] [OracleBIServerComponent] [TRACE:2] [USER-18] [] [ecid: 352c537d7893ee94:-5718ddd6:13aaccb7670:-8000-0000000000005cb8] [tid: f61fc700] [requestid: 45ca0007] [sessionid: 45ca0000] [username: joshua.l.manego.iii] -------------------- Sending query to database named OLAP_OBIEE (id: <<1204144>>), connection pool named Connection Pool, logical request hash c180fd3b, physical request hash a2e8b0d6: [[
    select T315910.NIVEL_APPROVACAO as c1,
    T315910.ALCADA_DESCONTO as c2,
    T315910.ROW_WID as c3
    from
    W_QUOTEITEM_F T315910
    order by c3
    Based on what you said, so it is impossible to merge the physical SQL if we use 2 Database right?
    Your effort in answering to my question is much appreciated, Thank you.

  • How can you change the banner of the FTP-server on the Linksys WRT610N ?

    Dear readers,
    My question is this : How can you change the banner of the FTP-server on the Linksys WRT610N ?
    At present it says : "Welcome to WRT610 Router's FTP service" which gives away the type of the device.
    Which is a clue I would rather hide. Besides that I would like to change it to something more personal.
    But how do you do that ?
    The UG is silent about this.
    Regards
    John

    Try this to change FTP banner?
    * Login as admin
    * Open Internet Information Services (IIS) Manager
    * Expand FTP sites (from tree view)
    * Right-click on the particular FTP site, select Properties
    * Click on the Messages tab
    * Setup new message
    * Save the changes

  • Portal SearchOps: Can I see the SQL generated?

    Is there a way to see the SQL generated by a content search?
    We have started to move a project into production which is querying against a DB2 database, and I fear that a date range constraint in our query is failing to be exercised.
    Thanks,
    -mike

    If you're familiar with using debug.properties, add this to your debug.properties file:
    usePackageNames: on
    com.bea.content: on
    When you start the server, pass this option in:
    -Ddebug.properties=[your debug.properties file, including path]
    The output will be rather verbose, and you might be able to narrow it down by replacing
    com.bea.content: on
    with
    com.bea.content.repo.internal.server.logic.SearchOpsLogic: on
    com.bea.content.repo.internal.server.common: on

  • My Apple ID is registered in wrong email address. How can i change it or else when the server reply me to check my email that i can't check due to they sent to wrong email address...

    Please give advice of how can i change my Apple ID (email address) as it is wrong address. Like i just update my iPhone to latest version 6.0, and get the new app, iCloud which need me to key in my Apple ID and Password. I have no choice to use the wrong email address as it is already registerd since from 1st day i use my iPhone. Then i received the reply that tell me to check my email for verifing but the problem is i can't check my gmail as they sent to the email is not my actual gmail address....
    How can i solve this problem?

    You may change your Apple ID to any email address that is not already used as another Apple ID, or that is not already associated with another Apple ID.
    In other words, if I have an Apple ID [email protected], and have alternate email addresses of [email protected] and [email protected], none of them may be used by me or anyone else for an Apple ID, Rescue Email, alternate email, or anything Apple-related.
    If the Apple ID link above indicates your email is already in use then it is. Use https://iforgot.apple.com, select Forgot your Apple ID? and provide the information requested. If the email address is one you created and can still access, you may be able to retrieve it. If it is one someone else created, you will not.

  • How can I change the logo of default application server

    I am in 10g environment. Whenever I open my application in browser I see a splash screen "Oracle Application Server Form Services ...".
    Can I change this splash screen with the my own.
    I tried the following but it just removed the default one
    # Forms applet parameter
    splashScreen=D:\dev10g\my_splash.gif
    # Forms applet parameter
    background=
    # Forms applet parameter
    lookAndFeel=Oracle
    Message was edited by:
    Aasem

    Yes, you can.
    The GIF file must be under a directory where Oracle can read, like the %ORACLE_HOME%/Java directory. And you only specify the file name, not the full path.
    # Forms applet parameter
    splashScreen=my_splash.gif
    # Forms applet parameter
    background=
    # Forms applet parameter
    lookAndFeel=OracleTony

  • How can we change Topic Names Generated after linking a document

    Hi:
         I linked a document and generated a topic in RoboHelp for HTML. The topics are generated with some names and i am not able to rename them after they are generated.
    I tried doing this as per help
    Define the topic name pattern for generated topics
    When you set heading styles for pagination, the heading text is included by default in the filename of the topic file created in RoboHelp. For example, suppose you define Heading 2 for pagination. If the Word document has two Heading 2 topics, “Introduction” and “Beyond basics,” the topics are created as files named introduction.htm and beyond_basics.htm. The result is intuitively named HTML files that indicate the topic title. In addition to this default scheme, you can define more naming conventions. If, however, the Help system uses sequentially numbered files, such as helptopic001.html, helptopic002.html, and so on, you can define the pattern to support that convention.
    Do one of the following:
    Select File > Import > Word Document.
    Select File > Link > Word Document.
    Select File > Project Settings.
    In the Conversion Settings dialog box, select Other Settings.
    In the Other Settings tab, set the topic name pattern.
    Topics are named according to the selected pattern. You can select one of the following or create a topic name pattern.
    Default
    Uses the topic title text as the topic filename.
    <$filename_no_ext>-<$paratext>
    The name of the converted HTML topic contains the following:
    The name of the Word source file without its extension
    Hyphen as the separator
    Paragraph text used to demarcate HTML topics
    For example, a Word file named “Chapter.doc” with “1-Introduction” as paragraph text is converted to an HTML topic named “Chapter-1-Introduction.”
    <$filename_no_ext>-<n>
    The name of the converted HTML topic contains the following:
    The name of the Word source file without its extension
    Hyphen as the separator
    A sequential number
    For example, “Chapter.doc” is converted to an HTML topic named “Chapter-1.”
    <$paratext_no_num>
    The name of the converted HTML topic contains the paragraph text used to demarcate the HTML topic, without numbering. For example, paragraph text “1.Introduction” is converted to an HTML topic named “Introduction.”.
    <$paratext>
    The name of the converted HTML topic contains the paragraph text used to demarcate the HTML topic. For example, paragraph text “Introduction” is converted into an HTML topic named “Introduction.”
    But, still its doing the same. Can anybody help me .
    1. How can i generate what i need .
    2. or How can i rename the topics which are genrated.
    When i import word document, i can rename the topics. But, when i link them. They are readonly.
    Thanks
    Santhosh

    I verified it at my end and found that at times the "other settings" are lost if only other setting are updated but this behavior is a bit random.
    I have a workaround for this issue :-
    1. please link the document first
    2. Open the File->project setting dialog and click Edit button for Framaker setting (this wont cause any issue as you wont be using these settings)
    3. In "conversion setting" please update any "other settings" and then click OK
    4. Now on the other setting for word documents will get retained and after this it will always be retained for even the new projects.
    5. then OK on project setting dialog and can verify it by reoprning these settings
    Hope this helps
    Ashish

  • Can I change the SQL Datatype for Oracle Date?

    xMII 11.5 maps Oracle's Date type to its SQL type code 91 (Date).  When used in a display template, this xMII type displays only the date component (for example, "5/5/2007"), but in Oracle it holds the date and time.  In Java, the java.sql.Date type also holds the time component.  To get xMII to display a date/time (for example, "5/5/2007 11:23:59") you must have a SQL type code of 93 (Timestamp).
    Is there any way to get my xMII widgets to show the date and time components of an Oracle Date?  Is there a mapping of some kind that tells xMII which database SQL types map to which xMII SQL type codes?
    -tim

    In Aqua Data Studio:
    SELECT CREATED_DATE_TIME, MESSAGE FROM COLLABORATION_LOG
    where CREATED_DATE_TIME > to_date('01/01/07','mm/dd/yy') and site='DEM1'
    order by CREATED_DATE_TIME DESC
    GO
    results:
    CREATED_DATE_TIME   MESSAGE                                                                        
    5/3/2007 8:30:25 PM   (403)Access Forbidden                                                          
    5/3/2007 8:30:25 PM   (403)Access Forbidden                                                          
    5/3/2007 8:30:25 PM   (403)Access Forbidden   
    If I put the exact same SQL (without the "GO" at the end which is an Aqua Data Studio keyword) into a Fixed SQL Query in xMII and click "Test" and choose html format I get:
    CREATED_DATE_TIME MESSAGE
    05/03/2007 00:00:00 (403)Access Forbidden
    05/03/2007 00:00:00 (403)Access Forbidden
    05/03/2007 00:00:00 (403)Access Forbidden
    The time component is reported as "00:00:00" in xMII which is not the desired result.  I want xMII to see that column as a Timestamp which should read and sore both the date and time components in xMII.
    -tim

  • Can i change the Domain membership of Vcenter server 6.0 ??

    Hello All,
    We have VCenter server 6.0 and we have joined the server to On-premise AD ,   call it as X.com
    Also we have our cloud set-up and most of the applications are running on it , we have an AD in cloud,  call it as Y.com, we are planning to decommission the on-primes AD and use the Y.com as the single domain name ,
    All host in the VCenter can also communicate to Cloud,
    we have all necessary connectivity and S-S VPN set up between On-prime to cloud, DNS and Network connectivity is checked and working fine.
    Can i simply join the VCenter server to Y.com ??
    Will that have affect on SSO and Webclient ??
    should i perform any additional steps so that my current set up is not interrupted ?
    any other method to perform this activity ??
    Your valuable inputs are much needed. Thanks in Advance

    Hi,
    There are a number of options, I suppose it depends on the complexity of your vCenter. Before doing anything I'd recommend to backup:
    - vCenter DB
    - SSO configuration
    - SSL Certificates
    - Snapshot existing VCS (if possible).
    So, changing you vCenter domain will ultimately cause an outage whilst you reboot the machine for this to happen. Afterwards, you will likely see issues relating to FQDN change (vcenter.X.com has now become vcenter.y.com). Ensure that you have proper DNS resolution setup for this move in place.
    I would also make sure that you have your [email protected] credentials handy and working and that you create an extra Identify Source of y.com domain before proceeding.
    Ideally, this would be something to try and test before proceeding if at all possible.

  • Can I change the COMPUTER NAME of Windows Server ?

    Hi all,
    Is it possible to change the Computer Name of the Windows Server 2008, if Yes, what's the effect on all terminal profile on each station?
    ** We have many station that accessing some files thru pipe name ex: \\MyServer\Data\ hard coded on program public folders on server, but the newly installed server was named "MyServer2" can just rename it back to "MyServer" without problems
    on client station? " ***
    Thanks ^_^y

    Yes. You can change the name.
    You need to update all reference to new server name. You can try creating an Alias in DNS as a co-existence option.  
    Santhosh Sivarajan | Houston, TX
    Windows 2012 Book - Migrating from 2008 to Windows Server 2012
    http://www.sivarajan.com/
    This post is provided ASIS with no warran

  • Mavericks Calendar – Can't change calendar when connected to Exchange server

    Hello,
    I am migrating from Mac Outlook to Mavericks Calendar (Version 7.0 (1841.1)), but I am very used to colorizing my events so that I can understand what client a meeting is referring to at a glance. However, when I moved to the Calendar app, I no longer have that ability. After searching, I found that I could create Calendars using the File -> New Calendar tool in the menu. Unfortunately, I get a message saying that if I move an event from my default Exchange calendar the events will not longer auto-update and that reoccurring events will not change calendars.
    Does anyone have any suggestions on how I can make this work or enable some way to colorize my events within the Calendar app? If not does anyone have a really good inexpensive alternative?
    Here are some screenshots of what I am seeing.
    Thank you,
    -p

    Hi Daniel,
    I have already voted Ed's suggestion, did we try it and any update?
    Thanks
    Mavis
    Mavis Huang
    TechNet Community Support

  • SQL generated by EIS for Drill Through

    Hello,<BR>We are currently using EIS 7.1 on AIX. When we run a drill through report on a large flat dimensional member there are two separate SQLs generated. The first SQL has a where condition with appx. half of the child members and the second one with second half. Is this due to any kind of limitation on he length of the SQL generated?<BR>If so is there any way to work around with this?<BR>THanks a lot in advance<BR>Kris

    Hi Michael,
    I have got the following inputs from the OLAP forum on this query:
    P_S
    Posts: 40
    Registered: 5/29/07
    How to see the SQL (OLAP DML) generated by Discoverer for OLAP
    Posted: Aug 30, 2007 9:30 AM Reply
    Hi,
    I originally posted this query on the Discoverer forum, but it was then suggested to post it here in the OLAP forum. Please help.........
    Is there a way to see the SQL (OLAP DML) generated by Discoverer for OLAP (the way we have "View SQL" in Discoverer Relational). The version in use is 10.1.2.48.18.
    Thanks,
    Piyush
    KLaker
    Posts: 1,341
    From: Manchester, UK
    Registered: 1/10/01
    Re: How to see the SQL (OLAP DML) generated by Discoverer for OLAP
    Posted: Sep 5, 2007 7:34 AM in response to: P_S Reply
    Directly within Discoverer for OLAP (or Viewer)? No - because there is no way to change the behaviour of the generated SQL, you cannot add hints or create any MVs to change the SQL generated. You can trace the SQL generated during a Disco for OLAP query though by switching on some of the OLAP tuning and diagnostic features. There is more information contained in the Discoverer for OLAP Best Practices Guide:
    http://www.oracle.com/technology/products/discoverer/pdf/discoverer_plus_olap_best_practices.pdf
    Keith Laker
    Oracle EMEA Consulting
    BI Blog: http://oraclebi.blogspot.com/
    DM Blog: http://oracledmt.blogspot.com/
    BI on Oracle: http://www.oracle.com/bi/
    BI on OTN: http://www.oracle.com/technology/products/bi/
    BI Samples: http://www.oracle.com/technology/products/bi/samples/
    Regards,
    Piyush

  • 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.

  • Can i change prdadm password

    Dear all
    can i change the (sytem login passwor) production server prdadm  Password (os windows 2003 server entrprize edition)
    we are using  sap ECC5 oracle 9.2 .
    please repaly as son as possible
    thanks
    with best regards
    venkta

    Hi,
    <sid>adm is non-DBA user
    you can change the password
    regards,
    kaushal

Maybe you are looking for

  • How Can I Export Our WIki in a CSV Format?

    Victims of our own success: what was originally created as internal content on our private OS X Server wiki now is being requested for presentation on an externally hosted web service. Management wants this content to be accessible to constituents on

  • New iPhone 5 will not connect to WiFi

    I finally upgraded to a iPhone 5 from my old 3G and I cannot get it to connect ot my home WiFi.  It can see the WiFi and I have WEP encription on the network using a Netgear WGT624v3 wireless router and 128bit encryption and when I enter the password

  • Hyperlinks to PDF files with Excel XP will not open on Acrobat

    Hi all; I am having an issue with Acrobat Reader X. I am using Windows 7 x64 Pro, with Acrobat Reader X, and MS Office XP and try as I might, I cannot create an Hyperlink to a PDF document.  Excel says that "there is no program registered to open thi

  • Connecting to a LIVE mySQL database via Dreamweaver (ASP)

    Hi All, Have a bit of of an issue with connecting to my live database... I've created several sites in PHP and each time its been really easy to set up a connection to the live database (on a shared server), and work using live data... but I can't fi

  • Is Catlett, VA, going to get 4g lte coverage anytime in the near future?

    Hey everybody I live in catlett va and there is no LTE where i'm at will there ever be LTE here..  My LTE starts when  i get to warrenton >>Personal information removed<< Message was edited by: Verizon Moderator