Viewing olap cubes in java
hi all!
i´ve a problem... i´ve build some cubes with the oracle enterprise manager console and i want to view them in a java application with mdi tables etc, but when building the metadata model and initializing the expressdataprovider (-> documentation) i always get the error:
"oracle.express.idl.util.OlapiException: java.sql.SQLException: Non supported character set: oracle-character-set-178"
What can i do? Please help, its very urgent!!
Thanks
Found this in our support repository:
The Oracle Thin driver supports the following character sets trough basic zip/jar files (classes111.zip, classes111.jar, classes12.zip and classes12.jar, ojdbc14.jar) they contain all the necessary classes to provide complete NLS support for:
- Oracle Character sets for CHAR/VARCHAR/LONGVARCHAR/CLOB type data
that is not retrieved or inserted as a data member of an Oracle 8
Object or Collection type.
- NLS support for CHAR/VARCHAR data members of Objects and
Collections for a few commonly used character sets. These
character sets are: US7ASCII, WE8DEC, WE8ISO8859P1 and UTF8.
If your database use a other character set (WE8ISO8859P15,WE8MSWIN1252, EE8MSWIN1250,...)
you must include nls_charsetxx.zip/nls_charsetxx.jar in your CLASSPATH.
If this file is not in your CLASSPATH, you will see the following exception:
java.sql.SQLException: Non supported character set: oracle-character-set-178
Keith Laker
Data Warehouse Solution Architect
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 Beans http://www.oracle.com/technology/products/bib/index.html
Discoverer: http://www.oracle.com/technology/products/discoverer/
BI Samples: http://www.oracle.com/technology/products/bi/samples/
Similar Messages
-
Error during viewing the OLAP cubes
Hi ALl,
Thanks for you time.
I recently installed a new development environment of BOXI-R2 sp4 and then imported all the contents from another existing BOXI-R1 environment.
I can now see all my existing UNIVERSES properly.
However each time I try to view the OLAP cubes on the dashboard, the below error is thrown.
Was wondering if anyone out there faced the same problem?
Any help is deeply appreciated.
Regards,
Steve
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:372)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
com.crystaldecisions.thirdparty.org.omg.CORBA.UNKNOWN minor code: 0x0 completed: No
com.crystaldecisions.thirdparty.com.ooc.OB.Util.unmarshalSystemException(Util.java:295)
com.crystaldecisions.thirdparty.com.ooc.OB.GIOPClientWorker.execute(GIOPClientWorker.java:598)
com.crystaldecisions.thirdparty.com.ooc.OB.GIOPClientWorkerThreaded.receiverRun(GIOPClientWorkerThreaded.java:595)
com.crystaldecisions.thirdparty.com.ooc.OB.GIOPClientWorkerThreaded$ReceiverThread.run(GIOPClientWorkerThreaded.java:137)
note The full stack trace of the root cause is available in the Apache Tomcat/5.0.27 logs.The stack trace from Tomcat log attached:
-06-16 15:39:44 StandardWrapperValve[action]: Servlet.service() for servlet action threw exception
java.lang.IllegalStateException: Cannot forward after response has been committed
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:324)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)
at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:670)
at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:637)
at org.apache.jsp.scripts.tools.err_005fpage_jsp._jspService(err_005fpage_jsp.java:83)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:590)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:510)
at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966)
at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:581)
at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:787)
at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:758)
at org.apache.jsp.jsp.dashboard_jsp._jspService(dashboard_jsp.java:658)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:474)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:409)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)
at org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.java:1759)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1596)
at com.crystaldecisions.webapp.struts.framework.CrystalUTF8InputActionServlet.process(CrystalUTF8InputActionServlet.java:29)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:534)
2009-06-16 15:45:18 StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception
com.crystaldecisions.thirdparty.org.omg.CORBA.UNKNOWN minor code: 0x0 completed: No
at com.crystaldecisions.thirdparty.com.ooc.OB.Util.unmarshalSystemException(Util.java:295)
at com.crystaldecisions.thirdparty.com.ooc.OB.GIOPClientWorker.execute(GIOPClientWorker.java:598)
at com.crystaldecisions.thirdparty.com.ooc.OB.GIOPClientWorkerThreaded.receiverRun(GIOPClientWorkerThreaded.java:595)
at com.crystaldecisions.thirdparty.com.ooc.OB.GIOPClientWorkerThreaded$ReceiverThread.run(GIOPClientWorkerThreaded.java:137) -
Cube Viewer: OLAP sess_iiop connection problem...
I posted this to the OEM forum, but later realised this might be a better place?
<OEM post>
I am having a problem with the Olap Cube Viewer within OEM. I'm not sure where to post this, so it ends up here, as Cube Viewer is a part of the OEM.
I am running Oracle 9.0.2.1 on Solaris 2.8.
My problem is:
When I try to start Cube Viewer to view any of the sample cubes, I get the following error:
"Cube Viewer was unable to connect to the OLAP Service using the 'sess_iiop://<myserver>:2481:/etc/OLAPServer/<myserver>:OLAPServer' connection string."
The action mentioned in the error-dialog is:
1 Make sure Olap server is running on host '<myserver>'
It is running, I am able to connect to it with OLAP Services Instance Manager, and it shows a green light.
2 Make sure that the Olap Service is registered as 'sess_iiop://<myserver>:2481.....'
I am unable to find out from the doc's how to check this. I guess its hidden somewhere in a config file?
Olap was installed "out-of-the-box", and to my knowledge I haven't done anything to change it.
Let me add that I experience similar errors from Jdeveloper when I try to create BI Beans presentation objects against the server.
Can anyone help me sorting this one out? Help would be very appreciated.
Thanks and regards,
Jens
</OEM post>
I have later found a thread (http://forums.oracle.com/forums/message.jsp?id=1106773) thread here in the OLAP forum,
which resemble my problems, so I've tried the suggestions there as well:
1. Deleting rows from OLAPSYS.OS_CHILD_INSTANCES ..
I find one row, containing data in all columns except IS_DEFAULT_INSTANCE, which is blank.
I tried deleting this row, and the restart the olap services (olap start), but still same problem in Cube Viewer.
2. JVM context..
I connect using sess_sh as sys, the /etc/OLAPServer node does not exist, so I create it:
Session Shell
--type "help" at the command line for help message
$ ls
bin/ service/ test/
etc/ system/ webdomains/
$ cd etc
$ ls
debugagent repapi
deployejb shellAgent
execute timeout
ifr transactionFactory
ifrManager twophasecommitcoordinator
loadjava version
login
logout
$ ls debugagent
debugagent
$ mkdir /etc/OLAPServer
$ chmod +rwx PUBLIC /etc/OLAPServer
$
I log out of the sess_sh session, then do a olap stop and olap start, again try to view a cube with OEM Cube Viewer,
still get the same error-message.
Can these problems come from an invalid OLAP object (dimension,measure folder or cube) in the database?
We have been trying to set up some new ones for testing purposes, and I can't guarantee that we know what we're doing....;-)
Please let me know if more info is needed...
JensIt really sounds like you should post your issue with Oracle Support Services on metalink.oracle.com. Anyhow, two configuration parameters are used. Both are required:
OLAPI/SessionIIOPService: the URL-like "sess_iop://.." string, which is supposed to specify the server on which the Oracle CORBA Naming Sevrice is running. OLAPI/SessionIIOPContext: a path in the namespace.
I believe the context that is used in a production environment is /etc/OLAPServer.
Look for the name of the service in the path. The default name is <host>:<instance name>, and I think the default instance name is "OLAPServer".
There is a Java utility called "sess_sh" that you can use to check out the namespace. Here is the text of a PC batch file to use to browse around. Once you get to the "$" prompt, you can use Unix-like "ls" and "cd".
@echo off
setlocal
rem * VBROK_ROOT is already set
rem * JDK_ROOT is already set
set VBROK34_ROOT=d:\OLAPIBetaTraining
set JOLAP_ROOT=d:\OLAPIBetaTraining
set CP=
set CP=%_CP_%;%JOLAP_ROOT%\lib\aurora_client.jar
set CP=%_CP_%;%JOLAP_ROOT%\lib\mts.jar
set CP=%_CP_%;%VBROK34_ROOT%\lib\vbjorb.jar
set CP=%_CP_%;%VBROK34_ROOT%\lib\vbjapp.jar
@echo on
%JDK_ROOT%\bin\jre -cp %_CP_% oracle.aurora.namespace.shell.ShellClient
-user xademo -password xademo -service
sess_iiop://bibbox1-sun:5522:bmrel
@echo off
endlocal -
How to create olap cube using Named Query Table in Data source View
I Create on OLAP Cube using Existing Tables Its Working Fine But When i Use Named Query Table with RelationShip To other Named query Table It Not Working .So give me some deep Clarification On Olap Cube for Better Understanding
ThanksHi Pawan,
What do you mean "It Not Working"? As Kamath said, please post the detail error message, so that we can make further analysis.
In the Data Source View of a CUBE, we can define a named query. In a named query, you can specify an SQL expression to select rows and columns returned from one or more tables in one or more data sources. A named query is like any other table in a data source
view (DSV) with rows and relationships, except that the named query is based on an expression.
Reference:Define Named Queries in a Data Source View (Analysis Services)
Regards,
Charlie Liao
TechNet Community Support -
Can I store only the aggregate data in OLAP cube
Hi All,
I know that the OLAP cubes store the leaf data and then builds the aggregate data on top of it and stores with in it. I have huge amounts of data ( like billions of data in my fact table and 6-8 dimension tables). If you keep the leaf data along with the agg data with in the cube would be too large to build.
So I am thinking to have to store only the agg data within the OLAP cube and for the leaf data it should still read from the Relational tables. Something like Hybrid OLAP.
(what I mean is
1. create the dimensions and cube in the AWM on 11g.
2. I will also specifiy the levels that I want the agg data to be calculated and stored in the OLAP cube.
(what I want is
1. I want to store only the agg data in the cube and leaf data still in the relatlional tables.
2. when I read the cube and drill down to the leaf level , it should fetch the leaf level data.
Is this possible in Oracle OLAP, if yes please provide some pointers
Thanks
SFirst you should try out storing and aggregating data to atleast see if the cube-loading time, query-time and AW-size is within acceptable limit or not. 11gOLAP especially 11gR2 OLAP is very efficient on all three fronts.
Regarding specifying levels, you can either use Cost-based-aggregation and pick the %age that should be pre-aggregated OR you can use Level-based-aggregation and pick the levels from each dimension that should be pre-aggregated.
Try these out before venturing into anything else. You will be surprised by the results. There are other ways to store the data in smaller multiple-cubes and joining those cubes through formulas. Make sure you don't mistake an attribute for a dimension.
Not sure what you mean by just storing aggregated data in olap cubes. You can just do a SUM .. GROUP BY .. of relational data before loading it into olap cubes. For example, if you source data is at DAY level, you can SUM.. GROUP BY .. at MONTH-level and then load month-level data into olap cubes where leaf-level is month-level.
The sql view (used by reporting tools) could then be a join between month-level "olap" data and "day-level" relational data. When you are drilling-down on the data, the sql view will pick up data from appropriate place.
One more thing. Drill-Thru to detail data is a functionality of reporting tools also. If you are using OBIEE or Discoverer Plus OLAP, then you can design the reports in a way that after you reach the olap leaf-level, then it will take the user to a relational detail-report.
These are all just quick suggestions (on a Friday evening). If possible, you should get Oracle OLAP Consulting Group help, who can come up with good design for all your reporting needs. -
Am trying to access MS SSAS data cube from Java through olap4j driver(through msmdpump.dll). I am able to connect , but when I try to execute a query, i am getting the below error: Please help
me out . (I tested the http://XXXX/OLAP/msmdpump.dll in MS Excel , and it is working fine)
org.olap4j.OlapException: XMLA provider gave exception: <soap:Fault xmlns="http://schemas.xmlsoap.org/soap/envelope/">
<faultcode>
XMLAnalysisError.0xc10a0004
</faultcode>
<faultstring>
The CRASHDWHSRG cube either does not exist or has not been processed.
</faultstring>
<detail>
<Error Description="The CRASHDWHSRG cube either does not exist or has not been processed." ErrorCode="3238658052" HelpFile="" Source="Microsoft SQL Server 2012 Analysis Services">
</Error>
</detail>
</soap:Fault>See my other answer where you asked this same question on another thread
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/22dfc400-668d-4bd4-b76d-7c6b9ddda47a/msmdpumpdll-not-getting-registered?forum=sqlanalysisservices
http://darren.gosbell.com - please mark correct answers -
No Authorization to OLAP Cubes during the creation of universe connection
Hello friends we are not able to see the OLAP Cubes during the creation of universe connection using the Quality system and Application server "sapbmw01" client 100, system # 00. But we are able to set up the connection in our development system.
I will highly appreciate if you can let me know if we need some special role to access the OLAP Cubes during the creation of universe connection using the Q system.
Surprisingly we are using SAP_BW_ALL in Quality system still we are not able to access the infocubes. is there some thing missing in CMS IN BO to make that work.
Thanks
SoniyaHi Jyothy,
Refer the below link on how to create universe on Analytic View/Calculation View using relation connection in IDT
http://www.sapanalyticsguru.com/index.php/sap-bobi/31-universe-creation-on-hana-view-using-information-design-tool -
Unable to open OLAP cube in Infoview for Crystal Report
Hello,
I am currently confused with a crystal report designed via OLAP grid on a BW query and working fine on Crystal designer module on my PC but sending an error when I tried it on INFOVIEW "unable to open OLAP CUBE".
I checked all parameters and database connexions on BO Entreprise CMC : it is OK.
I am on BO XI 3.1 SP 3 entreprise and BW 3.5 or BW 7.0 (both are in concern).
When I tried a simple report on a BW query just drop fields of the query into the report and sending it on Infoview, it is OK.
Just OLAP grid is KO. I do not understand, it is MDX language too ? Somebody can help or faced the same trouble ?
Thanks in advance.
Valérie.Hi
I am facing the same issue when I try to open Crystal report Olap Grid via .net Crystal Report Viewer.
Getting the error message like not able to open OLAP Cube.
Please need urgent solution
Thanks a lot,
Usha -
11g OLAP cube MV's with Query Rewrite option
Hi All,
I am trying to test the 11g OLAP cube MV's with the Query Rewrite option.
I had created a cube on the schema OLAPTRAIN problem by oracle. I an selected necessary options in 'Materialized Views' tab of the Cube definition in AWM. here is the screenshot
!http://i40.tinypic.com/9jzpte.png!
and then I try to run the SQL query
select SUM(S.QUANTITY) AS QUAN,
SUM(S.SALES) AS SALES,
T.CALENDAR_YEAR_NAME,
P.DEPARTMENT_NAME,
C.COUNTRY_NAME
FROM
TIMES T,CUSTOMERS C,PRODUCTS P, SALES_FACT S
WHERE
C.CUSTOMER_KEY = S.CUSTOMER AND
T.DAY_KEY = S.DAY_KEY AND
P.ITEM_KEY = S.PRODUCT
group by T.CALENDAR_YEAR_NAME, P.DEPARTMENT_NAME, C.COUNTRY_NAME;
and observed the Explain plan, it is not using OLAP cube built, instead it is using the relational tables given in the above sql query.
Also, i have observed that , though enabling or disabling of the Query Rewrite option doesn't make any change in the Explain query for the above query.
alter materialized view olaptrain.cb$sales_cube enable query rewrite;
alter materialized view OLAPTRAIN.cb$sales_cube disable query rewrite;
No idea why is this Query Rewrite feature is not working on my Database instance of 11g R2 . Do am I missing any steps that has be taken care of , to make this working. Any inputs would be appreciated.
Thanks
SHi there,
You should check out Note 577293.1 on Metalink - 'Oracle OLAP 11g: How to ensure use of Cube Materialized Views/Query Rewrite'
Thanks,
Stuart Bunby
OLAP Blog: http://oracleOLAP.blogspot.com
OLAP Wiki: http://wiki.oracle.com/page/Oracle+OLAP+Option
OLAP on OTN: http://www.oracle.com/technology/products/bi/olap/index.html
DW on OTN : http://www.oracle.com/technology/products/bi/db/11g/index.html -
How to get OLAP cube objects size info?
Hi,
I am new at OLAP cube.
I want to know OLAP Cube objects size information like VIEW.
is any query to get size of Cube objects?
Please help me out on this.
Thank you,
NitinNitin,
This will give you some idea.
*(1). Size of the whole AW:*
select dbal.owner||'.'||substr(dbal.table_name,4) awname,
to_char(round(sum(dbas.bytes)/1024/1024, 1), '999,999.9') as mb, dbas.tablespace_name, logging
from dba_lobs dbal, dba_segments dbas
where dbal.column_name = 'AWLOB' and dbal.segment_name = dbas.segment_name
group by dbal.owner, dbal.table_name, dbas.tablespace_name, logging
order by sum(dbas.bytes) desc
*(2). Size of internal objects:*
Each cube has an associated _STORED variable and a 'PXX' partition.
_PRTCOMP is cube's partition's composite dimension.
_AGGMAP is the aggregation map that is used during aggregation of data.
Replace table AW$BNSOLAP with the name of your AW table.
select partname,
round(sum(dbms_lob.getlength(awlob))/1024,0) KB
from bawolap.aw$bnsolap
where extnum = 0
group by partname
order by kb desc
+;+ -
OLAP Cubes - Non Conforming Dimensions
Guru's,
I have different OLAP cubes (molap views) in my rpd file.
To make it simple
* cube1 has the following dimensionality time - employee
* cube2 is on time
All cubes have the correct levels. I also created a group OLAP users with the necessary conditions in it
Now when I want to combine an measure from cube 1 and cube 2 on Month level...I get an error as I expect the BI Server to create 2 different queries?
Someone a solution for this problem? Is this because, when making use of OLAP, the extra conditions are added automatically?
All help, ideas are more then welcome.
Kr,
ATo identify them as you are browsing it's not really possible.
From a logical digram you could right click the dimension and select "add joins"... if it adds any facts to the diagram then obviously the dimension is conformed.
Use the Query Repository functionality in the admin tool to identify logical tables that are dimensions, and related to more than one logical table which is a fact. -
Dimensions and viewing the cube problem
hi there,
I have a problem viewing the OLAP cube in excel
with OracleBI add on i see the hierarcy gone for a toss,
when i view with ROLAP in enterprise manager 9.6 it seems to be fine.
i have the dimension table structure as follows
ID
CODE
OPERATOR
CITY
STATE
COUNTRY
FLAG
TYPE
hierarcy as
TYPE
FLAG
COUNTRY
STATE
CITY
OPERATOR
my data as follows
type, flag, country, state, city, operator
National,Wireless,India,Kerala,Vaikom,Reliance
National,Wireless,India,Kerala,Vaikom,Reliance
National,Landline,India,Andhra,Vaimpalli,BSNL
National,Landline,India,Tamil,Valapady,BSNL
National,Landline,India,Gujarat,Valia,BSNL
National,Landline,India,Gujarat,Vallabhipur,BSNL
National,Landline,India,Rajasthan,Vallabhnagar,BSNL
National,Landline,India,Tamil,Valliyoor,BSNL
National,Wireless,India,Tamil,Valliyoor,Reliance
National,Wireless,India,Tamil,Valliyoor,Reliance
International,Landline,Vanuatu,Vanuatu,Vanuatu,Landline
International,Landline,Vatican,Vatican,Vatican,Landline
International,Landline,Vatican,Vatican,Vatican,Landline
International,Landline,Venezuela,Venezuela,Venezuela,Landline
International,Landline,VietNam,VietNam,VietNam,Landline
International,GSM,Estonia,Estonia,Estonia,Emt
International,GSM,Estonia,Estonia,Estonia,RadioLinja
In the Level "TYPE" there are two categories National and International
but when i view the data only one category is shown i,e national and category international
is shown at the lowest level without any children. i.e at "OPERATOR" LEVEL.
All children of International is pusshed to National
i.e
type, flag, country, state, city, operator
National,Landline,Vanuatu,Vanuatu,Vanuatu,Landline
National,Landline,Vatican,Vatican,Vatican,Landline
------------------------------------------International
Is there any other way to do this, I have not declared any attributes for the above dimension.
Kindly helpYou probably have same values in different levels. e.g Vatican in Country, State Level as well as City Level.
OLAP requires that each level should have a unique ID. It always go by the values rather than the logical levels. Try to create a unique level id for each level, and put the names in long and short descriptions. That should solve your problem.
Hope this helps.
Suresh. -
Forum members,
What is the largest Oracle OLAP cube that is out there in terms of total size, number of dimensions, and metrics? The company I recently joined uses Microsoft SSAS for building cubes pulling data from an Oracle DB. The size of the Microsoft SSAS cube is 18 TB (Tera Bites). I am encouraging these people to use Oracle OLAP, but there is push back saying Oracle OLAP won't scale to the extent Microsoft SSAS has.
I need some real data to defend my case. Has any one moved from Microsoft SSAS to Oracle OLAP?
Thanks,
LoganLogan,
In addition to the link that David provided, some more points are:
(1). With cube compression, it could be that the same 18 TB cube in MSAS is smaller in OLAP. Its hard to prove it without doing a test load.
(2). Microsoft does have a very feature-rich front-end to develop/build dimensions and cubes for MSAS, compared to Oracle OLAP's AWM.
Most of the work is handled in relational sql-views before loading dimensions and cubes in Oracle-OLAP. That is why there is relatively less functionality in AWM.
(3). Another thing I heard about in MSAS is "Scoped Assignments". I am not sure what it is, so I can't say how it can be done in Oracle-OLAP. If your customer currently use this MSAS feature, then you can post a question on this forum providing some details.
(4). MSAS does provide good Excel reporting. If your client will continue using Excel, then you should look at Simba's Oracle OLAP MDX plugin for Excel. Search this forum and you will find information about it, or goto http://www.simba.com/MDX-Provider-for-Oracle-OLAP.htm
(5). Writeback is another feature that can be done easily in MSAS. With Oracle-OLAP, you will have to come up with a custom (although simple) solution, where the data will be written into a table first and then loaded into Oracle-OLAP cubes. Its a very very quick process.
(6). There are more choices for reporting tools compared to MSAS. Since Oracle-OLAP cubes are queried through SQL SELECT statements, as long as a reporting tool can generate SELECT statements for an Oracle database, it can also work with Oracle-OLAP.
(7). Finally, it is much easier to federate (or combine) relational and multi-dimensional data together between Oracle-OLAP and Relational, as both are in the same database. So you may not have to store all the data into OLAP cube, what is currently loaded into MSAS cube.
Overall, its a slightly different way of doing things between OLAP and MSAS. But I am almost certain that with the power and scalability of Oracle database, Oracle-OLAP will perform better than MSAS. You just have to know how to convert those MSAS cubes/dimensions into OLAP cubes/dimensions.
. -
OLAP help: How to query a table in a OLAP cube
Hello,
I'm completely new in OLAP (even if I participated to cube creations), and I think a know well PLSQL.
We are on 10g v2.
OLAP cubes have been created with dimensions and tables.
It's possible to see and use the cubes under the AWM
I would like to know if it's possible to access a table within a cube directly from SQLPlus?
I thought about querying table all_objects ... but I didn't see anything good !!
I am stuck !!
Are the cubes saved in the same DB as the relational standard objects ?
I hope that you can give me some help... or provide me with good URLs ...
Thanks in advance,
OlivierHello Maxim,
Thanks for your reply..
I looked at the doc you gave, and also I am now able to get the names of cubes and dimensions :
The cubesselect aw_owner||'.'||aw_name||'!'||aw_logical_name cube
from olapsys.ALL$OLAP2_AW_CUBES
order by cube;
The dimensionsselect aw_owner||'.'||aw_name||'!'||aw_logical_name dimension
from olapsys.ALL$OLAP2_AW_DIMENSIONS order by dimension;
So, I start to figure out where I would like to go ...
But, in the doc, there is a lot of CREATE commands ....
I'm puzzled !! ... Do I have to create objects in sqlplus (views or something else) prior to query a table ?
Also, when I see the dimensions in table olapsys.ALL$OLAP2_AW_DIMENSIONS ...
Is it possible to DESC these "tables" or make a SELECT ?
Thanks,
Olivier -
Olap cubes in 10g for reporting
Hi -
I am trying figure out how to use the olap cube I built in 10g.
1) Can you use materialized views on top of the olap cube in 10g? Sounds like this is a 11g feature?
2) Is query re-write for olap cubes available in 10g?
3) How are you accessing olap cubes in 10g other than using the Oracle reporting tools.
Thanks,
FrankHi Frank,
To answer your questions:
1) This is an 11g only feature
2) This is an 11g only feature
3) The options for accessing OLAP cubes are described here:- http://wiki.oracle.com/page/I+am+Completely+New+to+Oracle+OLAP
I hope this helps
Thanks,
Stuart Bunby
OLAP Blog: http://oracleOLAP.blogspot.com
OLAP Wiki: http://wiki.oracle.com/page/Oracle+OLAP+Option
OLAP on OTN: http://www.oracle.com/technology/products/bi/olap/index.html
DW on OTN : http://www.oracle.com/technology/products/bi/db/11g/index.html
Maybe you are looking for
-
Error when deletting internal table
Hi to all, I have small requirement. Am getting runtime error , when am deleting internal table when that internal table will have only one record. how i can solve this problem. Give me some clues.
-
Error Installing J2SE v1.4.2 on WinMe
Hello, While trying to install J2SE v 1.4.2 with NetBeans IDE v 3.5 Cobundle, the installation proceeds until it reaches 6%, then a DOS windows running command.com pops up for a few seconds, dissapears, and the installation progress stops. I checked
-
Milliseconds in Oracle Lite DB
With oracle database server the SQL statement SELECT CURRENT_TIMESTAMP FROM DUAL; returns me "03-DEC-04 11.13.15.700392 AM +05:30". The same command with Oracle Database Lite returns me "2004-12-03 11:17:52" Does this mean milliseconds information is
-
IWeb URL can´t be forwarded
Hi I bought a domain: jandue.dk, I have this iWeb, URL: http://web.mac.com/duejan/iWeb/Site/Jan%20Due.html But my web host will not accept this address for forwarding. Only A-Z, 0-9, and (_) So what to type in? JanD
-
Can you encrypt a flash .as file?
I would like to know if there is any way to encrypt a flash .as file to prevent code theft? The products I've seen on the market so far seem to ony encrypt swf files. Thoughts? Geetz Romo