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
Parallel query on when it 's not supposed to be (?)

Parallel query on when it 's not supposed to be (?)

2004-09-14       - By Janine A Sisk

Reply:     1     2     3     4     5     6     7     8     9     10     >>  

On Sep 14, 2004, at 4:28 PM, Bobak, Mark wrote:

> Janine, yes, for that table, do:
> alter table table_name parallel (degree 1);
> and also set parallel_max_servers to 0, as the other Mark suggested.

Ok, I 'll try it. I don 't see parallel_max_servers in the init.ora file
so I don 't know how/where it 's getting set.

> Um, the table w/ degree set to default, was that table involved in
> the problem query you described in the original post?

There are several tables set to default, actually, and yes several of
them are in the view being selected from. So this could certainly be
the problem. I wonder how they got that way? I am only a consultant
on this project and not privy to all that has gone before, so we may
never know.

FYI, I replied to both Marks and cc 'd the list, but my replies were
sent to the moderator because there was too much quoted material in
them. Oops. So I have snipped out everything but my last reply -
hopefully this will go through to the list!

janine

> -- --Original Message-- --
> From: Janine A Sisk [mailto:janine@(protected)]
> Sent: Tuesday, September 14, 2004 4:20 PM
> To: Bobak, Mark
> Cc: oracle-l@(protected)
> Subject: Re: Parallel query on when it 's not supposed to be (?)
>
>
> Here you go:
>
> SQL > select table_name from dba_tables where degree >1;
> select table_name from dba_tables where degree >1
> *
> ERROR at line 1:
> ORA-01722 (See ORA-01722.ora-code.com): invalid number
>
>
> SQL > select index_name from dba_indexes where degree >1;
>
> no rows selected
>
> The error turned out to be because degree is a varchar2(10) in
> dba_tables, so I did this instead:
>
> SQL > select distinct degree from dba_tables;
>
> DEGREE
> -- ---- ---- ---- ---- ---- ---
> 1
> DEFAULT
>
> Interesting... I think the DEFAULT might be the problem, because the
> tables that have this set are very closely related to this query.
> Should I change them to 1? Actually, neither of those values is
> exactly as it appears:
>
> SQL > select distinct '| ' || degree || '| ' from dba_tables;
>
> '| '||DEGREE|| '| '
> -- ---- ---- ---- ---- ---- -----
> | 1|
> | DEFAULT|
>
> So I guess I would change it to 3 spaces + 1. Sounds like a magic
> incantation or something!
>
> thanks,
>
> janine

--
http://www.freelists.org/webpage/oracle-l