Sparsity advisor AWM 10.2.0.3
I have a cube that is created with 6 dimensions. It used to finish with the complete build and refresh in about 20 minutes.
I used the sparsity advisor on it and based on the current data it gave me a different dimensionality and asked me to change one dimension from sparse to dense. I did recreate the cube with those recommendations.
Now the cube build takes more than an hour an counting. It never came back. I had to kill it.
Anyone had this kind of experience? Or is it me only?
The cube has one measure and six dimensions. the cube data source has approximately 1 MN rows. If anyone want more details I can provide. But I would really like to know what am I (or the Sparsity advisor) doing wrong here
The sparsity advisor is certainly not omniscient; it follows a set of heuristics and gives its best guess, but there are certainly adjustments that can be made to it. I can't promise anything, but if there are data sets it does a poor job on you should feel free to forward me information about them and I can consider what sort of enhancements could be made in the future. At a minimum, turning on the parameters
olapcontinuous_trace_file=TRUE
olappoutlog_echo_to_eventlog=TRUE
and mailing the resultant trace file (It should have lots of lines with the string '[SparseAdvise]' in it) to me would be useful. Anything else like a description of the model, source tables, data patterns and especially the dimensional sparsity you chose and why would be extra helpful. If they're not too big I would also be happy to take dump files of any sample schemas which you think illustrate problems.
Being just some code, it's never going to be as good as an experienced OLAP professional in figuring stuff out but we would like it to be good enough that in the vast majority of cases it gives advise which isn't totally out of whack (which it certainly is if it's sending aggregations off into la la land).
Similar Messages
-
Missing Sparsity Advisor in AWM, how to get/activate this function?
hi all,
I use "Analytic Workspace Manager 10.2.0.3.0A" to create my cubes and dimensions.
In the Demonstration of "Analytic Workspace Manager 10.2.0.3.0", I seen there is the function "Sparsity Advisor" in AWM. But I don't found this function in my "Analytic Workspace Manager 10.2.0.3.0A".
Some one show me how to get/activate this function please!
Thanks in advance!To Ragnar
to obtain the lastest Schema, I downloaded and installed the "GLOBAL Schema 10.2.0.3.0" found here:
http://www.oracle.com/technology/products/bi/olap/index.html
To Watrost
I did which you said:
SQL> show parameter compatible;
and I obtains this result:
compatible string 10.2.0.1.0
I think I don't have the good version. So I tried to update the lastest patch "10gR2 - 10.2.0.3" but I found another problem.
I don't have acces to Metalink because I installed "Oracle Database 10g Release 2 (10.2.0.1.0) for Microsoft Windows (x64)"
so I don't have the "Support Identifier (CSI, SAC, Access Code etc.)". Or maybe I don't know how to get this "Support Identifier".
Can you tell me how to get this Identifier number?
Is it possible to get the lastest patch 10gR2 - 10.2.0.3 without "Support Identifier" or Metalink?
thanks in advance! -
Hi
When i try to use the Sparsity Advisor from AWM 10.2.0.3A, at a cube level, it throws the following error.. DB Version is 10.2.0.3
java.sql.SQLException: ORA-22921: length of input buffer is smaller than amount requested
ORA-06512: at "SYS.DBMS_AW", line 369
ORA-06512: at "SYS.DBMS_AW", line 397
ORA-06512: at line 1
Any help.
Regards
balaThe sparsity advisor is certainly not omniscient; it follows a set of heuristics and gives its best guess, but there are certainly adjustments that can be made to it. I can't promise anything, but if there are data sets it does a poor job on you should feel free to forward me information about them and I can consider what sort of enhancements could be made in the future. At a minimum, turning on the parameters
olapcontinuous_trace_file=TRUE
olappoutlog_echo_to_eventlog=TRUE
and mailing the resultant trace file (It should have lots of lines with the string '[SparseAdvise]' in it) to me would be useful. Anything else like a description of the model, source tables, data patterns and especially the dimensional sparsity you chose and why would be extra helpful. If they're not too big I would also be happy to take dump files of any sample schemas which you think illustrate problems.
Being just some code, it's never going to be as good as an experienced OLAP professional in figuring stuff out but we would like it to be good enough that in the vast majority of cases it gives advise which isn't totally out of whack (which it certainly is if it's sending aggregations off into la la land). -
hi all,
there is many post talk about awm 10.2.0.3.0 and its advances like: Sparcity Advisor ...
I use currently the awm 10.2.0.3.0A and in this version, there's not the function Sparcity Advisor. Can you explain me how to get the awm 10.2.0.3.0? What's differents between this 2 version (freeware, shareware)?
Thanks !The sparsity advisor is displayed when you right mouse click on a cube. The readme file shows the following information:
http://www.oracle.com/technology/products/bi/olap/awm102030A_readme.html
Analytic Workspace Manager in Release 10.2.0.3.0 provides a Sparsity Advisor, which examines the source data and makes recommendations for defining OLAP cubes that will provide the best performance. The functionality of calculation plans has been enhanced to provide post-load forecasting, allocation, and aggregation. Analytic Workspace Manager also supports Java add-ins, so that any Java developer can extend and customize the tools in Analytic Workspace Manager. Please refer to the Oracle OLAP Application Developer's Guide 10.2.0.3 for further details.
Hope this helps
Keith Laker
Oracle EMEA Consulting
BI Blog: http://oraclebi.blogspot.com/
DM Blog: http://oracledmt.blogspot.com/
BI on Oracle: http://www.oracle.com/bi/
BI on OTN: http://www.oracle.com/technology/products/bi/
BI Samples: http://www.oracle.com/technology/products/bi/samples/ -
Hello,
I tried this awm viewlet on global schema http://www.oracle.com/technology/products/bi/olap/viewlet/AWM102_viewlet_swf.html
But when I want to run sparsity advisor I cannot find it in popup menu of cube that I created.
Why this? Why I can not run sparsity advisor?
Thanks in advance
AurelI have XP SP2 machine , 10.2.0.4 database and AWM 10.2.0.3A
-
AWM download(s) from OTN fail -- no zip file found
The AWM download link(s) on OTN all seem to be broken at this point (Nov 13).
On the BI & DW Tech Center page (( http://www.oracle.com/technology/tech/bi/index.html )) > Downloads > AW Manager, the link points to a 10.2.0.1.0A version on "download.oracle" (( http://download.oracle.com/otn/java/olap/AWM_102010A_Win32.zip )) that does not exist.
On the 10g Oracle OLAP page (( http://www.oracle.com/technology/products/bi/olap/index.html )) > Downloads > AWM, the link points to the newer 10.2.0.2.0A version again on "download.oracle (( http://download.oracle.com/otn/java/olap/AWM102020A_Win.zip )). However that zip file doesn't exist either.
I've tried poking some alternative file names, but to no luck.
Please have the PMs fix the links / post the file.
Thanks.These previous AWM 10.2 links should be working. However, you should be using the latest AWM 10.2.0.3.0 for all Oracle OLAP 10.2 releases. AWM 10.2.0.3.0 works with Oracle OLAP 10.2.0.1.0 and 10.2.0.2.0 releases, including all the Oracle OLAP specific 'letter' patches. AWM 10.2.0.3.0 only requires Oracle OLAP 10.2.0.3.0 for the ability to run new features found in AWM 10.2.0.3.0 such as Sparsity Advisor.
By the way, I have informed the owner of the following page to update their AWM link under Downloads to the latest 10.2.0.3.0 version:
http://www.oracle.com/technology/tech/bi/index.html
Thanks -
I'm using OWB 10R2 and just added 2 new dimensions to a cube which had been working with 7 dims. I flagged every dimension but time as sparse and ensured the the dimension order was the same in the dimension tab and the aggregation tab. I used the compression and partititioning settings.
When I tried deploying the cube I got the error: Agggregation COPY_OF_TEACHING.COPY_OF_TEACHING.AGGREGATIONDEFINITION can not be used with Cube COPY_OF_TEACHING.CUBE because Relations for Compressed Dimensions should be Last.
How do you determine which dimensions are sparse and then what the order should be?
EdEd,
I've never actually done this myself, but I have some notes that tell me there is a Sparsity Advisor that you can run to tell you which dimensions are dense/sparse and what order to list the dimensions. The advisor consists of PL/SQL procedures. If you search the web, there is some info on it.
Regards
GB -
10.2.0.3 Release of Analytic Workspace Manager?
If Bud, Anthony or someone from OLAP Product Management is around - is there any news on when the next release of AWM will be available? (the 10.2.0.3 database patchset is now available on metalink for download). Is this new release going to have any new features? I think I heard someone mention that AWM 10.2.0.3 will have the sparsity advisor built in, it'd be interesting to hear what's coming up.
many thanks
MarkJust incase that was the old (10.2.0.2) release of AWM, I've just rerun it with the version now on OTN (10.2.0.3):
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x61D34D68
Function=xaolog+0x6338
Library=C:\oracle\product\10.2.0\db_1\bin\OraClient10.Dll
Current Java thread:
at oracle.jdbc.driver.T2CStatement.t2cParseExecuteDescribe(Native Method)
at oracle.jdbc.driver.T2CPreparedStatement.executeForDescribe(T2CPreparedStatement.java:518)
at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1030)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1123)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3284)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3328)
- locked <0x10026d30> (a oracle.jdbc.driver.T2CPreparedStatement)
- locked <0x136991a8> (a oracle.jdbc.driver.T2CConnection)
at oracle.olap.awm.util.jdbc.SQLWrapper.execute(SQLWrapper.java:184)
at oracle.olap.awm.util.jdbc.SQLWrapper.execute(SQLWrapper.java:62)
at oracle.olap.awm.businessobject.aw.WorkspaceBO.getWorkspacesOwnedBySchemaInStandardForm(WorkspaceBO.java:200)
at oracle.olap.awm.navigator.node.WorkspaceFolderNode.getChildren(WorkspaceFolderNode.java:111)
at oracle.olap.awm.navigator.node.BaseNodeModel.refreshData(BaseNodeModel.java:74)
at oracle.olap.awm.navigator.node.BaseNodeModel.dTreeItemExpanding(BaseNodeModel.java:221)
at oracle.bali.ewt.dTree.DTreeDeferredParent.__fireExpansionChanging(Unknown Source)
at oracle.bali.ewt.dTree.DTreeDeferredParent.setExpanded(Unknown Source)
at oracle.olap.awm.navigator.node.BaseNode.expandHelper(BaseNode.java:2185)
- locked <0x101b21b0> (a java.lang.Object)
at oracle.olap.awm.navigator.node.BaseNode.access$400(BaseNode.java:109)
at oracle.olap.awm.navigator.node.BaseNode$ExpansionThread.run(BaseNode.java:2135)
Dynamic libraries:
0x00400000 - 0x0041C000 C:\oracle\awm\bin\awm.exe
0x7C900000 - 0x7C9B0000 C:\WINDOWS\system32\ntdll.dll
0x7C800000 - 0x7C8F4000 C:\WINDOWS\system32\kernel32.dll
0x77D40000 - 0x77DD0000 C:\WINDOWS\system32\USER32.dll
0x77F10000 - 0x77F57000 C:\WINDOWS\system32\GDI32.dll
0x08000000 - 0x08138000 C:\oracle\awm\jre\bin\client\jvm.dll
0x77DD0000 - 0x77E6B000 C:\WINDOWS\system32\ADVAPI32.dll
0x77E70000 - 0x77F01000 C:\WINDOWS\system32\RPCRT4.dll
0x76B40000 - 0x76B6D000 C:\WINDOWS\system32\WINMM.dll
0x77C10000 - 0x77C68000 C:\WINDOWS\system32\MSVCRT.dll
0x10000000 - 0x10007000 C:\oracle\awm\jre\bin\hpi.dll
0x00A10000 - 0x00A1E000 C:\oracle\awm\jre\bin\verify.dll
0x00A20000 - 0x00A39000 C:\oracle\awm\jre\bin\java.dll
0x00A40000 - 0x00A4D000 C:\oracle\awm\jre\bin\zip.dll
0x03D60000 - 0x03E6F000 C:\oracle\awm\jre\bin\awt.dll
0x73000000 - 0x73026000 C:\WINDOWS\system32\WINSPOOL.DRV
0x76390000 - 0x763AD000 C:\WINDOWS\system32\IMM32.dll
0x774E0000 - 0x7761D000 C:\WINDOWS\system32\ole32.dll
0x03840000 - 0x03890000 C:\oracle\awm\jre\bin\fontmanager.dll
0x74720000 - 0x7476B000 C:\WINDOWS\system32\MSCTF.dll
0x04820000 - 0x0483E000 C:\oracle\awm\jre\bin\jpeg.dll
0x62F00000 - 0x62F13000 C:\oracle\product\10.2.0\db_1\BIN\ocijdbc10.dll
0x04680000 - 0x046D9000 C:\oracle\product\10.2.0\db_1\bin\OCI.dll
0x7C340000 - 0x7C396000 C:\WINDOWS\system32\MSVCR71.dll
0x76BF0000 - 0x76BFB000 C:\WINDOWS\system32\PSAPI.DLL
0x61C20000 - 0x61E76000 C:\oracle\product\10.2.0\db_1\bin\OraClient10.Dll
0x60870000 - 0x60957000 C:\oracle\product\10.2.0\db_1\bin\oracore10.dll
0x60A80000 - 0x60B46000 C:\oracle\product\10.2.0\db_1\bin\oranls10.dll
0x63690000 - 0x636A8000 C:\oracle\product\10.2.0\db_1\bin\oraunls10.dll
0x60EB0000 - 0x60EB7000 C:\oracle\product\10.2.0\db_1\bin\orauts.dll
0x71AB0000 - 0x71AC7000 C:\WINDOWS\system32\WS2_32.dll
0x71AA0000 - 0x71AA8000 C:\WINDOWS\system32\WS2HELP.dll
0x636B0000 - 0x636B6000 C:\oracle\product\10.2.0\db_1\bin\oravsn10.dll
0x60FA0000 - 0x61093000 C:\oracle\product\10.2.0\db_1\bin\oracommon10.dll
0x60300000 - 0x6086B000 C:\oracle\product\10.2.0\db_1\bin\orageneric10.dll
0x63430000 - 0x63457000 C:\oracle\product\10.2.0\db_1\bin\orasnls10.dll
0x04840000 - 0x049B6000 C:\oracle\product\10.2.0\db_1\bin\oraxml10.dll
0x046F0000 - 0x04701000 C:\WINDOWS\system32\MSVCIRT.dll
0x60960000 - 0x60A72000 C:\oracle\product\10.2.0\db_1\bin\oran10.dll
0x62740000 - 0x6277D000 C:\oracle\product\10.2.0\db_1\bin\oranl10.dll
0x62790000 - 0x627A7000 C:\oracle\product\10.2.0\db_1\bin\oranldap10.dll
0x627F0000 - 0x628FC000 C:\oracle\product\10.2.0\db_1\bin\orannzsbb10.dll
0x62530000 - 0x62583000 C:\oracle\product\10.2.0\db_1\bin\oraldapclnt10.dll
0x62670000 - 0x6268B000 C:\oracle\product\10.2.0\db_1\bin\orancrypt10.dll
0x71AD0000 - 0x71AD9000 C:\WINDOWS\system32\WSOCK32.dll
0x77120000 - 0x771AC000 C:\WINDOWS\system32\OLEAUT32.dll
0x62920000 - 0x6296D000 C:\oracle\product\10.2.0\db_1\bin\oranro10.dll
0x626B0000 - 0x626B7000 C:\oracle\product\10.2.0\db_1\bin\oranhost10.dll
0x62660000 - 0x62666000 C:\oracle\product\10.2.0\db_1\bin\orancds10.dll
0x629C0000 - 0x629C8000 C:\oracle\product\10.2.0\db_1\bin\orantns10.dll
0x049C0000 - 0x04D26000 C:\oracle\product\10.2.0\db_1\bin\orapls10.dll
0x04710000 - 0x04719000 C:\oracle\product\10.2.0\db_1\bin\oraslax10.dll
0x63080000 - 0x63284000 C:\oracle\product\10.2.0\db_1\bin\oraplp10.dll
0x61ED0000 - 0x61F68000 C:\oracle\product\10.2.0\db_1\bin\orahasgen10.dll
0x62AB0000 - 0x62B1F000 C:\oracle\product\10.2.0\db_1\bin\oraocr10.dll
0x62B20000 - 0x62B66000 C:\oracle\product\10.2.0\db_1\bin\oraocrb10.dll
0x5B860000 - 0x5B8B4000 C:\WINDOWS\system32\NETAPI32.dll
0x62980000 - 0x62990000 C:\oracle\product\10.2.0\db_1\bin\orantcp10.dll
0x63520000 - 0x635BA000 C:\oracle\product\10.2.0\db_1\bin\orasql10.dll
0x77FE0000 - 0x77FF1000 C:\WINDOWS\system32\Secur32.dll
0x71A50000 - 0x71A8F000 C:\WINDOWS\System32\mswsock.dll
0x76F20000 - 0x76F47000 C:\WINDOWS\system32\DNSAPI.dll
0x76FB0000 - 0x76FB8000 C:\WINDOWS\System32\winrnr.dll
0x76F60000 - 0x76F8C000 C:\WINDOWS\system32\WLDAP32.dll
0x76FC0000 - 0x76FC6000 C:\WINDOWS\system32\rasadhlp.dll
0x662B0000 - 0x66308000 C:\WINDOWS\system32\hnetcfg.dll
0x71A90000 - 0x71A98000 C:\WINDOWS\System32\wshtcpip.dll
0x71F80000 - 0x71F84000 C:\WINDOWS\system32\security.dll
0x77C70000 - 0x77C93000 C:\WINDOWS\system32\msv1_0.dll
0x76D60000 - 0x76D79000 C:\WINDOWS\system32\iphlpapi.dll
0x76C90000 - 0x76CB8000 C:\WINDOWS\system32\imagehlp.dll
0x59A60000 - 0x59B01000 C:\WINDOWS\system32\DBGHELP.dll
0x77C00000 - 0x77C08000 C:\WINDOWS\system32\VERSION.dll
Heap at VM Abort:
Heap
def new generation total 1664K, used 179K [0x10010000, 0x101d0000, 0x12770000)
eden space 1536K, 6% used [0x10010000, 0x10029618, 0x10190000)
from space 128K, 61% used [0x101b0000, 0x101c3938, 0x101d0000)
to space 128K, 0% used [0x10190000, 0x10190000, 0x101b0000)
tenured generation total 21200K, used 15574K [0x12770000, 0x13c24000, 0x30010000)
the space 21200K, 73% used [0x12770000, 0x136a5b38, 0x136a5c00, 0x13c24000)
compacting perm gen total 15616K, used 15445K [0x30010000, 0x30f50000, 0x34010000)
the space 15616K, 98% used [0x30010000, 0x30f255a0, 0x30f25600, 0x30f50000)
Local Time = Thu Dec 07 17:20:55 2006
Elapsed Time = 20
# The exception above was detected in native code outside the VM
# Java VM: Java HotSpot(TM) Client VM (1.4.2_03-b02 mixed mode)
# -
How to change CUBE properies after create
Hi,
I am using AWM 102020A, I have created a CUBE and now want to go back and change some of the implementation details , is it possible to change :-
Tab -> Implementation Details
1. Order of dimensions
2. Sparsity checkbox
3. Partition Details
Tab -> Cache
1. Turn on session cache if checked off.
Seems these are locked down after create, how can I change these details.
Thanks for any help,
BrandonSince you are you using the 10.2.0.2 version of AWM I suppose the database version you are using is also 10.2.0.2 or below.
So to my knowledge the answer is no.
If you are on the 10.2.0.3 version you have some more options because of the integrated sparsity advisor. Then you would have had the opportunity to recreate the cube. I have never tested the actual recreate function, but I've tested the sparsity advisor and saw that I could change if the cube was to be compressed, what dimension to be sparse etc.
Seems like to have to have the 10.2.0.3 version of the database for this to work.
regards Ragnar -
Hello,
I am trying to create dimension in AWM 11.2.0.1.0A and I get the following error:
(Version of Oracle is 11.2.0.1.0)
DPR: cannot create server cursor, Generic in TxsOqDefinitionManager::generic<CommitRoot>
INI: XOQ-01801: CREATE privilege is required for object "DF" in schema "ADW_TEST".,Generic in TxsOqTopLevelObject::lockExclusive
at oracle.olap.awm.dataobject.dialog.PropertyViewer.doCreateAction(Unknown Source)
at oracle.olap.awm.dataobject.dialog.CreateDialogHostActionThread.doAction(Unknown Source)
at oracle.olap.awm.ui.dialog.ThreadedDialogActionThread.run(Unknown Source)
Please help me on this error..*Yes
*Yes
ADW_TEST
ADW3_USER
ALTER SESSION
CREATE CLUSTER
CREATE DIMENSION
CREATE EXTERNAL JOB
CREATE INDEXTYPE
CREATE JOB
CREATE MATERIALIZED VIEW
CREATE OPERATOR
CREATE PROCEDURE
CREATE SEQUENCE
CREATE SESSION
CREATE SYNONYM
CREATE TABLE
CREATE TRIGGER
CREATE TYPE
CREATE VIEW
DEBUG CONNECT SESSION
OLAP_USER
ADVISOR
ALTER ANY TABLE
ALTER SESSION
ANALYZE ANY
ANALYZE ANY DICTIONARY
CREATE ANY JOB
CREATE ANY TABLE
CREATE ANY VIEW
CREATE CLUSTER
CREATE CUBE
CREATE CUBE BUILD PROCESS
CREATE CUBE DIMENSION
CREATE DIMENSION
CREATE INDEXTYPE
CREATE JOB
CREATE MATERIALIZED VIEW
CREATE MEASURE FOLDER
CREATE OPERATOR
CREATE PROCEDURE
CREATE SEQUENCE
CREATE SESSION
CREATE SYNONYM
CREATE TABLE
CREATE TRIGGER
CREATE TYPE
CREATE VIEW
DROP ANY TABLE
DROP ANY VIEW
EXECUTE ANY PROCEDURE
GLOBAL QUERY REWRITE
MANAGE ANY QUEUE
QUERY REWRITE
RESUMABLE
SELECT ANY DICTIONARY
SELECT ANY TABLE
SELECT ANY DICTIONARY Edited by: user13372643 on 2010-07-26 04:47
Edited by: user13372643 on 2010-07-26 04:48
Edited by: user13372643 on 2010-07-26 04:49 -
HI,
I'm using AWM 10.1.0.4 on 10.1.0.4 db with OLAP option. When I try to maintan a cube of 4 dimensions and 25k data, it takes a lot of time (more then 8 hours). Is this normal? Have I to set some parameters?
CPU: Intel celeron 2,2Ghz
RAM: 1GB
Thank you in advance!The issue here might be the time taken to aggregate your data. Within most multi-dimensional models information at the lowest level tends to be very sparse, for example not every customer buys every product every day. Oracle OLAP has some very powerful features to manage sparsity. In AWM as part of the cube definition process you can manage sparsity using the "Implementation Details" tab. I would recommend setting each dimension as sparse except your Time dimension. Time is typically not sparse in most multi-dimensional models, although there are exceptions to this rule.
If you only have 25,000 rows to load I would not recommend using compressed cubes or partitioning the cube over time.
You can control the aggregation step of the build process by selecting/de-selecting dimension levels in the "summarize To" tab. If you want to determine how much time is specnt build the multi-dimensional structures then do not summarize any levels above the leaf nodes. Then, summarize all levels and compare the two times. This will tell you how much time is spent actually creating and managing all the summary information.
Other recommendations to consider are to use surrogate keys when building your dimensions as this ensures uniqueness across all levels within your dimension and helps to avoid the creation of circular references in your parentage table.
Hope this helps
Keith
Oracle Business Intelligence Product Management
BI on Oracle: http://www.oracle.com/bi/
BI on OTN: http://www.oracle.com/technology/products/bi/
BI Beans http://www.oracle.com/technology/products/bib/index.html
Discoverer: http://www.oracle.com/technology/products/discoverer/
BI Software: http://www.oracle.com/technology/software/products/ias/devuse.html
Documentation: http://www.oracle.com/technology/documentation/appserver1012.html
BI Samples: http://www.oracle.com/technology/products/bi/samples/
Blog: http://oraclebi.blogspot.com/ -
AWM: Enable Analytic Workspace for OLAP API
Hi,
I created an analytic workspace with Analytic Workspace Manager which is based on a relational star-schema.
Now I want to access this analytical workspace by normal SQL-Statements. For this I executed in AWM the 'Enable Analytic Workspace for OLAP API and BI Beans ...' routine which generated views that contain the fact and dimension data.
My problem is that these views are very huge, because they
apparently store all possible combintations of dimension- and fact records. Most of the records contain only NULL values in the fact columns. I also used Composite Dimensions for the fact table in order to reduce sparsity.
Is it normal to have such huge views with mostly NULL values? If yes, how can I handle this in order to get an acceptable performance.
Here an example of a small fact table I use:
A fact table with 5400 records with its two dimension tables (1129 and 233 rows, no hierarchies) produces 263057 rows in the view.
Thanks for any help.Hi,
First of all, thanks for the quick response flavio.
Meanwhile I have found a solution to my problem:
I don't use the 'Enable Analytic Workspace for OLAP API and BI Beans ...' routine of AWM anymore. Instead, I write my own statement for creating a relational view for the analytical workspace. The statement looks like following:
create or replace force view costrate_cube as
SELECT producttype_number, producttype_description, machine_sk, notok_costrate, production_costrate
FROM TABLE(CAST(OLAP_TABLE(
'costrate_aw DURATION SESSION',
'costrate_table',
'FETCH producttype_dim_producttype_number,
producttype_dim_producttype_description,
produnit_dim_machine_sk, produnit_dim_module_sk,
notok_costrate_variable, production_costrate_variable
USING <costrate_cube_composite>','') as costrate_table));
The important part is the USING clause of the FETCH command. By using the composite of all dimensions of the cube, rows containing only null values in the fact columns are being eliminated. Now I get only the rows which are in my original relational fact table (which is what I wanted).
Werner -
Relational Schema Advisor error
Hi David ,
Not sure whether I need to deploy something separately for this tab to work in MV page. However after clicking on this getting below error:
java.sql.SQLException: ORA-44003: invalid SQL name
ORA-06512: at "SYS.DBMS_CUBE_ADVISE", line 2683
ORA-06512: at line 1
at oracle.olap.awm.dataobject.dialog.olapi.mvcubeadvice.UMVRunAdvice.runMVCubeAdvise(Unknown Source)
at oracle.olap.awm.dataobject.dialog.olapi.cube.UMaterializedViewPanel$14.construct(Unknown Source)
at oracle.olap.awm.ui.SwingWorker$2.run(Unknown Source)
at java.lang.Thread.run(Thread.java:595)
I think I am missing some steps or scripts ?
Regards,
DxPPlease run the following query as the owner of the cube
by substituting the cube owner and cube name for the first
two arguments. If the cube is set as refresh by not rewrite, then
change the last parameter of 'REWRITE' to 'REFRESH'.
SELECT SYS.DBMS_CUBE_ADVISE_SEC.GET_MVNAME('<OWNER>', '<CUBE_NAME>', null, 'REWRITE') CUBE_MVNAME from dual;
The query should return the cube organizational table which is used by the relational schema advisor.
This will help get to the bottom of this issue.
David -
Issue concerning the EasyLink Advisor for the Wrt54gs v6.0
On Monday of this last week, my ISP was changed from DirectTV/Qwest, to Cox Cable. When I returned home, our connection setup had been changed. We had setup a modem and the router in a different room, with the network being unsecure, and not supported by a computer system. Now, we have the router connected to the PC, and the modem in the room as well.
Now, the Circo System light is orange, as opposed to the usual white, and my wireless adapter gets kicked off of the network I had to recreate, which is unsecure, every 12 hours. I think this may be because the CPU with the wireless router does not have the EasyLink Advisor installed on it, and the disc is nowhere in sight.
My question is, do I need the advisor, and if so, where can I get it, without the disc? I've looked around the forum, and I can't find a clue. The system with the wireless router is a Windows XP, and the system with the adapter is a Windows Vista. And if that happens to not be the case, what should I try to do? Any help is appreciated, thank you.No need to use the easylink advisor what you could do is try upgrading the firmware of the router & keep on holding tightly the reset button in such a way that power light is blinking on the router & then do a complete network power cycle i.e., unplug the power cables from the modem & from the router & then plug in the power cable
to the modem first once all the lights are solid green you could plug in the power cable to the router & check out it will definatelyConfiguration for cable connection:-
Access the setup page of the router by launching an Browser and type on the address bar, 192.168.1.1 and press enter. When it prompts for the username and password, leave the username field empty and provide password as admin" (Without quotes) click on ok.
On the main setup page the ""Internet Connection Type"" should be on ""Obtain IP Automatically - DHCP “. Click on the Save Settings button.
Now click on the sub tab ""MAC address clone"".
- Click on enable
Click Clone & click save settings
Check WAN Ip on Status page of router ....
If getting Valid Ip .... try going online
If not ... power cycle for 4-5 minutes & then agian check the WAN Ip address .....
Step 03 : To configure the router for Wireless.
For Wireless Settings, please do the following : -
Click on the Wireless tab
- Here Wireless Network mode should be mixed
- Provide any name in the Wireless Network Name (SSID) box, all in
lower cases without any spaces in between.
- Set wireless channel to 11
- And wireless SSID broadcast should be Enabled and then click on save
settings.
Please make a note of Wireless Network Name (SSID) as this is the
Network Identifier.
For Wireless Security : -
Now Click on the Sub tab under Wireless > Wireless Security.
Change the Wireless security mode to WEP
Encryption should be 64 bits.
Leave the Pass phrase blank, don't type in anything.
And under WEP Key 1 type in any 10 numbers please.Click on save
settings.
Please make a note of WEP Key 1 as this is the Security Key for the Wireless Network & you will be able to go Online Wirelessly!!! -
AWM: Can not see the synonyms in the mappings pane
Hi, using the AWM 11.2.0.1.0A, in the mappings pane under the item Synonyms does not appear any synonyms although there are some of them (private synonyms) in the user's scheme.
Any hint?
Thanks.I just tried this in 11.2.0.1 and the synonym showed up in AWM. I ran the following (in the sample GLOBAL schema)
create synonym prod_table for product_dim;
Note that product_dim is a table in the GLOBAL schema, and I ran the above statement as GLOBAL.
I then attached AWM as GLOBAL and saw prod_table show up in the synonyms folder of the mappings pane. What are you doing that is different from this?
Maybe you are looking for
-
We noticed I've been getting her messages, all of a sudden too. Her phone number and email is hooked up to the account since its her credit card, she has an IPhone of course. But I know that people can use Imessage on their IPod touches I'm just havi
-
How do i download photoshop cs6 extended NOT photoshop cc?
I tried downloading photoshop cc then verify my serial number but it says this serial number is not valid for photoshop cc, so where can i download photoshop cs6 extended, i still have the disk but am on a mac so can not use the disk.
-
Does the Altec Lansing IM500 work with the 2G Nano?
I can't work out from the Altec Lansing website or Apple Store (or Google) whether the IM500 will work with a 2G Nano. Does anyone here know? Thanks in advance, Mike
-
Does anyone sell software bundle that came wG5
Here's what I'm talking about: Mac OS X, Spotlight, Dashboard, Mail, iChat AV, Safari, Address Book, QuickTime, iLife (includes iTunes, iPhoto, iMovie HD, iDVD, and GarageBand), iCal, DVD Player, Classic environment, Art Directors Toolkit X, FileMake
-
Jam Pack 3, Install "Alert:something happened" error
When i install Jampack i have window with Alert: something happened error, but install complete and garageband run. In garageband i push "i" button and select jam pack in drop down list, but below of this list is nothing to choose. Garageband not see