How to see Partition in Cube
Dear Gurus:
Can u pls tell how to partition cube on 0CALMONTH /FISCPER
Also, <b>how can we see the partition info on an existing cube...</b>
As always, thanks a lot in advance.
Best Regards
Go to the infocube maitenance screnn Extras->partioning.
Partioning is done based on the calender month(0CALMONTH) or fiscalyear/period(0FISCPER). At least one of the infoobjects must be contained in the cube.
This function suports only by the ORACLE, INFORMIX
Have a look also at this:
finding the partitions in a cube !
Regards
Similar Messages
-
Hi all
I created partition to one of my cube for fiscal period, with fiscal varient J4.
How does this partition work? where can I see this actual partition in my cube?Krishma
As you know the partition will happen at data base level.You could check consistency in RSRV transaction and Number of partitions you can see using table RSDCUBE.
Also check this link
http://help.sap.com/saphelp_nw2004s/helpdata/en/0a/cd6e3a30aac013e10000000a114084/frameset.htm
Hope this helps
Thnaks
Sat -
How to see partition has been created ?
Hello ,
I have made a query for the partitioning of the table as per the accounting year , as 08-09,09-10. I have done only 2 partitioning. Now as i want to set the partitioning for 10-11 year, i am doing that from a front-end(Developer 2000) forms. I want to be sure that, the third partition is created or not in the database, how can i get the information that the third partition is created on that table .... ? Any data dictionary views or some other technique to judge this ..... ?????
oracle 10g R2
windows Server 2005
Thanks ..!!
Edited by: DBA4 on Mar 23, 2010 10:43 AMThanks for the answers .... but i have one more issue. Actually i have created the partition for accounting year uptill 07-08 but when i try to create the new account year partition from front end forms it shows the process has been done successfully. And even allows the data to be inserted in that .....
If i want to see when i insert data in a table of partition , in which partition it's actually inserting what can i do to get this info ???? can i just know where my data is going, in which partition ???
I have created the accounting year uptill 07-08, but from front end i am also inserting data of 08-09. So when i observed the create table script, i cant see a partition for 08-09...so where is the data going then ? how should i know about this ?? any ideas please suggest as possible .....
Thanks !!!! -
Partitioning of cube using Fiscal period
Hai Gurus
Gud Morning
Can u tell me how to partition a cube using 0fiscper ie Fiscal Year/Period.
I am having one in this
How to give value for 0FISCVARNT.
I just need the steps to partition the cube
Please suggest me.
Awaiting all ur replies.
Thanks
mahiHi Mahi,
To partition the cube double click the cube this will take you to the definition of the cube. Click on the extras button at the top of the screen. you will get a dropdown, there you can see Partition option, click on that you will get another window there you all time chars select on which you want to partition and continue.
you will get another popup window there you have to give Range.
When you activate the cube fact tble will be created in DB with number of partitions corresponding to your Range.
While you do this there should be no data in the cube.
Regards
Ananth -
Hi
I have partitioned a cube on 0CALMONTH, now i want to see the partitioned data in cube, how the data is seen in the cube, can we see physically the data as it was partitioned by 0CALMONTH or partition is only logical (not physically seen)? is there any separate table to see the partitioned cube data?
why do we do partitionng....Hi Ramesh,
Once the F table is compressed ,data goes from F table to E table then u can no longer see data in F table.
You can control whether all the Requests in the F fact table get compressed or limit it up to a cetain specific request, a certain number of requests, or request over xx days old. Generally, you never want to compress all Requests, since you might need to back out a Reqeust, and once you have compressed a Request, you can't bak it out.
Good practice would be to verify the correctness of the data in a Request before you compress it.
When u partition ,u do it for the infocube based on two characteristics OCALMONTH or OFISCPER.The fact table is created on the database with one of the number of partitions corresponding to the value range. You can set the value range yourself.
keep in mind when you partition in RSA1, that you are configuring the partitioning for the E fact table (F fact table is already automatically partitioned by BW).
but key pt is that no data gets into this E fact table you configured for partitioning UNLESS you run the cube compression/collapse!
see the below link for more on partitioning.
http://help.sap.com/saphelpsem40bw/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm_
If you need any other information, let me know.
Thanks and Regards,
Pavan Kumar Gali. -
Creating Custom Partitions on Cube
Hi all
We are running BW7 (2004s) over Oracle.
We are contemplating creating our own partitions on the EFact table of a cube. The reason for this is that currently the partitioning of cubes is only possible using time characteristics (0FICPER and 0CALMONTH).
We have a need to partition by a characteristic that is an 8 digit number.
Hence, we are proposing to create our own range partitions on this Characteristic.
My questions are as follows:
1. If we do this, we would be creating them directly at the Oracle level. To do so, we would have to first create a copy of the Fact table definin then partitions. We would then drop the orginal fact table, and rename the copied table back to the original efact table name.
2. Are there any issues with us doing this? i.e. if for some reason the table is dropped in the future (for some unknown internal BW database process), would we lose the partitions?
3. We are keen to do this so that queries which are keyed by this 8 digit number are much more efficient. Also, when deleting data, we would delete by a partition (i.e. much faster to delete).
Has anyone else done this sort of thing? Any issues encountered? Any advice?
Thanks
AdamI face the opposite problem, nobody wants to get rid of anything, so we jump thru hoops trying to figure out how to keep the data in BW and still maintain query performance. I'd love a few clients that want to get rid of stuff, perhaps we can trade a few folks for a couple of months.
You didn't say if this 8 digit char is a line item dimension, or if there are other chars in the dimension. That has query and deletion performance implications.
You can partition your ODSs on the 8 digit char.
On the cube side side, I have never explored it further, but wondered if I wasn't using 0FISCPER, (or it could be 0CALMONTH) could I populate it in an update rule with some date values that could serve as the proxy for the characteristic ( or ranges of values in your case ) I really wanted to partition on, e.g.
8 digit char
00000001 - 00999999 = 0FISCPER 1000/000
01000000 - 01999999 = 0FISCPER 1000/001
etc.
I think you can probably get the idea. I think this would support the goal of the faster Selective Deletion, but obviously doesn't help you on the query side - although you might be able to have your user exit translate the 8 digit char to the corresponding 0FISCPER proxy. Seems kind of goofy, but I think it could work, but ultimately might cause more confusion than it's worth.
Query performance would only benefit from partitioning, of course, if the queries would restrict based on the partitioning characteristic to make Oracle prune the unneeded partitions from the query.
<u>Selective Deletion</u>
As I mentioned in my first post, Selective Deletion does have some performance tweaks built into the process besides dropping the partition. If the deletion was going to delete more than 10% (the deletion process figures this out) of the rows (I don't remember if you can control that % by an RSADMIN parameter or not - although you could probably modify the program or create a Z version to use some lower %) it will create new E and F Fact tables, copying the data to the new tables, omitting the rows that meet your deletion criteria, and allows you to specify how many parallel processes to launch. Once it's done, it deletes the original Fact tables and renames the new ones. You do need to have enough disk space to hold the original cube and the new, smaller cube, since they both exist for a period of time. This is much faster than the heavy lifting of Delete query, and could be run off hours and wouldn't require any special DDL or customization of the fact tables, or prevent use of aggregates, etc.
Or you could go the other route of running a daily deletion process to keep the deletion shorter. If the number of rows to be deleted on any one day is small and there is an index on the 8 digit Char, it might be fast enough to suit your purposes.
I'll ponder on this a while and see if anything else comes to mind. Some time back, I thought I had read a post that mentioned a custom partioning that had been developed for a DB2 customer. I followed it up with a Custosmer Msg to SAP recently to see if there were any other partitioning options besides the two dates for Oracle. I got a "not at this time" answer. If you haven't contacted SAP about this issue already, perhaps if you post a msg, they'll get a better sense of the level of interest.
If you're attending Tech Ed (SDN Day?) in Vegas in Sept, we could explore this further.
Pizzaman
PS.
Put yourself on the SDN world map (http://sdn.idizaai.be/sdn_world/sdn_world.html) and earn 25 points.
Spread the wor(l)d! -
How do i partition external hard drive using mac
how do i partition my external hard drive on mac? can i use it as time machine disk as well as external drive?
You can use an external disk for store files and for Time Machine, but you have to create a second volume.
To create volumes on the external disk, use Disk Utility. See > http://pondini.org/OSX/DU3.html I recommend you to put as much space as you can for the Time Machine volume, because backups consume a lot and Time Machine starts deleting backups when the external disk is full -
How do i partition a hard drive
How do I partition an external "my Passport" hard drive that I have already formatted for pc use so that I can use it with my MB Pro?
Select the Desktop icon of the drive. Press COMMAND-I to open the Get Info window. In the top panel you should see displayed something like this:
Look to see what's displayed for Format. -
"Check Statistics" in the Performance tab. How to see SELECT statement?
Hi,
In a previous mail on SDN, it was explained (see below) that the "Check Statistics" in the Performance tab, under Manage in the context of a cube, executes the SELECT stament below.
Would you happen to know how to see the SELECT statements that the "Check Statistics" command executes as mentioned in the posting below?
Thanks
====================================
When you hit the Check Statistics tab, it isn't just the fact tables that are checked, but also all master data tables for all the InfoObjects (characteristics) that are in the cubes dimensions.
Checking nbr of rows inserted, last analyzed dates, etc.
SELECT
T.TABLE_NAME, M.PARTITION_NAME, TO_CHAR (T.LAST_ANALYZED, 'YYYYMMDDHH24MISS'), T.NUM_ROWS,
M.INSERTS, M.UPDATES, M.DELETES, M.TRUNCATED
FROM
USER_TABLES T LEFT OUTER JOIN USER_TAB_MODIFICATIONS M ON T.TABLE_NAME = M.TABLE_NAME
WHERE
T.TABLE_NAME = '/BI0/PWBS_ELEMT' AND M.PARTITION_NAME IS NULL
When you Refresh the stats, all the tables that need stats refreshed, are refreshed again. SInce InfoCube queries access the various master data tables in quereis, it makes sense that SAP would check their status.
In looking at some of the results in 7.0, I'm not sure that the 30 day check is being doen as it was in 3.5. This is one area SAP retooled quite a bit.
Yellow only indicates that there could be a problem. You could have stale DB stats on a table, but if they don't cause the DB optimizer to choose a poor execution plan, then it has no impact.
Good DB stats are vital to query performance and old stats could be responsible for poor performance. I'm just syaing that the Statistics check yellow light status is not a definitive indicator.
If your DBA has BRCONNECT running daily, you really should not have to worry about stats collection on the BW side except in cases immediately after large loads /deletes, and the nightly BRCONNECT hasn't run.
BRCONNECT should produce a lof every time it runs showing you all the tables that it determeined should have stats refreshed. That might be worth a review. It should be running daily. If it is not being run, then you need to look at running stats collection from the BW side, either in Process Chains or via InfoCube automatisms.
Best bet is to use ST04 to get Explain Plans of a poor running InfoCube query and then it can be reviewed to see where the time is being spent and whether stats ate a culprit.Hi,
Thanks, this is what I came up with:
st05,
check SQL Trace, Activate Trace
Now, in Rsa1
on Cube, Cube1,
Manage, Performance tab, Check Statistics
Again, back to st05
Deactivate Trace
then click on Displace Trace
Now, in the trace display, after scanning through the output,
how do I see the SELECT statements that the "Check Statistics" command executes
I will appreciate your help. -
How to see the wait events info. after excute a select query
Hi
How to see the wait events info. after execute a select query. Are there any parameter to set for this option?
And also wanna see the follwing info. in trace file. For this what are the parameters I have to set right?
SELECT * FROM emp, dept
WHERE emp.deptno = dept.deptno;
call count cpu elapsed disk query current rows
Parse 1 0.16 0.29 3 13 0 0
Execute 1 0.00 0.00 0 0 0 0
Fetch 1 0.03 0.26 2 2 4 14
Misses in library cache during parse: 1
Parsing user id: (8) SCOTT Regards
Arpitha$ sqlplus scott/tiger
SQL*Plus: Release 10.2.0.2.0 - Production on Wed Apr 20 15:29:33 2011
Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> SHOW PARAMETER dump
NAME TYPE VALUE
background_core_dump string partial
background_dump_dest string /user/oracle/app/oracle/admin/
orclsb/bdump
core_dump_dest string /user/oracle/app/oracle/admin/
orclsb/cdump
max_dump_file_size string UNLIMITED
shadow_core_dump string partial
user_dump_dest string /user/oracle/app/oracle/admin/
orclsb/udump
SQL> ALTER SESSION SET EVENTS='10046 trace name context forever, level 12';
Session altered.
SQL> SELECT * FROM emp WHERE deptno=20;
EMPNO ENAME JOB MGR HIREDATE SAL COMM
DEPTNO
7369 SMITH CLERK 7902 17-DEC-80 800
20
7566 JONES MANAGER 7839 02-APR-81 2975
20
7788 SCOTT ANALYST 7566 19-APR-87 3000
20
EMPNO ENAME JOB MGR HIREDATE SAL COMM
DEPTNO
7876 ADAMS CLERK 7788 23-MAY-87 1100
20
7902 FORD ANALYST 7566 03-DEC-81 3000
20Now
$ pwd
/user/oracle/app/oracle/admin/orclsb/udump
$ ls -ltr|tail -5
-rw-r----- 1 oracle oinstall 622 Apr 20 11:35 orclsb_ora_949.trc
-rw-r----- 1 oracle oinstall 651 Apr 20 11:35 orclsb_ora_976.trc
-rw-r----- 1 oracle oinstall 1982 Apr 20 11:35 orclsb_ora_977.trc
-rw-r----- 1 oracle oinstall 1443 Apr 20 15:29 orclsb_ora_1251.trc
-rw-r----- 1 oracle oinstall 279719 Apr 20 15:30 orclsb_ora_1255.trc
$ tkprof orclsb_ora_1255.trc orclsb_ora_1255.txt
TKPROF: Release 10.2.0.2.0 - Production on Wed Apr 20 15:32:17 2011
Copyright (c) 1982, 2005, Oracle. All rights reserved.
$ ls -ltr|tail -5
-rw-r----- 1 oracle oinstall 651 Apr 20 11:35 orclsb_ora_976.trc
-rw-r----- 1 oracle oinstall 1982 Apr 20 11:35 orclsb_ora_977.trc
-rw-r----- 1 oracle oinstall 1443 Apr 20 15:29 orclsb_ora_1251.trc
-rw-r----- 1 oracle oinstall 279719 Apr 20 15:30 orclsb_ora_1255.trc
-rw-r--r-- 1 oracle oinstall 26872 Apr 20 15:32 orclsb_ora_1255.txtThis orclsb_ora_1255.txt contains the required information. -
Hi BW experts,
Can anyone explain the steps to create logical partitioning of Cube data?
I want to do it per fiscal year. If we create 05 cubes(Same structure) each for say fiscal year 04' 05'...08'
now how will the data flow into respective cubes.
Kindly explain the steps.
thanks,
Nipun Sharma
P.S. points will be rewarded.Hi Nipun,
1.Partitioning the cube in both physical and logical way helps you to increase its performance on Queriying.
Partitioning InfoCubes Using the Characteristic 0FISCPER (At Infocube maintainance)
Prerequisites
When partitioning using 0FISCPER values, values are calculated within the partitioning interval that you specified in the InfoCube maintenance. To do this, the value for 0FISCVARNT must be known at the time of partitioning; it must be set to constant.
Procedure
1. The InfoCube maintenance is displayed. Set the value for the 0FISCVARNT characteristic to constant. Carry out the following steps:
a. Choose the Time Characteristics tab page.
b. In the context menu of the dimension folder, choose Object specific InfoObject properties.
c. Specify a constant for the characteristic 0FISCVARNT. Choose Continue.
2. Choose Extras -->DB Performance --> Partitioning. The Determine Partitioning Conditions dialog box appears. You can now select the 0FISCPER characteristic under Slctn. Choose Continue.
3. The Value Range (Partitioning Condition) dialog box appears. Enter the required data.
Pls chk the below link for partioning..
http://help.sap.com/saphelp_bw33/helpdata/en/33/dc2038aa3bcd23e10000009b38f8cf/content.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/0a/cd6e3a30aac013e10000000a114084/frameset.htm
Re: logical Vs physical partitions ?
Regarding Partitioning
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/ce7fb368-0601-0010-64ba-fadc985a1f94
/message/4204952#4204952 [original link is broken]
How i can partioning the BW?
Partioning and ETable
What is the use of cube partition?
*pls assign points,if info is useful*
Regards
CSM reddy -
How i see my current service using select query
Hi,
How i see my current net service name from query .
Regards
FaheemHi,
Do you talking about the database service configured at listener?
I'm not sure if the DBA_SERVICES or V$SERVICES can be used to get this information.
oracle@icaro:~> lsnrctl services
LSNRCTL for Linux: Version 10.1.0.2.0 - Production on 10-MAR-2008 09:55:57
Copyright (c) 1991, 2004, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=icaro)(PORT=1521)))
Services Summary...
Service "DB01" has 2 instance(s).
Instance "DB01", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:8 refused:0
LOCAL SERVER
Instance "DB01", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:2331 refused:0 state:ready
LOCAL SERVER
The command completed successfully
oracle@icaro:~> sqlplus / as sysdba
SQL*Plus: Release 10.1.0.2.0 - Production on Mon Mar 10 09:56:02 2008
Copyright (c) 1982, 2004, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> select service_id,name from dba_services;
SERVICE_ID NAME
1 SYS$BACKGROUND
2 SYS$USERS
3 DB01Cheers
Legatti -
Logical Data Partitioning Info cube
Hi,
We have a Legacy system data in BW which is about 25 million reports span across 6 years and by Fiscal year/period.
Currently data is held in 6 DSO's and its one time load to cube...data load won't happen on daily basis as legacy system is de commissioned.
How to Logical Data Partitioning Info cube
ThanksHi Choudary,
One way is as follows: Convert the update process (for 0VENDOR) to flexible update. For this you will need to make 0VENDOR an InfoProvier (RDS1 > Master data tab). Then you need to create update rules from the 0VENDOR_ATTR InfoSource to 0VENDOR InfoObject. Since you now have the 0VENDOR_ATTR InfoSource you can also create update rules from this InfoSource to your cube and load the data.
Hope this helps... -
How to see Reporting Agent Package Deletion Logs?
Hello, it seems that someone deleted some of our existing reporting agent packages in our production system. I am trying to figure out how to see the specific log for this deletion, does anyone know how/where to find this information?
Thanks,
JustinThat will only give me the execution/activity logs. I need something more along the lines of an object deletion log. For example, like when a request is deleted from a cube or an InfoObject is deleted.
Thanks -
How to Avoid reading Processing cube data (incomplete data from the cell )
Hi All
we have ssis package which we will run for every 5 minutes to get latest data , the cube also refreshed every 5 minutes .
i will take the latest value specific to the measure . Here cube processing and SSIS schedular are asynchromous . some times the cube processing may take more time by that time the ssis package starts pulling the value . in this case the values are coming
in correct , here my question is when i am using Tail function specific to the measure how come i am getting incorrect value instead of NULL ot Previous LatestTimesample value. How to Avoid this issue .
For latest timesample we are using this set
WITH
SET LastSample AS TAIL(NONEMPTY([Date].[Year - Month - Date].members *[Time].[Twelfth Of Hour].members,([Measures].[VS LicenseSCSCFConcurRegistCur],{[Source 2013].[LOCALDN].&[PMES1]&[LSM]})))
Surendra ThotaHi Surendra,
We need to consider how many data of the cube is going to grow over time. I don't think it's the best practices to process the cube every 5 minutes, as the number of cube data increases, the cube processing time increases.
In addition, we can implement Analysis Services scale-out querying architecture solution to increase the frequency of cube updates. Here is the article for your reference, please see:
SQL Server Best Practices Article:
http://technet.microsoft.com/en-us/library/cc966449.aspx
If you have any feedback on our support, please click
here.
Regards,
Elvis Long
TechNet Community Support
Maybe you are looking for
-
Mail Freezes (Spinning Cursor) - Assistance Appreciated
Greetings, thank you for reading and responding to my post. I have a remote client (she's offline) with a macbook. She uses Mail. I haven't checked her OS version, but presume 10.4. She was sending an email, and went to attach a PDF. At this point sh
-
How do I upgrade Adobe Flash Player WITHOUT installing Google Chrome and the Google Toolbar?
-
Having trouble bringing up built in keyboard
when i press command k it turns the keyboard on and off in the window drop down menu instead of bringing it up in the little window what should i do to bring up the keyboard? p.s im 12 and my uncle suggests i should ask here so please help me
-
Seagate Esata driver for mac 10.6
hey, I have a seagate external drive its the 300TX2 series. I found the drivers for mac 10.4 but I have 10.6 and it won't install because of that is there a way to install the drivers so I can use the PCI card and the drive (The drive is ESATA only)
-
I bought a mac book pro 15" with retina display yesterday and could not find the user's guide/manual anywhere. I couldn't even find it in apple's web site. Where is it?