Creating aggregates
Hi
we have few aggregates on one of our cube. i am trying to create new one. the idea is we have to create exactly similary aggregates but replace few of our existing attributes with navigational attributes.
i have an aggregate which includes
Material no, Material type
Location type
fiscal year
this aggregate is in production for some time.
now when i created exactly similar aggregate with the same fields and rolled up data. the number of records written are same but the summarization ratio is 1. since i am having material no in my aggregate i can understand that. but its exactly the same aggregate which exist in production and the summarization ratio for that is 212.
would be great help
thanks
Thanks
here are the details
Material (Dim)
Material Divison
Material
Material type
Location (Dim)
Territory
Time (Dim)
Fiscal year
Records writter are 2254003
Summarized ratio 212
i have to create new aggregate by replacing Material division with its navigational attribute. when i created it i only have summarization ratio as 3. so i created exactly the same aggregate without any navigational attributes once again just to see whats the summarization ratio and it also has 3.
do you require any further information.
yes its in production.
Similar Messages
-
Help on Creating Aggregates on MultiProvider
Hi All,
Is it possible to create aggregates on MultiProvider or its possible in Basic Cubes Only. please suggest with that? some document i go through You do not have to create aggregates for MultiCubes.
regards
babumagesh,
aggregates on multiprovider would mean separate aggregates on the constituent cubes / ODS...
Go to the cube and select propose aggregate from query and select your multiprovider query - use the aggregate(s) proposed for the same....
When running the query on multiprovider , the agregates on the constituent cubes will be used...
Arun
Hope it helps... -
Errors when Creating Aggregate Tables in OBIEE 11.1.1.6 within SQL server
Hi All,
I was trying to create an aggregate table in OBIEE 11.1.1.6 within SQL Server. The sql was generated successfully as below. But an error occurred when I use NQCMD to execute the sql and the following error showed:
1. SQL for creating Aggregate Table:
create aggregates
"ag_Measure"
for "ASOBI_DTT_Demo"."Measure"("ValidVIPCnt")
at levels ("ASOBI_DTT_Demo"."日期"."月", "ASOBI_DTT_Demo"."門市品牌"."門市品牌", "ASOBI_DTT_Demo"."門市類別"."門市類別", "ASOBI_DTT_Demo"."內創門市"."內創門市", "ASOBI_DTT_Demo"."門市/倉庫"."門市/倉庫", "ASOBI_DTT_Demo"."門市群組"."門市群組", "ASOBI_DTT_Demo"."門市行政區課"."行政區", "ASOBI_DTT_Demo"."門市地區"."城市")
using connection pool "ASOBI_DTT_Demo"."ASOBI_System10"
in "ASOBI_DTT_Demo"."ASOBI"."dbo";
2. Error Message:
"ag_Measure"
for "ASOBI_DTT_Demo"."Measure"("ValidVIPCnt")
at levels ("ASOBI_DTT_Demo"."日期"."月", "ASOBI_DTT_Demo"."門市品牌"."門市品牌"
, "ASOBI_DTT_Demo"."門市類別"."門市類別", "ASOBI_DTT_Demo"."內創門市"."內創門市"
, "ASOBI_DTT_Demo"."門市/倉庫"."門市/倉庫", "ASOBI_DTT_Demo"."門市群組"."門市群
組", "ASOBI_DTT_Demo"."門市行政區課"."行政區", "ASOBI_DTT_Demo"."門市地區"."城市
using connection pool "ASOBI_DTT_Demo"."ASOBI_System10"
in "ASOBI_DTT_Demo"."ASOBI"."dbo"
[343][State: 37000] [Microsoft][SQL Server Native Client 10.0][SQL Server]CREATE
、DROP or ALTER 陳述式中使用未知的物件類型 'aggregates'。
Statement execute failed
Which means "Using unknown object type 'aggregates' in CREATE. DROP or ALTER statements" in English.
Can anyone give me a suggestion for this error?? Many thanks!!!Hi Martin,
I guess, I was not clear enough. Let me try again
How Aggregate Persistence works in OBIEE?
Once you are done choosing options in the Aggregate Persistence wizard, it generates an intelligent Query.
What query is it?
If you happen to understand the query, it is not like any ANSI standard SQL (I would say DDL) query. As you might have noticed there are no SQL Server datatypes, lengths, keys, constraints etc. This query can only be understood by the BI Server.
How do I issue this query?
Since the logical query could only be understood by BI Server, it has to be issued only to BI Server Engine using some tool viz NQCMD in this case.
What does issuing this query using NQCMD do?
The execution steps are as follows, the moment the query is issue via NQCMD
Aggregate Persistent Wiz Generate Query ----- Issued to ---> NQCMD ----- Passes the logical query to ---> BI Server ----- Parses the query ---> Builds the corresponding physical DDL statements Issued --->To the Database --- If successful ---> .RPD is automatically updated with the aggregated sources etc.
How do I pass the query to BI Server using NQCMD?
The format of issuing this logical query to BI Server using NQCMD is
nqcmd -d <Data Source Name> -u <Analytics UserId> -p <Password> -s <command> > output.log
where
<Data Source Name> : Is the DSN name which OBIPS uses to talk to Oracle BI Server. Yes, it's the very same DSN that can be found in InstanceConfig.xml
<Analytics UserID> : Any user in obiee with admin privileges.
<Password> : Password of the obiee UserId
<Command> : Logical SQL Command which you already have handy.
Hope I was good this time..
Dhar -
Error when creating aggregate table
Hello,
I am creating an aggregate table using the Aggregate Persistence Wizard. When trying to run the batch file, I am receiving an error: "Could not connect to the Oracle BI Server instance".
But then, the Oracle BI Server is running and I am able to do queries in answers with no connection issues. (Pls see below)
Please help.
Thanks,
Felicity
D:\OracleBI\server\Repository>create_agg.bat
D:\OracleBI\server\Repository>nqcmd -d AnalyticsWeb -u Administrator -p Administ
rator -s D:\OracleBI\server\Repository\CREATE_AGG.sql
Oracle BI Server
Copyright (c) 1997-2009 Oracle Corporation, All rights reserved
create aggregates
"ag_SalesFacts"
for "SupplierSales"."SalesFacts"("Net Weight Shipped","Units Ordered","Units Sh
ipped","Dollars")
at levels ("SupplierSales"."ProductsDim"."Type", "SupplierSales"."CustomersDim"
."SalesRep", "SupplierSales"."PeriodsDim"."Month")
using connection pool "ORCL"."SUPPLIER CP"
in "ORCL".."SUPPLIER2"
create aggregates
"ag_SalesFacts"
for "SupplierSales"."SalesFacts"("Net Weight Shipped","Units Ordered","Units Sh
ipped","Dollars")
at levels ("SupplierSales"."ProductsDim"."Type", "SupplierSales"."CustomersDim"
."SalesRep", "SupplierSales"."PeriodsDim"."Month")
using connection pool "ORCL"."SUPPLIER CP"
in "ORCL".."SUPPLIER2"
[10058][State: S1000] [NQODBC] [SQL_STATE: S1000] [nQSError: 10058] A general er
ror has occurred.
[nQSError: 37001] Could not connect to the Oracle BI Server instance.
Statement preparation failed
Processed: 1 queries
Encountered 1 errorsWill this help you solve issue http://forums.oracle.com/forums/thread.jspa?messageID=3661598
Check the comments in this blog http://obiee101.blogspot.com/2008/11/obiee-aggregate-persistence-wizard.html
It deals with use permissions for the database.
hope answers your question..
Cheers,
kk -
Can't create aggregate device?
Can anyone help me here, I know exactly how to create an aggregate device but when I go to hit the check boxes for various ins/outs it flashes like it worked for a second then appears back where it was on the list, unchecked. I have no idea what the problem is, but it won't let checks appear, it just appears checked and goes tot he top of the list for about a nanosecond and then appears again at the bottom unchecked, hence i cannot create aggregate audio devices.
EDIT: also, i've tried restarting, etc numerous times to no avail.
Message was edited by: samonguitarAs a longtime user of Aggregate Devices, I can assure you that this issue is in fact real, and VERY new. What has happened since two weeks ago since I last used my setup?!?
Basically everything looks normal until you try to check the box to add the device to the list. You can click the plus sign, but when you try to check the boxes the check mark flashes in the box, and the "selected" item moves to the top for an instantbut then returns, unchecked to its original location in the list.
The forums and the genius bar have been no help (because I know more about this software than the staff) and I have tried varying the USB/firewire ports, only using certain devices, trying different devices... essentially everything I can think of save a system restore to earlier last month, which I do not have time to deal with right now.
This is a nightmare as I have a recording session tomorrow and have spent all day trying to figure out what is wrong... with no end in sight. Does anyone have a solution?
Apple, please address this issue ASAP! -
What are the guidelines for creating aggregates?
Hi Everyone,
I am required to create aggregates for an infoprovider.
On what guidelines and criterias should I determine how many aggregates to create and what characteristics should be included in the aggregates?
For example if i have 5 queries created for this infoprovider and the selection inputs for each query is different. The number of characteristics displayed in the query is also different.
Does it mean I should have 5 different aggregates for this infoprovider?
Thanks.
Regards,
Shunhui.hi Shunhui,
take a look ppt and e-learning on aggregate
https://www.sdn.sap.com/irj/sdn/developerareas/bi?rid=/webcontent/uuid/fe5b0b5e-0501-0010-cd88-c871915ec3bf [original link is broken]
'intermediate course' - SAP BW Query Performance Tuning with Aggregates
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/d9fd84ad-0701-0010-d9a5-ba726caa585d
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3f66ba90-0201-0010-ac8d-b61d8fd9abe9
you may not need 5 aggregates
Tips for Building (and Maintaining) Good Aggregates:
-Relatively small compared to parent InfoCube
-Try for summarization ratios of 10 or higher
-Not too specific, not too general should serve many different query navigations
try to combine characteristics used in query and check the summarization ratio and get the best combination,
e.g aggregate contains char1, char2 have good ratio
and char3,char4 and char5 have another good ratio,
then you just need 2 aggregates.
hope this helps. -
Hi gurus,
I have problem with creating aggregate tables. I use Oracle business intelligence 11g R1 cookbook book for help but I think author forget some important things and I can't create it.
I have fact table and dimension (fact_table, group_product_dim). I summery them and now I got fact aggregate table and aggregate dimension (fact_table_agg, group_product_dim_agg):
summary:
fact_table
fact_table_agg
group_product_dim
group_product_dim_agg
After I create physical diagram for base and aggregate combination in physical layer.
Now I need to move this tables in BMM. Which combination I need to bring in BMM layer? Both, basic combination or aggregate combination?
I move basic combination (fact_table, group_product_dim) and try two add two logical table source in dimension group_product_dim. Create a new logical table source by right-clicking on the group_product_dim logical
table and selecting the New Object | Logical Table Source option. This will bring up the new window Logical Table Source.
I select the physical table by clicking the + sign and select (group_product_dim_agg) the aggregate dimension table. Now I make the column mapping on the Column Mapping tab of the same Logical Table Source. Only few columns are mapped and all the others are unmapped. This is because the aggregate dimension table doesn't store all columns from basic dimension group_product_dim. The last modification I do on the Content tab of the Logical Table Source.
I need define the levels at which this logical table source can satisfy queries. This step is very important. Making any kind of mistake will cause the BI server to use a wrong logical table source for the queries.
Here I have a problem because I can't put Logical Level into Aggregation content, group by menu. I can't put anyting else then the default value Column.
Tnx,
best regards1.) http://www.amazon.com/Oracle-Business-Intelligence-Cookbook-ebook/dp/B00DHCKTXQ/ref=wl_it_dp_o_pC_nS_nC?ie=UTF8&colid=322X8WO18RFEG&coliid=I13QJ38KK8PYTB
2.) I create NEW business model in BMM and after drag a fact_table and group_product_dim into it. Do I need drag aggregate objects into New business model, also?
I don't, I drag only fact_table and group_product_dim and create New Logical Table Source on group_product_dim where I try make new source.
Can you tell me what I need to do in background? Do I need map columns from dimension to aggregate dimension? -
Creating aggregates using abap instead of relying on the interface
Does anyone know how to create aggregates in BW by using abap instead of the habitual dragging and dropping?
Hi dear,
I know there is a report to copy an existing aggregate to a cube to another one (look at OSS note 608814 "Program for copying aggregate definitions")...
Maybe this can be useful...
Bye,
Roberto -
Creating aggregates on partitioned Cube?
Hello Everyone,
We have a cube partitioned by Fiscal year/period. Will creating aggregates help at all after partitioned is done? Essentially, do you create aggregates if a cube is partitioned? Is it either partition or aggregate?
ThanksHi,
these two concepts are independant: you can create an aggregate or not:
- if your AGG has 0FISCPER, it will be partitionned as well.
- you can create an AGG without 0FISCPER; it won't be partitionned
Of course it makes sense to create an AGG on partitionned cubes! And of course it will help....
I magine an AGG with 0FISCYEAR compared to the same AGG with 0FISCPER; it will have potentially 12 times (if your fiscyear has 12 periods...) less records thus queries using it will be definitively faster.
In adidtion you can create an aggregate for a particular FISCYEAR (e.g. 2007)...
Please note that partitioning will only help if your cube is collapsed; indeed the partitionning only affects the E fact table.
hope this helps....
Olivier. -
How can i increse query performance other than creating aggregates
Hi,
i created one query and it will take more time to give a report i created aggregates but no use again it will take same so pls give me a option to increase the query performance.
bye .
sandhya.Hi SANDHYA,
You can increase the query performance by using indices too. You can search a table for data records that satisfy certain search criteria faster using an index.
An index can be considered a copy of a database table that has been reduced to certain fields. This copy is always in sorted form. Sorting provides faster access to the data records of the table, for example using a binary search. The index also contains a pointer to the corresponding record of the actual table so that the fields not contained in the index can also be read.
Pls refer the follwoing links for more idea about indices
http://help.sap.com/saphelp_nw04/helpdata/en/9b/c743f5b40711d194f900a0c929b3c3/frameset.htm
Re: Bitmap vs BTree
How to create B-Tree and Bitmap index in SAP
Re: Cardinality
Line Item Dimesnion
I ve some good documents regarding indices...I would send them if i know ur mail id.
regards,
RV. -
Can't create aggregate device in SL
Just installed SL and i'm having problems with Audio MIDI Setup, i need to create a new aggregate device to use my mixer etc but when i click the + symbol, the new device will flash in the list and immediately disappear. Is this a bug or am i doing something wrong? This worked fine for me with the same setup in Leopard.
SOLVED!!!!! I spend about 5 hours one the phone with Cameron at AppleCare as well as some time on my own, and we FINALLY figured it out!
The important thing is that you can ONLY add aggregate devices from an admin account, but that may not be the only problem. It certainly wasn't in my case. So, here are the steps to follow:
1. Try adding/removing aggregate devices from an ADMIN account. If this works, you're good. If it doesn't, or if you're already on an admin account, try creating a new admin account.
2. If even a new admin account doesn't work, REINSTALL SNOW LEOPARD. If you just use the default install, it does an Archive and Install. It only takes about an hour, and you won't even notice OS X has been reinstalled except for the fact you'll have to reinstall the 10.6.1 update and any other misc. updates. Besides, it'll run a lot faster. It's so easy in fact that I'm going to start recommending you reinstall like this every couple months or so just to keep your Mac running in top condition.
3. NOW try creating aggregate devices from one or more admin account. It should work now. If it doesn't, then you have a different problem and I can't really help you much.
Hope this helps someone! -
I cannot create aggregate devices with audio/midi setup. Every time I click a component to use it unchecks as fast as it checked. Im at a loss, without hte ability to make ag devices I cannot record at all, but there seems to be no documentation on the problem.
I cannot create aggregate devices with audio/midi setup. Every time I click a component to use it unchecks as fast as it checked. Im at a loss, without hte ability to make ag devices I cannot record at all, but there seems to be no documentation on the problem.
-
Creating Aggregate device?
I'm having trouble with creating an Aggregate deivce on 10.6
Are there any tutorials for 10.6 (not leopard as it seems to have changed in 10.6?)
I basically want to record in Soundflower but output and monitor on my Edirol USB interface?
I have both of these selected in Audio MIDI setup and what i thought was "soundflower INPUT and Edirol OUTPUT but can't seem to get it to work
Any info or tutorials on creating Aggregate Devices in 10.6 or help would be great
ThanksProblem solved: Must be done from an admin account.
-
When we create aggregates ? r tables created for aggregates?
Hi all,
When we create aggregates are tables generated for aggregates ? if so what are all the tables created and let me know the naming conventions of those tables /bic/???
regds
hariYes - when you create an aggregate, it creates E and F tables. The aggregate tables use a BW assigned number.
So InfoCube 0IC_C03 has an F fact table /BI0/F0IC_C03 and an E fact table /BI0/E0IC_C03, but the aggregates fact tables are like /BIC/F100032 and /BIC/E100032. If you create more than one aggregate on this cube, the aggregates are assigned whatever the next available number is, so you could have aaggregate 100032, 100036, 100041.
You also have Dimension tables with aggregates that are like /BIC/D1000321. If a dimension for an aggregate is identical to the base cube's dimension, then the BW is smart enough to recognize that, and it will use the base cube's dimension table instead creating another one for the aggregate which would be identical. -
Can we create aggregates on the cube which has been compressed
Hello Gurus,
Can we create aggregates on the cube which has been compressed. We have a AP cube with 60 Millions of data. If we compress it now, going forward, can i create Aggregates on that cube. How is the performance will effect.
Answers will be rewarded...Hi......
This is a tablespace problem........its better u contact any Basis people.......Since the no of records is huge......due to this the problem arrise..........they can solve the issue.....
Anyways check this......
http://help.sap.com/saphelp_46c/helpdata/en/2e/d9507794f911d283d40000e829fbbd/content.htm
Regards,
Debjani..... -
Can u create aggregates in ODS(Operational Data Store)??
Can u create aggregates in ODS(Operational Data Store)??
Thanks In AdvanceHi,
Refer the links:
Re: Difference between InfoCube and ODS Object
Re: aggregates
With rgds,
Anil Kumar Sharma .P
Maybe you are looking for
-
I am having trouble not having the right cable when connecting my MacBook Pro 10.7.5 OS X to my Zenith 50" flatscreen HDTV- the laptop was purchased in July, and HDTV is one year old. I moved to Central America (Belize) in August, so am lacking in t
-
IOS5 upgrade/iCloud/Loss of Photos
Finally got around to upgrading my iPad(1) with iOS5....somehow in doing so I 'lost' all the photos on the iPad. I have duplicates of the photos on my iMac. Can I, and if so how, transfer photos from the Mac to the iPad? Both 'puters are using iC
-
Separate folder for class files (eclipse)
hello :) in eclipse how do i specify a different dir to output my class files to ?
-
How to implement CO in DBM Environment
pls let me know how to impelment the CO in DBM senario. How it is different from normal senario.
-
I change my AppleID user name but iCloud still has the old AppleID, how do I correct this?