When does OBIEE forcibly use Subquery Factoring ?

In a 10.2 "datawarehouse" schema I see OBIEE queries of the form :
WITH  SAWITH0 AS (select distinct T12345.COLUMN_1 as c1 from       DIMENSION_TABLE T12345
                  where  ( T12345.COLUMN_1 like 'HEMANT%')
) select distinct SAWITH0.c1 as c1 from       SAWITH0I cannot understand why OBIEE wouldn't run a simpler
select distinct T12345.COLUMN_1 as c1 from       DIMENSION_TABLE T12345
where  ( T12345.COLUMN_1 like 'HEMANT%')What OBIEE setup would cause even simple queries to be generated as using Subquery Factoring ?
Hemant K Chitale
http://hemantoracledba.blogspot.com

Hi Hemant,
use of WITH can be disabled in the OBIEE RPD Connection pool. Its enabled by default to allow the performance benefit you would see when using aggregated result sets. I personally think the OBIEE server is simply not advanced enough to determine when it doesn't need to use it (ie when selecting distinct dimension member values in dashboard prompts).
Just my 2c. Hopefully some of the experianced users on here can expand a little more for you. Id be interested to know as well.

Similar Messages

  • How to use subquery factoring ("with" clause) in OWB?

    Hi,
    Is it possible to use subquery factoring (popularly known as "with" clause) in OWB 10gR2? I have a mapping with a splitter and union-all, which generates a query that has repeated scans of the same table. Subquery Factoring would be very useful here. I think this is a very common situation, so, I hope there's a way to achieve this. (If not in this version, this would be my wishlist item for the next version.)
    Appreciate your help.
    Regards,
    Rahul

    Hi Rahul,
    I'm afraid you have to put this on your wishlist. You may put the query with the "with"-clause into a view (or table function if you need parameters) if performance is too bad. But that is somehow against the idea (and benefits) of owb.
    Another possibility is to use a temporary table and spilt the mappings into two parts: first fill the temp table, then the target table.
    Regards,
    Carsten.

  • When does an app uses my data package

    when downloading an app, how do i know if it is using my data pakcage when i run the app? for example, i have an alarm clock app does it use my data package every time i set an alarm? will it tell me in the description of the app, and if so what will the description say?

    With common sense mostly.
    An alarm clock app does not require internet address to function. A weather app requires internet access to download weather data for a selected location.
    Reading the description for an app should provide adequate info to make a determination if the app requires internet access to function, but it probably won't include - REQUIRES INTERNET ACCESS.

  • Interesting observation when doing concurrent updates using JE

    Hi,
    I had some interesting results when i tested JE against C version.
    In JE, when 2 thread are updating same record on a page; the performance is same as the core version; as expected.
    But when 2 threads are updating 2 different records on the same page; the performance of JE was almost still the same as the previous case. I expected major performance upgrade due to record-level locking(so concurrent updates to different records on same page should have been very fast); but it was not so.
    Can anyone explain why?
    I am using DB Env with transactions and locking ON. Record size is very small.
    Thanks.

    Hi,
    In JE, when 2 thread are updating same record on a pageJE is NOT a page based system, so I'm not sure what you mean here.
    Are you getting Lock conflicts on either system?
    What * performance* are you measuring?
    You haven't provided much detail about what you are trying to accomplish.
    Ron

  • With clause of select (subquery factoring)

    I've got a script that looks like this:
    with X as (select * from atable)
    select x1.*, x2.*
    from X x1,
    X x2
    This works perfectly well in SQL*Plus, in PL/SQL, etc. Yet when I try to add it as "New Folder from Database" to an existing Business area in Discoverer, I get the infamous "ORA-03001 Unimplemented Feature".
    What am I doing wrong?
    Oracle 9i, Disco 9.0.4

    Hi,
    You will have to define a database view containing your query and load the view into your database. I don't think you can use subquery factoring in a custom folder.
    Rod West

  • Strange issue encountered when doing costing run

    Dear experts,
    I encountered a strange problem when doing costign run use CK40N.
    I created a costing run on 23.12.2010 In the costing  run the validity was set  from 01.01.2011 to 31.12.2011, I did all the steps except release, all steps were done successfully
    I released costing run on 01.01.2011, but when I hit a material to check the costing date, found the costing was only avaliable to 31.01.2011 not 31.12.2011.
    I was wondering if any actions or modifications done will affact on the costing date of material?
    Have you ever meet this problems?
    Please give me some help.
    Thanks for your time and concern.
    Regards,
    Anna

    Hi Sarada & ajay
    Thanks for your comment.
    The most strange thing is...
    When I display costing run, the valid to date is 31.12.2011, but in material, it shows 31.01.2011....
    I did test again, to change the valid to date in CK40N of the costing run, but the result is, date in material alway the same with what displayed in costing run in T-code CK40N.
    One more information, we usually do costing run per month, and we just change to valid date to end of year from 2011.
    At first I thought it might have some relation with modifications to costing variant, but after doing test, the modifications will not affect.
    The valid date in material should always be the same with what displayed in costing run.
    And after the first step 'Selection' in costing run, the date will not be changed.
    So I could not come out with any idea with issue......

  • I am currently using Lightroom 5.6 and operating on a Mac with OSX Ver 10.9.5. I am receiving an error problem when doing the following -  I am exporting selected photos from a particular Catalogue saved on Drive 1 to a folder created on another Drive whe

    Hi, I am having a little trouble with exporting images to another drive and Catalogue and need some help if anyone can give me some advice
    I am currently using Lightroom 5.6 and operating on a Mac with OSX Ver 10.9.5.
    I am receiving an error problem when doing the following -
    I am exporting selected photos from a particular Catalogue saved on Drive 1 to a folder created on another Drive where a Lightroom Catalogue has been created. In this Catalogue I have arranged for the images once exported to be moved to a different folder - I used the Auto Import process under the File dialogue box.
    When processing the Export I receive an error message for each of the images being exported indicating the following -
    Heading Import Results
    Some import operations were not performed
    Could not move a file to requested location. (1)
    then a description of the image with file name
    Box Save As                                  Box  OK
    If I click the OK button to each image I can then go to the other Catalogue and all images are then transferred to the file as required.
    To click the OK button each time is time consuming, possibly I have missed an action or maybe you can advise an alternative method to save the time in actioning this process.
    Thanks if you can can help out.

    Thank You, but this is a gong show. Why is something that is so important to us all so very, very difficult to do?

  • When doing goods receipt without po using mvt 501 wants to be able to put amount

    when doing goods receipt without po using movement type 501 i want to be able to put the amount and dont want the amount to be coming from the moving average price in the material master.

    Have you used MIGO...
    I have tested that...
    The Ext. Amount LC field is mandatory in MIGO for movement type 501...

  • HT4407 When installing Windows 7 using Bootcamp, I get message: "Need 64-bit Windows Installation USB drive or DVD."  I thought my install disk was for 32 or 64 bit.  What does this mean?

    When Installing Windows 7 using Bootcamp, I get message:  "Need 64 bit Windows installation USB drive or DVD."  What does this mean?

    It means you need the 64 bit Version of Windows on a USB stick or DVD.

  • HT5097 I recently upgraded my macbook to Mountain lion.  Before doing so I used time machine and an external hard drive to back up my entire laptop.  When we upgraded my computer came back like new. All pics, music, videos documents etc gone.  How do I ge

    I recently upgraded my macbook to mountain lion.  Before doing so I used time machine to back up my entire laptop with an external hard drive. 
    When I got my computer back it was clean....all pics, music, documents, bookmarks etc. are gone.  How do I get these files off the external hard drive and back onto my laptop with the new upgrade?

    I recently upgraded my macbook to mountain lion.  Before doing so I used time machine to back up my entire laptop with an external hard drive. 
    When I got my computer back it was clean....all pics, music, documents, bookmarks etc. are gone.  How do I get these files off the external hard drive and back onto my laptop with the new upgrade?

  • I just installed Adobe CreatePDF desktop printer, when I try to use from Word or Excel, it does not work.  The Adobe print queue says "error" in the status screen.  I have uninstalled and re-installed.  Any ideas of what to do next?

    I just installed Adobe CreatePDF desktop printer on a Windows 7 home PC.  When I try to use from Word or EWxcel, it does not print.  The Adobe print device queue reports an "error" in the status column.

    Adobe retired this Feb 17, 2014.
    This app sent content to and got content from the web based services of "CreatPDF" and "PDF Pack".
    These are subscription services out in "the cloud". When the app was live you had to be online and signed into your account.  The user forum for CreatePDF has a DOC that speaks to the app removal.
    Be well...

  • HT1386 I have iTunes (up to date) and an iPhone 4s. When I connect it using the USB cable it does not appear in the top right corner. Other devices do and also the cable is fine as it charges and the PC sees it as a device. I've looked online and have no

    I'm new to this and I think I typed a long heading!
    Anyway the issue is I have iTunes and just updated it to the latest. I also have various Apple devices however my iPhone won't sync with iTunes. When I connect it using the USB cable it does not appear in the top right corner as does other devices. The cable is fine as it charges and also my PC sees the device. However it does not appear in iTunes so I can't sync music to it.
    I've searched the web but all asume iTunes can see the device.
    Help!?

    Hi David,
    If you are having issues with your iPhone not being recognized by iTunes on your Windows machine, you may find the troubleshooting steps in the following article helpful:
    iOS: Device not recognized in iTunes for Windows
    http://support.apple.com/kb/ts1538
    Regards,
    - Brenden

  • Help! I'm in UK and need to recharge but when I plug in (using a power converter) the square white batter pack is buzzing - what does it mean????

    Help! I'm in UK and need to recharge but when I plug in (using a power converter) the square white unit is buzzing - what does it mean? I am using a power adaptor that works for other items - shaver, phone etc. and they don't buzz - it's coming from the square white unit before it's connected to the computer so I don't want to then connect my mac incase it means there's something wrong. Getting desperate as I need to recharge!! Thanks for any help!

    Hi
    If you're using a converter that changes the voltage from the UK ~230V to say 120V, rather than just a converter to different outlet/plug/socket sizes - then that's likely the problem.
    All the Apple power units I've seen are rated from 100V to  240V & do not require any sort of voltage converter, just something to let you plug it into a UK outlet (or an Apple cable/connector set). Many cheap voltage converters can cause buzzing as you've described.
    Many supermarkets & hardware/general stores will sell the right 'adaptor' for a couple of £UK - I'd find one rather than continue with the buzzing.

  • HT3529 When using imessage on iphone5 does it ever use up any data from your carrier whether using wifi or carrier

    When using message on the iphone 5 does it ever use up data from your carrier, whether you are using wifi or carrier

    When using iMessage, they use data. If you are connected to wifi, it will use your wifi data, which will have no affect on your cellular account. If you are not connected to wifi, you will use cellular data, which is charged against your carrier account.

  • Why does my hard drive state I have used 500 gb when I have only used 280 gb?

    Why does my hard drive state I have used 500 gb when I have only used approximately 280 gb?

    Have you emptied your trash lately...
    Also... See these links...
    Apple ML = Increase Disc Space
    http://support.apple.com/kb/PH10677
    See Here  >  Where did my Disk Space go?
    And Here  >  The Storage Display

Maybe you are looking for

  • How do i transfer my itunes library from one macbook to another?

    hi,how do i transfer my itunes library from one macbook to another?

  • Is there a way to upgrade a MacBook Pro 15" Retina Display (Model ID:MacBookPro10,1) for thunderbolt 2 capability?

    Im just wondering if there is a way to upgrade an older machine to allow thunderbolt 2. This might be a silly question as I can't seem to find anything about it anywhere. I may just have to buy a new machine but it would be great if I could just upgr

  • NO ICONS ON THE DESKTOP!

    hi everyone hoping someone can help . . . my mini mac has been fine for months - no problems, but today we had a power cut, and now when i turn it on, it takes ages and ages to get off the grey apple logo, then the screen comes up, with just the find

  • Interface Mapping

    I have an issue with my interface mapping I have an interface mapping between an Outbound Interface and an Abstract Interface.... Obviously this is for a mapping between the sender and BPM. Anyway Everything activates sucessfully in the Repository. H

  • Viewing Email on desktop

    Is there a way to view my emails in my phone on my desktop.  I have a Centro through Sprint with versamail, and some of the emails I have been getting really need to be seen on a bigger screen.  For budgetting reasons, I'm about to disconect my inter