Use query hints to build the aggregate views

can i get a link on this information
and wherr can i find out about Aggregated design wizard that helps create aggregation scripts
thanks
Edited by: Next Level on Jul 8, 2012 6:10 AM

Try
Look for Query Hints - http://docs.oracle.com/cd/E17236_01/epm.1112/esb_dbag/alocare.html#alocare1073704
Probably worth reading
Aggregating an Aggregate Storage Database - http://docs.oracle.com/cd/E17236_01/epm.1112/esb_dbag/alocare.html#alocare1078558
EAS documentation
Query Hints http://docs.oracle.com/cd/E17236_01/epm.1112/eas_help/queryhints.html
Aggregation Design Wizard - http://docs.oracle.com/cd/E17236_01/epm.1112/eas_help/dbwzagg.html
Cheers
John
http://john-goodwin.blogspot.com/

Similar Messages

  • Value coming from query is chaing in the Table view

    Hi experts,
    I am new to VC and developing a basic model by using a BI query as a data service.
    I have a field "Project Code" which can return value numeric or alpha numeric or Character.
    for example
    Project Code= 14000000000000002782007 or
    ATROVASTATIN
    When i am right clicking the query and doing the test query function its displaying correctly but when i am draging from the output port of this query and using a Table view to display the data the numeric values like in our example "14000000000000002782007" is displaying as 1.4e+23 its displaying the same value where ever i have some numeric value in the field.
    But its displaying the Char value right "ATROVASTATIN" as it is.
    In the table view the field which is getting this value is with Datatype Text.
    How can i solve this problem.
    Thanks and regards
    Neel

    Hi Neel,
    Have a look at this link,
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/vc/sizeof_key+values&

  • Online e-learning. Can I use just flash to build the architecture?

    I have over 100 students and 2000 more potential ones in schools that we give English classes to here in Spain.
    I am using only flash to build my games and interactive material. Once you finish one activity I load another movie into _level0 etc...
    I generally load movies and not attach.
    My question is:
    1. Will I have problems if there are 100 kids connected at the same time - or is that just a bandwidth issue with the my ISP? ie: 100 kids playing my 1MB movie is 100mb at the same time.
    2. I want to use highscores etc... I will use an sql database to keep hold of the records and fscommand with flash to get the variabes out.
    I will use dreamveaver to build the apps and registration of new users etc...
    Is this OK on its own. (Somebody mentioned Joomla etc... but I don't need that if I program it in with the system above.
    Cheers in advance (Hope this question is OK here in the forum - if not, just tell me and I'll move it)

    Thanks - I have looked up loadvars and have all code snippets.
    BUT you can use text, xml or mysql to send the info.
    1. WHERE do I stick the php code I give below?
    2. How do I RETRIEVE info OUT of flash back to mysql?
    myData = new LoadVars()
            myData.ref = this
            myData.load("anastasio.asp")
            myData.onLoad = function(){
                if(succes){
                    for(var i=0; i<this.cant; i++){
                        this.ref["Title_txt"+i].text = this["Title"+i]
                        this.ref["Coments_txt"+i].text = this["Coments"+i]
                        this.ref["holder_mc"+i].loadMovie(this.["Image"+i])
                } else trace("Error loading data")
    $connect = mysql_connect("localhost", "root", "root");
            mysql_select_db("anastasio", $connect);
            $result = mysql_query("SELECT Title, Comments, Image FROM titles");
            $cant = 0;
            while($row=mysql_fetch_array($result)){
                echo "Title$cant=$row[Title]&Comments$cant=$row[Comments]&Image$cant=$row[Image]&";
                $cant++;
            echo "cant=$cant";

  • When I click on a file to view in Finder in the view as columns, Finder stops responding.  If I use Finder in any of the other views, I don't have an issue.

    When I go to finder and view as columns so that the right column will open a preview of the file, I get the endless spinning graphic and when I go to Force Quit, it shows that Finder has stopped responding.  When I use Finder in any other view mode, I don't have that issue.  This just started today.  As far as I know, I haven't done any updates today that would cause the issue.  I've restarted a few times.  I'm running 10.10 on iMac (27-inch, Mid 2011).  I when to updates in the App Store and saw there was an update for 10.10.1 and tried to run it twice now.  It starts to install and says I have 7 minutes left and then at about 3 minutes, it just opens all my windows again and acts normally.  When I go to "About this mac", I'm still showing 10.10 as the OS.  Also, in the App Store, when I click on updates, it shows me 4 updates that I've already installed as ready to install.  Not really sure what's going on nor why all the sudden this is an issue, but I use the preview mode in Finder all the time so I would love a fix for this.  I've tried logging out and logging in as another user and the same issue with Finder happens with other users as well.  I've emptied my trash bin as well. 

    Step one is to log into a newly created admin user account and see if the problem persists.
    27" i7 iMac (Mid 2011) refurb, OS X Yo (10.10), Mavs, ML & SL, G4 450 MP w/10.5 & 9.2.2

  • When using hyperlink, how to build the URL?

    I open a report using followin URL
    http://machine_id:portnum/reports/rwservlet?report=C:\oracle_reports\test.jsp&USERID=uid/pwd@db&DESTYPE=cache&mode=bitmap&desformat=html&pagestream=yes&paramform=yes
    then this will open a report
    I want to add a hyperlink within this report to create another report named test2.jsp (in same folder as test.jsp)
    because within this report (test.jsp) I don't know how to get machine_id(or IP adress), portnum, path of the file, and all.
    I just know file name to be opened from the hyperlink (test2.jsp)
    Is there any way to get the URL used to open current report within the report running.
    What i'm trying to say is, when i open the test.jsp, I know the ip address, portnumber, path of the file and file name, and all parameters, so I can open test.jsp, but when i open test2.jsp from test.jsp, I don't have have those info, so how do i get those info within running report of test.jsp.
    also second question is, i wanna create a link to display current report in pdf format. In order to do that, i need to create a hyperlink exactly same as above except for desformat=pdf
    is there any easy way to achieve this task? (actually first question's answer can be same answer for this question)
    Thanks

    Hi Hanjoo,
    I am assuming for this reply that your test.jsp and test2.jsp are deployed on the SAME host machine.
    In that case, as the first step, put the file path (C:\oracle_reports) in the REPORTS_PATH environment variable on your machine.
    Then you can use a hyperlink like this inside test.jsp:
    /reports/rwservlet?report=test2.jsp&USERID=uid/pwd@db&DESTYPE=cache&mode=bitmap&desformat=html&pagestream=yes&paramform=yes
    For a PDF report output, you can use
    /reports/rwservlet?report=test.jsp&USERID=uid/pwd@db&DESTYPE=cache&mode=bitmap&desformat=pdf&pagestream=yes&paramform=yes
    The machine name and port number will automatically be pre-pended to the above hyperlink at runtime.
    Hope that helps.
    Navneet.

  • Anyone using this DVI  monitor with the mini  ViewEra V174SD-B Black 17" 8m

    I contact Viewera support to ask if they had any information on whether this LCD is compatible with a first generation Mac Mini 1.42GHz computer. They said they only had information on users of Windows PC.
    I really like this LCD but I don't want to go through the hassle of purchasing it only to have to ship it back.
    Mac Mini 1.42   Mac OS X (10.4.3)   Upgraded 8x DVD-RW DL 1 Gig Memory

    Never got an answer so I bought the Samsung 930BF instead.
    Leon

  • I have updated to Fire Fox 4. My windstream provider has recently updated to a new view, which I prefer. I cannot login to the new view since the update. I get a message that says the browser I am using is only supported by the classic view.

    Thank you

    Thank you for you input so far.....
    I think we are getting nearer to the solution sort of!
    Let me get this straight...... I have paid for content on itunes, bought the apple devicds in order to play said content, now I have to subscribe $25 for the privilage of playing MY library content on MY other devices. Which wasn't such an issue to do before the new and improved itunes version!!
    Have I got that correct.  I think I cannot associate my other iOS devices with my library because I am unwilling to pay further through the nose!!!???  or am I missing something?
    Thanks
    Frustrated even more now!!

  • Query not hitting the Aggregate

    HI Gurus,
    I have created a Aggregate on one info cube. now when i am executing a query which was created before the creation of aggregate then that query is hitting the Aggregate.
    But i created one more new query (after the creation of aggregate) on the same infoprovider.
    Now when i am checking that query is not hitting aggregate..
    I am checking through RSRT --> Execute and Debug --> Display Aggregate.
    Its quite strange for me...
    Please help..

    Hi,
    Thanks for your quick reply.
    Let me explain my problem clearly. I am aware of that when the Aggregate contain all the characteristics that are in the query only that Aggregate is used by the report while executing it. I have few cubes on which I have created Aggregates which includes all the characteristics which are used in all the reports. Now I have created a multi provider on these cubes and created a query on that multi provider. Now when I execute the query does it hit the Aggregate or not.
    For Example.
    I have cubes A, B and C. A contain 1,2,3 characteristics and B contains 1,4,5 and  contain 1,4,6,7. I have created Aggregates on these cubes. I have created the Multi Provider on these and executing the query. This query contain all these characteristics 1,2,3,4,5,6,7. when I run the query does it hit the any of the Aggregates.
    Regards
    Sankar.

  • How do i use the character viewer

    can anyone tell me the system in using the character viewer, i can drag and drop but surley there must be and easier way than that!
    Thanks.

    From Mac Help:
    Enter special characters and symbols
    Use the Character Viewer to enter special characters and symbols, such as mathematical symbols, letters with accent marks, emoticons, arrows and other “dingbats,” into your documents.
    You can also use the Character Viewer to enter Japanese, Traditional Chinese, Simplified Chinese, and Korean characters, as well as characters from other languages.
    Enter special characters or symbols from the Character Viewer
    Open a document, and place the insertion point where you want the special character or symbol to appear.
    Choose Edit > Special Characters to open the Character Viewer, or choose Show Character Viewer from the Input menu in the menu bar (looks like a flag or character).If you don’t see Show Character Viewer in the Input menu, follow the steps in this topic to show the Character Viewer in the menu bar.
    Select a category from the list on the left, and then select the character you want to use.Use the Recently Used or Favorites sections in the Character Viewer to quickly enter frequently used characters or symbols.
    Add a character or symbol to the Favorites section in the Character Viewer
    Choose Edit > Special Characters to open the Character Viewer, or choose Show Character Viewer from the Input menu in the menu bar (looks like a flag or character).If you don’t see Show Character Viewer in the Input menu, follow the steps in this topic to show the Character Viewer in the menu bar.
    Select a category from the list on the left, and then drag the character you want to the Favorites section.
    Customize the Character Viewer
    If you don’t see the character or symbol that you want to use, try customizing the Character Viewer.
    Choose Customize List from the Action pop-up menu (looks like a gear) in the top-left corner of the Character Viewer.
    Select the categories that you want to appear in the Character Viewer, and then click Done.
    Show the Character Viewer in the menu bar
    If the character doesn’t appear in your document, you may be using an app that doesn’t support that character. Try using a different character or inserting the character in a different app.
    See the special characters or symbols you can enter using keyboard shortcuts
    You can use the Keyboard Viewer to help you learn which keyboard shortcuts to use to enter special characters or symbols.
    Turn on the Keyboard Viewer
    Choose Apple menu > System Preferences, click Language & Text, and then click Input Sources
    Select the Keyboard & Character Viewer checkbox.
    Make sure the checkbox next to each input source you want to use is selected and that “Show Input menu in menu bar” is selected.
    See the special characters or symbols you can enter
    Choose Show Keyboard Viewer from the Input menu in the menu bar (looks like a flag or character).
    Press any modifier key or combination of modifier keys to see the different special characters or symbols you can type.For example, hold down the Option key or the Option and Shift keys.
    To place a special character or symbol that you see in the Keyboard Viewer in your document, press the modifier key or keys you pressed in step 2 and press the key on your keyboard that is in the same place as the special character or symbol you see in the Keyboard Viewer.
    If you don’t see the special character or symbol you want to use, enter the special characte

  • Can I store only the aggregate data in OLAP cube

    Hi All,
    I know that the OLAP cubes store the leaf data and then builds the aggregate data on top of it and stores with in it. I have huge amounts of data ( like billions of data in my fact table and 6-8 dimension tables). If you keep the leaf data along with the agg data with in the cube would be too large to build.
    So I am thinking to have to store only the agg data within the OLAP cube and for the leaf data it should still read from the Relational tables. Something like Hybrid OLAP.
    (what I mean is
    1. create the dimensions and cube in the AWM on 11g.
    2. I will also specifiy the levels that I want the agg data to be calculated and stored in the OLAP cube.
    (what I want is
    1. I want to store only the agg data in the cube and leaf data still in the relatlional tables.
    2. when I read the cube and drill down to the leaf level , it should fetch the leaf level data.
    Is this possible in Oracle OLAP, if yes please provide some pointers
    Thanks
    S

    First you should try out storing and aggregating data to atleast see if the cube-loading time, query-time and AW-size is within acceptable limit or not. 11gOLAP especially 11gR2 OLAP is very efficient on all three fronts.
    Regarding specifying levels, you can either use Cost-based-aggregation and pick the %age that should be pre-aggregated OR you can use Level-based-aggregation and pick the levels from each dimension that should be pre-aggregated.
    Try these out before venturing into anything else. You will be surprised by the results. There are other ways to store the data in smaller multiple-cubes and joining those cubes through formulas. Make sure you don't mistake an attribute for a dimension.
    Not sure what you mean by just storing aggregated data in olap cubes. You can just do a SUM .. GROUP BY .. of relational data before loading it into olap cubes. For example, if you source data is at DAY level, you can SUM.. GROUP BY .. at MONTH-level and then load month-level data into olap cubes where leaf-level is month-level.
    The sql view (used by reporting tools) could then be a join between month-level "olap" data and "day-level" relational data. When you are drilling-down on the data, the sql view will pick up data from appropriate place.
    One more thing. Drill-Thru to detail data is a functionality of reporting tools also. If you are using OBIEE or Discoverer Plus OLAP, then you can design the reports in a way that after you reach the olap leaf-level, then it will take the user to a relational detail-report.
    These are all just quick suggestions (on a Friday evening). If possible, you should get Oracle OLAP Consulting Group help, who can come up with good design for all your reporting needs.

  • How do I use Sql hints in PreparedStatement?

    Hi,
    I am trying to use a sql query which uses Oracle hints to optimize the query. I am using the ojdbc drivers from Oracle. I am using the PreparedStatement (Java 1.4) to execute this query, but it returns an empty resultset. If I remove the hint, then the query works fine using the PreparedStatement. Does anyone know how to make sql hints work using preparedstatement. I tried it with Statement object and that works (ie. the hint works and returns rows as expected).
    The query is as follows:
    select /*+ ordered
    use_nl(ri ma)
    count(*),
    ma.columnName
    from table1 ri,
    table2 ma
    where ma.columnName2 = ri.columnName2
    and ma.column3 = 1
    and ri.column4 = 66
    group by ma.columnName
    I tried escaping the /*+ but that also didn't work. Any help would be appreciated.
    Thanks in advance,
    Parag

    Must be an old database.
    Presumably you tried it in sqlplus and it worked both ways. If not then nothing you do will make it work in java.
    Other than that my quess would be that it has nothing to do with the select.
    Some possibilities.
    1. You are eating exceptions.
    2. You are not running the code that you think you are.

  • How to use Oracle Hints in OBIEE

    Hello guys
    I have a report that is running forever and I have reviewed the explain plan over and over, which makes me think that the join between these 2 tables are slowing everything down --- The fact table has 10Billion records and the Dim has 10 Millions records. Even if the report has filters on various columns of the 2 tables, it is still taking forever. The explain is showing that its doing a nested loop join of these 2 tables which takes a lot of time.
    I am thinking of using some Hint to force the query to scan the dimension table first (with the filter condition I defined, it will return 80 rows only from Dim table), and then use the result set of the scanning to go and look for matching records only in the fact table. Its should help speed up the query..
    I'd like to know what kind of hints can help with that kind of operation, also how to define these kind of hints in OBIEE. Now I know that in Physical Layers, I can include hints in physical table property, but how to determine which table (fact or dim) to embed the join hints?
    Need advice from anybody who have experience working with hints?
    Much appreciation!

    Just an update:
    I have tried a couple of join operation hints like USE_NL and USE_HASH hints, it changes the join method but didn't help with performance at all.
    The original SQL that OBIEE generates is: ----------Takes about 20 mins to return a dozen rows
    select sum(T991020.LP Amount) as c1,
    T991021.DAYOFWEEK as c2,
    T991021.PU DATES as c3
    from RD_Grant.PU_DATES T991021, Dimension -----Huge
    PU_Grant.PU_FACTS_9 T991020 FACT ----Gigantic
    where (T991020.COMPANY = T991021.COMPANY
    and T991020.DATES = T991021.DATES
    and T991020.DATES between "10/10/2009" and "31/10/2009"
    and T991021.DAYOFWEEK = 'Sunday'
    and T991021.DATES between '09/13/2009' and '11/03/2009')
    group by T991021.PU DATES, T991021.DAYOFWEEK
    Basically I am still thinking of finding a way to force the query to scan the dimension table first (with the filter condition I defined, it will return 80 rows only from Dim table), and then use the result set of the scanning to go and look for matching records only in the fact table. Its should help speed up the query..
    Any suggestions?
    Thanks
    Edited by: user7276913 on Nov 5, 2009 7:07 PM
    Edited by: user7276913 on Nov 5, 2009 7:22 PM

  • In ical, only since the update, when I look at the day view, I can no longer scroll down indefinitely; it stops at one day only

    Since the update, when I use ical , and am on the day view, I no longer can scroll down through multiple days; it stops at one day only. Seems like a poor design change. Any idea how to reverse this?

    cfromflorida,
    Try swiping left/right works for me.

  • Excel 2013 registry entry for removing the protected view in excel.

    Hi All
    I am having Office 2013 on my machine. I wanted to remove protected view from my excell which is showing up when I convert pdf to excell using total pdf converter. The protected view is in red color mode. When I tried searching for the same on the net I
    found a registry customization for the excel to overcome the issue.
    HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Excel\Security\FileValidation with “EnableOnLoad”=dword:00000000
    I tried this out on a machine having 2010 office and it worked but when I tried the same on my machine I could not find FileValidation key but found couple of other keys like Trusted Documents and Trusted Locations. So I tried adding the dword in both the
    key locations but could not address the issue. Is there any solution for addressing the issue on 2013 office. My system is a 64 bit one. I tried adding the above key in 64 bit version of excel. I am using windows 8.1 for your information.
    Please suggest a solution at the earliest possible time.

    Hi,
    Looks like you want to turn off Office File Validation.
    Maybe you should try to create FileValidation Key under the Security.
    Remember to Backup you register before you change it.
    1.Locate and then select the following registry key: 
       HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Excel\Security
    2.Select Security, point to New on the
    Edit menu, and then click Key.
       Type FileValidation, and then press Enter.
    3.Select FileValidation, point to New on the
    Edit menu, and then click QWORD Value.
       Type EnableOnLoad, and then press ENTER.
    Wind Zhang
    TechNet Community Support

  • BAPI to extend the consumer view of BP

    We are using this bapi to create the general view of the BP (both person & org)
    BAPI_BUPA_CREATE_FROM_DATA
    If we want the program to extend this to the consumer CRM006 or other role, which BAPI or function should the program call?
    Thanks,
    Glenn

    Hi Glenn,
            Follow below code, this is for extending BP roles using BAPI
      DATA : role LIKE bapibus1006_head-partnerrole.
      DATA : i_return   TYPE bapiret2   OCCURS 0 WITH HEADER LINE.
      DATA : l_bpid TYPE bapibus1006_head-bpartner.
            i_rcomm TYPE bapiret2.
      role = 'CRM000'.
      l_bpid = '000256'.
      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
        EXPORTING
          input  = l_bpid
        IMPORTING
          output = l_bpid.
      CALL FUNCTION 'BAPI_BUPA_ROLE_ADD'
        EXPORTING
          businesspartner                = l_bpid
          businesspartnerrole            = role
          DIFFERENTIATIONTYPEVALUE       =
       TABLES
         return                         = i_return.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    Hope this will help you
    Siva

Maybe you are looking for

  • Reformat without DVD drive?

    I have a Toshiba Satellite A215-S7416 and the DVD drive is no longer recognized.  After trying to reformat with the Recovery discs that came with my laptop and failing midway, I resorted to installing Linux instead (via thumb drive).  I've also tried

  • Help! the changes on my book were gone when i opened iphoto

    i just finished my 100 page book! I opened my computer and the 100 pages that I made had a days work all gone. I saved it as a pdf though. I want to order it, but i cant open the pdf file in iphoto. how do i go about ordering the book based on pdf fi

  • How to submit a song to iTunes

    I hope someone can help here - this is the most appropriate forum I could find! My band have just finished recording an album, and we would like to be able to sell it through iTunes, but I can't find any link or help or info on Apple's site, nor thro

  • Cannot share files

    Just bought a WRT400N, and cannot set up Homegroup to share files. I have my desktop connected to the router using cable and the PC via wireless. When setup a Homegroup on the desktop, it cannot be found by the laptop, and vise versa.  The trial vers

  • JSF Page Load

    Is there such thing as a JSF Init Page Load? the same thing that .net has with Page_Load? How do i init the code behind bean?