.ora-code.com

Links
Home
Oracle DBA Forum
Frequent Oracle Errors
TNS:could not resolve the connect identifier specified
Backtrace message unwound by exceptions
invalid identifier
PL/SQL compilation error
internal error
missing expression
table or view does not exist
end-of-file on communication channel
TNS:listener unknown in connect descriptor
insufficient privileges
PL/SQL: numeric or value error string
TNS:protocol adapter error
ORACLE not available
target host or object does not exist
invalid number
unable to allocate string bytes of shared memory
resource busy and acquire with NOWAIT specified
error occurred at recursive SQL level string
ORACLE initialization or shutdown in progress
archiver error. Connect internal only, until freed
snapshot too old
unable to extend temp segment by string in tablespace
Credential retrieval failed
missing or invalid option
invalid username/password; logon denied
unable to create INITIAL extent for segment
out of process memory when trying to allocate string bytes
shared memory realm does not exist
cannot insert NULL
TNS:unable to connect to destination
remote database not found'>ora-02019
exception encountered: core dump
inconsistent datatypes
no data found
TNS:operation timed out
PL/SQL: could not find program
existing state of packages has been discarded
maximum number of processes exceeded
error signaled in parallel query server
ORACLE instance terminated. Disconnection forced
TNS:packet writer failure
see ORA-12699
missing right parenthesis
name is already used by an existing object
cannot identify/lock data file
invalid file operation
quoted string not properly terminated
Critical Qs on materialized views

Critical Qs on materialized views

2005-08-26       - By oracle-l-bounce@(protected)
Reply:     1     2     3     4     5     6     7     8     9  



We need to create the Materlialized view on PRE-Built Table WITHOUT
adding a Constraint to the Master/source Table. This is needed because
the Production (LIVE) Database(Master/Source) has NO existing
constraints & creating the same on the large 600 GB production
Database's tables would be nearly impossible.

NOTE - We are getting the following Errors when attempting to create a
Materlialized view on PRE-Built Table WITHOUT adding a Constraint to the

Master/source Table:-

SQL> create materialized view d1 BUILD IMMEDIATE
2 refresh complete as select * from d1@(protected);
refresh complete as select * from d1@(protected)
*
ERROR at line 2:
ORA-12014 (See ORA-12014.ora-code.com): table 'D1' does not contain a primary key constraint
SQL> create materialized view d1 BUILD IMMEDIATE refresh complete with
rowid
2 as select * from d1@(protected) ;
as select * from d1@(protected)
*
ERROR at line 2:
ORA-00955 (See ORA-00955.ora-code.com): name is already used by an existing object
SQL> create materialized view d1 on prebuilt table refresh complete with
rowid
2 as select * from d1@(protected);
as select * from d1@(protected)
*
ERROR at line 2:
ORA-12058 (See ORA-12058.ora-code.com): materialized view cannot use prebuilt table

Give Command with respective syntax, if possible.

Another basic question - When a constraint is created does it
automatically create an internal underlying index on the respective
table?

Thanks indeed



**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely
for the use of the addressee(s). If you are not the intended recipient, please
notify the sender by e-mail and delete the original message. Further, you are
not to copy, disclose, or distribute this e-mail or its contents to any other
person and any such actions are unlawful. This e-mail may contain viruses.
Infosys has taken every reasonable precaution to minimize this risk, but is not
liable for any damage you may sustain as a result of any virus in this e-mail.
You should carry out your own virus checks before opening the e-mail or
attachment. Infosys reserves the right to monitor and review the content of all
messages sent to or from this e-mail address. Messages sent to or from this e
-mail address may be stored on the Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***
--
http://www.freelists.org/webpage/oracle-l