Mailing List
Home
Forum Home
Oracle List - by freelists.org
Oracle on SUSE Linux - Runing Oracle on SUSE Linux
Oracle database error code ...
www.freelists.org
Subjects
ORA 12540: TNS:internal limit restriction exceeded
ORA 12838 please : Is possible to append two times to the same table befo
ORA 12838 please : Is possible to append two times to the same table before
ora 04031
ora 12500 on windows
ORA 32004: obsolete and/or deprecated parameter(s) specified
ORA 01925: maximum of 30 enabled roles exceeded
ORA 01925: maximum of 30 enabled roles exceeded
ora 12500 on windows
ORA 01650, one idea
ORA 01650
ORA 4030
ORA 12838 please : Is possible to append two times to thesametable before do
ORA 12838 please : Is possible to append two times to thesame table before d
ORA 01536
ORA 03113 end of file on communication channel
ORA 32004: obsolete and/or deprecated parameter(s) specified
ORA 00600:
ORA 00020: maximum number of processes (%s) exceeded
ORA 01925: maximum of 30 enabled roles exceeded
ORA 3113 while creating a cluster database 9201 RAC on Linux with OCFS
ora 12500 on windows
ora 12500 on windows
ora 12500 on windows
ORA 01650, one idea
ora 12500 on windows
ora 12500 on windows
ora 12500 on windows
ORA 2000 Error Using DBMS STATS GATHER SCHEMA STATS
ORA 01650, one idea
ORA 01650, one idea
ORA 01650, one idea
ORA 01650
ORA 01650
ORA 01031
ORA 4030
ORA 4030
ORA 06502: PL/SQL: numeric or value error: Bulk Bind: Truncated Bind
ORA 01722 invalid number
 
ORA-12838 please : Is possible to append two times to thesame table before d

ORA-12838 please : Is possible to append two times to thesame table before d

2004-04-02       - By Juan Cachito Reyes Pacheco

 Back
Thanks Tim,
that was only one example, to show the problem.
the insert is of thousands of records, not only 5.
The problems is that I can't do a join, because some circumstances can cause
another insert.
After the first insert data is changed and then is reinserted the second
group. No way to use a join.

As this is a hisctoric kind table, temporary tables are useless, there is no
join.

it seems this is a Oracle limitation, not other chance, when I asked I
supposed there could be some workaround in Metalink or hidden hint not
supported by oracle to allow it.





Juan Carlos Reyes Pacheco
OCP
Database 9.2 Standard Edition
-- -- Original Message -- --
From: "Tim Gorman" <tim@(protected)>
To: <oracle-l@(protected)>
Sent: Friday, April 02, 2004 8:38 AM
Subject: Re: ORA-12838 (See http://ORA-12838.ora-code.com) please : Is possible to append two times to thesame
table before doing a commit


Juan Carlos,
First, I have to ask why you are bothering with APPEND when you are only
adding 5 rows at a time?  The APPEND feature (a.k.a. direct-path) as well as
parallel execution is intended for loading thousands or millions or billions
of rows.  I suggest that you simply remove the APPEND hint — a whole lot
easier...

However, just in case the sample code you posted to the list isn't what is
truly being used, and in fact the real code is inserting more than 5 rows,
then how about combining the two select clauses with a UNION statement, so
that the two statements become one statement?

The ROWNUM in the WHERE clauses presents a problem, but perhaps:

> insert /*+ APPEND */ into ctb.xxxdeftra
> <first-SELECT-statement>
> union
> <second-SELECT-statement>;
>
> commit;

...and so on, as needed.  This way, you can append dozens of such SELECT
statements together and still make them one transaction.  But please make
sure that you are using the APPEND feature correctly, to load lots and lots
of data?  Not just 10 rows...

Hope that one or the other of these suggestions help...

-Tim


on 4/1/04 2:16 PM, Juan Cachito Reyes Pacheco at jreyes@(protected)
wrote:

> Hi I have a serious problem
> I can't do two append insret to a table in a same transaction, and I can
join
in only one.
> because some times the same process( a function) must be runs more than
once
> and can't be a commit between them, all is only one transaction.
>
> I ask you if you please know about a trick to bypass this.
>
> SQL> INSERT /*+ append */ into ctb.xxdeftra select * from
ctb.deftransace_me
> where rownum <5;
>
> 4 filas creadas.
>
> SQL> INSERT /*+ append */ into ctb.xxdeftra select * from
ctb.deftransace_me
> where rownum <5;
> INSERT /*+ append */ into ctb.xxdeftra select * from ctb.deftransace_me
> where rownum <5
>                             *
> ERROR en lÝnea 1:
> ORA-12838 (See http://ORA-12838.ora-code.com): no se puede leer/modificar un objeto despuÚs de modificarlo en
paralelo
>
> before doing a commit


-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
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
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --


-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
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
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --