ORACLE OLAP metadata 10g vs 11g
Good morning,
When we connect to our database AWM 11g, it is possible to choose the type of cube (11g or 10g). What I infer is that the metadata will be type 10g or 11g, correct?
What are the major differences in metadata for olap between the type 10g and 11g type?
Thank you in advance,
David
Yes, correct.
The main difference between the 10g and 11g metadata types is that in 10g, the metadata is stored inside the Analytic Workspace, whereras in 11g, the metadata is stored and registered in the RDBMS data dictionary.
This data dictionary integration is required to support many of the new features relating to the SQL optimisations and, in particular, the cube based MV's.
You can see a list of the main new features supported in 11g OLAP here:
http://download.oracle.com/docs/cd/B28359_01/olap.111/b28124/whatsnew.htm#sthref6
Stuart
Similar Messages
-
Oracle.olapi.metadata.DuplicateMetadataIDException Problem
Hello,
I am getting oracle.olapi.metadata.DuplicateMetadataIDException error when I try to explore existing dimensions. I ran example that is in OLAP API javadoc. To be more specific I ran example in Chapter 4 of that javadoc (SampleMetadataDiscoverer10g.java).
Does anyone have a solution for this problem ?
I'll appreciate any helpBe sure to use the latest OLAP API Javadoc for 10g. You can find the 10.1.0.4 version at:
http://www.oracle.com/technology/products/bi/olap/olap.html
What lines of the SampleMetadataDiscoverer10g program caused the DuplicateMetadataIDException?
Do you have more than one schema installed that has OLAP Catalog metadata or dynamic analytic workspace metadata?
Do two or more schemas that are owned by the same user have objects that have the same names?
In a dimension, each member must be unique across all levels. If the user has the OLAP_DBA role, try changing it to OLAP_USER. The OLAP_DBA sees all metadata. The OLAP_USER is limited to the metadata of user/schema. -
Oracle Upgrade from 10g to 11g [BRANCHED BY MODERATOR]
Hi Deepak/Folks,
Another question that I have is that while doing the Oracle Upgrade on an EP server, the patches were not installed properly and I had to shut down the Patches installation after it did not do anything for a while.
Now when I try to install the patches it fails telling me that the Installed patches cannot be verified, I had written to SAP and they told me to follow the
SAP note 1862446 - Inventory
load failed... OPatch cannot load inventory for the given Oracle Home
and re-create the oracle inventory.
This has also not helped in anyway.
Is there a solution to this problem.
Following is the error that I am getting when I try to Install the patches
Getting pre-run patch inventory...
Getting pre-run patch inventory...failed.
Cannot get pre-run patch inventory.
Refer to log file
$ORACLE_HOME/cfgtoollogs/mopatch/mopatch-2014_08_06-14-52-51.log
when I open the log file specified here I get the following
more mopatch-2014_08_06-14-52-51.log
more /oracle/<SID>/11203/cfgtoollogs/mopatch/mopatch-2014_08_06-15-01-51.log
MOPatch - Install Multiple Oracle Patches in One Run - 2.1.15.
Copyright (c) 2007, 2013, Oracle and/or its affiliates. All rights reserved.
Version: 2.1.15
Revision: 5.1.2.26
Command-line: /oracle/<SID>/11203/MOPatch/mopatch.sh -v -s SAP11203P_1312-20009978.zip
Oracle Home: /oracle/<SID>/11203
RDBMS version: 11.2.0.3.0
OPatch version:11.2.0.3.3
Clean-up: supported
PSUs: supported
Log file: $ORACLE_HOME/cfgtoollogs/mopatch/mopatch-2014_08_06-15-01-51.log
Patch base: .
Patch source: SAP11203P_1312-20009978.zip
Link script: ./link.mts<SID>ua.sh
Readmes: <none>
Strpd. Readmes:<none>
make utility: /usr/ccs/bin/make
unzip utility: /oracle/<SID>/11203/bin/unzip
User name: ora<SID>
Working dir: /oracle/stage
System: HP-UX mts<SID>ua B.11.31 U ia64 2468369872 unlimited-user license
Disk free: 11734549 KBytes on /oracle/<SID>
Disk required: 886496 KBytes on /oracle/<SID>
Getting pre-run patch inventory...
executing: "/oracle/<SID>/11203/OPatch/opatch" lsinventory -retry 0 -xml "./mopatch-187-21696-tmpdir/preinv.xml"
========================================================
GENERIC OPATCH VERSION - FOR USE IN SAP ENVIRONMENT ONLY
========================================================
Oracle Interim Patch Installer version 11.2.0.3.3
Copyright (c) 2012, Oracle Corporation. All rights reserved.
Oracle Home : /oracle/<SID>/11203
Central Inventory : /oracle/<SID>/oraInventory
from : /oracle/<SID>/11203/oraInst.loc
OPatch version : 11.2.0.3.3
OUI version : 11.2.0.3.0
Log file location : /oracle/<SID>/11203/cfgtoollogs/opatch/opatch2014-08-06_15-01-56PM_1.log
List of Homes on this system:
Inventory load failed... OPatch cannot load inventory for the given Oracle Home.
Possible causes are:
Oracle Home dir. path does not exist in Central Inventory
Oracle Home is a symbolic link
Oracle Home inventory is corrupted
LsInventorySession failed: OracleHomeInventory gets null oracleHomeInfo
OPatch failed with error code 73
Getting pre-run patch inventory...failed.
Cannot get pre-run patch inventory. Exiting.
I would appreciate if you folks can help me out on this
Thanks
APSFOLLOW UP QUESTION BRANCHED:
Oracle Upgrade from 10g to 11g [BRANCHED BY MODERATOR] -
Oracle Application Server 10g with 11g Database
Hi everyone,
If anyone can tell, is there any compatibility issues in Oracle Application Server 10g with 11g Database?
Will it work properly?
Thankshi,
This will be helpful,
http://www.oracle.com/technetwork/middleware/ias/downloads/as-certification-r2-101202-095871.html#CHDBFJFD
which states
"All available editions of Oracle Database 11g (11.1.0.6) or higher are supported. Please refer to Metalink note 740417.1 for details on Oracle Database 11gR1 Certification for Oracle Application Server 10g (10.1.2.x) and Metalink note 887365.1 for details on Oracle Database 11gR2 Certification for Oracle Application Server 10g (10.1.2.x) "
Regards
Fabian -
Oracle Database Upgradation 10g to 11g in HP unix
Oracle Database Upgradation 10g to 11g (standalone DB & ASM is implemented) in HP unix ?
Kindly furnish the good links and screen shot documents.
Edited by: user11937849 on Apr 9, 2012 4:04 AMAs part of the upgrade, you might research how new Oracle 11g features can help your system run better.
Your upgraded system can effectively start using extended statistics, a very powerful new 11g feature, immediately after the upgrade. I have a detailed blog post on how to do this with OEM - http://iiotzov.wordpress.com/2011/11/01/get-the-max-of-oracle-11gr2-right-from-the-start-create-relevant-extended-statistics-as-a-part-of-the-upgrade
Iordan Iotzov
http://iiotzov.wordpress.com/ -
Directory structure and files in Oracle Application server 10g and 11g
Hi all,
I am doing a lab migration from 10g to 11g based on the use of JAXB. There were some directory structures used in 10g to store the JAXB jar files and some other custom jar files. I want to know the equivalent folder structures in SOA 11g server. The 10g server directories are mentioned below:-
1.<OracleAS_Home>\webservices\lib.
2. server.xml located at <OracleAS_Home>\j2ee\home\config in 10g. Where can I find the equivalent file to "server.xml" in 11g server?
3. <OracleAS_Home>\bpel\system\classes\com\oracle\bpel\xml\util.
4. <OracleAS_Home> \bpel\system\classes.Here are the equivalents as per best of my knowledge:
1. <WebLogic Home>\server\lib
For example, D:\Middleware\wls1036\wlserver_10.3\server\lib
2. config,xml located at <Domain_Home>\config\
For example, D:\Middleware\wls1036\user_projects\domains\ArunBaseDomain1036\config\config.xml
3. It should be the same as 10g (instead of OracleAS_Home, it will be ORACLE_Home) if you install the BPEL product. Since, I have not installed BPEL/SOA, I am not very sure.
4. It should be the same as 10g (instead of OracleAS_Home, it will be ORACLE_Home) if you installed the BPEL product.
Also, I would recommend that you consider using ORACLE Smart Upgrade (JDeveloper component) to help you with the upgrade process. It exactly points out these mappings of file/directory structures AND the necessary configuration changes as well.
If you are requirement, is only about making the library jars available to your application, then consider reading the below discussion.
Re: XIncludeAwareParserConfiguration cannot be cast to XMLParserConfiguration
Arun -
Oracle application express3-10g to 11g DRCP connection problem
[Oracle application express3 +Oracle Identity Management 10g (10.1.4.0.1) authentication] has a performance problem about dedicated connections,
i have 714 sessions, and 506 of 714 is httpd connection of APEX.
so i decided to use DRCP, because database side is 11g. but APEX client side is working on 10g database server + and 10g client + OID 10.1.4,
can i upgrade 10g-PL/SQL-HTTPDclient libraries to 11g instant client easily? is it posible? how?
if you guide me step by step i will be happy,
best regardsHi user
For your issue i suggest close your thread here as changing thread status to answered and move it to Forum Home » Database » Application Express
which you can get more quick response
Regard
Helios -
BI admin tool : Oracle OLAP vs ODBC3.5 OCI 10g/11g ...
Hi everyone,
I'm facing a problem when I try to create a repository using Oracle BI admin Tool.
In the second step of Create new repository , I have to choose between a lot of connexion types : ODBC3.5 , Oracle OLAP, OCI 10g/11g .... I don't know which of them I need to choose in my case.
In my case, I have a cube that I created using AWM, and I need to make a report that is based on that cube.
I don't really know how to proceed ...
I have Oracle BI is in a Unix server , and I installed Oracle BI admin tool client in my Windows 7.
Any idea which connexion type I should use, do I need to make an ODBC connexion for all of them ?
My comprehension of this is unclear ... any help ?
Thx all !!Starting with OBIEE 11.1.1.5, as it understands Oracle-OLAP metadata in Oracle data dictionary, so to query data from OLAP Analytical workspaces you will always use "Oracle OLAP" as the source in BI-Admin-Tool.
When you will create report in OBIEE, it will then generate the query using the OLAP_TABLE sql function.
Note that automatically generated CUBE_TABLE views in OLAP (the ones suffixed with _VIEW) are not used at all (or even needed) when working with OBIEE 11.1.1.5+. -
.Database upgrade from 10g to 11g in Oracle EBS 11i
Hi,
An urgent help is needed.I am upgrading Oracle Database from 10g to 11g.My EBS is version 11i.So after upgrading my database
from 10g to 11g as sa sanity check what are the parameters we need to take care of the EBS.My point is will there be any Application level changes if the database
is upgraded?Wiill the Workflow and what other things we had to do the sanity check if its working properly?Any Concurent Program level changes be affected?
Thanks and Regards
Edited by: 918308 on May 10, 2013 7:52 PM918308 wrote:
Hi,
Thanks for the info provided but i dont have the metalink id.Kindly can you provide me the link for the subjected docs so that i can relate.Any application level testing to be done?Concurrent Programs,Schedule Manager,Workflow etc.?We cannot post the contents of MOS docs since this violates Oracle support agreement policy.
You need to go a regular sanity check (i.e. submit concurrent programs, check workflow functionality, ..etc) -- E-Business Suite Diagnostics 11i Test Catalog [ID 179661.1]
Thanks,
Hussein -
I recently upgraded from Oracle Forms/Reports 10g to 11g. Oracle 10g Reports when saved as a PDF is easily converted to a word document, however ,Oracle 11g does not convert as 10g does. What is the difference and how to make the 11g report saved in a PDF be able to convert to a Microsoft Word document cleanly.
Thank you,
StevenHello,
There is a "known issue" with the PDF in 11g:
ALERT: Reports PDF Problems in 11.1.2.1.0 Patchset for Non-Linux Platforms (Doc ID 1522543.1)
May be the problem comes from this "issue" ...
"Patch Set Exception" exist for this issue.
Kind regards -
Import OLAP Metadata in OBIEE 11.1.1.5 failing
We are in the process of integrating our existing Oracle OLAP infrastructure with OBIEE 11.1.1.5. We are currently on 11.2.0.1 DB with our 11g cubes in 11.2.0.0.0 compatibility mode.
We have two AWs within the same schema that are tightly integrated (Eg. Q12_AW and Q12_HIST_AW). When I import the metadata using OBIEE 11g BI Administrator, I can only see Q12_HIST_AW but not Q12_AW. Also, when I copy Q12_HIST_AW to OBIEE, it errors out. Looking at java host logs, it looks like I am getting parse errors but not sure how to pursue further on why the parser is failing.
Logs:
[2011-08-16T10:34:45.168-05:00] [init] [WARNING] [] [saw.init.application] [tid: 14] [ecid: 0000J7JEjD6FS8O6yjMaMG1EIco2000006,0] Bad AW -- Q12_AW.Q12_AW
[2011-08-16T10:34:45.175-05:00] [init] [WARNING] [] [saw.init.application] [tid: 14] [ecid: 0000J7JEjD6FS8O6yjMaMG1EIco2000006,0] Errors have occurred during xml parse[[
<Line 1181, Column 26>: Encountered "(" at line 1, column 83.
Was expecting one of:
"DIMENSION" ...
<Line 1210, Column 26>: Encountered "(" at line 1, column 83.
Was expecting one of:
"DIMENSION" ...
<Line 1529, Column 26>: Encountered "(" at line 1, column 58.
Was expecting one of:
"DIMENSION" ...
<Line 1558, Column 26>: Encountered "(" at line 1, column 58.
Was expecting one of:
"DIMENSION" ...
<Line 3025, Column 23>: Encountered "(" at line 1, column 54.
Was expecting one of:
"DIMENSION" ...
<Line 4020, Column 24>: Encountered "(" at line 1, column 81.
Was expecting one of:
"DIMENSION" ...
<Line 9516, Column 24>: Encountered "(" at line 1, column 101.
Was expecting one of:
"DIMENSION" ...
at oracle.olapi.xml.TagHandler.createRootException(Unknown Source)
at oracle.olapi.xml.TagHandler.getRootException(Unknown Source)
at oracle.olapi.xml.TagHandler.reportException(Unknown Source)
at oracle.olapi.xml.TagHandler.processException(Unknown Source)
at oracle.olapi.metadata.BaseMetadataXMLReader.resolveDeferredProperties(Unknown Source)
at oracle.olapi.metadata.MetadataXMLReaderMetadataInitialState.exit(Unknown Source)
at oracle.olapi.metadata.MetadataXMLReaderMetadataInitialState.exit(Unknown Source)
at oracle.olapi.xml.TagHandler.endElement(Unknown Source)
at org.xml.sax.helpers.ParserAdapter.endElement(ParserAdapter.java:626)
at oracle.xml.parser.v2.XMLContentHandler.endElement(XMLContentHandler.java:211)
at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1359)
at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:376)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:322)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:226)
at org.xml.sax.helpers.ParserAdapter.parse(ParserAdapter.java:405)
at oracle.olapi.xml.XMLProcessor.parse(Unknown Source)
at oracle.olapi.metadata.MetadataFetcher.processXML(Unknown Source)
at oracle.olapi.metadata.MetadataFetcher.fetchBaseMetadataObjects(Unknown Source)
at oracle.olapi.metadata.BaseMetadataProvider.fetchMetadataObjects(Unknown Source)
at oracle.olapi.metadata.MetadataListProperty.getObjects(Unknown Source)
at oracle.olapi.metadata.BaseMetadataObjectState.getPropertyListValues(Unknown Source)
at oracle.olapi.metadata.BaseMetadataObject.getPropertyListValues(Unknown Source)
at oracle.olapi.metadata.mdm.MdmSchema.getCubes(Unknown Source)
at oracle.olapi.metadata.deployment.AW.getCubes(Unknown Source)
at oracle.bi.integration.aw.v11g.AW11gUtil.getAWImportInfo(AW11gUtil.java:1035)
at oracle.bi.integration.aw.v11g.AW11gUtil.getAWImportInfo(AW11gUtil.java:1113)
at oracle.bi.integration.aw.v11g.service.AW11gService.execute(AW11gService.java:83)
at oracle.bi.integration.javahost.ServiceRpcCall.processMessageInternal(ServiceRpcCall.java:55)
at com.siebel.analytics.javahost.AbstractRpcCall.processMessage(AbstractRpcCall.java:251)
at com.siebel.analytics.javahost.MessageProcessorImpl.processMessage(MessageProcessorImpl.java:193)
at com.siebel.analytics.javahost.Listener$Job.run(Listener.java:223)
at com.siebel.analytics.javahost.standalone.SAJobManagerImpl.threadMain(SAJobManagerImpl.java:207)
at com.siebel.analytics.javahost.standalone.SAJobManagerImpl$1.run(SAJobManagerImpl.java:155)
at java.lang.Thread.run(Thread.java:662)
[2011-08-16T10:34:46.359-05:00] [init] [NOTIFICATION] [] [saw.init.application] [tid: 14] [ecid: 0000J7JEjD6FS8O6yjMaMG1EIco2000006,0] Reading AW -- Q12_AW.Q12_HIST_AW
[2011-08-16T10:34:46.419-05:00] [init] [NOTIFICATION] [] [saw.init.application] [tid: 14] [ecid: 0000J7JEjD6FS8O6yjMaMG1EIco2000006,0] [Thread 21] Service done -- AWImportService11G
[2011-08-16T10:34:50.149-05:00] [workmanager] [NOTIFICATION] [] [saw.workmanager] [tid: 15] [ecid: 0000J7JElO_FS8O6yjMaMG1EIco2000007,0] Thread started
[2011-08-16T10:35:22.340-05:00] [init] [NOTIFICATION] [] [saw.init.application] [tid: 14] [ecid: 0000J7JEtF^FS8O6yjMaMG1EIco200000C,0] [Thread 21] calling service -- AWImportService11G
[2011-08-16T10:35:22.340-05:00] [init] [NOTIFICATION] [] [saw.init.application] [tid: 14] [ecid: 0000J7JEtF^FS8O6yjMaMG1EIco200000C,0] Reading AW UDML -- Q12_HIST_AW
[2011-08-16T10:35:25.768-05:00] [init] [ERROR] [] [saw.init.application] [tid: 14] [ecid: 0000J7JEtF^FS8O6yjMaMG1EIco200000C,0] Errors have occurred during xml parse[[
<Line 1181, Column 26>: Encountered "(" at line 1, column 83.
Was expecting one of:
"DIMENSION" ...
<Line 1210, Column 26>: Encountered "(" at line 1, column 83.
Was expecting one of:
"DIMENSION" ...
<Line 9516, Column 24>: Encountered "(" at line 1, column 101.
Was expecting one of:
"DIMENSION" ...
at oracle.olapi.xml.TagHandler.createRootException(Unknown Source)
at oracle.olapi.xml.TagHandler.getRootException(Unknown Source)
at oracle.olapi.xml.TagHandler.reportException(Unknown Source)
at oracle.olapi.xml.TagHandler.processException(Unknown Source)
at oracle.olapi.metadata.BaseMetadataXMLReader.resolveDeferredProperties(Unknown Source)
at oracle.olapi.metadata.MetadataXMLReaderMetadataInitialState.exit(Unknown Source)
at oracle.olapi.metadata.MetadataXMLReaderMetadataInitialState.exit(Unknown Source)
at oracle.olapi.xml.TagHandler.endElement(Unknown Source)
at org.xml.sax.helpers.ParserAdapter.endElement(ParserAdapter.java:626)
at oracle.xml.parser.v2.XMLContentHandler.endElement(XMLContentHandler.java:211)
at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1359)
at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:376)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:322)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:226)
at org.xml.sax.helpers.ParserAdapter.parse(ParserAdapter.java:405)
at oracle.olapi.xml.XMLProcessor.parse(Unknown Source)
at oracle.olapi.metadata.MetadataFetcher.processXML(Unknown Source)
at oracle.olapi.metadata.MetadataFetcher.fetchBaseMetadataObjects(Unknown Source)
at oracle.olapi.metadata.BaseMetadataProvider.fetchMetadataObjects(Unknown Source)
at oracle.olapi.metadata.MetadataListProperty.getObjects(Unknown Source)
at oracle.olapi.metadata.BaseMetadataObjectState.getPropertyListValues(Unknown Source)
at oracle.olapi.metadata.BaseMetadataObject.getPropertyListValues(Unknown Source)
at oracle.olapi.metadata.mdm.MdmSchema.getCubes(Unknown Source)
at oracle.olapi.metadata.deployment.AW.getCubes(Unknown Source)
at oracle.bi.integration.aw.v11g.AW11gUtil.getAWUdml(AW11gUtil.java:914)
at oracle.bi.integration.aw.v11g.AW11gUtil.getAWUdml(AW11gUtil.java:876)
at oracle.bi.integration.aw.v11g.service.AW11gService.getAWUdmlObject(AW11gService.java:157)
at oracle.bi.integration.aw.v11g.service.AW11gService.getAWUdml(AW11gService.java:137)
at oracle.bi.integration.aw.v11g.service.AW11gService.execute(AW11gService.java:78)
at oracle.bi.integration.javahost.ServiceRpcCall.processMessageInternal(ServiceRpcCall.java:55)
at com.siebel.analytics.javahost.AbstractRpcCall.processMessage(AbstractRpcCall.java:251)
at com.siebel.analytics.javahost.MessageProcessorImpl.processMessage(MessageProcessorImpl.java:193)
at com.siebel.analytics.javahost.Listener$Job.run(Listener.java:223)
at com.siebel.analytics.javahost.standalone.SAJobManagerImpl.threadMain(SAJobManagerImpl.java:207)
at com.siebel.analytics.javahost.standalone.SAJobManagerImpl$1.run(SAJobManagerImpl.java:155)
at java.lang.Thread.run(Thread.java:662)
[2011-08-16T10:35:25.784-05:00] [init] [ERROR] [] [saw.init.application] [tid: 14] [ecid: 0000J7JEtF^FS8O6yjMaMG1EIco200000C,0] [Thread 21] Service failed - AWImportService11G. Details:Q12_HIST_AW
Any help to diagnose the problem is appreciated.
Swapan.
Edited by: Swapan on Aug 16, 2011 9:28 AMIt looks like OBIEE 11.1.1.5 ships with 11.1 jars and since my DB was running 11.2, I faced this issue. The fix is described below for folks who encounter this issue.
The OLAP API jars on the middle tier need to be updated to version 11.2.x. The OLAP API libraries are found in your Oracle Database home: [oracledb home]\product\11.2.0\dbhome_1\olap\api\lib. BI EE provides an 11.1.x version of these files in [obiee home]\Oracle_BI1\bifoundation\javahost\lib\obisintegration\aw\11g. Backup the BI EE version of the OLAP API jars and replace them with the version provided by the database.
Swapan.
Edited by: Swapan on Aug 16, 2011 1:33 PM -
Oracle OLAP ExpressDataProvider Exceptions
Hi
I'm using Oracle 9i OLAP API. There's something strange going on here. I written a test program that accesses the metadata and displays all it's contents. It runs fine on my home PC. At college the same program running on the same settings as that of my home PC (including the jar files required) gives me the error shown by the staacktrace below:
Exception in thread "main" java.lang.AbstractMethodError: oracle.jdbc.driver.OracleConnection.getTypeMap()Ljava/util/Map;
at oracle.express.idl.util.TypeMapHelper.setTypeMap(TypeMapHelper.java:14)
at oracle.express.olapi.data.full.ExpressDataProvider.initialize(ExpressDataProvider.java:150)
at metadata.main(metadata.java:44)
Press any key to continue...
I am also sending the code below:
import java.sql.*;
import oracle.jdbc.driver.OracleSavepoint;
import com.sun.java.util.collections.Map;
import com.sun.java.util.collections.List;
import com.sun.java.util.collections.Iterator;
import oracle.express.olapi.transaction.ExpressTransactionProvider;
import oracle.express.olapi.data.full.ExpressDataProvider;
import oracle.olapi.data.source.Source;
import oracle.olapi.metadata.MetadataObject;
import oracle.express.*;
import oracle.olapi.*;
import oracle.jdbc.OracleConnection;
import oracle.express.mdm.*;
import oracle.dms.console.DMSConsole;
import oracle.jdbc.driver.DMSFactory;
class metadata
public static void main(String[] args)
try{
Class.forName("oracle.jdbc.driver.OracleDriver");
String url="jdbc:oracle:thin:@ss14:1521:OLAP";
String user="sh";
String passwd="sh123";
OracleConnection conn=(oracle.jdbc.OracleConnection)DriverManager.getConnection(url,user,passwd);
ExpressTransactionProvider tp=new ExpressTransactionProvider();
ExpressDataProvider dp=new ExpressDataProvider(conn,tp);
dp.initialize();
MdmMetadataProvider mp=null;
mp=(MdmMetadataProvider)dp.getDefaultMetadataProvider();
MdmSchema root=mp.getRootSchema();
System.out.println("Created Root Schema object...[OK]");
Explorer ex=new Explorer(root);
}catch(Exception e)
e.printStackTrace();
class Explorer
MdmSchema root;
public Explorer(MdmSchema root)
this.root=root;
get_Dimensions();
public void get_Dimensions()
MdmDimension mdmDim=null;
List dim=root.getDimensions();
System.out.println("Listing Dimensions");
Iterator iter=dim.iterator();
while(iter.hasNext())
mdmDim=(MdmDimension)iter.next();
System.out.println(mdmDim.getName());
System.out.println("Getting the regions within dimensions");
MdmUnionDimensionDefinition unionDef=(MdmUnionDimensionDefinition)(mdmDim.getDefinition());
try{
List hierarchies=unionDef.getRegions();
System.out.println("Tapped Dimensional metadata..[OK]");
Iterator hieriter=hierarchies.iterator();
MdmHierarchy mdmHier=null;
while(hieriter.hasNext())
mdmHier=(MdmHierarchy)hieriter.next();
System.out.println(mdmHier.getName());
}catch(Exception npe)
System.out.println("No regions present");
System.out.println("Determining Dimension Type");
try{
MdmDimensionMemberType dim_memb_type=mdmDim.getMemberType();
//check for the type of member
if(dim_memb_type instanceof MdmStandardMemberType)
System.out.println("Dimension is a standard dimension");
if(dim_memb_type instanceof MdmTimeMemberType)
System.out.println("Dimension is a TIME dimension");
if(dim_memb_type instanceof MdmMeasureMemberType)
System.out.println("Dimension is a Measure Member Type");
}catch(Exception e)
System.out.println("Exception:"+e);
//finally to finish off let's tap the attributes of each dimension
try{
List attrList=mdmDim.getAttributes();
MdmAttribute attribute=null;
Iterator attrIter=attrList.iterator();
while(attrIter.hasNext())
attribute=(MdmAttribute)attrIter.next();
System.out.println("Attribute:"+attribute.getName());
}catch(Exception e)
System.out.println("Exception:"+e);
I dunno what's happening.Someone help with this please.
It's urgent
Thanx
Prahalad DeshpandeGood questions and I have put them to the docs team to (1) update the online docs and (2) respond here. Let's see if they do.
-
I want to learn Oracle Olap. where can i find something like a Beginners guide to Oracle OLAP?
ThanksTry this doc first
Oracle® OLAP Reference
10g Release 2 (10.2.0.3)
http://download-west.oracle.com/docs/cd/B19306_01/olap.102/b14350/toc.htm -
Manually Migrating from Oracle 10g to 11g
Hello, I'm currently a student in an Oracle DBA class. I'm totally new to the Oracle world.
One of our final assignments concerns upgrading Oracle instances without the use of DBUA.
I've currently got Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 and am trying to upgrade to 11.1.0.7.0
This is all inside of VirtualBox, running Windows Server 2008. I've been using 10g with absolutely no issues for the duration of this class.
I successfully installed 11g, choosing to install the software only and not use dbua.
I changed my environment variables to point towards the 10g installation; ORACLE_HOME, ORACLE_SID, PATH, and LD_LIBRARY_PATH.
Then logged into 10g's SQLPlus and ran utlu111i.sql, which ran successfully. I issued a shutdown immediate and exited SQLPlus.
Changed my environment variables to point towards the 11g home and set ORACLE_SID as the 10g database name. I was able to log into 11g's SQL plus, was told I was connected to an idle instance, which I expected. I issued a startup upgrade command, and then attempted to run catupgrd.sql, but got an error stating that I had to run the script from 11g.
If I don't set the environment variables then when I try to log into 11g's sqlplus, I get an ORA-12560: TNS:protocol adapter error... I've tried reinstalling 11g from scratch, but to no avail. My instructor and I have been emailing back and forth frequently over the past few days but we have not been able to reach a solution, so I thought I would see if I could pick your brains.
Here's all of the terminal output from the process:
C:\Users\Administrator>sqlplus
SQL*Plus: Release 10.2.0.3.0 - Production on Fri Apr 29 20:15:09 2011
Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
Enter user-name: connect /as sysdba
Enter password:
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> @?
SP2-0310: unable to open file "C:\270Oracle.sql"
SQL> @C:\NewCIS270\product\11.1.0\db_1\rdbms\admin\utlu111i
Oracle Database 11.1 Pre-Upgrade Information Tool 04-29-2011 20:16:16
Database:
--> name: KYLMAN
--> version: 10.2.0.3.0
--> compatible: 10.2.0.3.0
--> blocksize: 8192
--> platform: Microsoft Windows IA (32-bit)
--> timezone file: V4
Tablespaces: [make adjustments in the current environment]
--> SYSTEM tablespace is adequate for the upgrade.
.... minimum required size: 729 MB
.... AUTOEXTEND additional space required: 249 MB
--> UNDOTBS1 tablespace is adequate for the upgrade.
.... minimum required size: 417 MB
.... AUTOEXTEND additional space required: 352 MB
--> SYSAUX tablespace is adequate for the upgrade.
.... minimum required size: 455 MB
.... AUTOEXTEND additional space required: 215 MB
--> TEMP tablespace is adequate for the upgrade.
.... minimum required size: 61 MB
.... AUTOEXTEND additional space required: 33 MB
--> EXAMPLE tablespace is adequate for the upgrade.
.... minimum required size: 78 MB
Update Parameters: [Update Oracle Database 11.1 init.ora or spfile]
-- No update parameter changes are required.
Renamed Parameters: [Update Oracle Database 11.1 init.ora or spfile]
-- No renamed parameters found. No changes are required.
Obsolete/Deprecated Parameters: [Update Oracle Database 11.1 init.ora or spfile]
--> "background_dump_dest" replaced by "diagnostic_dest"
--> "user_dump_dest" replaced by "diagnostic_dest"
--> "core_dump_dest" replaced by "diagnostic_dest"
Components: [The following database components will be upgraded or installed]
--> Oracle Catalog Views [upgrade] VALID
--> Oracle Packages and Types [upgrade] VALID
--> JServer JAVA Virtual Machine [upgrade] VALID
--> Oracle XDK for Java [upgrade] VALID
--> Oracle Workspace Manager [upgrade] VALID
--> OLAP Analytic Workspace [upgrade] VALID
--> OLAP Catalog [upgrade] VALID
--> EM Repository [upgrade] VALID
--> Oracle Text [upgrade] VALID
--> Oracle XML Database [upgrade] VALID
--> Oracle Java Packages [upgrade] VALID
--> Oracle interMedia [upgrade] VALID
--> Spatial [upgrade] VALID
--> Data Mining [upgrade] VALID
--> Expression Filter [upgrade] VALID
--> Rule Manager [upgrade] VALID
--> Oracle OLAP API [upgrade] VALID
Miscellaneous Warnings
WARNING: --> Database contains stale optimizer statistics.
.... Refer to the 11g Upgrade Guide for instructions to update
.... statistics prior to upgrading the database.
.... Component Schemas with stale statistics:
.... SYS
.... OLAPSYS
.... SYSMAN
.... CTXSYS
.... XDB
WARNING: --> Database contains schemas with objects dependent on network
packages.
.... Refer to the 11g Upgrade Guide for instructions to configure Network ACLs.
WARNING: --> EM Database Control Repository exists in the database.
.... Direct downgrade of EM Database Control is not supported. Refer to the
.... 11g Upgrade Guide for instructions to save the EM data prior to upgrade.
PL/SQL procedure successfully completed.
SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> exit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Pr
oduction
With the Partitioning, OLAP and Data Mining options
C:\Users\Administrator>set ORACLE_HOME=C:\NewCIS270\product\11.1.0\db_1
C:\Users\Administrator>set ORACLE_SID=KYLMAN
C:\Users\Administrator>set PATH=%ORACLE_HOME%\bin
C:\Users\Administrator>sqlplus "/as sysdba"
SQL*Plus: Release 11.1.0.7.0 - Production on Fri Apr 29 20:22:49 2011
Copyright (c) 1982, 2008, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup upgrade;
ORACLE instance started.
Total System Global Area 440401920 bytes
Fixed Size 1291072 bytes
Variable Size 146803904 bytes
Database Buffers 289406976 bytes
Redo Buffers 2899968 bytes
Database mounted.
Database opened.
SQL> @?
SP2-0310: unable to open file "C:\NewCIS270\product\11.1.0\db_1.sql"
SQL> @?/rdbms/admin/catupgrd
DOC>#######################################################################
DOC>#######################################################################
DOC>
DOC> The first time this script is run, there should be no error messages
DOC> generated; all normal upgrade error messages are suppressed.
DOC>
DOC> If this script is being re-run after correcting some problem, then
DOC> expect the following error which is not automatically suppressed:
DOC>
DOC> ORA-00001: unique constraint (<constraint_name>) violated
DOC> possibly in conjunction with
DOC> ORA-06512: at "<procedure/function name>", line NN
DOC>
DOC> These errors will automatically be suppressed by the Database Upgrade
DOC> Assistant (DBUA) when it re-runs an upgrade.
DOC>
DOC>#######################################################################
DOC>#######################################################################
DOC>#
DOC>######################################################################
DOC>######################################################################
DOC> The following statement will cause an "ORA-01722: invalid number"
DOC> error if the user running this script is not SYS. Disconnect
DOC> and reconnect with AS SYSDBA.
DOC>######################################################################
DOC>######################################################################
DOC>#
no rows selected
DOC>######################################################################
DOC>######################################################################
DOC> The following statement will cause an "ORA-01722: invalid number"
DOC> error if the database server version is not correct for this script.
DOC> Shutdown ABORT and use a different script or a different server.
DOC>######################################################################
DOC>######################################################################
DOC>#
SELECT TO_NUMBER('MUST_BE_11_1') FROM v$instance
ERROR at line 1:
ORA-01722: invalid number
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Pr
oduction
With the Partitioning, OLAP and Data Mining options
C:\Users\Administrator>
Edited by: 855732 on Apr 29, 2011 6:59 PMHi,
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Pr
oduction
With the Partitioning, OLAP and Data Mining options
Your instance is started from the 10g ORACLE_HOME. You mentioned you started it from the 11g ORACLE_HOME but it's not the case.
Here is an example with a 10gR2 database started from a 11gR2 ORACLE_HOME :
SQL> startup upgrade pfile =/u01/app/oracle/product/10.2.0/db_1/dbs/initP102.ora
ORA-32006: BACKGROUND_DUMP_DEST initialization parameter has been deprecated
ORA-32006: USER_DUMP_DEST initialization parameter has been deprecated
ORACLE instance started.
Total System Global Area 167387136 bytes
Fixed Size 1335248 bytes
Variable Size 88080432 bytes
Database Buffers 75497472 bytes
Redo Buffers 2473984 bytes
Database mounted.
Database opened.
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing optionsNotice the Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 part.
In your case it was Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.3.0
To solve the issue follow the official documentation, you have specific actions with oradim etc. to do (it's always a bit more complicated than with Unix/Linux but it's documented) :
http://download.oracle.com/docs/cd/B28359_01/server.111/b28300/upgrade.htm#insertedID8
Best regards
Phil -
OBIEE 11G HOLAP( drill through) from ORACLE OLAP to Relaltional table
Hi Experts...
I have some idea that the drill through from an essbase cube to an relational cube can be possible with few limitations in OBIEE 10g. I am looking for the same feature with ORACLE OLAP option . I have OLAP cube built in 11g (leve5 - granularity to one of the dimension) , and relational has 7 levels. In OBIEE once drill down to the level 5 it has fetched data from OLAP , and going beyond to level 6 -7 then it should get the data from relational table.
Do anyone had gone through such solution, Please kndly share your inputs and documents which would be helpful.
Thanks
SThis is very easy. It's really no different from setting up OBIEE to drill from one table to another. Let's assume that you have your cube mapped in OBIEE using the OBIEE plug-in for Analytic Workspace Manager. Here is an outline of the steps:
1. Add the dimension table and fact table to the OBIEE physical layer.
2. Add the new level to the OBIEE dimension object in the business layer.
3. Add the dimension table as a new logical table source to the existing dimension table in the business layer.
4. Add the fact table as new table in the business layer.
5. Define joins in the physical and business model as appropriate.
6. Set set keys in the tables and the dimension as appropriate.
7. Set the level for the new dimension table to the appropriate level in the dimension.
Again, it's really best to just think about this as drilling from one table to another.
Maybe you are looking for
-
How can I print a usage report for the HP laserjet 600 M602? Thanks
-
Looking for a good Video intro generator. Any recommendation ?
Hi there, I am looking for some impressive video intro generator & bump into this: http://www.reallusion.com/contentstore/cstore_vshowcase.aspx?id=525&CategoryName =iClone I bought the iClone4 plus the Motion Montage because I like the part where it
-
How do I uninstall a pirated version and load a good version from your site.
I thought that I was on an official Mozilla/Firefox website but apparently I was not. The FF I loaded immediately disabled pop-up control. Every second there were adds popping up from all sides. As fast as I got rid of them they reappeared. It looked
-
Data Package 1 arrived in BW ; Processing :2nd processing step not finished
I am currently working on BI 7 and trying to pull data from r/3. I have succesfully loaded the data into the PSA and now when i try updating the data (only 66 records, its a init run) into an ODS, but the system is taking a long time. On monitor Deta
-
Font corruption in virtual consoles
Not sure where to put this, so it goes here. I am currently a victim of font/screen corruption in the virtual consoles (probably not X, not sure, haven't installed a WM/DE yet). I am using a 1680x1050 resolution (8bit color) with the vesafb driver fo