Understanding Dimension creation in Oracle 9i
Hi all
I created using SQL*Plus command line (CREATE DIMENSION...) this one dimension (3 levels, 1 attribute on bottom level) based on a sample fact table.
From the fact table I retrieved 4 columns for: 3 level IDs and 1 attribute for the bottom level.
Now my questions are:
1. How can I view the dimension data content? I am not sure if this is possible as my understanding suggests that 9i only creates the metadata for a dimension and no data is contained within this object.
2. The fact table contains multiple rows having the same bottom level ID. How do I know that this data will not get replicated in the Dimension? or is it that Oracle will exclude any duplicate rows when filling in the Dimension? I know it's the latter but need confirmation anyways.
3. If and when the base fact table gets altered/modified/appended how is it possible to "re-load" the Dimension with new values? Or is it done automatically?
Please note that our current infrastructure is Oracle 9iR2 on a SOLARIS 9 platform.
Cheers.
Si, I really appreciate you taking time out and answering this query of mine.
OK, so ideally I should have an actual physical Dimension table with additional descriptive columns for each level and then subsquently map the dimension metadata definition to that table. But comparatively, from a tangible performance perspective, what am I missing out on?*
In all probability going the "physical" way I'll end up using more disk space by integrating millions of unique SCs in the dimensional table. Moreover, I'll have to "merge" most recent new-ish SCNUMBER records (daily) into the physical table first before running any query on the fact MV table, which will definitely incur some amount of time. I do agree that having more descriptive attributes for each level will only help me segment my overall analysis better but that's not important at this time.
From a solely performance perspective am I doing the right thing by just defining meta-data? What else can I do to speed up analysis on this MV?
Edited by: oracle_disciple on Jan 27, 2009 9:47 PM
Similar Messages
-
Error occured during creation of oracle snapshot
Dear All,
I am getting error messange in my SAP Inbox in t.code SBWP.
In SBWP, the nessage text is as follow.
=============================
Error occured during creation of oracle snapshot (Creation aborted)
(Log see also transaction SLG1, Object ORASNAP, Subobject ORASNAPCR)
Oracle snapshot creation program aborted
Error while copying from oracle view to SAP table
Oracle view SAP$KCBFWAIT
SAP table ORA_SAPKCBFWAIT
Return code (ORA-....) 942
You tried to work with the name of a table or view that does not exist in the database
The table does not exist on the database. A table name or view name was used that does not exist on the database.
===============================
I also check in T.Code SLG1, but i am not getting the reason for this error.
Regards,
NisitHi,
Check each of the following :
the spelling of the table or view name.
that a view is not specified where a table is required.
that an existing table or view name exists.
Contact the database administrator if the table needs to be created or if user or application privileges are required to access the table.
Also, if attempting to access a table or view in another schema, make certain the correct schema is referenced and that access to the object is granted.
Regards
Krishna -
Creation of Oracle managed objects - CF's and Destinations
Hi,
Is there a way to create Oracle CF's and Destinations apart from AQJmsFactory. What I am looking for is creating these objects through reflection which most of the JMS providers support. This allows using the Generic JMS RA in javabean mode to easily integrate with Oracle AQ. Please reply.
Also if it is not possible when is Oracle going to change its API to be standardized as most of the JMS providers support?
CheersYour topic title, "Creation of Oracle model hanging MS SQL 7->8.1.6", caught my eye, but our situations aren't exact.
Workbench is hanging on me during the Oracle Model creation when it gets to "Mapping tables". I also waited about 24 hours without any results.
Do you have any insight to my problem? -
Database creation in oracle 9i
can any one tell me step of database creation in oracle 9i
i try many times from 2 days through script because my DBCA is not open
when i click it. DBCA created orcl during instalation but now
it is not running. will i have to install it ?
1)i add db_name=mukesh below db_name=orcl and run script but errors
2)i crete initm.ora by copy init.ora and change db_name=orcl by db_name=mukesh
in initm.ora but errors
1)when i use init.ora without adding db_name=mukesh
i also change undo_management by AUTO to manual i get
SQL> shutdown immediate;
ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
SQL> startup pfile=D:\oracle\admin\orcl\pfile\init.ora nomount
ORACLE instance started.
Total System Global Area 135338868 bytes
Fixed Size 453492 bytes
Variable Size 109051904 bytes
Database Buffers 25165824 bytes
Redo Buffers 667648 bytes
SQL> create database mukesh
2 datafile 'D:\oracle\oradata\mukesh\system01.dbf' size 325m
3 logfile
4 group 1 ('D:\oracle\oradata\mukesh\redo01.log') size 100m,
5 group 2 ('D:\oracle\oradata\mukesh\redo02.log') size 100m,
6 group 3 ('D:\oracle\oradata\mukesh\redo03.log') size 100m;
create database mukesh
ERROR at line 1:
ORA-01501: CREATE DATABASE failed
ORA-01504: database name 'mukesh' does not match parameter db_name 'orcl'
after that i add db_name=mukesh below db_name=orcl
SQL> shutdown immediate;
ORA-01507: database not mounted
ORACLE instance shut down.
SQL> startup pfile=D:\oracle\admin\orcl\pfile\init.ora nomount
ORACLE instance started.
Total System Global Area 135338868 bytes
Fixed Size 453492 bytes
Variable Size 109051904 bytes
Database Buffers 25165824 bytes
Redo Buffers 667648 bytes
SQL> create database mukesh
2 datafile 'D:\oracle\oradata\mukesh\system01.dbf' size 325m
3 logfile
4 group 1 ('D:\oracle\oradata\mukesh\redo01.log') size 100m,
5 group 2 ('D:\oracle\oradata\mukesh\redo02.log') size 100m,
6 group 3 ('D:\oracle\oradata\mukesh\redo03.log') size 100m;
create database mukesh
ERROR at line 1:
ORA-01501: CREATE DATABASE failed
ORA-00200: controlfile could not be created
ORA-00202: controlfile: 'D:\oracle\oradata\orcl\CONTROL01.CTL'
ORA-27038: skgfrcre: file exists
OSD-04010: <create> option specified, file already existsHi,
If you getting a problem with DBCA go for manually process:-
I had listed steps which I follow
Step 1: Decide on Your Instance's System Identifier (SID)
Step 2: Create the Initialization Parameter File
Note:- Name the copied init.ora file init<SID>.ora because this is the default naming convention that the Oracle server looks for when it tries to start up the instance ORACLE_HOME/dbs directory (exists over the prefered path)
Edit this file's parameters so that your database and your instance will run effectively on your system.
DB_NAME Must be set to a text string of eight characters or less. During database creation, the value assigned to DB_NAME is recorded in the database's datafiles, redo log files, and control files. If, when you attempt to start the database instance, the value of DB_NAME as recorded in the initialization parameter file and the database name in the control files are not the same, the database will not start.
DB_DOMAIN A text string that specifies the network domain where the database is created.
CONTROL_FILES Is assigned the comma-separated list of control file names to use for the new database. When you execute the CREATE DATABASE statement, the control files listed as values assigned to this parameter are created. If you fail to specify a filename for the CONTROL_FILES parameter, Oracle creates a file with a default operating system dependant filename.
DB_BLOCK_SIZE Specifies the standard block size of the database. This size is used in the creation of the system tablespace and by default in any other tablespaces created. Take care when determining what this value should be because after the database is created, the value cannot be changed.
UNDO_MANAGEMENT Determines whether the database starts in automatic undo management mode. A value of AUTO enables automatic undo management; MANUAL enables manual undo management mode. In 9i, AUTO is suggested, but MANUAL is default.
UNDO_TABLESPACE When the instance starts in automatic undo management mode, it needs to have a tablespace in which to store its undo information. The default is SYS_UNDOTBS and is automatically created if you execute a CREATE DATABASE statement with the UNDO_MANAGEMENT initialization parameter set to AUTO and no UNDO TABLESPACE statement in the CREATE DATABASE statement.
Step 3: Connect to and Start the Instance
Connect to the instance as SYSDBA either using operating system authentication or the password file method of authentication and start up the instance using the STARTUP command.
sqlplus '/ as sysdba'
If your parameter file is not in the default location or is not named init<SID>.ora, you may need to specify the PFILE clause in the STARTUP command for the instance to start.
Because you do not yet have a database attached to the instance, you need to start up the instance in NOMOUNT state:
startup nomount;
The instance is now started and ready for the CREATE DATABASE command.
Step 4: Issue the CREATE DATABASE Statement
create database mydb1 controlfile reuse
Logfile
Group 1 ('/mydb1/log1/log01a.log',
'/mydb2/mydb1/log01b.log') size 50M,
Group 2 ('/mydb1/log1/log02a.log',
'/mydb2/log1/log02b.log') size 50M,
Group 3 ('/mydb1/log1/log03a.log',
'/mydb2/mydb1/log03b.log') size 50M
Datafile '/mydb1/mydb1_system.dbf' 250M
AUTOEXTEND ON MAXSIZE 500M
Undo tablespace mydb1_undo1
Datafile '/mydb/mydb1/mydb1_undo1.dbf' 50M
Default temporary tablespace mydb1temp tempfile
'/mydb/mydb1/mydb1temp1.dbf' size 75M
Extent management local
Character set US7ASCII
MAXLOGFILES 10
MAXLOGMEMBERS 10
MAXLOGHISTORY 1
MAXDATAFILES 500;
Thanks
Pavan Kumar N -
Static Tables Creation In oracle & Diff Between Static table ,Dynamic table
Static Tables Creation In oracle & Diff Between Static table ,Dynamic table
972471 wrote:
Static Tables Creation In oracle & Diff Between Static table ,Dynamic tableAll tables in a well designed application should be static tables.
Whilst it's possible to execute dynamic code and therefore create tables dynamically at run time, this is considered poor design and should be avoided in 99.99% of cases... though for some reason some people still think they need to do this, and it's never really justified.
So what issue are you facing that you need to even bother considering dynamic tables? -
Creation of Oracle model hanging MS SQL 7- 8.1.6
Had a question answered yesterday which has got me almost there, for which thank you. Creating the Oracle model now maps almost all the objects in my SQL Server database (apart from a few roles, triggers and stored procedures), up to the point where the log window shows:
[Timestamp] Mapping Roles mapped: 7, Roles NOT Mapped: 3
[Timestamp] Mapping Mapping User Privileges
[Timestamp] Mapping mapped user privilege :
[Timestamp] Mapping mapped user privilege :
[Timestamp] Mapping mapped user privilege :
The process then hangs (it's been 21 hours now). Any ideas?
Scott DoughtyYour topic title, "Creation of Oracle model hanging MS SQL 7->8.1.6", caught my eye, but our situations aren't exact.
Workbench is hanging on me during the Oracle Model creation when it gets to "Mapping tables". I also waited about 24 hours without any results.
Do you have any insight to my problem? -
Mass creation of Oracle HR Self Service Users (for access to all employees)
Mass creation of Oracle HR Self Service Users (for access to all employees)
Hi all,
We have Oracle Human Resources 11.5.7 and recently implement Oracle HRMS (Self Service) for the purpose of Online Appraisal System.
Is there any fast way to create all employees as users of the Self Service instead of creating the users manually one by one in HR?
I would appreciate any feedback.
Thanking you in advance.
Best regards,
Elena Demetriou
Hellenic BankCheck pages 2-23 and following of the Deploying SSHR Capability V5.2 guide on Metalink. It describes the methods for Batch Creation of User Accounts.
-
Is there any limit in Dimensions creation
Hi Friends,<BR> Ques :1<BR><BR>Is there any limit for dimensions creations in Essbase can we create more than 11 dimensions for exampls like a banking project.i want to the limit of dimensions creations? <BR><BR>Ques: 2<BR><BR>Once we create a outline[dimesion & members] if client wants to add some more dimension then we create the additional dimension to the existing outline if yes then we add to delete all the data & freshly we had to load the data once again in the cubes.<BR><BR>Pls help me friends by solving the above queries?<BR><BR>Thanks & Regards<BR>
<p>Hi Syed,<br>Ans1: Theoritically Yes. But if you go on increasing the dimensionsthe number of blocks(if the new dimension is sparse).<br>the block size (if the new dimension is dense) may be theissues.<br>If you are in planning application. there is a limit of 20dimesions.(6-system defined(Account, Entity,Scenario,Version,Timeand Period), 14 custom defined)<br><br>Ans2: Once you create the outline and if client want to add adimension. you can do that. Whn you are adding new dimension itwill ask which member in new dimension you want to associate tehpresent data.<br><br>hope this helps.</p>
-
Consolidation operators during Dimension creation
Hi everyone,
During dimension hierarchy creation, by default all Generations get default (+) addition as the consolidation operator.
How can I ignore(~) few members from consolidations at same or different generations ?
Thank you in advancea detailed list of member property codes can be found in the online docs:
http://download.oracle.com/docs/cd/E12825_01/epm.111/esb_dbag/frameset.htm?dotrules.htm#dotrules1047244
you can not only influence the unary operator, but other attributes as well.
Hope this helps.
best regards
.T -
Error in Running a dimension ( BIB-9509 Oracle OLAP did not create cursor.)
oracle.dss.dataSource.common.QueryRuntimeException: BIB-9509 Oracle OLAP did not create cursor.
oracle.express.ExpressServerExceptionError class: OLAPI
Server error descriptions:
DPR: Unable to create server cursor, Generic at TxsOqDefinitionManagerSince9202::crtCurMgrs4
OES: ORA-00938: not enough arguments for function
, Generic at TxsRdbRandomAccessQuery::TxsRdbRandomAccessQuery
help is appreciated
Thanks, PrasadThis is the patch: 2529822
"Best Practices for Tabular Cube Aggregation & Query Operations". Thanks very much for your advice.
I followed the instructions in the document, but it did not seem to make a difference when
trying to follow the tutorial instructions and using the SALES measure.
However, I selected the stock price measures and it worked ok.
Is there a size limit here? I am looking at Oracle OLAP and BIBeans to replace our Cognos installation,
which is expensive and unreliable on unix. Of course our managers and customers want every dimension
across a huge fact table to be available for end users... -
Problem in DB Link creation of Oracle Wraehouse Builder 3i - Updated question
I am facing a problem in DB Link creation.
Backend: Oracle 8i Server on my machine
DW Software: Oracle warehouse builder 3i ( client , repository
asistant.....)
Operating system: Windows NT 4 SERVICE PACK 6
I wants to use the scott database( default database given by oracle )
as my input source.
How can I create the DB LINK ( for scott database) ?
How can I create the DB LINK ( for any other database) ?
Should I need to add anything in Setting of"ODBC DATASOURCE
ADMINISTRATION"
==================
Settings done:
==================
DB Link Name :prashant
Host name
Host name: my machine's ip address
port number: 1521
oracle sid: prashant ( my oracle sid)
user name:scott
password:tiger
==================
Gives error:
==================
Testing...
Failed.
Cwm Error Message: Failed in the WBAPIFactory.createDBLink()
Cwm Error: SQL Exception
Class Name: oracle.wh.ui.integrator.common.RepositoryUtils
Method Name: createDBLink(String, String, String, String)
Method Name: -1
Repository Error Message: java.sql.SQLException: ORA-02082: a loopback database link must have a connection qualifier
==================
==================
How should I proceed further.
I am expecting URGENT FEEDBACK.
Reply me on : [email protected] or this OTN Network
From
PrashantI solved the problem.
Procedure I followed :
UNINSTALL ORACLE WRAEHOUSE BUILDER SOFTAWARE.
'GLOBAL_NAMES = FALSE' in init.ora file.
RESTARTED MY MACHINE.
INSTALL THE ORACLE WRAEHOUSE BUILDER SOFTAWARE. -
Sequence number creation in oracle 11gR2
Hi.. i am using oracle 11.2 version. how can i create my sequence value starts from 1..i am currently getting 2..pls help me..
862189 wrote:
Hi.. i am using oracle 11.2 version. how can i create my sequence value starts from 1..i am currently getting 2..pls help me..I'm going to guess that you're seeing the side effects of deferred segment creation.
This does get mentioned in the reference manual under "create sequence": http://download.oracle.com/docs/cd/E18283_01/server.112/e17118/statements_6015.htm
If this is the case then creating the target table with the "segment creation immediate" should address your problem: http://download.oracle.com/docs/cd/E18283_01/server.112/e17118/statements_7002.htm#i2095331
Regards
Jonathan Lewis -
DB creation in Oracle 10g XE for Windows
Pls. help, I can't create a new db (CAFE). I already created the init.ora and the db creation script. But everytime I ran the said script in sql it displays this error:
" Error at line 1:
ORA-01501: CREATE DATABASE failed
ORA-01504: database name 'CAFE' does not match parameter db_name 'XE'"
Another thing is that, I can't find the default path of oracle, re: $ORACLE_HOME.People coming from other systems get confused with terminology,
You might be happy using the XE database and simply creating a new schema. A LOT of people use the term database when they really mean schema.
A schema is simply an Oracle database user that has the privileges to create database objects such as tables and views. An Oracle database can contain any number of schemas. A regular user is then given permission to access objects in the various schemas. -
Hi All,
I am going to create a datafile in Oracle database by using this syntax.
ALTER DATABASE
CREATE DATAFILE 'c:\oracle\oradata\orabase\uwdata03.dbf' SIZE 1G
AS 'UWDATA';
Does the creation of the datafile will hamper the default datafiles of oracle?user11358816 wrote:
Hi,
I don't know abt.oracle much ,but i need to create datafile for creating a table space.
So for that i need to create a datafile.No you don't that's not how it works.
So for that I am asking about the syntax of it.
ThanksThen the very first thing you'll want to learn is where to find the official documentation.
It would be a good investment in your career to go to tahiti.oracle.com. Drill down to your product and version. There you will find the complete doc library.
Notice the 'search' function at that site.
You should spend a few minutes just getting familiar with what kind of documentation is available there by simply browsing the titles under the "Books" tab.
Open the Reference Manual and spend a few minutes looking through the table of contents to get familiar with what kind of information is available there. Learning where to look things up in the documentation is time well spent on your career.
Do the same with the SQL Reference Manual.
Then set yourself a plan to dig deeper.
- Read the 2-Day DBA Manual
- Read a chapter a day from the Concepts Manual.
- Look in your alert log and find all the non-default initialization parms listed at instance startup. Then read up on each one of them in the Reference Manual. Take a look at your listener.ora, tnsnames.ora, and sqlnet.ora files, then bounce what you see there in the network administrators manual.
- Read the concepts manual again.
Give a man a fish and he eats for a day. Teach a man to fish and he eats for a lifetime. -
Database creation in oracle 8.0.4
Hi,
I'm creating a database in Oracle 8.0.4. I choose the custom option to give all the parameters. One of these parameters is the password of internal user. I give it as oracle. After giving all the other parameters and then click on finish to create the database, i get ORA-01017 error and i'm being forced to abort the database creation.
After this error has occured, i've created another two databases with a different names and all went fine. I didnt have any problems while creating the databases. Again after the creation of the new databases, i tried to create the old database. Even then i got the same error.
can anyone let me know what might be the reason for this and the solution to overcome this problem.
Thanks in advance,
Jaikanth V Garlapati.Found this in Oracle Doc,
NLS_DATABASE_PARAMETERS is the one you set when you do Create Database.
NLS_INSTANCE_PARAMETERS is the one you set in your spfile when you start instance.
So if you didn't set NLS_INSTANCE_PARAMETERS in spfile, then instance will start with NLS_DATABASE_PARAMETERS
And alter session will over write them all.
It's not new behavior in 10.2.0.4
==============================================
NLS Database Parameters
When a new database is created during the execution of the CREATE DATABASE statement, the NLS-related database configuration is established. The current NLS instance parameters are stored in the data dictionary along with the database and national character sets. The NLS instance parameters are read from the initialization parameter file at instance startup.
You can find the values for NLS parameters by using:
NLS Data Dictionary Views
NLS Dynamic Performance Views
OCINlsGetInfo() Function
NLS Data Dictionary Views
Applications can check the session, instance, and database NLS parameters by querying the following data dictionary views:
NLS_SESSION_PARAMETERS shows the NLS parameters and their values for the session that is querying the view. It does not show information about the character set.
NLS_INSTANCE_PARAMETERS shows the current NLS instance parameters that have been explicitly set and the values of the NLS instance parameters.
NLS_DATABASE_PARAMETERS shows the values of the NLS parameters for the database. The values are stored in the database.
Maybe you are looking for
-
Just purchased new ipad air 2. When I performed system restore from the backup from my old ipad 2, the music that was on my old ipad transferred to my new ipad. But I can't synch the rest of the music I have in my itunes on my mac (snow leopard. itu
-
How to generate a random number within a specified tolerance and control that tolerance.
I am trying to simulate data without using a DAQ device by using a random number generator and I want to be able to control the "range" of the random number generated though. On the front pannel, the user would be able to input a nominal number, and
-
Slideshow Export Problem: Plays Half
Hi there. I'm having the following problem with iPhoto on my Macbook Pro Retina OSX 10.9.2. I have a slideshow set to one song. I select all of the photos and export my slideshow. The export succeeds. However, when playing the exported slideshow, the
-
Off topic: Where to find help on Adobe Forum?
Insert Image is not working in Chrome. Is this a known issue and can I fix it or do I need to change browsers? Mac OSX 10.7.5 Chrome Version 26.0.1410.65 Thanks.
-
Programmers figured out how to bypass Safari's pop up blocker.
This really irks me as I hate pop up windows in Safari. If you go to the following site, you will get a pop up. In some cases, its instant. In others, it takes a few minutes. www.ocregister.com Mark