Aggregates question
Say i have 4 million records in a cube. Say by each value type, the records are as follows:
1 million actual
1 mill plan
and 2 mil not assigned
I have a query with 2 selections. selection 1 is filtered on actual. Selection 2 on plan.
Now if I hv 2 aggregates, 1 for actual, 1 for plan, will my query hit each?
In rsrt it doesn't show that it's hitting, so im wondering if I am doing any thing wrong or it's just not possible to use mutually exclusive aggregates.
Hi Udaya,
Did you do Rollup?
Rt. Click Cube
Choose Manage
Copy Request ID from Request Tab
Click on Rollup tab and define job name and paste ID # into Request id Field and Execute. it will take sometime to complete the Rollup process . Once Rollup is complete run your report again.
Good luck
Arjun
Similar Messages
-
Aggregates - Questions?!
Hello Experts,
My questions regarding to AGGREGATES are:
a)
In RSRT - Maintenance for Aggregate, I can see an Valuation of +++++ for an usage of 2357 however the aggregate in not switched on (it's red). I shall activate this aggregate? Correct?
b)
Shall I activate all the Aggregates with +++++ and an very high usage that are inactive (red)?
c)
I do have an Aggregate with an Valuation of +++++ but the usage is low (23). Shall I activate also this aggregate?
d)
If I have an Aggregate with a Valuation of + with an low usage, It's better the leave this aggregate inactive? Correct?
Last question:
e)
If I have an Aggregate with a Valuation of + with a high usage, it's better to activate this aggregate? Correct?
ASantosHi,
a) yes
b)yes
c)no
d)yes
e)yes -
Aggregates Question (Performance) Please Help
I have 2 Questions first one is
<b><i>1. Its been mentioned in the Forum that we can anlyse in the workload Monitor (ST03N) i went through that and did not find any Data for anlysis rather its showing information for Load Analysis.</i></b>
<i><b>2. Its been mentioned that we also check in RSDDSTAT table contents i checked this table but could not find data (How this table is Populated)</b></i>
When i checked in
<b>InfoCube Manage Screen --> Performance --> Check Statistics (Refresh Aggregate Statistics)</b>
What are these for?
Can we Analyse to create aggregates or not with out BW Statistics data and just checking ST03N and RSDDSTAT and RSDDAGGRDIR tables?Please Help Me
I am using BI 7.Points will be assigned (Thanks)
Message was edited by:
SV S
Message was edited by:
SV S
nullHi,
For ST03N
From Document
BI Administration Cockpit and New BI Statistics Content in SAP NetWeaver 7.0
As of SAP NetWeaver 7.0 BI, transaction ST03 is based on the Technical Content InfoProviders (unlike prior releases). Therefore, using transaction ST03 for BI Monitoring requires the Technical Content to be activated and to be populated periodically with statistics data.
So, looks like you have to install the new statistics technical content.
From thread /message/3461465#3461465 [original link is broken]
Rajani Saralaya K
IN BI 7.0, ST03n is based on BI Statistics cubes, so unless you install these cubes and schedule the dataflow you cant see any result in there. Even the same thing is mentioned in the note 934848.
For information about RSDDSTAT,
see /message/3627627#3627627 [original link is broken]
Raj. -
Aggregate Question: Suspects aggregates are messed up, how to fix it
Hello,
If there is a situation where I am told that aggregates for material type may be messed up and I am supposed to verify this. Can you help with directions on what do and how to locate and fix the aggregate problem?
ThanksHi,
I hope the tests and repairs avaialable by Tcode RSRV on aggregates would help you .
with rgds,
Anil Kumar Sharma .P -
Hi Experts,
I have a Query which was built on a multiprovider,Which has a slow preformance.
I think the main problem comes from selecting to many records from
I think it selects 1,1 million rows to display about 500 rows in the result.
Another point could be that the complicated restricted and calculated keyfigures, especially might spend a lot of time in the OLAP processor.
Here are the Statistics of the Query.
OLAP Initialization : 3,186906
Wait Time, User : 56,971169
OLAP: Settings 0,983193
Read Cache 0,015642
Delete Cache 0,019030
Write Cache 0,087655
Data Manager 462,039167
OLAP: Data Selection 0,671566
OLAP: Data Transfer 1,257884.
ST03 Stat:
%OLAP :22,74
%DB :77,18
OLAP Time :29,2
DBTime :99,1
It seems that the maximum time is consuming in the Database
Any suggestion to speed up this Query response time would be great.
Thanks in advance.
BR
Srini.Hi,
You need to have standard Query performance tuning done for the underlying cubes like better design, aggregates, etc
Improve Performance of Queries/Reports on Multi Cubes
Refer SAP Note Number: 869487
Performance optimization for MultiCubes
How to Create Efficient Multi-Provider Queries
Please see the How to Guide "How to Create Efficient MultiProvider Queries" at http://service.sap.com/bi > SAP NetWeaver 2004 - Release-Specific Information > How-to Guides > Business Intelligence
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/how%20to%20create%20efficient%20multiprovider%20queries.pdf
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3f66ba90-0201-0010-ac8d-b61d8fd9abe9
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/afbad390-0201-0010-daa4-9ef0168d41b6
Performance of MultiProviders
Multiprovider performance / aggregate question
Query Performance
Multicube performances
Create Efficient MultiProvider Queries
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b03b7f4c-c270-2910-a8b8-91e0f6d77096
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/751be690-0201-0010-5e80-f4f92fb4e4ab
Also try
Achieving BI Query Performance Building Business Intelligence
http://www.dmreview.com/issues/20051001/1038109-1.html
tuning, short dumps
Performance tuning in BW:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/afbad390-0201-0010-daa4-9ef0168d41b6
Also notes
0000903559 MultiProvider optimization is only partially active
0000825396 Performance in reports with many selections
multiprovider explanation i need
Note 629541 - Multiprovider: Parallel Processing
Thanks,
JituK -
Questions regarding aggregates on cubes
Can someone please answer the following questions.
1. How do I check whether someone is re-bilding aggregates on a cube?
2. Does rebuilding an aggregate refer to the rollup process? Can it take a few hours?
3. What does it mean when someone switches off an aggregate, basically what is the difference (conceptually/time consumption)between:
A. activating an aggregate?
B. switching off/on an aggregate?
C. rebuilding an aggregate?
3. When a user complains that a query is running slow, do we build an aggregate based on the chars in rows & free chars in that query OR is there anything else we need to include?
4. Does database statistics in the 'MANAGE' tab of a cube only show statistics or does it do anything to improve the load/query performance on the cube?
Regards,
Srinivas.1. How do I check whether someone is re-bilding aggregates on a cube?
If your aggregate status is in red and you are filling up the aggregate - it is an initial fill of the aggregate and filling up would mean loading the data from the cube into the aggregate in full.
2. Does rebuilding an aggregate refer to the rollup process? Can it take a few hours?
Rebuilding of an aggregate is to reload the data into the aggregate from the cube once again.
3. What does it mean when someone switches off an aggregate, basically what is the difference (conceptually/time consumption)between:
A. activating an aggregate?
this would mean recreating the data structures for the aggregate - this would mean dropping the data and reloading the data.
B. switching off/on an aggregate?
Switching off an aggregate means that it will not be used by the OLAp processor but would mean that the aggregate still gets rolled up. Rollup referring to loading changed data from the cube into the aggregate - this is done based n the requests that have not yet been rolled up into the cube.
C. rebuilding an aggregate?
Reloading data into the aggregate
3. When a user complains that a query is running slow, do we build an aggregate based on the chars in rows & free chars in that query OR is there anything else we need to include?
Run the query in RSRT and do an SQl view of the query and check the characteristics that are used in the query and then include the same into your aggregate.
4. Does database statistics in the 'MANAGE' tab of a cube only show statistics or does it do anything to improve the load/query performance on the cube?
Stats being updated will improve the execution plans on the database. Making sure that stats are up to date would lead to better execution plans and hence possibly better performance but it cannot eb taken for granted that refreshing stats is going to improve query performance. -
For Patrick Sasso/Rohan -- Aggregate Device Question
Patrick and Rohan,
I noticed that the thread which Patrick started was "archived" and replies are not allowed. ( http://discussions.apple.com/thread.jspa?threadID=237354&tstart=0 )
Wondering what that's all about... But anyway, here's my question:
I'm also running a PCI-424 and some MOTU interfaces also (old 2408 and some 1224's), but I'm not using the aggregate devices settings. So I'm wondering if I'm not aware of some useful aspect of the whole aggregate device thing... What are you using the aggregate device setup for? Is there an advantage to using it with a straight-forward audio recording/playback situation using the existing capabilities of the PCI-424 + interfaces?AFAIK this has always been possible (in panther....)
as the 424 is configured, but appears as 1 device to
the OS. Make sense or did I misread?
I think you could do it off the MOTU PCI without
aggregation, right? I am not a big MOTU guy but...
Well, let's put it this way: when I got my G5 one of the first things I did was pop in the 424 card, hook up the interfaces, run the MOTU config thingee and it recognized all 3 interfaces without a hitch. Great!
Then I installed Logic and without glitches it saw all of the MOTU ins and outs. Great!
In my 40 output setup, Logic simply numbers the outputs consecutively, in the order that the interfaces are plugged into the 424 card. Within Logic there is no designation of outputs belonging to any particular device, i.e., none of the audio output labels are designated "MOTU 2408" or "MOTU 1224 #1" or "MOTU 1224 #2". They're just outputs 1 - 40. So in a sense, the way Logic "expresses" the MOTU outputs, it's as though they're "aggregated" -- a single device.
It was only many weeks after I got my system up and running that I decided to explore the menus in the Audio MIDI Setup, and ran across this strange thing called "aggregate devices". There was zero, zero, zero documentation about it in the G5 manual nor in on-board Help, and a search of Apple's website turned up virtually no information. So basically, all this time I've been running with my MOTU interfaces, never configured anything having to do with aggregate devices, and I've yet to experience any kind of audio glitch with Logic. Great!
So in conclusion, I'd say that if an audio system consists exclusively of MOTU devices, setting up aggregate devices isn't necessary. Same situation with the MIDI side of AMS, really... with Logic you don't need to configure AMS MIDI to do anything. In fact, as you may have read in some of my prior posts, setting up MIDI in AMS actually creates more work than it's worth.
Therefore, my AMS is devoid of any user settings, except for the (seemingly) mandatory AMS-audio settings for "internal clock". -
Complex mapping question (aggregate)
Hello all,
For example, i have a xml structure in input :
<XML Input Structure>
<Line1>
<Country> Fr </country>
<Currency> EUR <Currency>
<Town> Paris </Town>
<MT> 10 </MT>
</Line1>
<Line2>
<Country> Fr </country>
<Currency> EUR <Currency>
<Town> Paris </Town>
<MT> 10 </MT>
</Line2>
<Line3>
<Country> USA</country>
<Currency> DOL <Currency>
<Town> Chicago </Town>
<MT> 20 </MT>
</Line3>
<Line4>
<Country> USA</country>
<Currency> DOL <Currency>
<Town> Detroit </Town>
<MT> 20</MT>
</Line4>
</XML Input Structure>
In output, i want to aggregate the field "MT" only when fields "Country, Currency and Town" are the same in order to have something like that :
<XML Output Structure>
<Line1>
<Country> Fr </country>
<Currency> EUR <Currency>
<Town> Paris </Town>
<MT> 20 </MT>
</Line1>
<Line2>
<Country> USA</country>
<Currency> DOL <Currency>
<Town> Chicago </Town>
<MT> 20 </MT>
</Line2>
<Line3>
<Country> USA</country>
<Currency> DOL <Currency>
<Town> Detroit </Town>
<MT> 20 </MT>
</Line3>
</XML Output Structure>
I am not a specialist in java so i would like to knowi if it's possible to do it with node standard functions ? if not, what is the best solution : XSLT, Java mapping, UDF ?
Thanks by advance,
JP
Edited by: Jean-Philippe PAIN on Dec 16, 2008 12:14 PMhi,
with standard it would be pretty hard
but with a simple UDF (with 4 inputs) you can aggregate
and output it quite easily
try with a udf if you don't want to go for java mapping
Regards,
Michal Krawczyk
http://mypigenie.com XI/PI FAQ -
Question on aggregation level "%" (percent) in aggregate definition
Hello,
I would like to find out all the aggregates that have at least one navigation attribute of a specific characteristic (let's say 0CUSTOMER) in their definition. The idea behind that is to find out which aggregates are potentially affected in a change run by a master data change for the 0CUSTOMER characteristic.
Well, I looked in table RSDDAGGRCOMP for entries that met the selection criteria {OBJVERS = 'A'; IOBJNM = '0CUSTOMER_*'}
For all navigation attributes of 0CUSTOMER - except for those that can actually be seen in the aggregate definition screen (launched via "Maintain Aggregates") - there are records that have as aggregation level (field AGGRST) '%'. What does this aggregation level mean and why is it in that table? That field description ("SAP-internal use only (technical:facts)") doesn't really bring me forward.
An aggregate, that only contains '%' as aggregation level in RSDDAGGRCOMP for navigation attributes of char 0CUSTOMER is not affected by a change run regarding the master data change of 0CUSTOMER attributes, is that right?
Thanks to any replies in advance.
Regards,
Philippaggregation against cubes require the following approach-
http://epmandbitech.blogspot.com/2010/12/obiee-11g-and-multidimensional-data.html
http://epmandbitech.blogspot.com/2010/12/obiee-11g-integration-with-microsoft.html
Thanks. -
Question on an aggregate query
DB Version:10gR2
I have four tables : container1, container2, container3, container4. All these tables have the same structure(have two columns : ITEM_TYPE, QUANTITY). ITEM_TYPE columns in all these tables are interlinked.
create table container1
(item_type VARCHAR2(35),--Container1's PK
quantity number
create table container2
(item_type VARCHAR2(35),--Container2's PK
quantity number
create table container3
(item_type VARCHAR2(35),--Container3's PK
quantity number
create table container4
(item_type VARCHAR2(35),--Container4's PK
quantity number
insert into container1 values ('APPLE',15)
insert into container2 values ('APPLE',20)
insert into container3 values ('APPLE',30)
insert into container4 values ('APPLE',45)
insert into container1 values ('ORANGE',5)
insert into container2 values ('ORANGE',10)
insert into container3 values ('ORANGE',25)
insert into container4 values ('ORANGE',30)
SELECT * FROM CONTAINER1;
ITEM_TYPE QUANTITY
APPLE 15
ORANGE 5
SELECT * FROM CONTAINER2;
ITEM_TYPE QUANTITY
APPLE 20
ORANGE 10
SELECT * FROM CONTAINER3;
ITEM_TYPE QUANTITY
APPLE 30
ORANGE 25
SELECT * FROM CONTAINER4;
ITEM_TYPE QUANTITY
APPLE 45
ORANGE 30 I want to generate a report which will return the sum of all the quantity (15+20+30+45) in these 4 table for a particular item_type
The result should look like
ITEM_TYPE TOTAL_QUANTITY
APPLE 110
ORANGE 70Can i do this like
SELECT item_type,
--logic required
--logic required
FROM container1 INNER JOIN container2
INNER JOIN container3 INNER JOIN container4
ON container1.item_type=container2.item_type
AND container3.item_type=container4.item_type
GROUP BY item_type;or should i use more complex grouping/aggregate functions?
Edited by: user10450365 on Jan 7, 2009 1:20 AMelse you can do this:
SQL> SELECT
2 container1.item_type,
3 (container1.quantity + container2.quantity + container3.quantity + container4.quantity) qty
4 FROM
5 container1
6 INNER JOIN CONTAINER2 on (container1.item_type = container2.item_type)
7 INNER JOIN CONTAINER3 on (container1.item_type = container3.item_type)
8 INNER JOIN CONTAINER4 on (container1.item_type = container4.item_type)
9 /
ITEM_TYPE QTY
APPLE 110
ORANGE 70 -
Aggregate deactivation question
Hi,
Recently data of an aggregate got corrupted and we deactivated that and activated and refilled the aggregate.Due to this we lost all the statistical information of the aggregate like usage etc.
Is there a table where all the statistical information of this particular aggregate is stored even after it got deactivated.
ThanksShiv,
Chk this on <b>RSDDSTAT/RSDDSTATAGGRDEF</b> -
this is based on the last enrty of the database table.
And in the aggreate screeen you will find an option 'propose' on the top side juse select the option what you want it will helps you.
Else try in Work load monitor ares use tcode ST03 . Try this RSTRACE tcode.
Hope it might helps in resolving your issue.
If it helps you dont forget to assign the points.
Urs,
Raki. -
Inheritence / Aggregates / Class / Bean question
Hi all, I'm wondering if anybody has tried/succeeded in the following:
We have a User bean and a User class which we would like to map to one DB table with an aggregate. The user must be available un-aggregated in the mapping workbench for use by other classes which do not require the bean wrapper, so we created a ToplinkUser extending from User, which we turn on aggregation for. The bean then contains a value holder interface attribute dataObject, which we map TopLinkUser [using aggregation as said above].
Potential issues:
1) The plain User needs a PK mapping in the DB table, which then gets inherited by ToplinkUser, so the bean ends up with 2 writable PK mappings. The bean mapping must be writable to allow for sequencing.
2) The User has a many to many Roles mapping which gets inherited by ToplinkUser and shows up on the list of fields that must be mapped in the aggregate usage inside the bean. Is it valid to point this back to the PK?
Thanks in advance for any thoughts, tips, ideas, or someone who already knows it isn't possible.
- Jesse1 - I'm not sure I follow the issue -- If you have inheritance setup on the descriptor, the mappings should not be duplicated in the subclass. You can override the super class mapping by right-clicking on the descriptor, and setting the visability on "Map inherited attributes".
2 - It shouldn't have to be mapped, if there is a little "up arrow" on the mapping, that means it's inherited and mapped in the superclass.
At runtime TopLink checks a descriptor for a mapping, and if it can't find it, if there is inheritance, it goes to the "super descriptor".
- Don -
I am hoping to use two USB interfaces (an M-audio fast track and an M-audio fast track pro) to end up with 3 independent discreet tracks. I thought I could do this by creating an aggregate device, and so I did that, and sure enough when I fire up GB an option is there in the prefs to select the device, and it changes drivers like I expect, and down in the input select area I can select the three independent mono tracks. But that's where the trouble starts, there is no audio passing through. each I/O works fine separately, but not as an aggregate device. What the heck am I doing wrong?
GB 08, MacBook ProOkay, so apparently the trouble was that I was using a passive USB hub to connect both USB i/o's because when I put them each into their own USB port on the macbookpro it worked... maybe the passive hub can't supply enough power to the devices, (using them without their power supplies) again, I dunno, but this way it does work. And just as a side point, the M-Audio USB Pro has an interesting feature where for it's sample rate it is given as "up to 48Khz" not switchable between 44 and 48. The book implies that it will switch depending on the bit depth, but it just always says "up to 48"...
-
Aggregates, VLAN's, Jumbo-Frames and cluster interconnect opinions
Hi All,
I'm reviewing my options for a new cluster configuration and would like the opinions of people with more expertise than myself out there.
What I have in mind as follows:
2 x X4170 servers with 8 x NIC's in each.
On each 4170 I was going to configure 2 aggregates with 3 nics in each aggregate as follows
igb0 device in aggr1
igb1 device in aggr1
igb2 device in aggr1
igb3 stand-alone device for iSCSI network
e1000g0 device in aggr2
e1000g1 device in aggr2
e1000g2 device in aggr3
e1000g3 stand-alone device of iSCSI network
Now, on top of these aggregates, I was planning on creating VLAN interfaces which will allow me to connect to our two "public" network segments and for the cluster heartbeat network.
I was then going to configure the vlan's in an IPMP group for failover. I know there are some questions around that configuration in the sense that IPMP will not detect a nic failure if a NIC goes offline in the aggregate, but I could monitor that in a different manner.
At this point, my questions are:
[1] Are vlan's, on top of aggregates, supported withing Solaris Cluster? I've not seen anything in the documentation to mention that it is, or is not for that matter. I see that vlan's are supported, inluding support for cluster interconnects over vlan's.
Now with the standalone interface I want to enable jumbo frames, but I've noticed that the igb.conf file has a global setting for all nic ports, whereas I can enable it for a single nic port in the e1000g.conf kernel driver. My questions are as follows:
[2] What is the general feeling with mixing mtu sizes on the same lan/vlan? Ive seen some comments that this is not a good idea, and some say that it doesnt cause a problem.
[3] If the underlying nic, igb0-2 (aggr1) for example, has 9k mtu enabled, I can force the mtu size (1500) for "normal" networks on the vlan interfaces pointing to my "public" network and cluster interconnect vlan. Does anyone have experience of this causing any issues?
Thanks in advance for all comments/suggestions.For 1) the question is really "Do I need to enable Jumbo Frames if I don't want to use them (neither public nore private network)" - the answer is no.
For 2) each cluster needs to have its own seperate set of VLANs.
Greets
Thorsten -
Re: How to Improve the performance on Rollup of Aggregates for PCA Infocube
Hi BW Guru's,
I have unresolved issue and our team is still working on it.
I have already posted several questions on this but not clear on how to reduce the time on Rollup of Aggregates process.
I have requested for OSS note and searching myself but still could not found.
Finally i have executed one of the cube in RSRV with the database selection
"Database indexes of an InfoCube and its aggregates" and got warning messages i was tried to correct the error and executed once again but still i found warning message. and the error message are as follows: (this is only for one info cube we got 6 info cubes i am executing one by one).
ORACLE: Index /BI0/IACCOUNT~0 has possibly degenerated
ORACLE: Index /BI0/IPROFIT_CTR~0 has possibly degenerated
ORACLE: Index /BI0/SREQUID~0 has possibly degenerated
ORACLE: Index /BIC/D1001072~010 has possibly degenerated
ORACLE: Index /BIC/D1001132~010 has possibly degenerated
ORACLE: Index /BIC/D1001212~010 has possibly degenerated
ORACLE: Index /BIC/DGPCOGC062~01 has possibly degenerated
ORACLE: Index /BIC/IGGRA_CODE~0 has possibly degenerated
ORACLE: Index /BIC/QGMAPGP1~0 has possibly degenerated
ORACLE: Index /BIC/QGMAPPC2~0 has possibly degenerated
ORACLE: Index /BIC/SGMAPGP1~0 has possibly degenerated
i don't know how to move further on this can any one tell me how to tackle this problem to increase the performance on Rollup of Aggregates (PCA Info cubes).
every time i use to create index and statistics regularly to improve the performance it will work for couple of days and again the performance of the rollup of aggregates come down gradually.
Thanks and Regards,
Venkathi,
check in a sql client the sql created by Bi and the query that you use directy from your physical layer...
The time between these 2 must be 2-3 seconds,otherwise you have problems.(these seconds are for scripts that needed by Bi)
If you use "like" in your sql then forget indexes....
For more informations about indexes check google or your Dba .
Last, i mentioned that materialize view is not perfect,it help a lot..so why not try to split it to smaller ones....
ex...
logiacal dimensions
year-half-day
company-department
fact
quantity
instead of making one...make 3,
year - department - quantity
half - department - quantity
day - department - quantity
and add them as datasource and assign them the appropriate logical level at bussiness layer in administrator...
Do you use partioning functionality???
i hope i helped....
http://greekoraclebi.blogspot.com/
///////////////////////////////////////
Maybe you are looking for
-
I would like to know how many times I can install a Adobe PHotoshop 11 ?
-
Hi, I want to mimic the beavior of a global temporary table by using a regular table and feed a column that will contain session id...but i don't get how to obtain the session id in APEX ? Any suggestion ? Regards.
-
Content installation fails in 7.3 at ABAP program SAPLRRSI
Hi all, We have a brand new 7.3 system, when we are trying to install standard content, we are getting a DUMP. Any clue what we are missing or anybody faced the same issue? Category ABAP Programming Error Runtime Errors RAISE_EX
-
Com.Sap.Portal.dynamicSystem -- Jar needed
Hi all In my system , I am unable to see the jar file of the <b>import com.sap.portal.dynamicsystem</b>. Where i find this JAR file ??? Thanks Kay
-
My mic stopped working after i upgraded to Window 7 on my HP pavilion 6700
I upgraded my Vista to Window 7 (64 bit) on my HP Pavilion 6700, my speakers are working but my builit in mic has stopped working. Can any body help me with this.... Thanks