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
Partitioned Indexes question

Partitioned Indexes question

2004-03-08       - By Lim, Binley

Reply:     1     2     3     4  


If an index is partitioned on the same column(s) as the table, then the
index is local. If you partition on different columns, then the index is
global, and you have to specify the range in the index-create statement.

Local indexes follow the partitioning scheme of the tables(!), but you can
only do range-partitioning on global indexes. These are in the docs, but
probably not worded, or located where you were expecting to find them. In
general, the partitioning error-messages are also quite helpful:

   global partition by hash(col_a)
*
   ERROR at line 2:
   ORA-14005 (See ORA-14005.ora-code.com): missing RANGE keyword

You can only do "range " at the partitioning, and not sub-partitioning level:

   subpartition by range(col_b)
   *
   ERROR at line 8:
   ORA-00922 (See ORA-00922.ora-code.com): missing or invalid option



> -- --Original Message-- --
> From:   Koivu, Lisa [SMTP:Lisa.Koivu@(protected)]
> Sent:   Tuesday, March 09, 2004 5:56 AM
> To:   oracle-l@(protected)
> Subject:   Partitioned Indexes question
>
> Hello all,
>
> I seem to remember that an index does not need to be partitioned on the
> same key as a table. Does anyone know, does this refer to hash
> partitioned indexes? I have read through the docs and it doesn 't say
> so. For example, I 'd like to create a hash-partitioned index on a range
> partitioned table.
>
> Also, can a composite-indexed table be hash at the partition level, and
> range at the subpartition level? Again, I haven 't read that this is
> possible, but that doesn 't mean it isn 't.
>
> I just wanted to be sure I didn 't miss something.
> thanks
>
> Lisa Koivu
> Monkey Mama
> Orlando, FL, USA
>
>
>
> "The sender believes that this E-Mail and any attachments were free of any
> virus, worm, Trojan horse, and/or malicious code when sent. This message
> and its attachments could have been infected during transmission. By
> reading the message and opening any attachments, the recipient accepts
> full responsibility for taking proactive and remedial action about viruses
> and other defects. The sender 's business entity is not liable for any loss
> or damage arising in any way from this message or its attachments. "
>
> -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
> To unsubscribe send email to: oracle-l-request@(protected)
> put 'unsubscribe ' in the subject line.
> --
> Archives are at http://www.freelists.org/archives/oracle-l/
> FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
> -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --

This communication is confidential and may contain privileged material.
If you are not the intended recipient you must not use, disclose, copy or retain it.
If you have received it in error please immediately notify me by return email
and delete the emails.
Thank you.
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
To unsubscribe send email to: oracle-l-request@(protected)
put 'unsubscribe ' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --