Dbms_awm Package
Hello,
in 10g Release 1 i can us the dbms_awm Package to create Analytic Workspaces. Can i create Analytic Workspaces in 10g Releas 2 on the same way?? Because in the OLAP Reference for this Release the Package where not named.
This is slightly strange, I just went back to the link above and the information is not there anymore - bad day at the office I think. Anyway, it is all definitely in the 10.1 documentation set at:
http://www.oracle.com/pls/db10g/portal.portal_demo3?selected=6
See the OLAP Reference Guide:
http://download.oracle.com/docs/cd/B14117_01/olap.101/b10334/toc.htm
But if you Google DBMS_AWM you can get a link to the old version of 10gR2 OLAP Reference Guide at this site (but I have no idea who owns this site):
http://docs.huihoo.com/oracle/docs/B19306_01/olap.102/b14350/using_dbmsawm002.htm
Can't quite understand why these docs are not on the OTN website. But that's life.
Keith
Similar Messages
-
Error while enabling dimension for OLAP API and BI Beans
Hi, I've created some dimensions in OLAP Catalog using CWM2 packages. These dimensions have only one hierarchy and one or two levels.
I also have an Analytic Workspace, and I've created these dimensions in this A.W. using CREATE_AWDIMENSION method from DBMS_AWM package.
Everything ok at this point.
Next, I've tried to enable these aw dimensions for the OLAP Api and BI Beans, using CREATE_AWDIMENSION_ACCESS_FULL/CREATE_AWDIMENSION_access methods from DBMS_AWM. Strangely, dimensions whith two levels are enabled ok, but dimensions with only one level can't be enabled. If I use CREATE_AWDIMENSION_ACCESS and I execute generated script, an error appears when trying VALIDATE_DIMENSION, with a text like this:
.ENTITY TYPE ENTITY NAME STATUS COMMENT
. Dimension AW1.DIM1 INVALID ERROR: Component entity.
- Default Display Hierarchy: "J0".
. Hierarchy J0 INVALID ERROR: Hierarchy Top Level not found.
My database ir 9.2.0.6. What is failing ? Some idea ? Thanks by your help.Not sure if it's valid to have a dimension with 1 hierarchy and 1 level in that hierarchy. The hierarchy may have to have at least 2 levels. If you want the configuration of a dimension with 1 hierarchy and 1 level, CWM2 may want you to omit the hierarchy, thus creating the dimension with only 1 level.
-
10g upgrade on windows 2003 server
Hi all,
I am trying to upgrade database from 10.2.0.1.0 to 10.2.0.5.0,I have 5 database running in the server so i dont want to shutdown all the database at once ,so i decided to do for each database with the following steps and give a try ,when i try to connect a database for upgrade ,it throws error(+ORA-12557: TNS:protocol adapter not loadable+),please help me to resolve and correct me if i am wrong .
1.Installed oracle 10.2.0.1.0 in new location on same server.
2. Apply patches and upgrade the oracle to 10.2.0.5.0 in new location on same server
3. set ORCLE_HOME=<newly installed home path>
4. Set ORCLE_SID =<SID NAME>
5. sqlplus /nolog
6. conn sys as sysdba
password:<password>
ORA-12557: TNS:protocol adapter not loadableThank sirini,
Here is the steps which i followed to upgrade database.
ORACLE_HOME1-10.2.0.1.0,ORACLE_HOME2-10.2.0.5.0
1. install oracle in new drive on same machine and applyed patches for it.
2. Set enveroinment with OUI to new ORACLE_HOME2
3. shutdown the instance on HOME1 and copy the datafiles,controlfile,redologfile to HOME2
4.using oradim delete the instance
c:\oradim -delete -sid <database>
5. create new instance with ORADIM in HOME2
h:\oradim -new -sid <db>
6. on HOME2 create database database using control file .
7.open database with upgrade command
alter database open resetlogs upgrade;
run utlu102i.sqlall valid
run catupgrd.sql
shutdown
startup database
run utlrp.sql
SELECT COMP_NAME, VERSION, STATUS FROM SYS.DBA_REGISTRY;COMP_NAME VERSION STATUS
Oracle Enterprise Manager 10.2.0.5.0 VALID
Spatial 10.2.0.1.0 OPTION OFF
Oracle interMedia 10.2.0.5.0 VALID
OLAP Catalog 10.2.0.1.0 OPTION OFF
Oracle XML Database 10.2.0.5.0 VALID
Oracle Text 10.2.0.5.0 VALID
Oracle Expression Filter 10.2.0.5.0 VALID
Oracle Rule Manager 10.2.0.5.0 VALID
Oracle Workspace Manager 10.2.0.5.0 VALID
Oracle Data Mining 10.2.0.1.0 OPTION OFF
Oracle Database Catalog Views 10.2.0.5.0 VALID
Oracle Database Packages and Types 10.2.0.5.0 VALID
JServer JAVA Virtual Machine 10.2.0.5.0 VALID
Oracle XDK 10.2.0.5.0 VALID
Oracle Database Java Packages 10.2.0.5.0 VALID
OLAP Analytic Workspace 10.2.0.1.0 OPTION OFF
Oracle OLAP API 10.2.0.1.0 OPTION OFF
@utlu102s.sql
database server INVALID
*>select * from dba_objects where status="INVALID';*
OWNER OBJECT_NAME OBJECT_TYPE
PUBLIC ALL_OLAP2_AW_CUBE_AGG_OP SYNONYM
OLAPSYS MRAC_OLAP2_AW_DIMENSIONS_V VIEW
OLAPSYS MRAC_OLAP2_AW_ATTRIBUTES_V VIEW
OLAPSYS MRAC_OLAP2_AW_CUBES_V VIEW
OLAPSYS MRAC_OLAP2_AW_CUBE_MEASURES_V VIEW
PUBLIC MRV_OLAP2_AW_DIMENSIONS SYNONYM
PUBLIC MRV_OLAP2_AW_ATTRIBUTES SYNONYM
PUBLIC MRV_OLAP2_AW_CUBES SYNONYM
PUBLIC MRV_OLAP2_AW_CUBE_MEASURES SYNONYM
OLAPSYS CWM2_OLAP_METADATA_REFRESH PACKAGE BODY
OLAPSYS OLAP_SYS_AW_ACCESS_DIM_VIEW VIEW
OLAPSYS OLAP_SYS_AW_ACCESS_CUBE_VIEW VIEW
OLAPSYS OLAP_SYS_AW_ENABLE_ACCESS_VIEW VIEW
PUBLIC OLAP_SYS_AW_ACCESS_CUBE_VIEW SYNONYM
PUBLIC OLAP_SYS_AW_ACCESS_DIM_VIEW SYNONYM
PUBLIC OLAP_SYS_AW_ENABLE_ACCESS_VIEW SYNONYM
OLAPSYS CWM2_OLAP_OLAPAPI_ENABLE PACKAGE BODY
OLAPSYS DBMS_AWM PACKAGE BODY
OLAPSYS CWM2_OLAP_CUBE PACKAGE BODY
>
*exec dbms_utility.compile_schema('<except sys schema i compiled all other schema in this>')*
run utlrp.sql again
SELECT COMP_NAME, VERSION, STATUS FROM SYS.DBA_REGISTRY;same result as before.
*select * from dba_objects where status ='INVALID';*SYS ORAPERF 89736 PACKAGE BODY
ORDSYS ORDSOURCE 42743 TYPE BODY
@utlu102s.sql_database server INVALID_
database is working fine till now i didn't face any issue on it. -
Analytic Workspace Manager 9.2.0.4
Hi
When I attempt to create a workspace in Analytic Workspace Manager an error message is displayed saying that the database I am using is not a 9.2.0.2 compatible database and the DBMS_AWM package cannot be found.
I have, however, patched my database to 9.2.0.5. Is Analytic Workspace Manager version 9.0.4 incompatible with Oracle DB version 9.2.0.5?
My environment setup is as follows:
Analytic Workspace Manager (9.2.0.4)
Oracle DB 9i Rel 2 (9.2.0.5)
Windows XP Professional SP 2.
Thanks
RyanAWM 9.2.0.4.1 is forward compatible on the 9.2 code stream. It works with the current 9.2.0.5.0 and 9.2.0.6 patch sets. My guess is that the Post Installation steps for the 9.2.0.5.0 patch set were not performed. For example, did the catpatch.sql script run? A lot of people overlook this required step in the readme.
In order to check to see if your patch set was installed correctly, perform the following query:
SQL> select comp_name, version, status from dba_registry;
You should see 9.2.0.5 and VALID for the OLAP components. -
hi,
i use the AWM 10.2.0.3.Now I want to create a analytic workspace without the AWM, but i want to see the things what I have created in him. I Know that I can use the dbms_aw package to create an aw and for the dimensions and so on the dbms_awm package. For the OLAP Catalog Metadata I want to use the cwm2 package. How I have understood I must first create the Metadata for the OLAP Catalog with the cwm2 package and then I can define the dimensions with the dbms_awm. Is that right???
At first I have defined a aw with the command: execute dbms_aw.execute ('aw create ''myaw''');
After this I want to create the OLAP Catalog Metadata for the dimension Placement, but by creating the mappings he brings an excepiton and I don't know why.
execute cwm2_olap_dimension.create_dimension('GLOBAL', 'Placement_DIM', 'Placement', 'Placements', 'Place', 'Placements');
exec cwm2_olap_dimension_attribute.create_dimension_attribute ('GLOBAL','PLACEMENT_DIM','Long Description','Long Descriptions','Long Desc','Long Product Descriptions',true);
exec cwm2_olap_dimension_attribute.create_dimension_attribute ('GLOBAL','PLACEMENT_DIM','Place_NAME_DIM','Placement Name','Place Name','Placement Name');
exec cwm2_olap_hierarchy.create_hierarchy ('GLOBAL','PLACEMENT_DIM','STANDARD','Standard','Std Placement','Standard Placement Hierarchy','Unsolved Level-Based');
exec cwm2_olap_dimension.set_default_display_hierarchy ('GLOBAL','PLACEMENT_DIM','standard');
exec cwm2_olap_level.create_level ('GLOBAL','PLACEMENT_DIM','L4','Placement ID','Placement Identifiers','Place Key','Placement Key');
exec cwm2_olap_level.create_level ('GLOBAL','PLACEMENT_DIM','L3','Placement Sub-Category','Placement Sub-Categories','Place Sub-Category','Sub-Categories of Placements');
exec cwm2_olap_level.create_level ('GLOBAL','PLACEMENT_DIM','L2','Placement Category','Product Categories','Place Category','Categories of Placements');
exec cwm2_olap_level.create_level ('GLOBAL','PLACEMENT_DIM','L1','Total Placement','Total Placements','Total Place','Total Placement');
exec cwm2_olap_level_attribute.create_level_attribute ('GLOBAL','PLACEMENT_DIM','Long Description','L4','Long Description','PLACEMENT_LABEL','L4 Long Desc','Long Labels for PLACEMENT Identifiers',TRUE);
exec cwm2_olap_level_attribute.create_level_attribute ('GLOBAL','PLACEMENT_DIM','Long Description','L3','Long Description','SUBCATEGORY_LABEL','L3 Long Desc','Long Labels for PLACEMENT Sub-Categories', TRUE);
exec cwm2_olap_level_attribute.create_level_attribute ('GLOBAL','PLACEMENT_DIM','Long Description','L2','Long Description','CATEGORY_LABEL','L2 Long Desc','Long Labels for PLACEMENT Categories', TRUE);
exec cwm2_olap_level_attribute.create_level_attribute ('GLOBAL','PLACEMENT_DIM','PLACE_NAME_DIM','L4','PLACE_NAME_LEV','Placement Name','Placement Name','Placement Name');
exec cwm2_olap_level.add_level_to_hierarchy ('GLOBAL','PLACEMENT_DIM','STANDARD','L4','L3');
exec cwm2_olap_level.add_level_to_hierarchy ('GLOBAL','PLACEMENT_DIM','STANDARD','L3','L2');
exec cwm2_olap_level.add_level_to_hierarchy ('GLOBAL','PLACEMENT_DIM','STANDARD','L2','L1');
exec cwm2_olap_level.add_level_to_hierarchy ('GLOBAL','PLACEMENT_DIM','STANDARD','L1');
--- Creating the Mappings -----
exec cwm2_olap_table_map.Map_DimTbl_HierLevel ('GLOBAL','PLACEMENT_DIM','STANDARD','L4','GLOBAL','PLACEMENTS','PLACE_ID');
exec cwm2_olap_table_map.Map_DimTbl_HierLevelAttr ('GLOBAL','PLACEMENT_DIM','Long Description','STANDARD','L4','Long Description','GLOBAL','PLACEMENTS','PLACE_DESC');
exec cwm2_olap_table_map.Map_DimTbl_HierLevelAttr ('GLOBAL','PLACEMENT_DIM','PROD_NAME_DIM','STANDARD','L4','PLACE_NAME_LEV','GLOBAL','PLAcEMENTS','PLACE_NAME');
exec cwm2_olap_table_map.Map_DimTbl_HierLevel ('GLOBAL','PLACEMENT_DIM','STANDARD','L3','GLOBAL','PLACEMENTS','PLACE_SUBCATEGORY');
exec cwm2_olap_table_map.Map_DimTbl_HierLevelAttr ('GLOBAL','PLACEMENT_DIM','Long Description','STANDARD','L3','Long Description','GLOBAL','PLACEMENTS','PLACE_SUBCATEGORY_DESC');
exec cwm2_olap_table_map.Map_DimTbl_HierLevel ('GLOBAL','PLACEMENT_DIM','STANDARD','L2','GLOBAL','PLACEMENTS','PLACE_CATEGORY');
exec cwm2_olap_table_map.Map_DimTbl_HierLevelAttr ('GLOBAL','PLACEMENT_DIM','Long Description','STANDARD','L2','Long Description','GLOBAL','PLACEMENTS','PLACE_CATEGORY_DESC');
exec cwm2_olap_table_map.Map_DimTbl_HierLevel ('GLOBAL','PLACEMENT_DIM','STANDARD','L1','GLOBAL','PLACEMENTS','PLACE_TOTAL');
After this procedures I want to create and refresh the dimensions with the command:
execute dbms_awm.create_awdimension ('GLOBAL','PLACEMENT','GLOBAL','MYAW','AW_PLACE');
execute dbms_awm.refresh_awdimension('GLOBAL','MYAW','AW_PLACE);
I hope someone can follow me what I want to do.
Thanks1. Windows 7 x64
2. awm11.1.0.7.0B
3. Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
4. on my machine
5. This file contains a lot of information, I can not read it properly...
Dump file c:\oracle_db\app\jrq-\diag\rdbms\orcl\orcl\incident\incdir_31205\orcl_ora_6124_i31205.trc
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Windows NT Version V6.1 Service Pack 1
CPU : 2 - type 8664, 2 Physical Cores
Process Affinity : 0x0x0000000000000000
Memory (Avail/Total): Ph:1435M/4082M, Ph+PgF:3822M/8163M
Instance name: orcl
Redo thread mounted by this instance: 0 <none>
Oracle process number: 0
Windows thread id: 6124, image: ORACLE.EXE (SHAD)
*** 2014-06-11 00:21:58.561
Dump continued from file: c:\oracle_db\app\jrq-\diag\rdbms\orcl\orcl\trace\orcl_ora_6124.trc
ORA-07445: exception encountered: core dump [kghfrf()+367] [ACCESS_VIOLATION] [ADDR:0x0] [PC:0x8ED8231] [UNABLE_TO_WRITE] []
ORA-03113: end-of-file on communication channel
========= Dump for incident 31205 (ORA 7445 [kghfrf()+367]) ========
----- Beginning of Customized Incident Dump(s) -----
Exception [type: ACCESS_VIOLATION, UNABLE_TO_WRITE] [ADDR:0x0] [PC:0x8ED8231, kghfrf()+367]
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
Process Id: 0x0000191c Thread Id : 0x000017ec Time : Wed Jun 11 00:21:58
Excp. Code: 0xc0000005 Excp. Type: ACCESS_VIO Flags: 0x00000000 -
Invalid objects after running catalog.sql and catproc.sql
I have a db 10.1.0.3.0. standard edition with the 10.1.0.4.0 patch installed.
After executing catalog.sql and catproc.sql the database contains lots of invalid objects in the public, olapsys and xdb schemas.
I have executed utlrp.sql, the script completes successfully, but lots of invalid objects remain.
Does anyone know how to fix this?
Thanks in advance.
Below is the output of
select owner, object_name, object_type from dba_objects where status like 'INVALID';
OWNER OBJECT_NAME OBJECT_TYPE
XDB DBMS_XDBUTIL_INT PACKAGE
XDB SETMODFLG PROCEDURE
XDB DBMS_XDBZ0 PACKAGE BODY
XDB DBMS_XDBUTIL_INT PACKAGE BODY
PUBLIC DBMS_XDBUTIL_INT SYNONYM
XDB XDB$PATCHUPSCHEMA PROCEDURE
OLAPSYS ALL$OLAP2_AW_CATALOGS VIEW
PUBLIC ALL_OLAP2_AW_CATALOGS SYNONYM
OLAPSYS ALL$OLAP2_AW_CATALOG_MEASURES VIEW
PUBLIC ALL_OLAP2_AW_CATALOG_MEASURES SYNONYM
OLAPSYS ALL$OLAP2_AW_PHYS_OBJ VIEW
PUBLIC ALL_OLAP2_AW_PHYS_OBJ SYNONYM
OLAPSYS ALL$OLAP2_AW_PHYS_OBJ_PROP VIEW
PUBLIC ALL_OLAP2_AW_PHYS_OBJ_PROP SYNONYM
OLAPSYS ALL$OLAP2_AW_DIMENSIONS VIEW
PUBLIC ALL_OLAP2_AW_DIMENSIONS SYNONYM
OLAPSYS ALL$OLAP2_AW_ATTRIBUTES VIEW
PUBLIC ALL_OLAP2_AW_ATTRIBUTES SYNONYM
OLAPSYS ALL$OLAP2_AW_CUBES VIEW
PUBLIC ALL_OLAP2_AW_CUBES SYNONYM
OLAPSYS ALL$OLAP2_AW_CUBE_DIM_USES VIEW
PUBLIC ALL_OLAP2_AW_CUBE_DIM_USES SYNONYM
OLAPSYS ALL$AW_DIM_ENABLED_VIEWS VIEW
PUBLIC ALL_AW_DIM_ENABLED_VIEWS SYNONYM
OLAPSYS ALL$AW_CUBE_ENABLED_VIEWS VIEW
PUBLIC ALL_AW_CUBE_ENABLED_VIEWS SYNONYM
OLAPSYS ALL$AW_CUBE_ENABLED_HIERCOMBO VIEW
PUBLIC ALL_AW_CUBE_ENABLED_HIERCOMBO SYNONYM
OLAPSYS ALL$OLAP2_AW_DIM_LEVELS VIEW
PUBLIC ALL_OLAP2_AW_DIM_LEVELS SYNONYM
OLAPSYS ALL$OLAP2_AW_DIM_HIER_LVL_ORD VIEW
PUBLIC ALL_OLAP2_AW_DIM_HIER_LVL_ORD SYNONYM
OLAPSYS ALL$OLAP2_AW_CUBE_MEASURES VIEW
PUBLIC ALL_OLAP2_AW_CUBE_MEASURES SYNONYM
OLAPSYS ALL$OLAP2_AW_CUBE_AGG_SPECS VIEW
PUBLIC ALL_OLAP2_AW_CUBE_AGG_SPECS SYNONYM
OLAPSYS ALL$OLAP2_AW_CUBE_AGG_MEAS VIEW
PUBLIC ALL_OLAP2_AW_CUBE_AGG_MEAS SYNONYM
OLAPSYS ALL$OLAP2_AW_CUBE_AGG_LVL VIEW
PUBLIC ALL_OLAP2_AW_CUBE_AGG_LVL SYNONYM
OLAPSYS ALL$OLAP2_AW_CUBE_AGG_OP VIEW
PUBLIC ALL_OLAP2_AW_CUBE_AGG_OP SYNONYM
OLAPSYS MRAC_OLAP2_AW_DIMENSIONS_V VIEW
OLAPSYS MRAC_OLAP2_AW_CUBES_V VIEW
OLAPSYS MRAC_OLAP2_AW_CUBE_MEASURES_V VIEW
PUBLIC MRV_OLAP2_AW_DIMENSIONS SYNONYM
PUBLIC MRV_OLAP2_AW_CUBES SYNONYM
PUBLIC MRV_OLAP2_AW_CUBE_MEASURES SYNONYM
OLAPSYS CWM2_OLAP_METADATA_REFRESH PACKAGE BODY
OLAPSYS OLAP_SYS_AW_ACCESS_DIM_VIEW VIEW
OLAPSYS OLAP_SYS_AW_ACCESS_CUBE_VIEW VIEW
OLAPSYS OLAP_SYS_AW_ENABLE_ACCESS_VIEW VIEW
PUBLIC OLAP_SYS_AW_ACCESS_CUBE_VIEW SYNONYM
PUBLIC OLAP_SYS_AW_ACCESS_DIM_VIEW SYNONYM
PUBLIC OLAP_SYS_AW_ENABLE_ACCESS_VIEW SYNONYM
OLAPSYS CWM2_OLAP_OLAPAPI_ENABLE PACKAGE BODY
OLAPSYS DBMS_AWM PACKAGE BODY
OLAPSYS CWM2_OLAP_CUBE PACKAGE BODYThis note explains 80% of the problem: 42 invalid objects are normal, I have 52 invalid objects.
I have re-executed the catpatch.sql script, I couldn't find any errors in the output. At the end Oracle Intermedia and Oracle Expression Filter remain invalid.
last lines of catpatch.sql output:
COMP_NAME STATUS VERSION
OLAP Analytic Workspace OPTION OFF 10.1.0.3.0
Oracle OLAP API OPTION OFF 10.1.0.3.0
Oracle Database Catalog Views VALID 10.1.0.4.0
Oracle Database Packages and Types VALID 10.1.0.4.0
JServer JAVA Virtual Machine VALID 10.1.0.4.0
Oracle XDK VALID 10.1.0.4.0
Oracle Database Java Packages VALID 10.1.0.4.0
Oracle XML Database VALID 10.1.0.4.0
Oracle interMedia INVALID 10.1.0.4.0
Oracle Text VALID 10.1.0.4.0
Oracle Ultra Search VALID 10.1.0.4.0
Oracle Expression Filter INVALID 10.1.0.4.0
Oracle Enterprise Manager VALID 10.1.0.4.0
Oracle Workspace Manager VALID 10.1.0.2.0
Oracle Data Mining OPTION OFF 10.1.0.3.0
OLAP Catalog OPTION OFF 10.1.0.3.0
Spatial OPTION OFF 10.1.0.3.0
SQL> select owner, object_name, object_type from dba_objects where status like 'INVALID';
OWNER OBJECT_NAME OBJECT_TYPE
WK_TEST BIN$9oUB6zbaOP/gMCzPA4J5+w==$0 TRIGGER
OLAPSYS ALL$OLAP2_AW_CATALOGS VIEW
PUBLIC ALL_OLAP2_AW_CATALOGS SYNONYM
OLAPSYS ALL$OLAP2_AW_CATALOG_MEASURES VIEW
PUBLIC ALL_OLAP2_AW_CATALOG_MEASURES SYNONYM
OLAPSYS ALL$OLAP2_AW_PHYS_OBJ VIEW
PUBLIC ALL_OLAP2_AW_PHYS_OBJ SYNONYM
OLAPSYS ALL$OLAP2_AW_PHYS_OBJ_PROP VIEW
PUBLIC ALL_OLAP2_AW_PHYS_OBJ_PROP SYNONYM
OLAPSYS ALL$OLAP2_AW_DIMENSIONS VIEW
PUBLIC ALL_OLAP2_AW_DIMENSIONS SYNONYM
OLAPSYS ALL$OLAP2_AW_ATTRIBUTES VIEW
PUBLIC ALL_OLAP2_AW_ATTRIBUTES SYNONYM
OLAPSYS ALL$OLAP2_AW_CUBES VIEW
PUBLIC ALL_OLAP2_AW_CUBES SYNONYM
OLAPSYS ALL$OLAP2_AW_CUBE_DIM_USES VIEW
PUBLIC ALL_OLAP2_AW_CUBE_DIM_USES SYNONYM
OLAPSYS ALL$AW_DIM_ENABLED_VIEWS VIEW
PUBLIC ALL_AW_DIM_ENABLED_VIEWS SYNONYM
OLAPSYS ALL$AW_CUBE_ENABLED_VIEWS VIEW
PUBLIC ALL_AW_CUBE_ENABLED_VIEWS SYNONYM
OLAPSYS ALL$AW_CUBE_ENABLED_HIERCOMBO VIEW
PUBLIC ALL_AW_CUBE_ENABLED_HIERCOMBO SYNONYM
OLAPSYS ALL$OLAP2_AW_DIM_LEVELS VIEW
PUBLIC ALL_OLAP2_AW_DIM_LEVELS SYNONYM
OLAPSYS ALL$OLAP2_AW_DIM_HIER_LVL_ORD VIEW
PUBLIC ALL_OLAP2_AW_DIM_HIER_LVL_ORD SYNONYM
OLAPSYS ALL$OLAP2_AW_CUBE_MEASURES VIEW
PUBLIC ALL_OLAP2_AW_CUBE_MEASURES SYNONYM
OLAPSYS ALL$OLAP2_AW_CUBE_AGG_SPECS VIEW
PUBLIC ALL_OLAP2_AW_CUBE_AGG_SPECS SYNONYM
OLAPSYS ALL$OLAP2_AW_CUBE_AGG_MEAS VIEW
PUBLIC ALL_OLAP2_AW_CUBE_AGG_MEAS SYNONYM
OLAPSYS ALL$OLAP2_AW_CUBE_AGG_LVL VIEW
PUBLIC ALL_OLAP2_AW_CUBE_AGG_LVL SYNONYM
OLAPSYS ALL$OLAP2_AW_CUBE_AGG_OP VIEW
PUBLIC ALL_OLAP2_AW_CUBE_AGG_OP SYNONYM
OLAPSYS MRAC_OLAP2_AW_DIMENSIONS_V VIEW
OLAPSYS MRAC_OLAP2_AW_CUBES_V VIEW
OLAPSYS MRAC_OLAP2_AW_CUBE_MEASURES_V VIEW
PUBLIC MRV_OLAP2_AW_DIMENSIONS SYNONYM
PUBLIC MRV_OLAP2_AW_CUBES SYNONYM
PUBLIC MRV_OLAP2_AW_CUBE_MEASURES SYNONYM
OLAPSYS CWM2_OLAP_METADATA_REFRESH PACKAGE BODY
OLAPSYS OLAP_SYS_AW_ACCESS_DIM_VIEW VIEW
OLAPSYS OLAP_SYS_AW_ACCESS_CUBE_VIEW VIEW
OLAPSYS OLAP_SYS_AW_ENABLE_ACCESS_VIEW VIEW
PUBLIC OLAP_SYS_AW_ACCESS_CUBE_VIEW SYNONYM
PUBLIC OLAP_SYS_AW_ACCESS_DIM_VIEW SYNONYM
PUBLIC OLAP_SYS_AW_ENABLE_ACCESS_VIEW SYNONYM
OLAPSYS CWM2_OLAP_OLAPAPI_ENABLE PACKAGE BODY
OLAPSYS DBMS_AWM PACKAGE BODY
OLAPSYS CWM2_OLAP_CUBE PACKAGE BODY
53 rows selected. -
How to create plsql code for a snowflake cube
hi everybody!
do anyone know how to create plsql code for a snowflake tiype dimension to create
a cube?how to map the atributes, or if there are any exceptional atributes which I can use like in a temporal dimension?
thank you
waiting for any answerThe DBMS_AWM package provides stored procedures for creating an analytic workspace cube from a star schema. Is it posible to create a cube from a snoflake schema?
-
Unable to Compile Invalid Objects
Why are the following Objects invalid?
All attempt to re-compile these objects files, what am I missing?
OWNER OBJECT_NAME OBJECT_TYPE STATUS
CASHAR WB_OLAP_LOAD_CUBE PROCEDURE INVALID
CASHAR WB_OLAP_LOAD_DIMENSION PROCEDURE INVALID
CASHAR WB_OLAP_LOAD_DIMENSION_GE PROCEDURE INVALIDIn general, the errors you get on compilation will point to the specific offending line and statement.
Being that all three of these procedures call OLAP DBMS_AWM packages, I would venture to guess there is something wrong with access to these packages.
Execute the following from OWB target schema:
select owner, object_name, procedure_name
from dba_procedures
where object_name like 'DBMS_AWM%'
If this query returns nothing, you most likely don't have an OLAP Server installed in the database. That would be indicated by the lack of OLAPSYS schema and nothing from this query:
select comp_name, version, status, schema
from dba_registry
where comp_name like '%OLAP%'
So install OLAP Server if you need to use these OWB procedures. Note that OLAP Server is the extra cost option to Oracle Enterprise Edition database.
Nikolai -
Cwm2_olap_olapapi_enable.aw_dimension_create_access
Hi!
I am trying to use cwm2_olap_olapapi_enable.aw_dimension_create_access to create views from my analytic workspace objects.
I am getting the following error:
AMD-00100 not found: Error Occurred in Building Dimension ADT "Error Occurred in program __CreateAccessObjs, Error is (MXMSERR00) Analytic workspace object _SEPARATOR does not exist.
Error Occurred in __BUILDDIMACCESSOBJS, error is (SSNULL) The stat
Has anyone seen this before?
Thanks,
Vivek.The CWM2_OLAP_OLAPAPI_ENABLE PL/SQL package was dropped for 9.2.0.3. The functionality can be found in the DBMS_AWM package. Please refer to the OLAP 9.2.0.3 Release Notes found on MetaLink for further details. Thanks
-
Hi,
I want to do a crosstab based on a cube of my Analytic Workspace.
But I don't want to do have a ROLAP cube built with a relational view of my AW.
Is there a another solution ?
Thanks
Yannthere are a few options:
1) Yann can create the necessary ADTs, RDBMS Views, and CWM2 metadata in order to make his AW usable by the OLAP implementation of the DataSource provided by the BI Beans;
2) When AW Manager is released on top of 9.2.0.4, Yann can create his AW cube in "Standard Form", and then use the DBMS_AWM package to enable the AW cube for use by the OLAP API and the BI Beans;
3) Yann can implement his own data source -- as long as his data source implementation implements the DataDirector and DataAccess interfaces, then he can get a crosstab up and running. -
Problems in the creation of a MOLAP Cube with DBMS_AWM.
I want to create a MOLAP Cube with the package DBMS_AWM. So I create the ROLAP Cube and the Dimensions with the Enterprise Manager Website, and all works perfectly. Then I executed the code to create the multidimensional dimensions and the multidimensional cube (awm dimensions/cubes), but I had some problems in the first dimension.
This dimension has the name D_DESTIN, and has the following hierarchy:
+DESTIN_DESC_H3
|
+---DESTIN_DESC_H2
|
+------DESTIN_DESC_H1
|
+---------DESTIN_DESC_H0
The name of the hierarchy is H_D_DESTIN.
The following code is the code that I used to create the first multidimensional dimension:
set serveroutput on
execute cwm2_olap_manager.set_echo_on;
execute dbms_aw.execute ('aw create ''WTESTE''');
execute dbms_awm.create_awdimension('EXEMPLO_OLAP', 'D_DESTIN', 'EXEMPLO_OLAP','WTESTE', 'WD_DESTIN');
execute dbms_awm.create_awdimload_spec('D_DESTIN_LOAD', 'EXEMPLO_OLAP', 'D_DESTIN', 'FULL_LOAD');
execute DBMS_AWM.SET_AWDIMLOAD_SPEC_PARAMETER ('D_DESTIN_LOAD','EXEMPLO_OLAP','D_DESTIN','UNIQUE_RDBMS_KEY','NO');
execute dbms_awm.refresh_awdimension('EXEMPLO_OLAP', 'WTESTE', 'WD_DESTIN', 'D_DESTIN_LOAD');
commit;
execute cwm2_olap_manager.set_echo_off;
execute cwm2_olap_manager.end_log
When I executed the code above, I got the following error:
PL/SQL procedure successfully completed.
SP2-0103: Nothing in SQL buffer to run.
PL/SQL procedure successfully completed.
AMD-00001 created AWDimension "EXEMPLO_OLAP.WTESTE.WD_DESTIN"
PL/SQL procedure successfully completed.
AMD-00001 created AWDimLoad_Spec "D_DESTIN_LOAD.EXEMPLO_OLAP.D_DESTIN"
PL/SQL procedure successfully completed.
AMD-00002 set AWDimLoad_Spec_Parameter "D_DESTIN_LOAD.EXEMPLO_OLAP.D_DESTIN"
UNIQUE_RDBMS_KEY to "NO"
PL/SQL procedure successfully completed.
ERROR Create_AWDimension. Problem refreshing dimension:
WD_DESTIN
Error
Validating Dimension Mappings WD_DESTIN.DIMENSION. Key Expression
DWH.D_DESTIN.DESTIN_KEY for Mapping Group
WD_DESTIN.H_D_DESTIN.DESTIN_DESC_H0.DWH_D_DESTIN_WD_DESTIN_H_D_DESTIN
DESTINDESC_H0.DIMENSIONMAPGROUP, Level WD_DESTIN.DESTIN_DESC_H0.LEVEL,
Hierarchy WD_DESTIN.H_D_DESTIN.HIERARCHY is Incorrectly Mapped to
RDBMS.
(AW$XML) AW$XML
In SYS.AWXML!__XML_HANDLE_ERROR PROGRAM:
BEGIN dbms_awm.refresh_awdimension('EXEMPLO_OLAP', 'WTESTE',
'WD_DESTIN', 'D_DESTIN_LOAD'); END;
ERROR at line 1:
ORA-06510: PL/SQL: unhandled user-defined exception
ORA-06512: at "OLAPSYS.DBMS_AWM", line 1012
ORA-06512: at line 1
Commit complete.
PL/SQL procedure successfully completed.
PL/SQL procedure successfully completed.
I donât know what is wrong. The ROLAP Cube is valid according to Oracle Enterprise Manager Website, and it is possible to consult its data with "OracleBI Spreadsheet Add-In"
What is wrong?
Regards,
Rui TorresI executed the same code in a different user and the MOLAP Cube was created successfully.
But, I donât know what is the privilege/role, that permits this second user to create a MOLAP cube with the package DBMS_AWM.
The privileges/roles of the first user are:
ROLES
======
CONNECT
OLAP_DBA
OLAP_USER
OWBR_EXEMPLO_OLAP
OWB_EXEMPLO_OLAP
SYSTEM PRIVILEGES
=================
ALTER SESSION
CREATE ANY PROCEDURE
CREATE DATABASE LINK
CREATE DIMENSION
CREATE INDEXTYPE
CREATE MATERIALIZED VIEW
CREATE PROCEDURE
CREATE PUBLIC DATABASE LINK
CREATE PUBLIC SYNONYM
CREATE ROLE
CREATE SEQUENCE
CREATE SESSION
CREATE SYNONYM
CREATE TABLE
CREATE TRIGGER
CREATE TYPE
CREATE VIEW
DROP ANY PROCEDURE
DROP PUBLIC SYNONYM
EXECUTE ANY PROCEDURE
GLOBAL QUERY REWRITE
SELECT ANY TABLE
SYSDBA
UNLIMITED TABLESPACE
OBJECTS PRIVILEGES
==================
Object Privilege |Schema |Object
=======================================================
SELECT |SYS |DBA_ROLE_PRIVS
EXECUTE |SYS |DBMS_LOCK
SELECT |SYS |DBMS_LOCK_ALLOCATED
EXECUTE |SYS |DBMS_OBFUSCATION_TOOLKIT
EXECUTE |SYS |DBMS_SNAPSHOT
SELECT |SYS |V_$LOCK
SELECT |SYS |V_$MYSTAT
SELECT |SYS |V_$SESSION
SELECT |SYS |V_$SYSTEM_PARAMETER
The privileges/roles of the second user are:
ROLES
======
AQ_ADMINISTRATOR_ROLE
DBA
MGMT_USER
SYSTEM PRIVILEGES
=================
CREATE MATERIALIZED VIEW
CREATE TABLE
GLOBAL QUERY REWRITE
SELECT ANY TABLE
UNLIMITED TABLESPACE
OBJECTS PRIVILEGES
==================
Object Privilege |Schema |Object
=============================================
EXECUTE |SYS |DBMS_ALERT
EXECUTE |SYS |DBMS_AQ
EXECUTE |SYS |DBMS_AQADM
EXECUTE |SYS |DBMS_AQELM
EXECUTE |SYS |DBMS_AQ_IMPORT_INTERNAL
EXECUTE |SYS |DBMS_DEFER_IMPORT_INTERNAL
EXECUTE |SYS |DBMS_REPCAT
EXECUTE |SYS |DBMS_RULE_EXIMP
EXECUTE |SYS |DBMS_SYS_ERROR
EXECUTE |SYS |DBMS_TRANSFORM_EXIMP
ALTER |SYS |INCEXP
DEBUG |SYS |INCEXP
DELETE |SYS |INCEXP
FLASHBACK |SYS |INCEXP
INDEX |SYS |INCEXP
INSERT |SYS |INCEXP
ON COMMIT REFRESH |SYS |INCEXP
QUERY REWRITE |SYS |INCEXP
REFERENCES |SYS |INCEXP
SELECT |SYS |INCEXP
UPDATE |SYS |INCEXP
ALTER |SYS |INCFIL
DEBUG |SYS |INCFIL
DELETE |SYS |INCFIL
FLASHBACK |SYS |INCFIL
Which privilege/role permits the second user to create a MOLAP cube?
Regards,
Rui Torres -
While running the following PL/SQL generated by OWB/OLAP bridge using OWB 9.0.4, I get the PL/SQL program error
PL/SQL:
begin
dbms_awm.create_awcube (USER, 'BIBDEMO_STKPRICE_CUBE', USER, 'BIBDEMO_AW', 'AW_BIBDEMO_STKPRICE_CUBE');
begin
dbms_awm.create_awcubeload_spec ('BIBDEMO_STKPRICE_CUBE', USER, 'BIBDEMO_STKPRICE_CUBE', 'LOAD_DATA');
exception when others then null;
end;
dbms_awm.refresh_awcube (USER, 'BIBDEMO_AW', 'AW_BIBDEMO_STKPRICE_CUBE', 'BIBDEMO_STKPRICE_CUBE');
exception when others then cwm_utility.dump_error(); raise program_error;
end;
ERROR:
ERROR at line 1:
ORA-06501: PL/SQL: program error
ORA-06512: at line 4
ORA-06510: PL/SQL: unhandled user-defined exception
fyi: I am using Oracle9i with 9.2.0.3 patch
The DBMS_AW statement to create/populate the dimesntions works fine
Here is the PL/SQL for the dimensions
begin
dbms_awm.create_awdimension (USER, 'STOCK', USER, 'BIBDEMO_AW', 'AW_STOCK');
begin
dbms_awm.create_awdimload_spec ('STOCK', USER, 'STOCK', 'FULL_LOAD');
exception when others then null;
end;
dbms_awm.refresh_awdimension (USER, 'BIBDEMO_AW', 'AW_STOCK', 'STOCK');
dbms_awm.create_awdimension (USER, 'DAY', USER, 'BIBDEMO_AW', 'AW_DAY');
begin
dbms_awm.create_awdimload_spec ('DAY', USER, 'DAY', 'FULL_LOAD');
exception when others then null;
end;
dbms_awm.refresh_awdimension (USER, 'BIBDEMO_AW', 'AW_DAY', 'DAY');
dbms_awm.create_awdimension (USER, 'STKMEAS', USER, 'BIBDEMO_AW', 'AW_STKMEAS');
begin
dbms_awm.create_awdimload_spec ('STKMEAS', USER, 'STKMEAS', 'FULL_LOAD');
exception when others then null;
end;
dbms_awm.refresh_awdimension (USER, 'BIBDEMO_AW', 'AW_STKMEAS', 'STKMEAS');
exception when others then cwm_utility.dump_error(); raise program_error;
end;
I am just trying the recreate the BIBDEMO_STKPRICE_CUBE in analytical workspace. Would be helpful if someone could send me the complete PL/SQL for creating the analytical workspace and views for this cube using DBMS_AW package.
Thanks
PanneerPanneer,
Unfortunately you will need a patch on top of database version 9.2.0.3 in order to make this functionality work. This patch has not been released yet, but is currently in QA. We are hoping that the patch will be available in June. Stay tuned...
Thanks,
Mark. -
Incremental aggregation using dbms_awm.aggregate_awcube
Is it possible to process an aggregation in an incremental way?
I use dbms_awm.aggregate_awcube package to do it.
RegardsYou can save the XML Templates on a sever directory (which is accessible through Oracle DB directory alias), and then use plsql to drop and recreate the AW from those XML files. I did that at a client site and it worked out very well. No Java or OLAP was used - just plsql procedure. Every night, before the load, AW$... table was dropped and then recreated and then loaded - all through plsql. At this moment, I don't have access to that code. I will look for it.
- Nasar
. -
Error while refreshing aw_cube from pl/sql package
Hi, I want to refresh data in an analytic workspace cube with PL/SQL code.
If I execute DBMS_AWM methods in a PL/SQL block, it refresh without problems.
But, strangely, if I put this methods together in a package procedure and try to execute it, I find an error.
My data are:
owner_olap = SAC
cube_name_olap = AFILIADOS_SS_CB
table_source_olap = FACT_AFILIADOS
measure_name_olap = AFILIADOS_SS
owner_aw = SAC_AW1
name_aw = AW1
cube_name_aw = AFILIADOS_SS_CB
The code that refresh ok is:
DBMS_AW.EXECUTE('AW ATTACH SAC_AW1.AW1 RWX;');
DBMS_AWM.CREATE_AWCUBELOAD_SPEC('SPEC1', 'SAC', 'AFILIADOS_SS_CB', 'LOAD_DATA');
DBMS_AWM.ADD_AWCUBELOAD_SPEC_MEASURE('SPEC1', 'SAC', 'AFILIADOS_SS_CB', 'AFILIADOS_SS');
DBMS_AWM.REFRESH_AWCUBE('SAC_AW1', 'AW1', 'AFILIADOS_SS_CB', 'SPEC1');
DBMS_AWM.DELETE_AWCUBELOAD_SPEC('SPEC1', 'SAC', 'AFILIADOS_SS_CB');
DBMS_AW.EXECUTE('AW DETACH SAC_AW1.AW1;');
If I put this statements (exactly the same) in a procedure, when I try to execute it I get this error:
EXCEPTION thrown in cwm2_olap_aw_awutil.FetchAWLog()
AW command: 'show convert(REFRESH_AWCUBE('SAC_AW1' 'AW1' 'AFILIADOS_SS_CB'
'SAC_AW1.AW1.AFILIADOS_SS_CB_CUB_SPEC') text)'
AW Error Text
(MXXEQ35) SAC.FACT_AFILIADOS_SS no es un SYS.AWCREATE!SYS_SRCTBLDIM válido.
In
SYS.AWCREATE!___GEN.CUBE.SQL PROGRAM:
lmt SYS_SRCTBLDIM to &_CUBESQLDMN.FT
ifnone NOFILTERS
ORA-00942: la tabla o vista no existe
My database version is 9.2.0.6
Some idea ? Privileges or permissions ? Thanks a lotHi,
CREATE OR REPLACE PROCEDURE Testkibor
(contno IN VARCHAR)
AS
BEGIN
DECLARE
CURSOR c1 IS
SELECT *
FROM kibor_schedule
WHERE cn = contno;
BEGIN
--// OPEN c1; --no need to open if using for loop
FOR line IN c1 LOOP
UPDATE kibor_schedule
SET lincome = line.lincome,
expo = line.expo,
pport = line.pport
WHERE cn = line.cn
AND rno = line.rno;
END LOOP;
COMMIT;
--// CLOSE c1; -- no need for loop does it for you
END;
END testkibor;SS -
Downloaded Creative Cloud Packager to create a serialized package of only Acrobat XI Pro. I further customize the deployment via Adobe Customization Wizard XI, but did not re-enter the serial number (as suggested). I am able to deploy from the Exceptions folder with the following cmd, msiexec /i "%inst%AcroPro.msi" PATCH="%inst%Updates\AcrobatUpd11006.msp" TRANSFORMS="%inst%Transforms\en_US.mst" /qn. Upon launching Acrobat, I receive the a pop-up message, "Sign In Required. Siging in with an Adobe ID and registering Creative Cloud Membership Enterprise is required within 32767 days otherwise it will stop working." I don't understand why the serial number and Adobe ID I enterred when packaging did not carry over. Any insight would be appreciated.
Downloaded Creative Cloud Packager to create a serialized package of only Acrobat XI Pro. I further customize the deployment via Adobe Customization Wizard XI, but did not re-enter the serial number (as suggested). I am able to deploy from the Exceptions folder with the following cmd, msiexec /i "%inst%AcroPro.msi" PATCH="%inst%Updates\AcrobatUpd11006.msp" TRANSFORMS="%inst%Transforms\en_US.mst" /qn. Upon launching Acrobat, I receive the a pop-up message, "Sign In Required. Siging in with an Adobe ID and registering Creative Cloud Membership Enterprise is required within 32767 days otherwise it will stop working." I don't understand why the serial number and Adobe ID I enterred when packaging did not carry over. Any insight would be appreciated.
Maybe you are looking for
-
Right-click on Magic Mouse and Volume Controls on Wireless keyboard suddenly stopped working
I am running Mavericks 10.9.2 on an Late 2012 iMac. One morning the right click on my Magic Mouse and the volume controls on the wireless keyboard stopped working. These mouse and keyboard themselves seem fine; they work okay ehn used on a MacBook. E
-
SQL server as data source for OBI EE : Urgent
hi everyone,i have been using OBI EE for the past 2 months.I have been using Oracle 10g database as a data source for OBI EE and it worked just fine and now im trying to use SQL server 2005 as my data source. My ODBC was succesful and i can import fr
-
How do I load Adobe reader on a unix operating system?
I am not very computer literate so keep that in mind. How can I load Adobe Reader on a unix based operating PC?
-
I'm giving away my MACBOOK Pro. How do I restore the original setup?
I'm giving away my MACBOOK. Want to make sure all my personal info including user ids, .etc. Software I purchased is removed before giving away - i transferred the software to a new MAC. How do I accomplish this?
-
Setting Up Streams Using EM 10gR1! Nothing Happens...
Dear All, I have tried to do it so many time but it just ends up doin nothing. I have installed 11gR1 on linux operating system on servers at 2 different locations in a way that: Servers can ping each other. Global database name is set to true and db