How to Maintain Cube without Aggregating the incoming data

Hi All,
I have a process which loads a cube and then aggregates the incoming data. The PL/SQL procedure is as below.
CREATE OR REPLACE PROCEDURE load_actual AS
xml_clob clob;
xml_str varchar2(4000);
isAW number;
begin
DBMS_LOB.CREATETEMPORARY(xml_clob,TRUE);
dbms_lob.open(xml_clob, DBMS_LOB.LOB_READWRITE);
dbms_lob.writeappend(xml_clob, 183, ' <BuildDatabase Id="Action4" AWName="FIN_AW.FINAW" BuildType="EXECUTE" RunSolve="true" CleanMeasures="false" CleanAttrs="false" CleanDim="false" TrackStatus="true" MaxJobQueues="0">');
dbms_lob.writeappend(xml_clob, 42, ' <BuildList XMLIDref="ORG_ACTUAL.CUBE" />');
dbms_lob.writeappend(xml_clob, 18, ' </BuildDatabase>');
dbms_lob.close(xml_clob);
xml_str := sys.interactionExecute(xml_clob);
dbms_output.put_line(xml_str);
end;
As per my requirement I have to flip sign for some leaf level dimensions after the cube load and then re run the aggregate. If I go with this script I will end up aggregating my data twice.
My question is how do I modify this script so that the records are loaded in the cube but the aggregate does not run.
I tried by changing RunSolve="true" parameter as below but still it is solving the data.
dbms_lob.writeappend(xml_clob, 184, ' <BuildDatabase Id="Action4" AWName="FIN_AW.FINAW" BuildType="EXECUTE" RunSolve="false" CleanMeasures="false" CleanAttrs="false" CleanDim="false" TrackStatus="true" MaxJobQueues="0">');
My cubes are compressed, partitioned and I am using Oracle 10.2.x.
Please provide your suggestions if I missing something here ?
Thanks,
Vishal

10g Cubes have a property called 'AutoSolve'. As far as I understand, if this is set to YES, then the aggregation will happen automatically whenever you build the cube. I may be missing something, but the RunSolve property of the BuildDatabase command does not seem to be used.
In AWM the "AutoSolve" property appears to correspond to the check box
"Use Default Aggregation Plan for Aggregation"
in the "General" tab for the cube. In order to uncheck this you also need to uncheck "Use Compression" on the "Implementation Details" tab.
As an example, I created a cube named C1 with the box checked and then exported the XML.
<Cube Name="C1" LongName="AMERICAN::C1" ShortName="AMERICAN::C1" PluralName="AMERICAN::C1" Id="C1.CUBE" Schema="GLOBAL" UseGlobalIndex="false" SparseType="COMPRESSED" DefaultDataType="NUMBER" AutoSolve="YES">
I then created cube C2 with it unchecked.
<Cube Name="C2" LongName="AMERICAN::C2" ShortName="AMERICAN::C2" PluralName="AMERICAN::C2" Id="C2.CUBE" Schema="GLOBAL" UseGlobalIndex="false" SparseType="STANDARD" DefaultDataType="NUMBER" AutoSolve="NO">
The compression check is enforced by AWM. I hand modified the XML for cube C1 to switch AutoSolve to NO and used it to recreate the cube without errors (as a compressed cube). I don't know if there will be any issues downstream.

Similar Messages

  • Using DW CS6; when uploading a site DW changes all dates to today; how can I upload without changing the file-dates?

    Using DW CS6; when uploading a site DW changes all dates to today;
    how can I upload the site whilst preserving existing file-dates?
    Thanks
    Paul

    How are you uploading?
    I do not see this behavior in DWCS4 or DWCC (I assume nothing changed in DWCS6 and then back for DWCC, but I could be wrong).
    However, when I upload, I only select the files I have modified after an initial "Upload Entire Site? Yes/No" prompt. If you aren't selecting specific files to upload, and you're overwriting the files on your server with new copies of your entire local site each time, the mod dates would show as the date/time of your upload.
    To select only the files that have changed since your last upload...
    1. Right click on your local root folder in the Files window under Local View
    2. Go to Select > Newer Local from the context menu
    3. Wait until DW is done talking to the server, it could take a while, when it's done, all of the files that have a newer mod date locally than their server counterparts will be selected
    4. Click the Put (up arrow) button
    For me, this process never changes the dates of files that aren't part of the upload.

  • How to maintain several views of the same data and update a tree

    I have an object UiUser, which is displayed in my application in several different views. There are three different views which all have the User object i.e. search results, user tree and user table. Each of the views has the same menu items, so the user can be deleted from any of the views.
    What I am trying to work out is how should I ensure the item is updated in all of the views?
    I can fire a property change event with the UiUser and update two of the views i.e. search results and user table, but how do I update the tree?
    I thought of overiding the equals/hashcode methods of the UserTreeNode to compare uiUser.getId () and I could then search the tree and find the tree node of the required UiUser. But I have reservations about this whole approach as it just seems wrong.
    Any ideas of how to keep N views in sync, I really don't want all of the views to have tree nodes as this equally seems wrong. This should be a simple problem to solve and I'm sure lots of people have done it, I'm just not sure which is the best approach to take.
    Thanks

    Hi Jan,
    This is so because each installer has a GUID that is used to check whether the application needs to be upgraded or not. (It's a Microsoft function).
    What you can do is create a new installer with a different GUID (copy the installer in the projects), and check witha  text editor whether this GUID has changed.
    But any specific reason you need two seperate installs? You can run the application twice with a specific INI token:
    allowmultipleinstances=True
    Ton
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

  • How to delete aggreagetd data in a cube without deleting the Aggregates?

    Hi Experts,
    How to delete aggreagetd data in a cube without deleting the Aggregates?
    Regards
    Alok Kashyap

    Hi,
    You can deactivate the aggregate. The data will be deleted but structure will remain.
    If you switch off the aggregates it wont be identified by the OLAP processor. report will fetch the data directly from the cube. Switching off the aggreagte won't delete any data,but temporarly the aggregate will not be availbale as if it is not built on the info cube. No reporting is not possible on swtiched off aggregates. The definition of the aggregate is not deleted.
    You can temporarily switch off an aggregate to check if you need to use it. An aggregate that is switched off is not used when a query is executed.This aggregate will be having data from the previous load's. If the aggregate is switched off means it wont be available for reporting but data can be rolled up into it.
    If u deactivate the aggregates the data will be deleted from the aggregates and the aggregate structure will remain the same.
    The system deletes all the data and database tables of an aggregate. The definition of the aggregate is not deleted.
    Later when you need those aggregate once again you have to create it from scratch.
    Hope this helps.
    Thanks,
    JituK

  • Cube with aggregation more slow that a cube without aggregation

    Hi,
    I have a SSAS 2012 database that I am trying to tune to give more performance.
    I improve several best practices like define attribute relationships between attributes and also create aggregations (with bids helper) to try so tune the speed of the query.
    But every time I compare my Cube with the old without aggregations the times are almost the same.
    I run the Sql profiler and I saw that the aggregations are used but at the end a Query Subcube is always done I increase the duration of the query.
    If my query can get all from the aggregation it's usual to do at the end a Query SubCube ?
    In the Old Cube no aggregations are used and all information is used by the partition and query Subcube.
    Thanks,
    Manuel Gomes

    Hi Gomes,
    If I understanding correctly, you encounter performance issue when using SQL Server Analysis Services. Since not know the structure of you SSAS database, it hard to give your the root reason that cause the performance issue. I'd suggest you enable SQL
    Sever profiler to monitor the queries fired by the process, once you find some queries took a very long time to run, consider creating the smaller cube partition or optimzing the query by adding index or partition to improve the query performance.
    Here are some links about performance tuning, please see:
    http://www.mssqltips.com/sqlservertip/2565/ssas--best-practices-and-performance-optimization--part-1-of-4/
    http://technet.microsoft.com/en-us/library/cc966527.aspx
    Hope this helps.
    Regards,
    Charlie Liao
    TechNet Community Support

  • Duplicates of a song on iPhone 4s but not in iTunes. Unable to delete duplicate. Won't play and won't let you swipe to delete. Any ideas on how to do so without resetting the phone?

    I have duplicates of a song on an album. One of the duplicates is grey with no album cover. When you attempt to swite and delete, the track will not delete and will not even play. I've contacted iTunes store and the person I received the support email from told me that it may not be downloaded. I emailed him back and explained that no there is no download for that song in my itunes store on my phone.
    One I never received an answer back which shows you how well these people do their job.
    Two: I really would prefer to have a solution to this problem without having to delete all of my music from my phone or resetting my phone. Because this duplicate isn't even showing up in my iTunes, it's only showing up on my phone.
    When I attempt to find it in my itunes it plays fine. But when I try to find the file to delete it, it is no where to be found. I've tried everything that I could think of to get rid of it. And I don't want to leave the album/artist off my phone because I do enjoy their music... And I have the microsoft sync in my car.
    Anyone got any ideas on how to do this without resetting the phone and/or taking my music off?

    If you have all your music on the cmputer then i would connect up my phone uncheck the Sync Music option and apply.
    This should take all the music off your phone .Then you can resync the music back on to it.
    If this doesn't work maybe a restore to factory settings and start from scratch is the way to go

  • I am attempting to upgrade from Adobe Premier Elements 9 to Adobe Premier Elements 13 after using 13's trial version for a few weeks.  I am unable to find where and how to do this without losing the project I have been working on.  Please help?

    I am attempting to upgrade from Adobe Premier Elements 9 to Adobe Premier Elements 13 after using 13's trial version for a few weeks.  I am unable to find where and how to do this without losing the project I have been working on.  Please help?

    Vere Clarke
    Premiere Elements 9.0/9.0.1 and Premiere Elements 13 are standalone products.
    So, you can have both on the same computer, but only open one for your work.
    The classical recommendation is to finish a project in the version in which it was created since there
    is no guarantee that a project from an earlier version will open in the later version. Probably will, but
    no guarantees. And, when you do explore this, do it from a copy of the earlier version project. Once you
    take the earlier version project into a later version one, you cannot go back to edit the later version edited
    project in the earlier version program.
    If you have both versions (9 and 13) on the same computer and you have not moved, deleted, renamed any of the version 9's files/folders,
    right click the saved closed Premiere Elements 9.0/9.0.1 project file, select Open With, and then Adobe Premiere Elements 13.
    (Your 9.0/9.0.1 saved closed project file should be found in Libraries/Documents/Adobe/Premiere Elements/9.0.)
    Please review and consider. If any questions or need clarification, please do not hesitate to let me know.
    Thank you.
    ATR

  • How create mail alert without triggering the event.

    1.     SR 3-4924626351: How create mail alert without triggering the event.
    We wanted to send alert mail every 10 days or 15 days or 1 month to a reporting manager of Opportunity Owner with details of that Opportunity. I don’t want to use any triggering of event like the Following. When new opportunity is created When modified Opportunity is saved etc.

    Raju,
    If you don't want to use the triggering event, you will have to do this manually.
    Manually:
    - Create a Web Link on the SR with and embed the mailto: function with the receivers email and subject and body embedded in the url (you can find this link on Google)
    - When this link is clicked, an email window will open with all the details you provide, and you can click the send button to send the email.
    - You will have to do this manually every 10-15 days or whatever is the duration
    Auto:
    - Create a time based workflow on a new Opportunity Created event
    - create a action to send an email notification to the concerned person (details in the workflow properties)
    - This workflow will auto send an email every 10-15 days to the opportunity Manager.
    The time based workflow is the best option I see. Do you see any issue/ concerns with auto generated emails?
    Hope this helps!
    Royston

  • How to getFocus in a ComboBox without choosing the inside data?

    How to getFocus in a ComboBox without choosing the inside data? Once I clicked on the ComboBox, I couldnt get the focus unless I choose the data inside. Although I had tried with many different types listeners, but still couldnt get it. Could anyone help me???

    It is easier to work with the JComboBox in 1.4 for what you want to do.
    But try this and see if it works for you. I added a FocusListener to all the other components on the panel, and had them close the combo box popup list. Now, if another component previously had the focus, it would take 2 clicks to have the combo box's list pop up. It's quite round-about, but it seems to work.
    I also printed a message on the console.
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.event.*;
    public class ComboBoxPopupTest
       public static void main( String [] args )
          final JComboBox comboBox = new JComboBox( new Object [] { "one", "two",
                                           "three", "four" } );
          JButton button = new JButton( "huh" );
          JButton button2 = new JButton( "Yo, baby!" );
          final JPanel panel = new JPanel();
          final Runnable hidePopup =
             new Runnable()
                public void run()
                   // This method is deprecated in 1.4.
                   // But you won't need it in 1.4 anyway...
                   Component comp = SwingUtilities.findFocusOwner(panel);
                   if ( comp != null )
                      if ( comp.getClass().toString().indexOf("ComboBox") > -1 )
                         comboBox.setPopupVisible( false );
                         System.out.println( "helloooo comobox" );
             }; // end the Runnable
          FocusListener focusListener = new FocusAdapter() {
             public void focusLost( FocusEvent evt )
               SwingUtilities.invokeLater( hidePopup );
          // In Java 1.4, just add a focus listener to the combo box
          // instead of adding it to all the other components.
          button.addFocusListener( focusListener );
          button2.addFocusListener( focusListener );
          panel.add( comboBox );
          panel.add( button );
          panel.add( button2 );
          JFrame frame = new JFrame( "Hello" );
          frame.getContentPane().add( panel, BorderLayout.CENTER );
          frame.setSize( 400, 300 );
          frame.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
          frame.setVisible( true );
    }Tell me if that works for you.

  • How do I sync my iphone to a new mac without loosing the original data

    How do I sync my iphone to a new mac without loosing the app data?

    You must first sync the iPhone with the old Mac as you normally do, then move the entire iTunes Library from the old Mac to the new one.
    An iPhone can only be synced with one computer at a time. When you first sync the iPhone with the new Mac, you will "erase and sync". This will erase the entire phone first, then sync it with the content you moved from the old Mac.
    This explains the procedure: iTunes: How to move your music from one computer to another

  • TS1398 How can i connect without opening the laptop?

    when the computer is off. our iphone can't connect. it always says that UNABLE TO CONNECT. then if we open the computer/laptop IT CONNECT! what's the problem? how can i connect without opening the laptop? please answer.
    <Email Edited By Host>

    In non tech language if you have a bell Internet thing then you just go to settings and wifi and it should show something like bell... And if you have something else then there's a big chance you would need a wireless router. Go to the source they have cheap ones.

  • I plugged in iPhone 5 charger to my MacBook Pro and it immediately shut down and I can't get it restarted. Any ideas how to do this without removing the battery?

    I plugged in iPhone 5 charger to my MacBook Pro and it immediately shut down and I can't get it restarted. Any ideas how to do this without removing the battery?

    If you have your MBP charger, try a SMC reset:
    http://support.apple.com/en-us/HT201295
    If no success, make an appointment at an Apple store genius bar.
    Ciao.

  • Extracting Time without using the System Date and Time

    Hi, can I know how to process a task at this particular time eg. 6PM everyday without using the System Date and Time..
    Do I need to use a Timer to get this done or is there any other solution to do this? Can give me a few hints? Thanks in advance =D

    You could use a timer...assuming you had some good reference point when you started so you would know that from your starting point it's now 6pm.
    I thought I saw you asked this question once already...and you were given a similar answer....I think by Sylviae?

  • I just restored my iPhone so i could get rid of my other data but all it did was increase my other data by .5 gbs. How do i get rid of the "other data"?

    I just restored my iPhone so i could get rid of my other data but all it did was increase my other data by .5 gbs. How do i get rid of the "other data"?

    kmsammon wrote:
    ... How do i get rid of the "other data"?
    You will Not be able to get rid of it entirely...
    Other is usually around 1 GB...
    A  ' Large Other ' usually indicates Corrupt Data...
    First Try a Restore from Backup...
    But... if the Large Other Persists, that is an Indicator of Corrupt Data in the Backup...
    Then a Restore as New is the way to go...
    Details Here  >  http://support.apple.com/kb/HT1414
    More Info Here...
    maclife.com/how_remove_other_data_your_iphone

  • How to Add 15 Days to the current Date in eCATT

    Hello eCATT Guru's,
    How to add 15 days to the current date in eCATT.
    I have changed the Date format to mm/dd/yyyy.
    now i want to add 15 days to the sy-datum.
    How to do that.do any one know?
    Thanks in Advance,
    Raj

    Check out this link -
    http://help.sap.com/saphelp_46c/helpdata/en/d7/e21a50408e11d1896b0000e8322d00/frameset.htm
    It gives details about DATE variables in CATT. Hope this will help you out.
    ashish
    Reward points if you find this helpful.
    Message was edited by: Ashish Gundawar

Maybe you are looking for