Maintenance of data Cube using DBMS_BUILD

Hello

I've got cube partitioned by date, with the 1 year retention period - every day a new created partition and the other removed.

No problem with the creation of data, but I am struggling to find a way to lose the old partition.

I'm looking for is

1) more information on DBMS_CUBE. BUILD to help me understand how to use it to reach my goal.

The official docs are examples of syntax, but I'm not finding in the syntax HERE to allow me to do this: http://docs.oracle.com/cd/E11882_01/appdev.112/e40758/d_cube.htm#ARPLS73464

(I would have the cube data cycle would be a common requirement that would be required by all and so surprised that it is not explicitly covered for example).

Is there another source of reference for the info DBMS_CUBE. BUILD that I can use to help me better understand the syntax fix myself?

(2) or a direct help with my problem

I found another post that addresses this specific point and gives the syntax to achieve this: https://community.oracle.com/thread/2154852

I tried to use the technique which recommends David, but it takes a lot of times more to manage that in order to do that requires a full version of the cube and actually does not reach the goal by the removal of the partition (no change of data in the cube and the values for the target partition remains).

The generation of complete cube takes too long, and I think that must be a quicker way of deleting a data partition, but am not able to do this.

When I run the command based on the advice of David (see below), in the CUBE_BUILD_LOG I see the CLEAR VALUES with the correct partition identified (that's the step that almost all of the time is spent on), but nothing really changes in the data when the cube is queried,

for example, I can query the cube for values in this partition and they stay.

No error is returned.

So I am very confused and do not know how to move it - any ideas?

for example, in the example below, I'm trying to delete the partition "20131230" which is a level in the hierarchy "STD" in the "TIME_1YEAR" of the "CUBE_MNE_E_RATED" cube dimension

I'm eager for this deletion, in the cube, all the data to date, but as above it takes a lot of time doing nothing.

When this command is executed the data actually, relative to this day table does not exist, and so it is not true that reconstruction including date based on data it finds in the fact table.

I'm on 11.2.0.3 Enterprise Edition.

BEGIN
    DBMS_CUBE.BUILD('"CUBE_MNE_E_RATED" USING
                       (FOR "TIME_1YEAR"
                        WHERE "TIME_1YEAR"."DIM_KEY" IS DESCENDANT OF ''20131230'' WITHIN "TIME_1YEAR"."STD"
                        BUILD(CLEAR))');
END;
/

Thank you in anticipation

Jim

Regd move 365 days entry windows:

You have a window mobile day or level the relational table entry containing the 365 lines last 365 days... It seems that this would trigger aggregations on a large scale along the time dimension hierarchies assuming the definitions of month/quarter/year regular. In this case, perhaps the cube full re-aggregation may be inevitable. The cube can attempt a full build/refresh (C) from other types of charges (? for quick or otherwise Complete, F for Fast Refresh etc) are not possible.

If today is April 4, 2014, so your input table gave April 4, 2013-April 3, 2014. The difference b/w done cube entry table b/w yesterday and today is that day = April 3, 2013 fell from the table. Month Apr 2013 with children from April 1, 2013 to 30 April 2013, this should trigger a new aggregation level months Member April 2013 and even a new Member of the month level aggregation Apr 2014 (since April 3, 2014 has now come in the picture).

Charge of OLAP via DBMS_CUBE. BUILD

Your best case scenario is for olap Manager do the following:

* reloading data for affected for months because of moving window - Apr 2013 and 2014 after only... that is to say reload the level data sheet for April 4, 2013 April 30, 2013, as well as for April 1, 2014, to April 3, 2014.

* re - aggregate affected higher level members like Apr 2013, 2nd quarter of 2013, 2013 year 2014 Apr, 2nd quarter 2014 and 2014 year alone.

Olap perspective load or dbms_cube.build load behavior, it is not an exact match due to the fact that entry window varies every day. FAST_SOLVE is closest, in my opinion.

A Complete (C) charge the fact:

* Clears all data - sheets as well as aggregates

* reloads all the data at the level sheet of the object (table/view) the input source

aggregates the cube according to the settings/aggregation design

A charge of FAST_SOLVE (S) for this:

* reloads all the data at the level sheet of the object (table/view) the input source... NOTE: this refill all the data of reln. not only for the day added to the entrance... independent source updated lopped or daily added.

* re - includes the affected/relevant part of the cube according to the settings/aggregation design

A FAST (F) refresh the fact:

* Load the data for the new dates only... that is will load data for April 3, 2014, but does not delete the data up-to-date lopped relational source: April 3, 2013

* re - includes the affected/relevant part of the cube according to the settings/aggregation design... in this case: April 2014, 2nd quarter of 2014, year 2014 alone. All 2013 aggregates remain as they did because they have not been erased.

Olap for DBMS_CUBE documentation. BUILD explains, if the cube can be built using a load of Partition (can handle more recent partitions as they appear but I guess he can't handle more delicate complexity relating to the partitions being cut at the base/start/front of the moving time window) or through refresh FAST charge (usually this needs a quick refreshment on MV to act as Cube source again without the complexity of the data will lack every day at the beginning of the input time window) then it falls on the full charge (charging data, cube of aggregates). There is a special type of load - FAST_SOLVE which is to reload all the data, but only hit reaggregate / higher levels of the cube.

Currently, the cube seems to function according to the COMPLETE (C) charge.

QUICKLY RESOLVE may be your Best Bet... recharge every day, placed affected qtrs/months/years only in the cube.

******************

DBMS_CUBE. BUILD has many options regarding the build/refresh of capacity.

Maybe you should try to reference the other parameters of the procedure to refine the process of generation.

I hope this helps.

-ERASE the partition corresponding to day being filed and also try to re-aggregation of stakeholders

BEGIN

DBMS_CUBE. BUILD)

script => ' USE of 'CUBE_MNE_E_RATED '.

(FOR 'TIME_1YEAR'

WHERE 'TIME_1YEAR '. "" "DIM_KEY" IS A DESCENDANT OF "20131230" IN THE "TIME_1YEAR" STD ".

BUILD)

CLEAR VALUES,

FIX

)

)',

method => of '-S tent FAST_SOLVE refresh method

refresh_after_errors to-online true,-refresh after errors

parallelism-online 1-parallelism

atomic_refresh => false, - atomic refresh

automatic_order-online order wrong, - automatic

Add an add_dimensions to-online true - dimensions

);

END;

/

-Reload all data, including the newly added date and aggregate/solve the cube incrementally

BEGIN

DBMS_CUBE. BUILD)

script => ' USE of 'CUBE_MNE_E_RATED '.

(

PLUM CHARGE OF SYNCHRONIZATION,

FIX

)',

method => of '-S tent FAST_SOLVE refresh method

refresh_after_errors to-online true,-refresh after errors

parallelism-online 1-parallelism

atomic_refresh => false, - atomic refresh

automatic_order-online order wrong, - automatic

Add an add_dimensions to-online true - dimensions

);

END;

/

Rgds
Shankar

Tags: Business Intelligence

Similar Questions

  • Numbers with comma in the data Cube Viewer

    Hello

    I want to know what to do to display numbers with comma in the data Cube Viewer. The data type of the measure in the cube is NUMBER (4.3). The default aggregation is AVERAGE. When I load the cube with the numbers of the exactly NUMBER format (4.3) - in the data Cube Viewer I see only rounded integer values without decimal point.


    If I load the test instead of cube table - the numbers are loaded in the correct format.


    What should I do to load the cube with point numbers? Is this possible in OWB?

    Now, I decided to use a way to go around it - simply put 1453 instead of 1.453. Then it works (but this isn't a great solution). It is the only way?

    Thanks in advance for any help

    Peter

    Hi Peter

    The cube data viewer has a toolbar with a lot of options... formatting, you can add and remove the numbers after the decimal point. From memory, I think you have to select the cells you want, you can click and select all the cells in the table and then use the button Add digits after the decimal point.

    See you soon
    David

  • The amount of data is used when you watch a movie online, a Wi - Fi connection?

    I have a MacBook Air, and I use a Wi - Fi sometimes connection for watching movies. I want to know how much data is used when I watch a movie of 2 hours to 720 p. I couldn't find a clear answer anywhere. Appreciate the answers. Thank you.

    15 MB/minute if you look at the video in 720 p, 34 MB/minute in 1080 p.

    3 GB per hour in HD.

  • Data recovery using Microsoft Money Standard bought in New Zealand

    I use Microsoft Money Standard bought in New Zealand.

    As a result of a malfunction of the hard drive, I installed a new and recovered all my data files.
    I reinstalled Microsoft Money, but Money files will not open.
    A message informs you that the file cannot be located or is read-only, I don't have the permission to open or it is write protected. None of this is true then I suspect it has something to do with Microsoft withdraws this product.
    I can see there are no version sunset for my version, so how I can I recover my data for use in Microsoft Money or importing to another product I need of course to buy at one time?

    Yay! Success.

    It's hotfix QFE, whatever they are, that became a problem when Microsoft has ceased to produce and support money.
    Users of the United States had a "Sunset Version" to allow them to continue to use the program, but international users have been left in the cold.
    Finally, Microsoft provided a download to help users with the UK or International English. Why they did not consider their international users from the very beginning, God alone knows that!
    For the Version of Money 2005 - published July 28, 2011
    For users of the International English Version of Money 2005 - published July 29, 2011
    I have downloaded and run the NASB and my Money file open immediately. Great!
    Now, I just need to look at what it takes to pass when I decide it is time to move from Microsoft Money.
  • copy of a dvd/data disc using vista

    I have a HP desktop computer and an operating system vista Home premium I tried unsuccessfully to copy a dvd/data disc using windows media player 11 and Windows media center... Nothing works. I thought I have to first transfer the files from the dvd to my hard drive and then burn a copy. Please give me instructions on how to do it.
    Thank you, whoever you are helping me with that.
    Freddie

    I have a HP desktop computer and an operating system vista Home premium I tried unsuccessfully to copy a dvd/data disc using windows media player 11 and Windows media center... Nothing works. I thought I have to first transfer the files from the dvd to my hard drive and then burn a copy. Please give me instructions on how to do it.
    Thank you, whoever you are helping me with that.
    Freddie

    ==================================
    Here's an easy way to create a copy of your DVD.

    The following freeware can create an ISO Image
    your DVD and then burn it to a blank dvd.

    (FWIW... it's always a good idea to create a system)
    Restore point before installing software or updates)

    Download ImgBurn:
    http://www.Digital-Digest.com/software/download.php?sid=470&SSID=0&did=1

    How to create an image file of a disc with ImgBurn
    http://Forum.ImgBurn.com/index.php?showtopic=6379

    How to write an image file to a disc with ImgBurn
    http://Forum.ImgBurn.com/index.php?showtopic=61

    John Inzer - MS - MVP - Digital Media Experience - Notice_This is not tech support_I'm volunteer - Solutions that work for me may not work for you - * proceed at your own risk *.

  • Access blackBerry Smartphones to backup data without using a phone smart blackberry. How does this work?

    I had a Blackberry 9700 and I made a back-up via Blackberry Protect App. My Blackberry is stolen and I want to transfer all data (approx. 600 phone numbers) from the back-up to my PC or to my Samsung Galaxy SII that I can borrow temporarily from a friend. Bottom-line: I need access to my back-up data without using a Blackberry device. How does this work?
    

    Hey Sourbag,

    Welcome to the community of BlackBerry Support Forums.

    You will need a BlackBerry to access these backup information. There is no way around it in BlackBerry Desktop Software.

  • Inserting data by using the query

    Hello

    In a book, I read the Sub statement:

    Inserting data by using the query (DML)

    If the user wants to transfer data from a table to another table in the insert statement are used independently of data that can be processed or not processed form.

    Can someone clarify what is the significance of this (processed or unprocessed form).


    Thank you.

    Why don't you ask the author of the book.

    How can we know what the author means when you take a quote out of context and don't provide any reference so that we can see exactly what is shown to you.

    I can only imagine that they are referring to data that are queried directly, "like what", another table, or who was interrogated and manipulated before be inserted.

  • Can I export the data (XML) using Acrobat Standard DC?

    I am currently using Adobe Acrobat XI which is allow me to export XML data from tools > forms > form additional Options > export data. I know this feature is also available in Acrobat Standard DC?

    Hi jack65464326,

    Yes, you can export the data (XML) using Acrobat Standard DC, refer to this KB document for help Acrobat help. Collection and management of the PDF to form data.

    Kind regards

    Nicos

  • We can connect to two cubes using smart view of even excellent tab?


    just curious to know that we can connect to two cubes using smart view on same excel tab?

    Yes, but only from 11.1.2.1.102, I think.

  • Error in opening file data after using command DATAFILE RESIZE

    Hi friends,

    I am facing a strange problem here. We had a space problem yesterday ORA-01659: cannot allocate MINEXTENTS beyond 42 in tablespace and I increased the underlying data by using the resize command files. The data files are 1 G earlier and I have them increased to 2G using the command
    ALTER DATABASE DATAFILE 4 resize 2G;

    It went well and I saw the free space in my table space. But after that when I try to delete a table using a script that connects to the db as the owner of the schema (the right script selects all the dictionary tables and sinks using the "drop table constraints x cascade", he thorws the following error)

    ERROR on line 1:
    ORA-01116: error opening the database file 4
    ORA-01110: data file 4: ' / SAN/p0/oradb/CBA11/data/avient01CBA11.dbf'
    ORA-27092: file size exceeds the limit of file size of the process
    Additional information: 132104
    Additional information: 262145

    Via metalink, I found that there could be problems with ulimit setting of the operating system. My OS is SunOS 5.8 Generic_117350-28 sun4u sparc SUNW, Sun-Fire-480R and my 10.2.0.1.0 oracle version. I updated unlimited for hard and soft limit parameters ulimit for the size of the file.

    airsun10 [CBA11] oracle: ulimit - as
    Time (seconds) unlimited
    leader (Blocks) unlimited
    Data (KBytes) unlimited
    Stack (KBytes) 8192
    coredump (Blocks) unlimited
    nofiles (descriptors) 256
    Vmemory (KBytes) unlimited
    airsun10 [CBA11] oracle: ulimit - aH
    Time (seconds) unlimited
    leader (Blocks) unlimited
    Data (KBytes) unlimited
    Stack (KBytes) unlimited
    coredump (Blocks) unlimited
    nofiles (descriptors) 256
    Vmemory (KBytes) unlimited

    airsun10 [CBA11] oracle: ulimit - unlimited Ss
    airsun10 [CBA11] oracle: ulimit - as
    Time (seconds) unlimited
    leader (Blocks) unlimited
    Data (KBytes) unlimited
    Stack (KBytes) unlimited
    coredump (Blocks) unlimited
    nofiles (descriptors) 256
    Vmemory (KBytes) unlimited
    airsun10 [CBA11] oracle: ulimit - aH
    Time (seconds) unlimited
    leader (Blocks) unlimited
    Data (KBytes) unlimited
    Stack (KBytes) unlimited
    coredump (Blocks) unlimited
    nofiles (descriptors) 256
    Vmemory (KBytes) unlimited
    airsun10 oracle [CBA11]:

    These solutions are proposed according to the noted MOS ID 271331.1. However, the question is still persistent. I get no idea on what is happening. Any help is appreciated.

    Thank you
    SSN

    The only reason why I could think of is the fact that the listener is started with limited to something different to unlimited. The listener to spawn a process dedicated server with the limit, causing the error ORA. When you connect directly, you use the DOB Protocol, which does not use the listener.

    Best regards, Gerwin.

  • Extract data essbase using ODI

    Hi all

    ' LKM hyperion essbase metadata SQL "to extract the data with ".

    _ The calculation script

    _ Report script

    _ MDX script

    I use the best solution?


    Can you give me exsample?


    Thank you

    It depends on. If you will extract only a month (less than 10 months) at a time, you must use the MDX with noemptysubset. If you extract a whole year, you use the calculation script. In addition, based on your cube design, this may be different, you will need to test the time approach to see each, then, is the best for your situation. The only reason is that the script of the report should not be used

    Have a look here:

    http://devepm.com/2014/08/20/10-important-things-to-improve-ODI-integrations-with-Hyperion-Planning-part-10-12-generic-data-extract/

    Hope this can help you.

  • How to change the 'Drive' for the BSO cubes (just like we do using "alter tablespace" for ASO cubes) using MAXL etc.?

    Hello team,

    I'm trying to make a backup copy of the cube by using the copy commands, BSO

    but after copy, I need to change the drive letter (for the data and indexes of the files) using MAXLs.

    I am able to do for cubes ASO using "Alter tablespace" i.e. for example, change "D:\" car ' to 'E:\. "for the tablespace files.

    I need to do the same for the BSO cubes? any idea?

    Kind regards

    Amit

    Don't forget while you can also change the drive it can't displace data. You would have to export the data, delete the database, change the disks, and then reload.

    For the actual command of MaxL watch the MaxL Alter Database command. You can add, dorp or set volumes of disk for ind and pag files

  • Removal of sources of data not used in Web Analytics

    I created the report with charts and spreadsheets and it created its data source object that is associated with Web Analytics.

    But the cube associated with the data sources is known by my administration. for older data sources are corrupt.

    How can I remove the old data source objects in WA?

    I am able to create new sources of data to the same report and use it, but when I open the report every time, it asks me to log in to post old data sources.

    Any suggestion is appreciated. I have goggled for this information I'm out of luck. I export and import report if I was aware of the changes in my cube.

    Thanks and greetings

    VIC.

    Hello Vic,

    -> Open the report, switch to Design view
    -> Double click the report.
    ->, Select the desired data source
    -> Press Delete on your keyboard

    He asks, is it safe to remove

    -> Click ok

    Kind regards
    TOTA-

  • Newb: No simple sample data cube

    Hello

    I have the following simple table Setup

    GDP-fact
    gdpid PK
    GDP
    LocationID FK to the GDP-location - dim.locationid

    GDP-location-Sun
    LocationID PK
    continent
    country

    In GDP-location-Sun, I have the following data:
    LocationID continent country
    1 Europe UK
    Europe 2 Italy
    3 the USA North America

    and in GDP - actually, I have the following:
    gdpid gdplocationid GDP
    1 1 100
    2 2 200
    3 3 300

    After you create a dimension of 'area' and a cube of GDP with a measure of GDP, I tried to view data (after completing step maintenance for the dimension and cube), but there is no visible GDP data in the cube. I have the visible dimensions, but all the graphics and the table cells are empty.

    I can post the SQL code generated if this can help, but I was wondering if anyone might know off-the-top-of-their-heads that I had missed?

    Thank you

    Were there rejected records when you have maintained the cube in AWM?

    select count(*)
    from cube_rejected_records
    

    You have mapped the cube to the correct level of the size of the area (i.e. location instead of country or a continent).

    You are able to see all the data in the cube SQL view?

    select *
    from gdp_view
    
  • What is the MacintoshHD/library/server/ServerDocs/Data folder used for?

    I use the latest version of the server software OS X on a Mac Mini with a 256 GB SSD.  I keep running out of space. The MacintoshHD/library/server/ServerDocs/Data folder seems to be where the files are placed which occupy all the storage space.  This single file is close to 140 GB. He seems to have a copy of all my files into it.

    What is the folder?

    Can I move it to an external hard drive, if yes how?

    Do I have to have the folder for the server software to work?

    This is a (known) bug in the server application. The workaround, assuming that you have no need of smb shares, is to disable smb on the file share points that you enabled.

    If you have need of smb shares, I'm afraid you can be out of luck. You can remove the data, but it will (probably) come back... He did it for me.

Maybe you are looking for

  • Writing math graphically with the TX 1000

    I need to be able to write handwritten mathematics in MS Office applications (or elsewhere).  I thought that I would be able to open PowerPoint and write on slides, but I can't get the TX 1000 to stop the recognition of writing and graphics just reco

  • How does the ThinkPad T430s battery charge level

    I recently bought a Lenovo ThinkPad T430s 2356-LRG and I was wondering how to work the charge technology. I have searched and looked in the manual, but I couldn't find a good answer. My question is that I use Notepad a lot on current alternative. And

  • Windows Defender analysis freezes

    Hello.. I have Vista and Windows Defender... whenever I run a scan, the computer freeze ("not repsonding') at this stage: C:\ProgramFiles\CommonFiles\WindowsLive\.cache717154901ca61a1\Messenger.msi->MsgrCore.cab>dynamicbackgroundmct->Pixies.met->Pixi

  • Equivalent of VCS to call the Transformation part mask in the CUCM

    I'm changing the ID of group calling using a VCS.  This can be done easily with a CUCM by creating a road model and using the 'mask of Transformation part of the call.  Anyone know how to do this same thing via a VCS?

  • File system freezes when I right click on an icon

    When I use the file system whenever I do a right-click on an icon, the whole file becomes unresponsive. Even when I try to use the Ribbon at the top to - for example, create a new folder - it freezes. Any ideas? Thank you.