Solve cube, solve single measures in a cibe

We are using OWB 10gR2, having an AW cube with two measures, one has the solve option YES, the other has NO (in the Aggregator tab of the cube editor).
Now we were trying the following: When loading the cube using a mapping with the cube operator, we used for the cube operator option "Solve the cube" YES the first time and NO the second time (cleaning the cube in between, of course). The first time ALL measures have been solved, the second time NONE of them has been solved. What should be the effect of specifying different solve options for measure in a cube? The values of this option seem to be ignored anyway. Is it not possible to solve one measures and not to solve another in the same cube???
By the way, in beta releases the two option values were "on load" and "on demand", instead of "YES" and "NO" we have in 10gR2. Comparing the 10R2 and the beta releases, has more been changed than the labels? Is the intended semantic still "on load" and "on demand"?
A lot of questions! Can anybody help on that topic? Thanks!

With non-compressed cubes it is possible to solve one measure and not another. You will need the latest database patch also for this (10.2.0.2, bug 4550247 has details for 10.1 patch) for it to work properly. In the production release of OWB this should be operating, I think there were issues in the betas.
The options on measures for solve indicate which measures will be included in the primary solve. The solve indicator on the cube operator in the map however indicates whether this solve will be executed or not. So the map can just load data or load and solve the data. There is a transformation function for executing solves, so solves can be scheduled independently from loading. Its also possible to solve measures independently from each other using this function (WB_OLAP_AW_PRECOMPUTE).
Hope this helps.

Similar Messages

  • Cube Solve Step

    Can some one please help me to understand what Solve step does (in cube_build_log). DB version 11.2.0.1
    In our builds it takes the longest , a partition with just 2.5 million rows is taking between 6-8 hours to solve. I see lot of db sequential reads on OEM (temp and workspace tablespace).
    * What are important components - this step is memory , IO , CPU bound ? (Is there a parameter than can be tweaked ) or way to see what is really slowing it down.Is there a way to tune solve process.
    * Also does this step always run single threaded
    We do have have 80+ mesures in our cube.
    Thanks in advance.
    Edited by: user11159529 on May 13, 2011 8:28 AM

    The SOLVE step (typically) takes leaf data in the cube and aggregates it up the hierarchies of all the dimensions. This is usually the most expensive step in a cube build and can be either CPU or IO bound depending on the details of machine, configuration, and schema.
    Three things that can seriously slow down a partition build are
    <li> A poorly tuned database. The recommended database settings are described on http://wiki.oracle.com/page/OLAP+option+-DBASample+Scripts.
    <li> Too many dimensions. Anything under 10 should be fine. Over 15 and it will get very slow. Between these numbers will depend on other factors.
    <lI> Too many measures. I don't know why this is, but large numbers of measures (close to 100, say) can cause a serious slowdown. If you could break your cube into two cubes of 40 measures each, you may find that the combined build time for both is less than the time for your current cube. Ideally you would break the measures up based on shared sparsity patterns. (e.g. if measure A is generally NULL when B is NULL and vice versa, then put them in the same cube.)

  • Rubik's cube solver

    Hi All,
    Just though I would share a silly side project I have been working on, a G based Rubik's cube solver.
    It is far from perfect, but it brought me some joy so I thought I would share it with the community. It mostly seems to work, I won't go into too many details here, but basically you start off with a clean cube, apply some random operations to it, and then get the algorithm to solve. I supppose it would be easy enough to change to allow user defined starting positions, but it is basically proof of concept for the algorithm so I haven't bothered taking it any further. Note, the solving algorithm is based on Dan Knight's 7 step solution, which works quite well once you get the hang of it. The solution is far, far from optimal, and in fact the vast majority of cubes can be solved in 17 moves or less (belive it or not)...
    Attached is a zip of the files, note, it uses the openG 3D buttons, so I manually added that library to the zip. There are controls on the left hand side of the screen to apply the primitive transformations to the cube if you wanted to do it manually.
    The randomisation used mathscript to allow for starting with a known random number seed (is this possible with the normal random functions?), if you dont have this installed feel free to use any random number generator
    I would be interested to hear comments or see other G code for solving the cube, or if I have left something out of the zip file.
    Happy cubing...
    nrp
    ps: my record for solving the cube is about 2 mins, which is nowhere near the pros! Oh well...
    nrp
    CLA
    Attachments:
    rubiccube_main_v2 Folder.zip ‏1118 KB

    Very nice!
    nrp wrote:
    The randomisation used mathscript to allow for starting with a known random number seed (is this possible with the normal random functions?)
    Use e.g. the random white noise from the "signal processing..signal generation" palette. It has a seed input.
    nrp wrote:
    I would be interested to hear comments or see other G code for solving the cube, or if I have left something out of the zip file.
    Do you know the guys who made the LabVIEW robot solver?
    LabVIEW Champion . Do more with less code and in less time .

  • EPMA Essbase BSO cube with text measures

    Hi everybody ,
    I am using Oracle EPM 11.1.2.2
    I am trying to deploy a essbase BSO cube with text measures from EPMA. In EPMA the text list has to be created as a smartlist dimension. I have even kept the Account member with data type as Text as the first level 0 member of the Account hierarchy.
    When I am deploying am gettting no error . In EAS when I see the property of the member it shows as Text and also with the text list attached to it . But When I load data , the data also gets loaded and gives no error.
    But when am viewing the data through Smart View or through HFR , the data is displayed as numbers and not as text.
    Kindly help .
    regards,
    SS

    I can see that it is working with EPMA Essbase too, (nothing wrong there, with EPMA)
    Is there any member with a member formula, where you are getting numbers.
    If that is the case then text list will not work there. I remember raising a bug for this when text list was introduced for the first time. If that is the case, then you might have to wait till next release (11.1.2.3) where I heard for the first time solve order is coming to BSO (I could be wrong here.)
    Regards
    Celvin
    http://www.orahyplabs.com
    Please mark answers as helpful/correct if applicable

  • When using the vi: "FLUKE 884X Series Read Single Measurement.vi" with a FLUKE 8846A it is reading an "overload" error message

    The vi: "FLUKE 884X Series Read Single Measurement.vi" can be downloaded from "http://sine.ni.com/apps/utf8/niid_web_display.model_page?p_model_id=9431"
    I want to use this driver to read out a 4-wire resistance which in deed is a PT100 resistor to measure the temperature.
    When i click on the "run continuously" - button on the LabVIEW Front Panel, the program reads out the current resistance.
    However after each readout there comes the "overload" - error message on the display of the 8846a multimeter.
    Sometimes there can be also seen a small "error" - sign on the display and sometimes the 8846a beeps.
    I already deactivated the "ID-Query" in the "Initialize.vi"
    What can i do to prevent these error-messages ?
    Solved!
    Go to Solution.

    heinzmann wrote:
    When i click on the "run continuously" - button on the LabVIEW Front Panel, the program reads out the current resistance.
    What can I do to prevent these error-messages ?
    No no no. The "run continuously"  button is for debugging only and should not be used to run the program at all. If you are polling your instrument to often it will be confused. Check your timing. I think your program poll your instrument at "full speed", perhaps it works because you open and close GPIB driver on every iteration, giving some delay between each readout.    
    Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
    (Sorry no Labview "brag list" so far)

  • Rolling up multiple leaves on a dimension into a single measure

    I'm sure this is a common problem but I cannot find any talk of it with my Google searching.
    The problem I am having is when I need to a get a single measure, using an 'Average' aggregate, for multiple leaves in a dimension.
    For example, say I have a geography dimension and I need a single score for the three countries GB, HK and US combined, I might do this (though it won't be good enough):
    select avg(s.score) as score
    from my_cube_view s
    where s.geography in ('GB','HK','US')
    It's not good enough because the avg() needs weighting, GB, HK and US not containing an equal number of facts each (their individual scores will already be averaged by the cube).
    Is there a way for the cube to do this calculation for me? Or should I, when wanting to rollup scores this way, revert to manually averaging up the fact scores?
    Hope that makes sense,
    Dominic
    Edited by: Dominic Watson on Sep 8, 2011 5:02 AM

    You should be able to generate weighted averages. Check the Aggregation Operators section of the OLAP User's Guide to see the different hierarchical aggregation options for averages.

  • SSAS Tabular - placing single measure in Excel is fast, multiple from same table is slow?

    With SSAS Tabular using Excel:
    If I place a single measure MyMeasure:=SUM([ColumnNameOnFactTable])
    it happens very quickly.
    I have 3 other dimensions from 3 other dimension tables on Excel with this "MyMeasure" as the value.
    YearMonth in the columns and say Department ID, Account ID, and Call Center (just all made up for this example).
    Now, when I place a second measure from that same table as "MyMeasure" call it SecondMeasure:SUM([AnotherColumnNameOnFactTable]) the OLAP query in Excel spins, and sometimes even throws the out of memory error.
    The server has 24 GB of RAM, and the model is only a few hundred megs.
    I assume something must be off here? 
    Either I've done something foolish with the model or I'm missing something?
    EDIT:
    It SEEMS to work better if I place all y measures on the Excel grid first, then go and add my "dimensions", adding the measures after the dimensions appears to incur a rather steep penalty?
    Number of rows:
    Largest table (account ID lookup has 180,000)
    Fact table has 7,000
    The others are 1,000 or less...

    Hi,
    Thank you for your question. 
    I am trying to involve someone more familiar with this topic for a further look at this issue. Sometime delay might be expected from the job transferring. Your patience is greatly appreciated. 
    Thank you for your understanding and support.
    Regards,
    Charlie Liao
    TechNet Community Support

  • Case Structure to Obtain 1 Single Measurement

    Hi All -
    I'm using for DAQ Assistants to measure 4 different voltage signals.  I want to zero them with the click of a button so I am using a case structure and when I click an "OK" button it takes 1 single measurement from each of the 4 signals.  I then want to keep this value and use it in calculations elsewhere in my code.  Do you know how to store that one value and obtain it for use elsewhere?
    Thanks!

    You can store them in a feedback node or shift register.
    (Please show us your code so we can give more detailed advice.)
    LabVIEW Champion . Do more with less code and in less time .

  • Avoid cubes with single dimension

    When designing SSAS CUBE in SQL SERVER BIDS 2008R2 we get a message on the cube object stating "Avoid cubes with single dimension".
    We are using just 1 dimension and 1 fact table .
    Is there any specific reason for this issue ?
    Mudassar

    Hi Mudassar,
    This rule analyzes cube dimensions to determine whether a cube contains only one cube dimension. Generally, a cube that contains only one cube dimension should have that dimension split into multiple cube dimensions based on logical business entities. Splitting
    a single cube dimension into multiple cube dimension will also improve usability in most user scenarios. This is the best practices recommendation from Microsoft when designing dimension. Because under most circumstances, if the cube only contains one dimension,
    it means that all the attributes were put into this dimension.
    In your scenario, you just use one dimension and one fact table. So you get this warning. And you needn't split the dimension into multiple dimension since there is only one dimension used in your cube.
    For more information about how to define dimensions, see
    Designing Dimensions in SQL Server Books Online.
    Regards,
    Charlie Liao
    TechNet Community Support

  • Cube Solve Time when using MAX Aggregation Operator

    Hello,
    We have created a cube to implement the count distinct measure we need.
    The cube contains only one measure (COUNT) and uses the MAX operator to aggregate across all other dimensions except for the one we want to count (which uses the SUM operator). We have set the precompute percent to 60% for the bottom partition and 0% for the top partition. The cube is compressed.
    The problem is that the SOLVE step for a partition when performing a COMPLETE cube build, seems to be taking a very long time and is taking up huge amounts of TEMPORARY tablespace.
    We have succesfully created another cube with the same dataset which uses the SUM operator across all dimensions.
    This cube build was completed in a reasonable amount of time even though we had 5 stored measures and 80% aggregation for the top partition.
    Is this behaviour expected when using MAX operator?
    Thank you,
    Vicky

    Thank you, David.
    As you said we are using mixed operators because we are doing a distinct count.
    We will try setting the precompute percent to 35%,although I'm a bit worried about the query performance in this case.
    Neelesh, I think that Atomic Refresh was set to TRUE during the last refresh but the cube was the only object in the build script.
    No other cubes or dimensions were maintained in the same build so I don't think it could have affected the use of TEMP tablespace.
    Generally we don't use Atomic Refresh.
    Thank you,
    Vicky

  • [Solved] Add a single Spanish letter to my non-Spanish keyboard layout

    Hi,
    I correspond with Spanish speaking people a lot. They have some special letters like accented vocals (á, í, ó and the likes). I can enter those with my deadkeys accent followed by a vocal, even though my natural keyboard layout is German.
    The only problem I have is the ñ. I'd love to have this mapped to AltGr+n. This combo is currently mapped to the weird character ”, which I don't really need.
    My question: Using LXDE/openbox, how can I best map AltGr+n to the ñ character?
    Thanks in advance,
    Alex
    Last edited by kilmister (2013-01-22 13:24:22)

    This sounds like you really want to use xmodmap. If it's just one or two keys, I'd probably just assign them via direct xmodmap commands in your .xinitrc file.
    First run `xmodmap -pke`, grepping for the key your want to modify. See the arch wiki page on xmodmap for the level you'll use: https://wiki.archlinux.org/index.php/Xmodmap
    The you can call xmodmap for that single key as a test (example only from my own xmodmap -pke output):
    xmodmap -e "keycode 38 = a A Greek_alpha Greek_ALPHA aacute Aacute"
    So you could change the Greek_alpha in this case to an uppercase Q:
    xmodmap -e "keycode 38 = a A Q Greek_ALPHA aacute Aacute"
    If it's just one or two changes I find it easier to use `xmodmap -e ...` in .xinitrc rather than create an entirely new xmodmap file to use.

  • [solved] Undecorate a single window in Gnome Shell

    Is there a convenient way to toggle the WM decorations (specifically the title bar) off and on in Gnome for one specific window?
    I'm trying to play an old game in wine that only has static resolution options and it crashes if you try to edit the options in the save files. unfortunately the 2nd-largest option is pretty small on my 1080p 14" laptop monitor and the largest option puts me about 20px off the bottom of the screen. I could regain these 20+ pixels if I could toggle the title bar off once I get the game going.
    Does anyone know how I could do this? Googling for this is a little difficult since the results are polluted by people who are trying to undecorate maximized windows (by editing the GTK theme and I don't want such an invasive/wide-bore solution).
    Last edited by Everdras (2015-01-19 02:44:18)

    Thanks to your tip and some google, I've improved my answer.
    The game I'm playing is being run in a wine virtual desktop, so the window title is "Default - Wine desktop"
    I found this blog: http://mathematicalcoffee.blogspot.com/ … mised.html which details how to set the WM hints on windows with xprop. I hacked together my own solution in the form of this script:
    if [[ $1 == "undec" ]] ;
    then
    xprop -name "Default - Wine desktop" -f _MOTIF_WM_HINTS 32c -set _MOTIF_WM_HINTS "0x2, 0x0, 0x0, 0x0, 0x0"
    else
    xprop -name "Default - Wine desktop" -f _MOTIF_WM_HINTS 32c -set _MOTIF_WM_HINTS "0x2, 0x0, 0x1, 0x0, 0x0"
    fi
    Running it with "undec" undecorates the window, running it with anything else redecorates it.
    Caveat: if you redecorate the window, sometimes the window stops responding to keyboard input. Mouse still works. This isn't an issue for me since I won't be redecorating the game until I'm done playing, and I can still alt-tab and stuff. Restarting gnome (with alt+f2 and running 'r') might fix it as well, but I didn't check yet.
    Last edited by Everdras (2015-01-19 03:34:07)

  • [SOLVED] Install a single program

    Hello to everyone and sorry for my poor english.
    I want to install "dig" package but I don't need the entire "dnsutils" group. It's possible?
    And another question, how can I see all "dnsutils" packages? With another group, for example "kde", I can write "pacman -Sg kde" but it doesn't works with "dnsutils" group.
    Thank You very much!
    Last edited by alehox (2012-08-01 02:13:02)

    alehox wrote:I know dnsutils it's a small package but I can't see the program list or the package contents of dnsutils with pacman? It's easy with the web
    If there is such an option I am not aware of it.  It sounds like a good idea for a feature request - or for now you can try this, which I've called pac-list:
    #!/bin/bash
    repo=$(pacman -Ss $1 | awk 'NR==1 { gsub(/\/.*/,"",$1); print $1; }')
    ## uncomment only one of the following two lines:
    #for arch in x86_64 any; do
    for arch in i686 any; do
    lynx -dump -width 1024 -nolist \
    "http://www.archlinux.org/packages/$repo/$arch/$1/files/" | awk '
    /Back to Package/ {show=1;}
    /^[ \t]*\*/ {if (show==1) {print $2;} }'
    done
    edit: of course you can see contents once something is installed with `pacman -Ql <package name>`.
    EDIT: oops that script will only occasionally work.  The url needs to be constructed a bit more wisely than that.  Perhaps I'll tinker with that later.
    update: I've sacrified much elegance for some functionality.  This now seems to work for a majority of cases.  The two looped attempts seem odd to me, but as one should always fail silently, and the other work well, this seems to be a functional solution without having to look up whether the package is 686/x64 or 'any'.  I'm sure this will still fail occasionally, but my view on such scripts-of-convenience is to value simplicity over total failsafety.  It cannot fail in any dangerous way.
    Last edited by Trilby (2012-08-01 02:32:57)

  • SOLVED: Grouping to Single Row

    I am using version 5.6.2 with EBS 11.5.10.2 through concurrent requests.
    I have output that is grouped by the field G_PAGE_BREAK and I would like to return the lowest and highest value of PBDATA on one line. In the following example it would be "58 to 60".
    The XML looks like this:
    <LIST_G_PAGE_BREAK>
    <G_PAGE_BREAK>
    <PBDATA>58</PBDATA>
    </G_PAGE_BREAK>
    <G_PAGE_BREAK>
    <PBDATA>59</PBDATA>
    </G_PAGE_BREAK>
    <G_PAGE_BREAK>
    <PBDATA>60</PBDATA>
    </G_PAGE_BREAK>
    </LIST_G_PAGE_BREAK>
    My template uses the following:
    <?for-each-group:LIST_G_PAGE_BREAK;G_PAGE_BREAK?>
    <?for-each-group:current-group();./PBDATA?>
    <?xdoxslt:minimum(PBDATA)?> to <?xdoxslt:maximum(PBDATA)?>
    <?end for-each-group?>
    <?end for-each-group?>
    This is giving me three lines instead of one. Can anyone see where I've gone wrong?
    Thanks,
    Ed

    Hey Ed,
    use this
    <?for-each: LIST_G_PAGE_BREAK?>
    Max == <?xdoxslt:maximum(./G_PAGE_BREAK/PBDATA)?>
    Min == <?xdoxslt:minimum(./G_PAGE_BREAK/PBDATA)?>
    <?end-for-each?>

  • SSRS report connecting SSAS 2014 cube not returning measure value

    Hi all
    Recently we migrated SSAS from 2008r2 to 2014 in Dev environment. when we are testing  SSRS reports which are connecting to that cube is having issue. the measure value is returning as [Measures].[LSM Count] instead of numeric value.
    when we connect to old cube in prod environment the report is working as expected and even the mdx query is working fine in  Management studio of new cube.  what would be the issue.
    WITH -- Daily Graphic
    MEMBER SelectedIndicator1 AS '[Measures].[LSM Count]'
    MEMBER SelectedIndicator2 AS '[Measures].[LSM Count]'
    MEMBER SelectedIndicator3 AS '[Measures].[LSM Count]'
    MEMBER SelectedIndicator4 AS '[Measures].[LSM Count]'
    SELECT NON EMPTY {SelectedIndicator1, SelectedIndicator2, SelectedIndicator3, SelectedIndicator4} ON COLUMNS,
    ([Date].[Date].[Date].ALLMEMBERS *EXCEPT([Time].[Time Hierarchy].[Twelfth Of Hour].ALLMEMBERS,[Time].[Time Hierarchy].[Twelfth Of Hour].&[00:00])*[Source 2013].[METRIC GROUP].[METRIC GROUP]*
    [Source 2013].[LocalDn].members)
    } ON ROWS
    FROM ( SELECT ( STRTOSET('[Date].[Date].[Date].&[2015-01-26T00:00:00]:[Date].[Date].[Date].&[2015-01-27T00:00:00]') ) ON COLUMNS
    FROM ( SELECT ( STRTOSET('{[Source 2013].[LOCALDN].&[PGMS1]&[LSM],[Source 2013].[LOCALDN].&[PMES1]&[LSM]}') ) ON COLUMNS
    FROM [IMS]))
    Surendra Thota

    Hi Surendra_Thota,
    According to your description, there are SSRS reports with SSAS data source, after you migrated SSAS from 2008 R2 to 2014, the measure value returned string instead of numeric value.
    I tried to reproduce the issue in my local machine of SQL Server 2014, but it works fine for me. As a workaround, please modify the query like below:
    SELECT
    NON EMPTY
    [Measures].[Internet Order Quantity],
    [Measures].[Internet Sales Amount]
    } ON COLUMNS,
    NON EMPTY
    [Customer].[Education].[Education].ALLMEMBERS *
    [Customer].[Home Owner].[Home Owner].ALLMEMBERS
    ) } ON ROWS
    FROM [Adventure Works]
    If the problem remain unresolved, i would appreciate it if you could sample data and screenshot of the report, it will help us move more quickly toward a solution.
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu
    If you have any feedback on our support, please click
    here.
    Wendy Fu
    TechNet Community Support

Maybe you are looking for